net.minecraft.world.entity.animal

public abstract class AbstractFish

extends WaterAnimal implements Bucketable

All mapped superinterfaces:

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

cfb
net.minecraft.world.entity.animal.AbstractFish
net.minecraft.class_1422
net.minecraft.entity.passive.FishEntity
net.minecraft.src.C_795_
net.minecraft.world.entity.animal.EntityFish

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static AttributeSupplier$Builder
s()
createAttributes()
method_26879()
createFishAttributes()
m_27495_()
public boolean
Y()
requiresCustomPersistence()
method_17326()
cannotDespawn()
m_8023_()
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
m_6785_(double arg0)
public int
fN()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
m_5792_()
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 boolean
t()
fromBucket()
method_6453()
isFromBucket()
m_27487_()
public void
x(boolean arg0)
setFromBucket(boolean arg0)
method_6454(boolean arg0)
setFromBucket(boolean arg0)
m_27497_(boolean 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)
protected void
B()
registerGoals()
method_5959()
initGoals()
m_8099_()
protected PathNavigation
b(dcw arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
m_6037_(C_1596_ arg0)
public void
a(exc arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)
public void
m_()
aiStep()
method_6007()
tickMovement()
m_8107_()
protected InteractionResult
b(cmx arg0, bqq arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_27478_, C_470_ arg1)
public void
n(cuq arg0)
saveToBucketTag(ItemStack arg0)
method_6455(class_1799 arg0)
copyDataToStack(ItemStack arg0)
m_6872_(C_1391_ arg0)
public void
h(ub arg0)
loadFromBucketTag(CompoundTag arg0)
method_35170(class_2487 arg0)
copyDataFromNbt(NbtCompound arg0)
m_142278_(C_4917_ arg0)
public SoundEvent
x()
getPickupSound()
method_35171()
getBucketFillSound()
m_142623_()
protected boolean
gk()
canRandomSwim()
method_6456()
hasSelfControl()
m_6004_()
protected abstract SoundEvent
gl()
getFlopSound()
method_6457()
getFlopSound()
m_5699_()
protected SoundEvent
aQ()
getSwimSound()
method_5737()
getSwimSound()
m_5501_()
protected void
b(jd arg0, dtc arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_27483_, C_2064_ arg1)