net.minecraft.world.entity.animal

public class Pufferfish

extends AbstractFish

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting, Bucketable

cfx
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
cc
inflateCounter
field_6833
inflateTicks
f_29598_
int
cd
deflateTimer
field_6832
deflateTicks
f_29599_
private static final Predicate<LivingEntity>
ce
SCARY_MOB
field_6834
BLOW_UP_FILTER
f_149008_
static final TargetingConditions
cf
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(aka$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public int
gm()
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(ajw<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public void
b(ub arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ub 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
B()
registerGoals()
method_5959()
initGoals()
m_8099_()
public void
l()
tick()
method_5773()
tick()
m_8119_()
public void
m_()
aiStep()
method_6007()
tickMovement()
m_8107_()
private void
a(btp arg0)
touch(Mob arg0)
method_6593(class_1308 arg0)
sting(MobEntity mob)
m_29605_(C_526_ arg0)
public void
b_(cmx arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
m_6123_(C_1141_ arg0)
protected SoundEvent
v()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
n_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected SoundEvent
d(brk arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
gl()
getFlopSound()
method_6457()
getFlopSound()
m_5699_()
public EntityDimensions
e(bua arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
m_31586_(C_535_ arg0)
private static float
s(int arg0)
getScale(int arg0)
method_6592(int arg0)
getScaleForPuffState(int puffState)
m_29638_(int p_29639_)