Interface ShapeContext

All Known Implementing Classes:
EntityShapeContext

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

    • absent

      static ShapeContext absent()
      Mappings:
      Namespace Name Mixin selector
      official a Ldor;a()Ldor;
      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 Ldor;a(Lawt;)Ldor;
      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 Ldor;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 Ldor;a(Ldpf;Lgh;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 Ldor;a(Lbua;)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 state, FlowableFluid fluid)
      Mappings:
      Namespace Name Mixin selector
      official a Ldor;a(Ldhv;Ldht;)Z
      intermediary method_27866 Lnet/minecraft/class_3726;method_27866(Lnet/minecraft/class_3610;Lnet/minecraft/class_3609;)Z
      named canWalkOnFluid Lnet/minecraft/block/ShapeContext;canWalkOnFluid(Lnet/minecraft/fluid/FluidState;Lnet/minecraft/fluid/FlowableFluid;)Z