net.minecraft.world.entity.animal

public abstract class AbstractFish

extends WaterAnimal

All mapped superinterfaces:

Nameable, CommandSource

aqx
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_14_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(ajh arg0, aip 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
cl()
registerAttributes()
method_6001()
initAttributes()
func_110147_ax()
initAttributes()
public boolean
I()
requiresCustomPersistence()
method_17326()
cannotDespawn()
func_213392_I()
public static boolean
b(ais<? extends aqx> arg0, bhs arg1, aja arg2, ew 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
c(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
func_213397_c(double arg0)
isTypeNotPersistent(double arg0)
public int
dC()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
func_70641_bl()
protected void
u_()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
private boolean
dX()
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(id arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public void
a(id 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(bhr arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
func_175447_b(World arg0)
public void
e(csi 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(awg arg0, ahi 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(bcj 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
dV()
canRandomSwim()
method_6456()
hasSelfControl()
func_212800_dy()
protected abstract SoundEvent
dW()
getFlopSound()
method_6457()
getFlopSound()
func_203701_dz()
getSoundFlop()
protected SoundEvent
ai()
getSwimSound()
method_5737()
getSwimSound()
func_184184_Z()
getSoundSwim()