net.minecraft.world

public class EntityCollisionContext

implements CollisionContext

csf
net.minecraft.class_3727
net.minecraft.world.EntityCollisionContext
net.minecraft.util.math.shapes.EntitySelectionContext
net.minecraft.util.math.shapes.EntitySelectionContext

Field summary

Modifier and TypeField
protected static final CollisionContext
a
field_17593
EMPTY
field_216379_a
field_216379_a
private final boolean
b
field_16451
sneaking
field_216380_b
field_216380_b
private final double
c
field_16450
bottomY
field_216381_c
field_216381_c
private final Item
d
field_17594
itemInHand
field_216382_d
field_216382_d

Constructor summary

ModifierConstructor
protected (boolean sneaking, double bottomY, Item itemInHand)
protected (Entity entity)

Method summary

Modifier and TypeMethod
public boolean
a(bbv arg0)
method_17785(class_1792 arg0)
isHoldingItem(Item arg0)
func_216375_a(Item arg0)
func_216375_a(Item arg0)
public boolean
b()
method_16193()
isSneaking()
func_216376_b()
func_216376_b()
public boolean
a(csp arg0, ev 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)
func_216378_a(VoxelShape arg0, BlockPos arg1, boolean arg2)