net.minecraft.world.entity

public class Interaction

extends Entity implements Attackable, Targeting

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, Targeting

bmg
net.minecraft.world.entity.Interaction
net.minecraft.class_8150
net.minecraft.unmapped.C_hvnhlgso
net.minecraft.entity.decoration.InteractionEntity
net.minecraft.entity.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
f_bjugfgwx
field_42624
LOGGER
f_271310_
private static final EntityDataAccessor<Float>
c
DATA_WIDTH_ID
field_42625
f_rmbogufh
WIDTH
WIDTH
f_271210_
private static final EntityDataAccessor<Float>
d
DATA_HEIGHT_ID
field_42626
f_luxekrhz
HEIGHT
HEIGHT
f_271237_
private static final EntityDataAccessor<Boolean>
e
DATA_RESPONSE_ID
field_42627
f_vxdufukm
RESPONSE
RESPONSE
f_271389_
private static final String
f
TAG_WIDTH
field_42628
f_ckdsvier
WIDTH_KEY
WIDTH_KEY
f_271518_
private static final String
g
TAG_HEIGHT
field_42629
f_ygkdbibs
HEIGHT_KEY
HEIGHT_KEY
f_271085_
private static final String
h
TAG_ATTACK
field_42630
f_xnjxidmy
ATTACK_KEY
ATTACK_KEY
f_271403_
private static final String
i
TAG_INTERACTION
field_42631
f_vvmxstjr
INTERACTION_KEY
INTERACTION_KEY
f_271476_
private static final String
j
TAG_RESPONSE
field_42632
f_ztmqbiqd
RESPONSE_KEY
RESPONSE_KEY
f_271508_
private Interaction$PlayerAction
k
attack
field_42633
f_jzdfpkpp
attack
attack
f_271404_
private Interaction$PlayerAction
l
interaction
field_42634
f_ctyumtqt
interaction
interaction
f_271193_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
c_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
initDataTracker()
m_8097_()
protected void
a(sn arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
b(sn arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(agm<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
m_jrqgigsr(C_rinmcaxy<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
onTrackedDataUpdate(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public boolean
bs()
canBeHitByProjectile()
method_49108()
m_btnnyttp()
canBeHitByProjectile()
canBeHitByProjectile()
m_271807_()
public boolean
bt()
isPickable()
method_5863()
m_bzveerey()
canHit()
collides()
m_6087_()
public PushReaction
s_()
getPistonPushReaction()
method_5657()
m_yjvnxlqe()
getPistonBehavior()
getPistonBehavior()
m_7752_()
public boolean
r_()
isIgnoringBlockTriggers()
method_5696()
m_vrnxwjtm()
canAvoidTraps()
canAvoidTraps()
m_6090_()
public boolean
u(blv arg0)
skipAttackInteraction(Entity arg0)
method_5698(class_1297 arg0)
m_uvsfzohj(C_astfners arg0)
handleAttack(Entity arg0)
handleAttack(Entity arg0)
m_7313_(C_507_ arg0)
public InteractionResult
a(cfi arg0, bka arg1)
interact(Player arg0, InteractionHand arg1)
method_5688(class_1657 arg0, class_1268 arg1)
m_fdhoudpd(C_jzrpycqo arg0, C_laxmzoqs arg1)
interact(PlayerEntity arg0, Hand arg1)
interact(PlayerEntity arg0, Hand arg1)
m_6096_(C_1141_ p_273048_, C_470_ arg1)
public void
l()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
m_8119_()
public LivingEntity
V_()
getLastAttacker()
method_49107()
m_fzsxxtsc()
getLastAttacker()
getLastAttacker()
m_271686_()
public LivingEntity
q()
getTarget()
method_5968()
m_mqgluxpv()
getTarget()
getTarget()
m_5448_()
private void
a(float arg0)
setWidth(float arg0)
method_49109(float arg0)
m_uesbqavb(float arg0)
setInteractionWidth(float width)
setWidth(float width)
m_272058_(float arg0)
private float
s()
getWidth()
method_49116()
m_mcajgzfg()
getInteractionWidth()
getWidth()
m_272023_()
private void
b(float arg0)
setHeight(float arg0)
method_49113(float arg0)
m_yvnkyldm(float arg0)
setInteractionHeight(float height)
setHeight(float height)
m_271774_(float arg0)
private float
u()
getHeight()
method_49117()
m_dyvbaohz()
getInteractionHeight()
getHeight()
m_271858_()
private void
a(boolean arg0)
setResponse(boolean arg0)
method_49112(boolean arg0)
m_oeurfxnz(boolean arg0)
setResponse(boolean response)
setResponse(boolean response)
m_271717_(boolean arg0)
private boolean
w()
getResponse()
method_49118()
m_stegizgr()
shouldRespond()
getResponse()
m_271819_()
private EntityDimensions
x()
getDimensions()
method_49119()
m_acettnna()
getDimensions()
getDimensions()
m_271772_()
public EntityDimensions
a(bmx arg0)
getDimensions(Pose arg0)
method_18377(class_4050 arg0)
m_ucyctjbx(C_ufdjspmk arg0)
getDimensions(EntityPose arg0)
getDimensions(EntityPose arg0)
m_6972_(C_535_ arg0)
protected AABB
aq()
makeBoundingBox()
method_33332()
m_ieagoqtl()
calculateBoundingBox()
calculateBoundingBox()
m_142242_()