Package net.minecraft.block
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 fgh
-
Method Summary
Modifier and TypeMethodDescriptionstatic ShapeContext
absent()
boolean
canWalkOnFluid
(FluidState stateAbove, FluidState state) getCollisionShape
(BlockState state, CollisionView world, BlockPos pos) boolean
isAbove
(VoxelShape shape, BlockPos pos, boolean defaultValue) boolean
boolean
default boolean
static ShapeContext
static ShapeContext
static ShapeContext
ofPlacement
(@Nullable Entity placer)
-
Method Details
-
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
Lfgh;a()Lfgh;
-
of
- 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
Lfgh;a(Lbxe;)Lfgh;
-
of
- 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
Lfgh;a(Lbxe;Z)Lfgh;
-
ofPlacement
- Mappings:
Namespace Name Mixin selector named ofPlacement
Lnet/minecraft/block/ShapeContext;ofPlacement(Lnet/minecraft/entity/Entity;)Lnet/minecraft/block/ShapeContext;
intermediary method_67715
Lnet/minecraft/class_3726;method_67715(Lnet/minecraft/class_1297;)Lnet/minecraft/class_3726;
official b
Lfgh;b(Lbxe;)Lfgh;
-
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
Lfgh;b()Z
-
isAbove
- 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
Lfgh;a(Lfgw;Liw;Z)Z
-
isHolding
- 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
Lfgh;a(Ldag;)Z
-
canWalkOnFluid
- 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
Lfgh;a(Leya;Leya;)Z
-
getCollisionShape
- 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
Lfgh;a(Lebq;Ldjr;Liw;)Lfgw;
-
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
Lfgh;c()Z
-