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 fgh
-
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 ShapeContextofPlacement(@Nullable Entity placer)
-
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 aLfgh;a()Lfgh;
-
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 aLfgh;a(Lbxe;)Lfgh;
-
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 aLfgh;a(Lbxe;Z)Lfgh;
-
ofPlacement
- Mappings:
Namespace Name Mixin selector named ofPlacementLnet/minecraft/block/ShapeContext;ofPlacement(Lnet/minecraft/entity/Entity;)Lnet/minecraft/block/ShapeContext;intermediary method_67715Lnet/minecraft/class_3726;method_67715(Lnet/minecraft/class_1297;)Lnet/minecraft/class_3726;official bLfgh;b(Lbxe;)Lfgh;
-
isDescending
boolean isDescending()- Mappings:
Namespace Name Mixin selector named isDescendingLnet/minecraft/block/ShapeContext;isDescending()Zintermediary method_16193Lnet/minecraft/class_3726;method_16193()Zofficial bLfgh;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 aLfgh;a(Lfgw;Liw;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 aLfgh;a(Ldag;)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 aLfgh;a(Leya;Leya;)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 aLfgh;a(Lebq;Ldjr;Liw;)Lfgw;
-
isPlacement
default boolean isPlacement()- Mappings:
Namespace Name Mixin selector named isPlacementLnet/minecraft/block/ShapeContext;isPlacement()Zintermediary method_67716Lnet/minecraft/class_3726;method_67716()Zofficial cLfgh;c()Z
-