net.minecraft.world.entity.animal

public class Salmon

extends AbstractSchoolingFish implements VariantHolder<Salmon$Variant>

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting, Bucketable, VariantHolder

cis
net.minecraft.world.entity.animal.Salmon
net.minecraft.class_1462
net.minecraft.entity.passive.SalmonEntity
net.minecraft.world.entity.animal.EntitySalmon

Field summary

Modifier and TypeField
private static final EntityDataAccessor<String>
a
DATA_TYPE
field_52469
VARIANT

Constructor summary

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

Method summary

Modifier and TypeMethod
public int
gp()
getMaxSchoolSize()
method_6465()
getMaxGroupSize()
public ItemStack
X_()
getBucketItemStack()
method_6452()
getBucketItem()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
protected SoundEvent
e(bua arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
go()
getFlopSound()
method_6457()
getFlopSound()
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
a(alc<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public void
i(cxp arg0)
saveToBucketTag(ItemStack arg0)
method_6455(class_1799 arg0)
copyDataToStack(ItemStack arg0)
public void
h(ux arg0)
loadFromBucketTag(CompoundTag arg0)
method_35170(class_2487 arg0)
copyDataFromNbt(NbtCompound arg0)
public void
a(cis$a arg0)
setVariant(Salmon$Variant arg0)
method_61471(class_1462$class_9869 arg0)
setVariant(SalmonEntity$Variant arg0)
public Salmon$Variant
gw()
getVariant()
method_61472()
getVariant()
public SpawnGroupData
a(dhz arg0, bth arg1, bvq arg2, bwz arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
public float
gx()
getSalmonScale()
method_63008()
getVariantScale()
protected EntityDimensions
e(bws arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)