net.minecraft.world.entity.animal

public class Pufferfish

extends AbstractFish

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Attackable, Targeting, Bucketable

bvk
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
bT
inflateCounter
field_6833
inflateTicks
f_29598_
int
bU
deflateTimer
field_6832
deflateTicks
f_29599_
private static final Predicate<LivingEntity>
bV
SCARY_MOB
field_6834
BLOW_UP_FILTER
f_149008_
static final TargetingConditions
bW
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_()
public int
gf()
getPuffState()
method_6594()
getPuffState()
m_29631_()
public void
c(int arg0)
setPuffState(int arg0)
method_6596(int arg0)
setPuffState(int puffState)
m_29618_(int arg0)
public void
a(aee<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public void
b(qw arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(qw arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public ItemStack
b()
getBucketItemStack()
method_6452()
getBucketItem()
m_28282_()
protected void
z()
registerGoals()
method_5959()
initGoals()
m_8099_()
public void
l()
tick()
method_5773()
tick()
m_8119_()
public void
b_()
aiStep()
method_6007()
tickMovement()
m_8107_()
private void
a(bji arg0)
touch(Mob arg0)
method_6593(class_1308 arg0)
sting(MobEntity mob)
m_29605_(C_526_ arg0)
public void
b_(cbu arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
m_6123_(C_1141_ arg0)
protected SoundEvent
w()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
l_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected SoundEvent
d(bho arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
ge()
getFlopSound()
method_6457()
getFlopSound()
m_5699_()
public EntityDimensions
a(bjs arg0)
getDimensions(Pose arg0)
method_18377(class_4050 arg0)
getDimensions(EntityPose arg0)
m_6972_(C_535_ arg0)
private static float
s(int arg0)
getScale(int arg0)
method_6592(int arg0)
getScaleForPuffState(int puffState)
m_29638_(int p_29639_)