net.minecraft.world.entity.animal

public class Pufferfish

extends AbstractFish

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Bucketable

beo
net.minecraft.world.entity.animal.Pufferfish
net.minecraft.class_1454
net.minecraft.entity.passive.PufferfishEntity
net.minecraft.src.C_885_
net.minecraft.world.entity.animal.EntityPufferFish

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
e
PUFF_STATE
field_6835
PUFF_STATE
f_29596_
int
bS
inflateCounter
field_6833
inflateTicks
f_29598_
int
bT
deflateTimer
field_6832
deflateTicks
f_29599_
private static final Predicate<LivingEntity>
bU
SCARY_MOB
field_6834
BLOW_UP_FILTER
f_149008_
static final TargetingConditions
bV
targetingConditions
field_33692
BLOW_UP_TARGET_PREDICATE
f_149009_
public static final int
b
STATE_SMALL
field_30353
NOT_PUFFED
f_149007_
public static final int
c
STATE_MID
field_30354
SEMI_PUFFED
f_149010_
public static final int
d
STATE_FULL
field_30355
FULLY_PUFFED
f_149011_

Constructor summary

ModifierConstructor
public (EntityType<? extends Pufferfish> p_29603_, Level arg1)

Method summary

Modifier and TypeMethod
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
initDatawatcher()
public int
fx()
getPuffState()
method_6594()
getPuffState()
m_29631_()
getPuffState()
public void
b(int arg0)
setPuffState(int arg0)
method_6596(int arg0)
setPuffState(int puffState)
m_29618_(int arg0)
setPuffState(int arg0)
public void
a(wf<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
public void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
public ItemStack
b()
getBucketItemStack()
method_6452()
getBucketItem()
m_142563_()
getBucketItem()
protected void
v()
registerGoals()
method_5959()
initGoals()
m_8099_()
initPathfinder()
public void
k()
tick()
method_5773()
tick()
m_8119_()
tick()
public void
u_()
aiStep()
method_6007()
tickMovement()
m_8107_()
movementTick()
private void
a(atv arg0)
touch(Mob arg0)
method_6593(class_1308 arg0)
sting(MobEntity mob)
m_29605_(C_526_ arg0)
public void
b(bkd arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
m_6123_(C_1141_ arg0)
pickup(EntityHuman arg0)
protected SoundEvent
q()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
getSoundAmbient()
protected SoundEvent
v_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
getSoundDeath()
protected SoundEvent
c(asp arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
fw()
getFlopSound()
method_6457()
getFlopSound()
m_5699_()
getSoundFlop()
public EntityDimensions
a(auf arg0)
getDimensions(Pose arg0)
method_18377(class_4050 arg0)
getDimensions(EntityPose arg0)
m_6972_(C_535_ arg0)
private static float
t(int arg0)
getScale(int arg0)
method_6592(int arg0)
getScaleForPuffState(int puffState)
m_29638_(int p_29639_)