net.minecraft.world.entity.animal

public class Pufferfish

extends AbstractFish

All mapped superinterfaces:

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

ciq
net.minecraft.world.entity.animal.Pufferfish
net.minecraft.class_1454
net.minecraft.entity.passive.PufferfishEntity
net.minecraft.world.entity.animal.EntityPufferFish

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
bZ
PUFF_STATE
field_6835
PUFF_STATE
int
ca
inflateCounter
field_6833
inflateTicks
int
cb
deflateTimer
field_6832
deflateTicks
private static final TargetingConditions$Selector
cc
SCARY_MOB
field_6834
BLOW_UP_FILTER
static final TargetingConditions
cd
TARGETING_CONDITIONS
field_33692
BLOW_UP_TARGET_PREDICATE
public static final int
a
STATE_SMALL
field_30353
NOT_PUFFED
public static final int
b
STATE_MID
field_30354
SEMI_PUFFED
public static final int
c
STATE_FULL
field_30355
FULLY_PUFFED

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public int
gp()
getPuffState()
method_6594()
getPuffState()
public void
b(int arg0)
setPuffState(int arg0)
method_6596(int arg0)
setPuffState(int puffState)
public void
a(alc<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public ItemStack
X_()
getBucketItemStack()
method_6452()
getBucketItem()
protected void
B()
registerGoals()
method_5959()
initGoals()
public void
h()
tick()
method_5773()
tick()
public void
d_()
aiStep()
method_6007()
tickMovement()
private void
a(ash arg0, bwi arg1)
touch(ServerLevel arg0, Mob arg1)
method_6593(class_3218 arg0, class_1308 arg1)
sting(ServerWorld world, MobEntity target)
public void
a_(cpx arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
protected SoundEvent
e(bua arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
go()
getFlopSound()
method_6457()
getFlopSound()
public EntityDimensions
e(bws arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
private static float
c(int arg0)
getScale(int arg0)
method_6592(int arg0)
getScaleForPuffState(int puffState)