Class Box3D
- All Implemented Interfaces:
AutoCloseable
Filled box with optional shared-system stroke.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbounds(net.minecraft.world.phys.AABB box) protected voidextract(WorldRenderContext context) protected WorldBoundssize(double x, double y, double z) stroke(WorldStroke value) Methods inherited from class WorldObject
animation, animationValue, close, closed, effectiveTransform, effects, effects, localBounds, material, material, pickable, pickable, pickable, pickId, position, position, releaseResources, self, transform, transform, updater, visible, visible
-
Constructor Details
-
Box3D
public Box3D() -
Box3D
public Box3D(net.minecraft.world.phys.Vec3 center, net.minecraft.world.phys.Vec3 size) -
Box3D
public Box3D(net.minecraft.world.phys.AABB box) -
Box3D
public Box3D(double x, double y, double z)
-
-
Method Details
-
size
-
bounds
-
stroke
-
localBounds
- Overrides:
localBoundsin classWorldObject<Box3D>
-
extract
- Specified by:
extractin classWorldObject<Box3D>
-