Class SearchOptionDirectionalVoxel<T>


public final class SearchOptionDirectionalVoxel<T> extends SearchOptionDirectional<T>
  • Field Details

    • ordered

      public final boolean ordered
      If true then the AttributeList will 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: SearchOption
      Returns the VoxelShape to use for bounds checking. This defaults to a full block, but custom search options (like SearchOptionInVoxel) override this.
      Overrides:
      getShape in class SearchOption<T>