Package net.minecraft.block
Interface ShapeContext
- All Known Implementing Classes:
EntityShapeContext,EntityShapeContext.Absent,ExperimentalMinecartShapeContext
public interface ShapeContext
- Mappings:
Namespace Name named net/minecraft/block/ShapeContextintermediary net/minecraft/class_3726official fom
-
Method Summary
Modifier and TypeMethodDescriptionstatic ShapeContextabsent()static ShapeContextbooleancanWalkOnFluid(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) boolean
-
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 aLfom;a()Lfom;
-
absentTreatingFluidAsCube
- Mappings:
Namespace Name Mixin selector named absentTreatingFluidAsCubeLnet/minecraft/block/ShapeContext;absentTreatingFluidAsCube()Lnet/minecraft/block/ShapeContext;intermediary method_74169Lnet/minecraft/class_3726;method_74169()Lnet/minecraft/class_3726;official bLfom;b()Lfom;
-
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 aLfom;a(Lcdv;)Lfom;
-
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 aLfom;a(Lcdv;Z)Lfom;
-
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 aLfom;a(Lczl;)Lfom;
-
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 aLfom;a(Lcdv;D)Lfom;
-
isDescending
boolean isDescending()- Mappings:
Namespace Name Mixin selector named isDescendingLnet/minecraft/block/ShapeContext;isDescending()Zintermediary method_16193Lnet/minecraft/class_3726;method_16193()Zofficial cLfom;c()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 aLfom;a(Lfpc;Lja;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 aLfom;a(Ldhl;)Z
-
shouldTreatFluidAsCube
boolean shouldTreatFluidAsCube()- Mappings:
Namespace Name Mixin selector named shouldTreatFluidAsCubeLnet/minecraft/block/ShapeContext;shouldTreatFluidAsCube()Zintermediary method_73328Lnet/minecraft/class_3726;method_73328()Zofficial dLfom;d()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 aLfom;a(Lfga;Lfga;)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 aLfom;a(Lejm;Ldqy;Lja;)Lfpc;
-
isPlacement
default boolean isPlacement()- Mappings:
Namespace Name Mixin selector named isPlacementLnet/minecraft/block/ShapeContext;isPlacement()Zintermediary method_67716Lnet/minecraft/class_3726;method_67716()Zofficial eLfom;e()Z
-