net.minecraft.world.phys.shapes

public class EntityCollisionContext

implements CollisionContext

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

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 boolean
d
placement
field_56696
placement
f_381897_
private final ItemStack
e
heldItem
field_17594
heldItem
f_82868_
private final Predicate<FluidState>
f
canStandOnFluid
field_24425
walkOnFluidPredicate
f_82869_
private final Entity
g
entity
field_27935
entity
f_166002_

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(dag arg0)
isHoldingItem(Item arg0)
method_17785(class_1792 arg0)
isHolding(Item arg0)
m_7142_(C_1381_ arg0)
public boolean
a(eya arg0, eya 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 VoxelShape
a(ebq arg0, djr arg1, iw arg2)
getCollisionShape(BlockState arg0, CollisionGetter arg1, BlockPos arg2)
method_62878(class_2680 arg0, class_1941 arg1, class_2338 arg2)
getCollisionShape(BlockState arg0, CollisionView arg1, BlockPos arg2)
m_353701_(C_2064_ p_362064_, C_1569_ p_364238_, C_4675_ arg2)
public boolean
b()
isDescending()
method_16193()
isDescending()
m_6226_()
public boolean
a(fgw arg0, iw 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
d()
getEntity()
method_32480()
getEntity()
m_193113_()
public boolean
c()
isPlacement()
method_67716()
isPlacement()
m_384080_()