net.minecraft.world.phys.shapes

public class EntityCollisionContext

implements CollisionContext

fbl
net.minecraft.world.phys.shapes.EntityCollisionContext
net.minecraft.class_3727
net.minecraft.block.EntityShapeContext
net.minecraft.world.phys.shapes.VoxelShapeCollisionEntity

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(cwm arg0)
isHoldingItem(Item arg0)
method_17785(class_1792 arg0)
isHolding(Item arg0)
public boolean
a(eta arg0, eta arg1)
canStandOnFluid(FluidState arg0, FluidState arg1)
method_27866(class_3610 arg0, class_3610 arg1)
canWalkOnFluid(FluidState arg0, FluidState arg1)
public VoxelShape
a(dwy arg0, dfs arg1, ji 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)
public boolean
b()
isDescending()
method_16193()
isDescending()
public boolean
a(fbv arg0, ji 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)
public Entity
c()
getEntity()
method_32480()
getEntity()