Package alexiil.mc.lib.attributes
Class SearchOptionInVoxel<T>
java.lang.Object
alexiil.mc.lib.attributes.SearchOption<T>
alexiil.mc.lib.attributes.SearchOptionInVoxel<T>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.util.shape.VoxelShape
getShape()
Returns theVoxelShape
to use for bounds checking.Methods inherited from class alexiil.mc.lib.attributes.SearchOption
matches
-
Field Details
-
shape
public final net.minecraft.util.shape.VoxelShape shape
-
-
Method Details
-
getShape
public net.minecraft.util.shape.VoxelShape getShape()Description copied from class:SearchOption
Returns theVoxelShape
to use for bounds checking. This defaults to a full block, but custom search options (likeSearchOptionInVoxel
) override this.- Overrides:
getShape
in classSearchOption<T>
-