net.minecraft.world.phys.shapes

public class EntityCollisionContext

implements CollisionContext

ees
net.minecraft.world.phys.shapes.EntityCollisionContext
net.minecraft.class_3727
net.minecraft.block.EntityShapeContext
net.minecraft.src.C_3058_
net.minecraft.world.phys.shapes.VoxelShapeCollisionEntity

Field summary

Modifier and TypeField
protected static final CollisionContext
a
EMPTY
field_17593
ABSENT
f_82865_
private final boolean
b
descending
field_16451
descending
f_82866_
private final double
c
entityBottom
field_16450
minY
f_82867_
private final ItemStack
d
heldItem
field_17594
heldItem
f_82868_
private final Predicate<FluidState>
e
canStandOnFluid
field_24425
walkOnFluidPredicate
f_82869_
private final Entity
f
entity
field_27935
entity
f_166002_

Constructor summary

ModifierConstructor
protected (boolean descending, double minY, ItemStack heldItem, Predicate<FluidState> walkOnFluidPredicate, Entity entity)
protected (Entity entity)

Method summary

Modifier and TypeMethod
public boolean
a(cfu arg0)
isHoldingItem(Item arg0)
method_17785(class_1792 arg0)
isHolding(Item arg0)
m_7142_(C_1381_ arg0)
public boolean
a(dxe arg0, dxe arg1)
canStandOnFluid(FluidState arg0, FluidState arg1)
method_27866(class_3610 arg0, class_3610 arg1)
canWalkOnFluid(FluidState arg0, FluidState arg1)
m_203682_(C_2691_ p_205116_, C_2691_ arg1)
public boolean
b()
isDescending()
method_16193()
isDescending()
m_6226_()
public boolean
a(efb arg0, gu arg1, boolean arg2)
isAbove(VoxelShape arg0, BlockPos arg1, boolean arg2)
method_16192(class_265 arg0, class_2338 arg1, boolean arg2)
isAbove(VoxelShape arg0, BlockPos arg1, boolean arg2)
m_6513_(C_3072_ p_82887_, C_4675_ p_82888_, boolean arg2)
public Entity
c()
getEntity()
method_32480()
getEntity()
m_193113_()