Class SearchOptionInVoxel<T>

java.lang.Object
alexiil.mc.lib.attributes.SearchOption<T>
alexiil.mc.lib.attributes.SearchOptionInVoxel<T>

public final class SearchOptionInVoxel<T>
extends SearchOption<T>
  • Field Summary

    Fields 
    Modifier and Type Field Description
    net.minecraft.util.shape.VoxelShape shape  
  • Method Summary

    Modifier and Type Method Description
    net.minecraft.util.shape.VoxelShape getShape()
    Returns the VoxelShape to use for bounds checking.

    Methods inherited from class alexiil.mc.lib.attributes.SearchOption

    matches

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 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>