Interface ShapeContext

All Known Implementing Classes:
EntityShapeContext, ExperimentalMinecartShapeContext

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

    • absent

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

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

      static ShapeContext of(Entity entity, boolean collidesWithFluid)
      Mappings:
      Namespace Name Mixin selector
      named of Lnet/minecraft/block/ShapeContext;of(Lnet/minecraft/entity/Entity;Z)Lnet/minecraft/block/ShapeContext;
      intermediary method_61893 Lnet/minecraft/class_3726;method_61893(Lnet/minecraft/class_1297;Z)Lnet/minecraft/class_3726;
      official a Lfcc;a(Lbvj;Z)Lfcc;
    • isDescending

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

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

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

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

      VoxelShape getCollisionShape(BlockState state, CollisionView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named getCollisionShape Lnet/minecraft/block/ShapeContext;getCollisionShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/CollisionView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
      intermediary method_62878 Lnet/minecraft/class_3726;method_62878(Lnet/minecraft/class_2680;Lnet/minecraft/class_1941;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;
      official a Lfcc;a(Ldxu;Ldgq;Ljh;)Lfcr;