net.minecraft.world.entity

public class Interaction

extends Entity implements Attackable, Targeting

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, Attackable, Targeting

bvd
net.minecraft.world.entity.Interaction
net.minecraft.class_8150
net.minecraft.entity.decoration.InteractionEntity
net.minecraft.world.entity.Interaction

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
a(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
protected void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
protected void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(ajy<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
public boolean
bG()
canBeHitByProjectile()
method_49108()
canBeHitByProjectile()
public boolean
bH()
isPickable()
method_5863()
canHit()
public PushReaction
n_()
getPistonPushReaction()
method_5657()
getPistonBehavior()
public boolean
s_()
isIgnoringBlockTriggers()
method_5696()
canAvoidTraps()
public boolean
v(bum arg0)
skipAttackInteraction(Entity arg0)
method_5698(class_1297 arg0)
handleAttack(Entity arg0)
public final boolean
a(ard arg0, btc arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
public InteractionResult
a(coy arg0, bsk arg1)
interact(Player arg0, InteractionHand arg1)
method_5688(class_1657 arg0, class_1268 arg1)
interact(PlayerEntity arg0, Hand arg1)
public void
h()
tick()
method_5773()
tick()
public LivingEntity
am()
getLastAttacker()
method_49107()
getLastAttacker()
public LivingEntity
O_()
getTarget()
method_5968()
getTarget()
private void
a(float arg0)
setWidth(float arg0)
method_49109(float arg0)
setInteractionWidth(float width)
private float
m()
getWidth()
method_49116()
getInteractionWidth()
private void
b(float arg0)
setHeight(float arg0)
method_49113(float arg0)
setInteractionHeight(float height)
private float
p()
getHeight()
method_49117()
getInteractionHeight()
private void
a(boolean arg0)
setResponse(boolean arg0)
method_49112(boolean arg0)
setResponse(boolean response)
private boolean
s()
getResponse()
method_49118()
shouldRespond()
private EntityDimensions
t()
getDimensions()
method_49119()
getDimensions()
public EntityDimensions
a(bvu arg0)
getDimensions(Pose arg0)
method_18377(class_4050 arg0)
getDimensions(EntityPose arg0)
protected AABB
c(fbb arg0)
makeBoundingBox(Vec3 arg0)
method_65341(class_243 arg0)
calculateDefaultBoundingBox(Vec3d arg0)