net.minecraft.world.entity.animal

public abstract class AbstractFish

extends WaterAnimal implements Bucketable

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Bucketable

bia
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
protected float
b(ayk arg0, axl arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6431_(C_535_ p_27475_, C_510_ arg1)
public static AttributeSupplier$Builder
n()
createAttributes()
method_26879()
createFishAttributes()
m_27495_()
public boolean
O()
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
ff()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
m_5792_()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public boolean
q()
fromBucket()
method_6453()
isFromBucket()
m_142392_()
public void
v(boolean arg0)
setFromBucket(boolean arg0)
method_6454(boolean arg0)
setFromBucket(boolean arg0)
m_142139_(boolean arg0)
public void
b(ok arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ok arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
u()
registerGoals()
method_5959()
initGoals()
m_8099_()
protected PathNavigation
a(cav arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
m_6037_(C_1596_ arg0)
public void
h(dpo arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)
public void
w_()
aiStep()
method_6007()
tickMovement()
m_8107_()
protected InteractionResult
b(boj arg0, awg 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
m(buw arg0)
saveToBucketTag(ItemStack arg0)
method_6455(class_1799 arg0)
copyDataToStack(ItemStack arg0)
m_142146_(C_1391_ arg0)
public void
c(ok arg0)
loadFromBucketTag(CompoundTag arg0)
method_35170(class_2487 arg0)
copyDataFromNbt(NbtCompound arg0)
m_142278_(C_4917_ arg0)
public SoundEvent
t()
getPickupSound()
method_35171()
getBucketedSound()
m_142623_()
protected boolean
fz()
canRandomSwim()
method_6456()
hasSelfControl()
m_6004_()
protected abstract SoundEvent
fA()
getFlopSound()
method_6457()
getFlopSound()
m_5699_()
protected SoundEvent
aF()
getSwimSound()
method_5737()
getSwimSound()
m_5501_()
protected void
b(gj arg0, cov 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)