Package net.minecraft.block
Class EntityShapeContext
java.lang.Object
net.minecraft.block.EntityShapeContext
- All Implemented Interfaces:
ShapeContext
- Mappings:
Namespace Name official ees
intermediary net/minecraft/class_3727
named net/minecraft/block/EntityShapeContext
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final ShapeContext
private final boolean
private final ItemStack
private final double
private final Predicate<FluidState>
-
Constructor Summary
ModifierConstructorDescriptionprotected
EntityShapeContext
(boolean descending, double minY, ItemStack heldItem, Predicate<FluidState> walkOnFluidPredicate, @Nullable Entity entity) protected
EntityShapeContext
(Entity entity) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionboolean
canWalkOnFluid
(FluidState stateAbove, FluidState state) boolean
isAbove
(VoxelShape shape, BlockPos pos, boolean defaultValue) boolean
boolean
-
Field Details
-
ABSENT
- Mappings:
Namespace Name Mixin selector official a
Lees;a:Leen;
intermediary field_17593
Lnet/minecraft/class_3727;field_17593:Lnet/minecraft/class_3726;
named ABSENT
Lnet/minecraft/block/EntityShapeContext;ABSENT:Lnet/minecraft/block/ShapeContext;
-
descending
private final boolean descending- Mappings:
Namespace Name Mixin selector official b
Lees;b:Z
intermediary field_16451
Lnet/minecraft/class_3727;field_16451:Z
named descending
Lnet/minecraft/block/EntityShapeContext;descending:Z
-
minY
private final double minY- Mappings:
Namespace Name Mixin selector official c
Lees;c:D
intermediary field_16450
Lnet/minecraft/class_3727;field_16450:D
named minY
Lnet/minecraft/block/EntityShapeContext;minY:D
-
heldItem
- Mappings:
Namespace Name Mixin selector official d
Lees;d:Lcfz;
intermediary field_17594
Lnet/minecraft/class_3727;field_17594:Lnet/minecraft/class_1799;
named heldItem
Lnet/minecraft/block/EntityShapeContext;heldItem:Lnet/minecraft/item/ItemStack;
-
walkOnFluidPredicate
- Mappings:
Namespace Name Mixin selector official e
Lees;e:Ljava/util/function/Predicate;
intermediary field_24425
Lnet/minecraft/class_3727;field_24425:Ljava/util/function/Predicate;
named walkOnFluidPredicate
Lnet/minecraft/block/EntityShapeContext;walkOnFluidPredicate:Ljava/util/function/Predicate;
-
entity
- Mappings:
Namespace Name Mixin selector official f
Lees;f:Lbfj;
intermediary field_27935
Lnet/minecraft/class_3727;field_27935:Lnet/minecraft/class_1297;
named entity
Lnet/minecraft/block/EntityShapeContext;entity:Lnet/minecraft/entity/Entity;
-
-
Constructor Details
-
EntityShapeContext
protected EntityShapeContext(boolean descending, double minY, ItemStack heldItem, Predicate<FluidState> walkOnFluidPredicate, @Nullable @Nullable Entity entity) - Mappings:
Namespace Name Mixin selector official <init>
Lees;<init>(ZDLcfz;Ljava/util/function/Predicate;Lbfj;)V
intermediary <init>
Lnet/minecraft/class_3727;<init>(ZDLnet/minecraft/class_1799;Ljava/util/function/Predicate;Lnet/minecraft/class_1297;)V
named <init>
Lnet/minecraft/block/EntityShapeContext;<init>(ZDLnet/minecraft/item/ItemStack;Ljava/util/function/Predicate;Lnet/minecraft/entity/Entity;)V
-
EntityShapeContext
Deprecated.- Mappings:
Namespace Name Mixin selector official <init>
Lees;<init>(Lbfj;)V
intermediary <init>
Lnet/minecraft/class_3727;<init>(Lnet/minecraft/class_1297;)V
named <init>
Lnet/minecraft/block/EntityShapeContext;<init>(Lnet/minecraft/entity/Entity;)V
-
-
Method Details
-
isHolding
- Specified by:
isHolding
in interfaceShapeContext
- Mappings:
Namespace Name Mixin selector official a
Leen;a(Lcfu;)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
- Specified by:
canWalkOnFluid
in interfaceShapeContext
- Mappings:
Namespace Name Mixin selector official a
Leen;a(Ldxe;Ldxe;)Z
intermediary method_27866
Lnet/minecraft/class_3726;method_27866(Lnet/minecraft/class_3610;Lnet/minecraft/class_3610;)Z
named canWalkOnFluid
Lnet/minecraft/block/ShapeContext;canWalkOnFluid(Lnet/minecraft/fluid/FluidState;Lnet/minecraft/fluid/FluidState;)Z
-
isDescending
public boolean isDescending()- Specified by:
isDescending
in interfaceShapeContext
- Mappings:
Namespace Name Mixin selector official b
Leen;b()Z
intermediary method_16193
Lnet/minecraft/class_3726;method_16193()Z
named isDescending
Lnet/minecraft/block/ShapeContext;isDescending()Z
-
isAbove
- Specified by:
isAbove
in interfaceShapeContext
- Mappings:
Namespace Name Mixin selector official a
Leen;a(Lefb;Lgu;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
-
getEntity
- Mappings:
Namespace Name Mixin selector official c
Lees;c()Lbfj;
intermediary method_32480
Lnet/minecraft/class_3727;method_32480()Lnet/minecraft/class_1297;
named getEntity
Lnet/minecraft/block/EntityShapeContext;getEntity()Lnet/minecraft/entity/Entity;
-