Interface ShapeContext

All Known Implementing Classes:
EntityShapeContext

public interface ShapeContext
Mappings:
Namespace Name
official eaj
intermediary net/minecraft/class_3726
named net/minecraft/block/ShapeContext
  • Method Details

    • absent

      static ShapeContext absent()
      Mappings:
      Namespace Name Mixin selector
      official a Leaj;a()Leaj;
      intermediary method_16194 Lnet/minecraft/class_3726;method_16194()Lnet/minecraft/class_3726;
      named absent Lnet/minecraft/block/ShapeContext;absent()Lnet/minecraft/block/ShapeContext;
    • of

      static ShapeContext of(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Leaj;a(Lbdr;)Leaj;
      intermediary method_16195 Lnet/minecraft/class_3726;method_16195(Lnet/minecraft/class_1297;)Lnet/minecraft/class_3726;
      named of Lnet/minecraft/block/ShapeContext;of(Lnet/minecraft/entity/Entity;)Lnet/minecraft/block/ShapeContext;
    • isDescending

      boolean isDescending()
      Mappings:
      Namespace Name Mixin selector
      official b Leaj;b()Z
      intermediary method_16193 Lnet/minecraft/class_3726;method_16193()Z
      named isDescending Lnet/minecraft/block/ShapeContext;isDescending()Z
    • isAbove

      boolean isAbove(VoxelShape shape, BlockPos pos, boolean defaultValue)
      Mappings:
      Namespace Name Mixin selector
      official a Leaj;a(Leax;Lgp;Z)Z
      intermediary method_16192 Lnet/minecraft/class_3726;method_16192(Lnet/minecraft/class_265;Lnet/minecraft/class_2338;Z)Z
      named isAbove Lnet/minecraft/block/ShapeContext;isAbove(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/math/BlockPos;Z)Z
    • isHolding

      boolean isHolding(Item item)
      Mappings:
      Namespace Name Mixin selector
      official a Leaj;a(Lcdp;)Z
      intermediary method_17785 Lnet/minecraft/class_3726;method_17785(Lnet/minecraft/class_1792;)Z
      named isHolding Lnet/minecraft/block/ShapeContext;isHolding(Lnet/minecraft/item/Item;)Z
    • canWalkOnFluid

      boolean canWalkOnFluid(FluidState stateAbove, FluidState state)
      Mappings:
      Namespace Name Mixin selector
      official a Leaj;a(Ldtj;Ldtj;)Z
      intermediary method_27866 Lnet/minecraft/class_3726;method_27866(Lnet/minecraft/class_3610;Lnet/minecraft/class_3610;)Z
      named canWalkOnFluid Lnet/minecraft/block/ShapeContext;canWalkOnFluid(Lnet/minecraft/fluid/FluidState;Lnet/minecraft/fluid/FluidState;)Z