Package net.minecraft.block
Interface ShapeContext
- All Known Implementing Classes:
EntityShapeContext
public interface ShapeContext
- Mappings:
Namespace Name official diz
intermediary net/minecraft/class_3726
named net/minecraft/block/ShapeContext
-
Method Summary
Modifier and Type Method Description static ShapeContext
absent()
boolean
canWalkOnFluid(FluidState state, FlowableFluid fluid)
boolean
isAbove(VoxelShape shape, BlockPos pos, boolean defaultValue)
boolean
isDescending()
boolean
isHolding(Item item)
static ShapeContext
of(Entity entity)
-
Method Details
-
absent
- Mappings:
Namespace Name Mixin selector official a
Ldiz;a()Ldiz;
intermediary method_16194
Lnet/minecraft/class_3726;method_16194()Lnet/minecraft/class_3726;
named absent
Lnet/minecraft/block/ShapeContext;absent()Lnet/minecraft/block/ShapeContext;
-
of
- Mappings:
Namespace Name Mixin selector official a
Ldiz;a(Laqv;)Ldiz;
intermediary method_16195
Lnet/minecraft/class_3726;method_16195(Lnet/minecraft/class_1297;)Lnet/minecraft/class_3726;
named of
Lnet/minecraft/block/ShapeContext;of(Lnet/minecraft/entity/Entity;)Lnet/minecraft/block/ShapeContext;
-
isDescending
boolean isDescending()- Mappings:
Namespace Name Mixin selector official b
Ldiz;b()Z
intermediary method_16193
Lnet/minecraft/class_3726;method_16193()Z
named isDescending
Lnet/minecraft/block/ShapeContext;isDescending()Z
-
isAbove
- Mappings:
Namespace Name Mixin selector official a
Ldiz;a(Ldjn;Lfx;Z)Z
intermediary method_16192
Lnet/minecraft/class_3726;method_16192(Lnet/minecraft/class_265;Lnet/minecraft/class_2338;Z)Z
named isAbove
Lnet/minecraft/block/ShapeContext;isAbove(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/math/BlockPos;Z)Z
-
isHolding
- Mappings:
Namespace Name Mixin selector official b
Ldiz;b(Lbnr;)Z
intermediary method_17785
Lnet/minecraft/class_3726;method_17785(Lnet/minecraft/class_1792;)Z
named isHolding
Lnet/minecraft/block/ShapeContext;isHolding(Lnet/minecraft/item/Item;)Z
-
canWalkOnFluid
- Mappings:
Namespace Name Mixin selector official a
Ldiz;a(Ldal;Ldaj;)Z
intermediary method_27866
Lnet/minecraft/class_3726;method_27866(Lnet/minecraft/class_3610;Lnet/minecraft/class_3609;)Z
named canWalkOnFluid
Lnet/minecraft/block/ShapeContext;canWalkOnFluid(Lnet/minecraft/fluid/FluidState;Lnet/minecraft/fluid/FlowableFluid;)Z
-