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 WorldStrokeStroke used to conservatively inflate extraction bounds for pixel widths and miter joins.protected voidextract(WorldRenderContext context) protected WorldBoundssize(double x, double y, double z) stroke(WorldStroke value) Methods inherited from class WorldObject
animation, animationPlayback, animationValue, close, closed, effectiveTransform, effects, effects, localBounds, material, material, pickable, pickable, pickable, pickId, position, position, releaseResources, self, transform, transform, updater, updateState, 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
-
boundsStroke
Description copied from class:WorldObjectStroke used to conservatively inflate extraction bounds for pixel widths and miter joins.- Overrides:
boundsStrokein classWorldObject<Box3D>
-
localBounds
- Overrides:
localBoundsin classWorldObject<Box3D>
-
extract
- Specified by:
extractin classWorldObject<Box3D>
-