net.minecraft.world.phys.shapes

public class EntityCollisionContext

implements CollisionContext

css
net.minecraft.world.phys.shapes.EntityCollisionContext
net.minecraft.class_3727
net.minecraft.entity.EntityContextImpl
net.minecraft.util.math.shapes.EntitySelectionContext
net.minecraft.server.v1_14_R1.VoxelShapeCollisionEntity

Field summary

Modifier and TypeField
protected static final CollisionContext
a
EMPTY
field_17593
ABSENT
field_216379_a
private final boolean
b
sneaking
field_16451
descending
field_216380_b
private final double
c
entityBottom
field_16450
minY
field_216381_c
private final Item
d
heldItem
field_17594
heldItem
field_216382_d

Constructor summary

ModifierConstructor
protected (boolean descending, double minY, Item heldItem)
protected (Entity entity)

Method summary

Modifier and TypeMethod
public boolean
a(bce arg0)
isHoldingItem(Item arg0)
method_17785(class_1792 arg0)
isHolding(Item arg0)
func_216375_a(Item arg0)
public boolean
b()
isSneaking()
method_16193()
isDescending()
func_216376_b()
public boolean
a(ctc arg0, ew 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)