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

chu
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 String
a
TAG_TYPE
field_55007
TYPE_KEY
private static final EntityDataAccessor<Integer>
b
DATA_TYPE
field_52469
VARIANT

Constructor summary

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

Method summary

Modifier and TypeMethod
public int
gt()
getMaxSchoolSize()
method_6465()
getMaxGroupSize()
public ItemStack
W_()
getBucketItemStack()
method_6452()
getBucketItem()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
protected SoundEvent
e(btc arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
gs()
getFlopSound()
method_6457()
getFlopSound()
protected void
a(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
a(ajy<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public void
i(cwq arg0)
saveToBucketTag(ItemStack arg0)
method_6455(class_1799 arg0)
copyDataToStack(ItemStack arg0)
public void
h(tq arg0)
loadFromBucketTag(CompoundTag arg0)
method_35170(class_2487 arg0)
copyDataFromNbt(NbtCompound arg0)
public void
a(chu$a arg0)
setVariant(Salmon$Variant arg0)
method_61471(class_1462$class_9869 arg0)
setVariant(SalmonEntity$Variant arg0)
public Salmon$Variant
gA()
getVariant()
method_61472()
getVariant()
public SpawnGroupData
a(dha arg0, bsj arg1, bus arg2, bwb 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
gB()
getSalmonScale()
method_63008()
getVariantScale()
protected EntityDimensions
e(bvu arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)