Class BlockHighlight3D
- All Implemented Interfaces:
AutoCloseable
Padded block-aligned highlight implemented by a filled and stroked box.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionblockPos(int x, int y, int z) blockPos(net.minecraft.core.BlockPos value) protected WorldStrokeStroke used to conservatively inflate extraction bounds for pixel widths and miter joins.protected voidextract(WorldRenderContext context) protected WorldBoundspadding(double value) 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
-
BlockHighlight3D
public BlockHighlight3D() -
BlockHighlight3D
public BlockHighlight3D(net.minecraft.core.BlockPos value)
-
-
Method Details
-
blockPos
-
blockPos
-
padding
-
stroke
-
boundsStroke
Description copied from class:WorldObjectStroke used to conservatively inflate extraction bounds for pixel widths and miter joins.- Overrides:
boundsStrokein classWorldObject<BlockHighlight3D>
-
localBounds
- Overrides:
localBoundsin classWorldObject<BlockHighlight3D>
-
extract
- Specified by:
extractin classWorldObject<BlockHighlight3D>
-