net.minecraft.world.entity

public class Interaction

extends Entity implements Attackable, Targeting

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, Targeting

btm
net.minecraft.world.entity.Interaction
net.minecraft.class_8150
net.minecraft.entity.decoration.InteractionEntity
net.minecraft.src.C_271063_
net.minecraft.world.entity.Interaction

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
b
LOGGER
field_42624
field_42624
f_271310_
private static final EntityDataAccessor<Float>
c
DATA_WIDTH_ID
field_42625
WIDTH
f_271210_
private static final EntityDataAccessor<Float>
d
DATA_HEIGHT_ID
field_42626
HEIGHT
f_271237_
private static final EntityDataAccessor<Boolean>
e
DATA_RESPONSE_ID
field_42627
RESPONSE
f_271389_
private static final String
f
TAG_WIDTH
field_42628
WIDTH_KEY
f_271518_
private static final String
g
TAG_HEIGHT
field_42629
HEIGHT_KEY
f_271085_
private static final String
h
TAG_ATTACK
field_42630
ATTACK_KEY
f_271403_
private static final String
i
TAG_INTERACTION
field_42631
INTERACTION_KEY
f_271476_
private static final String
j
TAG_RESPONSE
field_42632
RESPONSE_KEY
f_271508_
private Interaction$PlayerAction
k
attack
field_42633
attack
f_271404_
private Interaction$PlayerAction
l
interaction
field_42634
interaction
f_271193_

Constructor summary

ModifierConstructor
public (EntityType<?> p_272713_, Level arg1)

Method summary

Modifier and TypeMethod
protected void
a(ako$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
protected void
a(us arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
b(us arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(akk<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public boolean
by()
canBeHitByProjectile()
method_49108()
canBeHitByProjectile()
m_271807_()
public boolean
bz()
isPickable()
method_5863()
canHit()
m_6087_()
public PushReaction
k_()
getPistonPushReaction()
method_5657()
getPistonBehavior()
m_7752_()
public boolean
r_()
isIgnoringBlockTriggers()
method_5696()
canAvoidTraps()
m_6090_()
public boolean
u(bsw arg0)
skipAttackInteraction(Entity arg0)
method_5698(class_1297 arg0)
handleAttack(Entity arg0)
m_7313_(C_507_ arg0)
public InteractionResult
a(cmz arg0, bqv arg1)
interact(Player arg0, InteractionHand arg1)
method_5688(class_1657 arg0, class_1268 arg1)
interact(PlayerEntity arg0, Hand arg1)
m_6096_(C_1141_ p_273048_, C_470_ arg1)
public void
l()
tick()
method_5773()
tick()
m_8119_()
public LivingEntity
T_()
getLastAttacker()
method_49107()
getLastAttacker()
m_271686_()
public LivingEntity
p()
getTarget()
method_5968()
getTarget()
m_5448_()
private void
a(float arg0)
setWidth(float arg0)
method_49109(float arg0)
setInteractionWidth(float width)
m_272058_(float arg0)
private float
s()
getWidth()
method_49116()
getInteractionWidth()
m_272023_()
private void
b(float arg0)
setHeight(float arg0)
method_49113(float arg0)
setInteractionHeight(float height)
m_271774_(float arg0)
private float
u()
getHeight()
method_49117()
getInteractionHeight()
m_271858_()
private void
a(boolean arg0)
setResponse(boolean arg0)
method_49112(boolean arg0)
setResponse(boolean response)
m_271717_(boolean arg0)
private boolean
v()
getResponse()
method_49118()
shouldRespond()
m_271819_()
private EntityDimensions
w()
getDimensions()
method_49119()
getDimensions()
m_271772_()
public EntityDimensions
a(bud arg0)
getDimensions(Pose arg0)
method_18377(class_4050 arg0)
getDimensions(EntityPose arg0)
m_6972_(C_535_ arg0)
protected AABB
as()
makeBoundingBox()
method_33332()
calculateBoundingBox()
m_142242_()