net.minecraft.world.entity.animal

public class Pufferfish

extends AbstractFish

All mapped superinterfaces:

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

chs
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>
bY
PUFF_STATE
field_6835
PUFF_STATE
int
bZ
inflateCounter
field_6833
inflateTicks
int
ca
deflateTimer
field_6832
deflateTicks
private static final TargetingConditions$Selector
cb
SCARY_MOB
field_6834
BLOW_UP_FILTER
static final TargetingConditions
cc
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(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public int
gt()
getPuffState()
method_6594()
getPuffState()
public void
b(int arg0)
setPuffState(int arg0)
method_6596(int arg0)
setPuffState(int puffState)
public void
a(ajy<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public ItemStack
W_()
getBucketItemStack()
method_6452()
getBucketItem()
protected void
E()
registerGoals()
method_5959()
initGoals()
public void
h()
tick()
method_5773()
tick()
public void
d_()
aiStep()
method_6007()
tickMovement()
private void
a(ard arg0, bvk arg1)
touch(ServerLevel arg0, Mob arg1)
method_6593(class_3218 arg0, class_1308 arg1)
sting(ServerWorld world, MobEntity target)
public void
a_(coy 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(btc arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
gs()
getFlopSound()
method_6457()
getFlopSound()
public EntityDimensions
e(bvu 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)