net.minecraft.world.entity.animal

public abstract class AbstractFish

extends WaterAnimal implements Bucketable

All mapped superinterfaces:

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

cht
net.minecraft.world.entity.animal.AbstractFish
net.minecraft.class_1422
net.minecraft.entity.passive.FishEntity
net.minecraft.world.entity.animal.EntityFish

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
a
FROM_BUCKET
field_6730
FROM_BUCKET

Constructor summary

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

Method summary

Modifier and TypeMethod
public static AttributeSupplier$Builder
m()
createAttributes()
method_26879()
createFishAttributes()
public boolean
W()
requiresCustomPersistence()
method_17326()
cannotDespawn()
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
public int
ad()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public boolean
p()
fromBucket()
method_6453()
isFromBucket()
public void
x(boolean arg0)
setFromBucket(boolean arg0)
method_6454(boolean arg0)
setFromBucket(boolean 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)
protected void
B()
registerGoals()
method_5959()
initGoals()
protected PathNavigation
b(dhi arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
public void
a_(fby arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
public void
d_()
aiStep()
method_6007()
tickMovement()
protected InteractionResult
b(cpx arg0, bti arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
public void
i(cxp arg0)
saveToBucketTag(ItemStack arg0)
method_6455(class_1799 arg0)
copyDataToStack(ItemStack arg0)
public void
h(ux arg0)
loadFromBucketTag(CompoundTag arg0)
method_35170(class_2487 arg0)
copyDataFromNbt(NbtCompound arg0)
public SoundEvent
t()
getPickupSound()
method_35171()
getBucketFillSound()
protected boolean
x()
canRandomSwim()
method_6456()
hasSelfControl()
protected abstract SoundEvent
go()
getFlopSound()
method_6457()
getFlopSound()
protected SoundEvent
aV()
getSwimSound()
method_5737()
getSwimSound()
protected void
b(jh arg0, dxv arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)