Class AABBArea
java.lang.Object
de.luckymcdev.foundryengine.common.area.Area
de.luckymcdev.foundryengine.common.area.AABBArea
-
Field Summary
Fields inherited from class Area
DEFAULT_COLOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.phys.AABBbounds()booleancontains(double x, double y, double z) booleancontains(net.minecraft.core.BlockPos pos) booleancontains(net.minecraft.core.GlobalPos position) booleancontains(net.minecraft.world.phys.Vec3 pos) voidstatic AABBAreaof(net.minecraft.resources.Identifier id, net.minecraft.world.phys.Vec3 min, net.minecraft.world.phys.Vec3 max, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimension, Color color) static AABBAreareadFromNbt(net.minecraft.nbt.CompoundTag tag) voidsetBounds(net.minecraft.world.phys.AABB bounds) toString()net.minecraft.nbt.CompoundTagMethods inherited from class Area
addModule, clearModules, color, dimension, equals, getLinkedArea, getModuleData, hashCode, hasModule, hasModuleData, id, linkArea, linkedAreas, moduleData, moduleIds, removeModule, setColor, setModuleData, unlinkArea, writeSharedNbt
-
Constructor Details
-
AABBArea
public AABBArea(net.minecraft.resources.Identifier id, net.minecraft.world.phys.AABB bounds, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimension, Color color)
-
-
Method Details
-
of
-
readFromNbt
-
bounds
-
setBounds
public void setBounds(net.minecraft.world.phys.AABB bounds) -
contains
-
contains
-
contains
-
contains
-
drawDebugOutline
public void drawDebugOutline()- Specified by:
drawDebugOutlinein classArea
-
writeToNbt
public net.minecraft.nbt.CompoundTag writeToNbt()- Specified by:
writeToNbtin classArea
-
toString
-