Package alexiil.mc.lib.attributes
Class SearchOptionDirectionalVoxel<T>
java.lang.Object
alexiil.mc.lib.attributes.SearchOption<T>
alexiil.mc.lib.attributes.SearchOptionDirectional<T>
alexiil.mc.lib.attributes.SearchOptionDirectionalVoxel<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanIf true then theAttributeListwill sort itself based on the direction and shape.final net.minecraft.util.shape.VoxelShapeFields inherited from class alexiil.mc.lib.attributes.SearchOptionDirectional
direction -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.util.shape.VoxelShapegetShape()Returns theVoxelShapeto use for bounds checking.Methods inherited from class alexiil.mc.lib.attributes.SearchOption
matches
-
Field Details
-
ordered
public final boolean orderedIf true then theAttributeListwill sort itself based on the direction and shape. -
shape
public final net.minecraft.util.shape.VoxelShape shape
-
-
Method Details
-
getShape
public net.minecraft.util.shape.VoxelShape getShape()Description copied from class:SearchOptionReturns theVoxelShapeto use for bounds checking. This defaults to a full block, but custom search options (likeSearchOptionInVoxel) override this.- Overrides:
getShapein classSearchOption<T>
-