Package net.minecraft.block
Interface ShapeContext
- All Known Implementing Classes:
EntityShapeContext,ExperimentalMinecartShapeContext
public interface ShapeContext
- Mappings:
Namespace Name named net/minecraft/block/ShapeContextintermediary net/minecraft/class_3726official fix
-
Method Summary
Modifier and TypeMethodDescriptionstatic ShapeContextabsent()booleancanWalkOnFluid(FluidState stateAbove, FluidState state) getCollisionShape(BlockState state, CollisionView world, BlockPos pos) booleanisAbove(VoxelShape shape, BlockPos pos, boolean defaultValue) booleanbooleandefault booleanstatic ShapeContextstatic ShapeContextstatic ShapeContextofCollision(@Nullable Entity entity, double y) static ShapeContextofPlacement(@Nullable PlayerEntity player)
-
Method Details
-
absent
- Mappings:
Namespace Name Mixin selector named absentLnet/minecraft/block/ShapeContext;absent()Lnet/minecraft/block/ShapeContext;intermediary method_16194Lnet/minecraft/class_3726;method_16194()Lnet/minecraft/class_3726;official aLfix;a()Lfix;
-
of
- Mappings:
Namespace Name Mixin selector named ofLnet/minecraft/block/ShapeContext;of(Lnet/minecraft/entity/Entity;)Lnet/minecraft/block/ShapeContext;intermediary method_16195Lnet/minecraft/class_3726;method_16195(Lnet/minecraft/class_1297;)Lnet/minecraft/class_3726;official aLfix;a(Lbzm;)Lfix;
-
of
- Mappings:
Namespace Name Mixin selector named ofLnet/minecraft/block/ShapeContext;of(Lnet/minecraft/entity/Entity;Z)Lnet/minecraft/block/ShapeContext;intermediary method_61893Lnet/minecraft/class_3726;method_61893(Lnet/minecraft/class_1297;Z)Lnet/minecraft/class_3726;official aLfix;a(Lbzm;Z)Lfix;
-
ofPlacement
- Mappings:
Namespace Name Mixin selector named ofPlacementLnet/minecraft/block/ShapeContext;ofPlacement(Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/block/ShapeContext;intermediary method_67715Lnet/minecraft/class_3726;method_67715(Lnet/minecraft/class_1657;)Lnet/minecraft/class_3726;official aLfix;a(Lcut;)Lfix;
-
ofCollision
- Mappings:
Namespace Name Mixin selector named ofCollisionLnet/minecraft/block/ShapeContext;ofCollision(Lnet/minecraft/entity/Entity;D)Lnet/minecraft/block/ShapeContext;intermediary method_71491Lnet/minecraft/class_3726;method_71491(Lnet/minecraft/class_1297;D)Lnet/minecraft/class_3726;official aLfix;a(Lbzm;D)Lfix;
-
isDescending
boolean isDescending()- Mappings:
Namespace Name Mixin selector named isDescendingLnet/minecraft/block/ShapeContext;isDescending()Zintermediary method_16193Lnet/minecraft/class_3726;method_16193()Zofficial bLfix;b()Z
-
isAbove
- Mappings:
Namespace Name Mixin selector named isAboveLnet/minecraft/block/ShapeContext;isAbove(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/math/BlockPos;Z)Zintermediary method_16192Lnet/minecraft/class_3726;method_16192(Lnet/minecraft/class_265;Lnet/minecraft/class_2338;Z)Zofficial aLfix;a(Lfjm;Ljb;Z)Z
-
isHolding
- Mappings:
Namespace Name Mixin selector named isHoldingLnet/minecraft/block/ShapeContext;isHolding(Lnet/minecraft/item/Item;)Zintermediary method_17785Lnet/minecraft/class_3726;method_17785(Lnet/minecraft/class_1792;)Zofficial aLfix;a(Ldcr;)Z
-
canWalkOnFluid
- Mappings:
Namespace Name Mixin selector named canWalkOnFluidLnet/minecraft/block/ShapeContext;canWalkOnFluid(Lnet/minecraft/fluid/FluidState;Lnet/minecraft/fluid/FluidState;)Zintermediary method_27866Lnet/minecraft/class_3726;method_27866(Lnet/minecraft/class_3610;Lnet/minecraft/class_3610;)Zofficial aLfix;a(Lfal;Lfal;)Z
-
getCollisionShape
- Mappings:
Namespace Name Mixin selector named getCollisionShapeLnet/minecraft/block/ShapeContext;getCollisionShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/CollisionView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;intermediary method_62878Lnet/minecraft/class_3726;method_62878(Lnet/minecraft/class_2680;Lnet/minecraft/class_1941;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;official aLfix;a(Leeb;Ldmc;Ljb;)Lfjm;
-
isPlacement
default boolean isPlacement()- Mappings:
Namespace Name Mixin selector named isPlacementLnet/minecraft/block/ShapeContext;isPlacement()Zintermediary method_67716Lnet/minecraft/class_3726;method_67716()Zofficial cLfix;c()Z
-