net.minecraft.world.entity

public class Interaction

extends Entity implements Attackable, Targeting

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, Attackable, Targeting

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

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
protected void
a(ux 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(ux 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(alc<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
m_efnedaed(C_rinmcaxy<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public boolean
bG()
canBeHitByProjectile()
method_49108()
m_btnnyttp()
canBeHitByProjectile()
canBeHitByProjectile()
m_271807_()
public boolean
bH()
isPickable()
method_5863()
m_bzveerey()
canHit()
collides()
m_6087_()
public PushReaction
n_()
getPistonPushReaction()
method_5657()
m_yjvnxlqe()
getPistonBehavior()
getPistonBehavior()
m_7752_()
public boolean
s_()
isIgnoringBlockTriggers()
method_5696()
m_vrnxwjtm()
canAvoidTraps()
canAvoidTraps()
m_6090_()
public boolean
v(bvk 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 final boolean
a(ash arg0, bua arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
m_fuenwjjy(C_bdwnwhiu arg0, C_sbxfkpyv arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
m_fuenwjjy(ServerWorld arg0, DamageSource arg1, float arg2)
m_351622_(C_12_ p_367095_, C_489_ p_369043_, float arg2)
public InteractionResult
a(cpx arg0, bti 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
h()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
m_8119_()
public LivingEntity
am()
getLastAttacker()
method_49107()
m_fzsxxtsc()
getLastAttacker()
getLastAttacker()
m_271686_()
public LivingEntity
O_()
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
m()
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
p()
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
s()
getResponse()
method_49118()
m_stegizgr()
shouldRespond()
getResponse()
m_271819_()
private EntityDimensions
t()
getDimensions()
method_49119()
m_acettnna()
getDimensions()
getDimensions()
m_271772_()
public EntityDimensions
a(bws 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
ax()
makeBoundingBox()
method_33332()
m_ieagoqtl()
calculateBoundingBox()
calculateBoundingBox()
m_142242_()