net.minecraft.world.entity.animal

public abstract class AbstractFish

extends WaterAnimal

All mapped superinterfaces:

Nameable, CommandSource

asz
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_15_R1.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> type, Level arg1)

Method summary

Modifier and TypeMethod
protected float
b(alj arg0, akr 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)
protected void
cA()
registerAttributes()
method_6001()
initAttributes()
func_110147_ax()
initAttributes()
public boolean
I()
requiresCustomPersistence()
method_17326()
cannotDespawn()
func_213392_I()
public static boolean
b(aku<? extends asz> arg0, bjx arg1, alc arg2, fk 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, IWorld world, SpawnType spawnType, 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
dX()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
func_70641_bl()
getMaxSpawnGroup()
protected void
w_()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
private boolean
es()
fromBucket()
method_6453()
isFromBucket()
func_203705_dA()
isFromBucket()
public void
r(boolean arg0)
setFromBucket(boolean arg0)
method_6454(boolean arg0)
setFromBucket(boolean arg0)
func_203706_r(boolean arg0)
setFromBucket(boolean arg0)
public void
b(jt arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public void
a(jt arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
protected void
n()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
protected PathNavigation
b(bjw arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
func_175447_b(World arg0)
public void
e(cvl arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
func_213352_e(Vec3d arg0)
public void
k()
aiStep()
method_6007()
tickMovement()
func_70636_d()
movementTick()
protected boolean
a(ayj arg0, ajk arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
func_184645_a(PlayerEntity arg0, Hand arg1)
protected void
i(ben arg0)
saveToBucketTag(ItemStack arg0)
method_6455(class_1799 arg0)
copyDataToStack(ItemStack stack)
func_204211_f(ItemStack arg0)
protected abstract ItemStack
l()
getBucketItemStack()
method_6452()
getFishBucketItem()
func_203707_dx()
protected boolean
eq()
canRandomSwim()
method_6456()
hasSelfControl()
func_212800_dy()
protected abstract SoundEvent
er()
getFlopSound()
method_6457()
getFlopSound()
func_203701_dz()
getSoundFlop()
protected SoundEvent
am()
getSwimSound()
method_5737()
getSwimSound()
func_184184_Z()
getSoundSwim()