net.minecraft.world.phys.shapes

public class EntityCollisionContext

implements CollisionContext

dnk
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 ItemStack
e
footItem
field_27934
boots
f_166001_
private final Predicate<Fluid>
f
canStandOnFluid
field_24425
walkOnFluidPredicate
f_82869_
private final Optional<Entity>
g
entity
field_27935
entity
f_166002_

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(bqm arg0)
hasItemOnFeet(Item arg0)
method_35591(class_1792 arg0)
isWearingOnFeet(Item arg0)
m_142055_(C_1381_ arg0)
public boolean
b(bqm arg0)
isHoldingItem(Item arg0)
method_17785(class_1792 arg0)
isHolding(Item arg0)
m_7142_(C_1381_ arg0)
public boolean
a(des arg0, deq arg1)
canStandOnFluid(FluidState arg0, FlowingFluid arg1)
method_27866(class_3610 arg0, class_3609 arg1)
canWalkOnFluid(FluidState arg0, FlowableFluid arg1)
m_7875_(C_2691_ p_82884_, C_2688_ arg1)
public boolean
b()
isDescending()
method_16193()
isDescending()
m_6226_()
public boolean
a(dnt arg0, gg 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 Optional<Entity>
c()
getEntity()
method_32480()
getEntity()
m_166012_()