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 fix
  • 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 Lfix;a()Lfix;
    • 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 Lfix;a(Lbzm;)Lfix;
    • 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 Lfix;a(Lbzm;Z)Lfix;
    • ofPlacement

      static ShapeContext ofPlacement(@Nullable @Nullable PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named ofPlacement Lnet/minecraft/block/ShapeContext;ofPlacement(Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/block/ShapeContext;
      intermediary method_67715 Lnet/minecraft/class_3726;method_67715(Lnet/minecraft/class_1657;)Lnet/minecraft/class_3726;
      official a Lfix;a(Lcut;)Lfix;
    • ofCollision

      static ShapeContext ofCollision(@Nullable @Nullable Entity entity, double y)
      Mappings:
      Namespace Name Mixin selector
      named ofCollision Lnet/minecraft/block/ShapeContext;ofCollision(Lnet/minecraft/entity/Entity;D)Lnet/minecraft/block/ShapeContext;
      intermediary method_71491 Lnet/minecraft/class_3726;method_71491(Lnet/minecraft/class_1297;D)Lnet/minecraft/class_3726;
      official a Lfix;a(Lbzm;D)Lfix;
    • 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 Lfix;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 Lfix;a(Lfjm;Ljb;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 Lfix;a(Ldcr;)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 Lfix;a(Lfal;Lfal;)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 Lfix;a(Leeb;Ldmc;Ljb;)Lfjm;
    • isPlacement

      default boolean isPlacement()
      Mappings:
      Namespace Name Mixin selector
      named isPlacement Lnet/minecraft/block/ShapeContext;isPlacement()Z
      intermediary method_67716 Lnet/minecraft/class_3726;method_67716()Z
      official c Lfix;c()Z