net.minecraft.world.entity.animal

public class Salmon

extends AbstractSchoolingFish

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Attackable, EquipmentUser, Leashable, Targeting, Bucketable

cjd
net.minecraft.world.entity.animal.Salmon
net.minecraft.class_1462
net.minecraft.entity.passive.SalmonEntity

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
x()
getMaxSchoolSize()
method_6465()
getMaxGroupSize()
public ItemStack
R_()
getBucketItemStack()
method_6452()
getBucketItem()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
l_()
getDeathSound()
method_6002()
getDeathSound()
protected SoundEvent
e(buh arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
t()
getFlopSound()
method_6457()
getFlopSound()
protected void
a(akk$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
a(akg<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
public void
b(tw arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tw arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public void
j(cxy arg0)
saveToBucketTag(ItemStack arg0)
method_6455(class_1799 arg0)
copyDataToStack(ItemStack arg0)
private void
a(cjd$a arg0)
setVariant(Salmon$Variant arg0)
method_61471(class_1462$class_9869 arg0)
method_61471(SalmonEntity$Variant arg0)
public Salmon$Variant
gw()
getVariant()
method_61472()
method_61472()
public <T> T
a(kw<? extends T> arg0)
get(DataComponentType<? extends T> arg0)
method_58694(class_9331<? extends T> arg0)
get(ComponentType<? extends T> arg0)
protected void
a(kr arg0)
applyImplicitComponents(DataComponentGetter arg0)
method_66649(class_9473 arg0)
method_66649(ComponentsAccess arg0)
protected <T> boolean
d(kw<T> arg0, T arg1)
applyImplicitComponent(DataComponentType<T> arg0, T arg1)
method_66654(class_9331<T> arg0, T arg1)
method_66654(ComponentType<T> arg0, T arg1)
public SpawnGroupData
a(dig arg0, bto arg1, bwa arg2, bxj 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(bxd arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)