net.minecraft.world.entity.animal

public abstract class AbstractFish

extends WaterAnimal implements Bucketable

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, Targeting, Bucketable

bxv
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(bmx arg0, blw 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
u()
createAttributes()
method_26879()
createFishAttributes()
m_27495_()
public boolean
W()
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
fI()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
m_5792_()
protected void
c_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public boolean
w()
fromBucket()
method_6453()
isFromBucket()
m_27487_()
public void
w(boolean arg0)
setFromBucket(boolean arg0)
method_6454(boolean arg0)
setFromBucket(boolean arg0)
m_27497_(boolean arg0)
public void
b(sn arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(sn arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
B()
registerGoals()
method_5959()
initGoals()
m_8099_()
protected PathNavigation
b(ctp arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
m_6037_(C_1596_ arg0)
public void
a(elt arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)
public void
d_()
aiStep()
method_6007()
tickMovement()
m_8107_()
protected InteractionResult
b(cfi arg0, bka 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
l(cmy arg0)
saveToBucketTag(ItemStack arg0)
method_6455(class_1799 arg0)
copyDataToStack(ItemStack arg0)
m_6872_(C_1391_ arg0)
public void
c(sn arg0)
loadFromBucketTag(CompoundTag arg0)
method_35170(class_2487 arg0)
copyDataFromNbt(NbtCompound arg0)
m_142278_(C_4917_ arg0)
public SoundEvent
A()
getPickupSound()
method_35171()
getBucketFillSound()
m_142623_()
protected boolean
ge()
canRandomSwim()
method_6456()
hasSelfControl()
m_6004_()
protected abstract SoundEvent
gf()
getFlopSound()
method_6457()
getFlopSound()
m_5699_()
protected SoundEvent
aN()
getSwimSound()
method_5737()
getSwimSound()
m_5501_()
protected void
b(hx arg0, djh 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)