net.minecraft.world.phys.shapes

public class EntityCollisionContext

implements CollisionContext

dcx
net.minecraft.world.phys.shapes.EntityCollisionContext
net.minecraft.class_3727
net.minecraft.block.EntityShapeContext
net.minecraft.util.math.shapes.EntitySelectionContext
net.minecraft.server.v1_16_R3.VoxelShapeCollisionEntity

Field summary

Modifier and TypeField
protected static final CollisionContext
a
EMPTY
field_17593
ABSENT
field_216379_a
private final boolean
b
descending
field_16451
descending
field_227579_b_
private final double
c
entityBottom
field_16450
minY
field_216381_c
private final Item
d
heldItem
field_17594
heldItem
field_216382_d
private final Predicate<Fluid>
e
canStandOnFluid
field_24425
field_24425
field_237493_e_

Constructor summary

ModifierConstructor
protected (boolean descending, double minY, Item heldItem, Predicate<Fluid> arg3)
protected (Entity entity)

Method summary

Modifier and TypeMethod
public boolean
a(blx arg0)
isHoldingItem(Item arg0)
method_17785(class_1792 arg0)
isHolding(Item arg0)
func_216375_a(Item arg0)
public boolean
a(cux arg0, cuv arg1)
canStandOnFluid(FluidState arg0, FlowingFluid arg1)
method_27866(class_3610 arg0, class_3609 arg1)
method_27866(FluidState arg0, FlowableFluid arg1)
func_230426_a_(FluidState arg0, FlowingFluid arg1)
public boolean
b()
isDescending()
method_16193()
isDescending()
func_225581_b_()
public boolean
a(ddh arg0, fx 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)
func_216378_a(VoxelShape arg0, BlockPos arg1, boolean arg2)