net.minecraft.world.entity.animal

public abstract class AbstractFish

extends WaterAnimal

All mapped superinterfaces:

Nameable, CommandSource

azt
net.minecraft.world.entity.animal.AbstractFish
net.minecraft.class_1422
net.minecraft.entity.passive.FishEntity
net.minecraft.entity.passive.fish.AbstractFishEntity
net.minecraft.server.v1_16_R2.EntityFish

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
protected float
b(aqu arg0, apy arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
func_213348_b(Pose arg0, EntitySize arg1)
public static AttributeSupplier$Builder
m()
createAttributes()
method_26879()
createFishAttributes()
func_234176_m_()
public boolean
K()
requiresCustomPersistence()
method_17326()
cannotDespawn()
func_213392_I()
isSpecialPersistence()
public static boolean
b(aqb<? extends azt> arg0, brv arg1, aqm arg2, fx 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)
func_223363_b(EntityType<? extends AbstractFishEntity> arg0, IWorld arg1, SpawnReason arg2, BlockPos arg3, Random arg4)
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
func_213397_c(double arg0)
isTypeNotPersistent(double arg0)
public int
eq()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
func_70641_bl()
getMaxSpawnGroup()
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
private boolean
eN()
fromBucket()
method_6453()
isFromBucket()
func_203705_dA()
isFromBucket()
public void
t(boolean arg0)
setFromBucket(boolean arg0)
method_6454(boolean arg0)
setFromBucket(boolean fromBucket)
func_203706_r(boolean arg0)
setFromBucket(boolean arg0)
public void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
protected void
o()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
protected PathNavigation
b(bru arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
func_175447_b(World arg0)
public void
g(dck arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
func_213352_e(Vector3d arg0)
public void
k()
aiStep()
method_6007()
tickMovement()
func_70636_d()
movementTick()
protected InteractionResult
b(bft arg0, aoq arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
func_230254_b_(PlayerEntity arg0, Hand arg1)
protected void
k(bly arg0)
saveToBucketTag(ItemStack arg0)
method_6455(class_1799 arg0)
copyDataToStack(ItemStack stack)
func_204211_f(ItemStack arg0)
protected abstract ItemStack
eK()
getBucketItemStack()
method_6452()
getFishBucketItem()
func_203707_dx()
protected boolean
eL()
canRandomSwim()
method_6456()
hasSelfControl()
func_212800_dy()
protected abstract SoundEvent
eM()
getFlopSound()
method_6457()
getFlopSound()
func_203701_dz()
getSoundFlop()
protected SoundEvent
au()
getSwimSound()
method_5737()
getSwimSound()
func_184184_Z()
getSoundSwim()
protected void
b(fx arg0, cee arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
func_180429_a(BlockPos arg0, BlockState arg1)