net.minecraft.world.entity.animal

public abstract class AbstractFish

extends WaterAnimal implements Bucketable

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Bucketable

bdv
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(aug arg0, ath 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_()
isSpecialPersistence()
public static boolean
b(atk<? extends bdv> arg0, bwr arg1, aty arg2, gg arg3, Random arg4)
checkFishSpawnRules(EntityType<? extends AbstractFish> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, Random arg4)
method_20662(class_1299<? extends class_1422> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, Random arg4)
canSpawn(EntityType<? extends FishEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
m_27467_(C_513_<? extends C_795_> p_27468_, C_1598_ p_27469_, C_529_ p_27470_, C_4675_ p_27471_, Random p_27472_)
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
m_6785_(double arg0)
isTypeNotPersistent(double arg0)
public int
fc()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
m_5792_()
getMaxSpawnGroup()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
initDatawatcher()
public boolean
p()
fromBucket()
method_6453()
isFromBucket()
m_142392_()
isFromBucket()
public void
v(boolean arg0)
setFromBucket(boolean arg0)
method_6454(boolean arg0)
setFromBucket(boolean arg0)
m_142139_(boolean arg0)
setFromBucket(boolean arg0)
public void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
public void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
protected void
v()
registerGoals()
method_5959()
initGoals()
m_8099_()
initPathfinder()
protected PathNavigation
a(bwq arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
m_6037_(C_1596_ arg0)
public void
g(dna arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)
public void
u_()
aiStep()
method_6007()
tickMovement()
m_8107_()
movementTick()
protected InteractionResult
b(bke arg0, asa 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(bqq arg0)
saveToBucketTag(ItemStack arg0)
method_6455(class_1799 arg0)
copyDataToStack(ItemStack arg0)
m_142146_(C_1391_ arg0)
setBucketName(ItemStack arg0)
public void
c(na 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
fw()
canRandomSwim()
method_6456()
hasSelfControl()
m_6004_()
protected abstract SoundEvent
fx()
getFlopSound()
method_6457()
getFlopSound()
m_5699_()
getSoundFlop()
protected SoundEvent
aA()
getSwimSound()
method_5737()
getSwimSound()
m_5501_()
getSoundSwim()
protected void
b(gg arg0, ckt 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)