net.minecraft.world.entity.animal

public class TropicalFish

extends AbstractSchoolingFish

All mapped superinterfaces:

Nameable, CommandSource

bat
net.minecraft.world.entity.animal.TropicalFish
net.minecraft.class_1474
net.minecraft.entity.passive.TropicalFishEntity
net.minecraft.entity.passive.fish.TropicalFishEntity
net.minecraft.server.v1_16_R2.EntityTropicalFish

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
c
DATA_ID_TYPE_VARIANT
field_6874
VARIANT
field_204223_b
private static final ResourceLocation[]
d
BASE_TEXTURE_LOCATIONS
field_6875
SHAPE_IDS
field_204224_c
private static final ResourceLocation[]
bo
PATTERN_A_TEXTURE_LOCATIONS
field_6878
SMALL_FISH_VARIETY_IDS
field_204225_bx
private static final ResourceLocation[]
bp
PATTERN_B_TEXTURE_LOCATIONS
field_6876
LARGE_FISH_VARIETY_IDS
field_204226_by
public static final int[]
b
COMMON_VARIANTS
field_6879
COMMON_VARIANTS
field_204227_bz
private boolean
bq
isSchool
field_6877
commonSpawn
field_204228_bA

Constructor summary

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

Method summary

Modifier and TypeMethod
private static int
a(bat$a arg0, bku arg1, bku arg2)
calculateVariant(TropicalFish$Pattern arg0, DyeColor arg1, DyeColor arg2)
method_6647(class_1474$class_1475 arg0, class_1767 arg1, class_1767 arg2)
toVariant(TropicalFishEntity$Variety variety, DyeColor baseColor, DyeColor patternColor)
func_204214_a(TropicalFishEntity$Type arg0, DyeColor arg1, DyeColor arg2)
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public void
v(int arg0)
setVariant(int arg0)
method_6659(int arg0)
setVariant(int variant)
func_204215_a(int arg0)
setVariant(int arg0)
public boolean
c(int arg0)
isMaxGroupSizeReached(int arg0)
method_5969(int arg0)
spawnsTooManyForEachTry(int arg0)
func_204209_c(int arg0)
public int
eU()
getVariant()
method_6644()
getVariant()
func_204221_dB()
getVariant()
protected void
k(bly arg0)
saveToBucketTag(ItemStack arg0)
method_6455(class_1799 arg0)
copyDataToStack(ItemStack arg0)
func_204211_f(ItemStack arg0)
protected ItemStack
eK()
getBucketItemStack()
method_6452()
getFishBucketItem()
func_203707_dx()
protected SoundEvent
I()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
protected SoundEvent
dp()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected SoundEvent
e(aph arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
eM()
getFlopSound()
method_6457()
getFlopSound()
func_203701_dz()
getSoundFlop()
public SpawnGroupData
a(bsh arg0, aop arg1, aqm arg2, aqz arg3, md arg4)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, CompoundTag arg4)
func_213386_a(IServerWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
prepare(WorldAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
public static String
b(int arg0)
getPredefinedName(int arg0)
method_6649(int arg0)
getToolTipForVariant(int variant)
func_212324_b(int arg0)
public static DyeColor
s(int arg0)
getBaseColor(int arg0)
method_6652(int arg0)
getBaseDyeColor(int variant)
func_212326_d(int arg0)
public static DyeColor
t(int arg0)
getPatternColor(int arg0)
method_6651(int arg0)
getPatternDyeColor(int variant)
func_212323_p(int arg0)
public static String
u(int arg0)
getFishTypeName(int arg0)
method_6657(int arg0)
getTranslationKey(int variant)
func_212327_q(int arg0)
private static int
x(int arg0)
getBaseColorIdx(int arg0)
method_6653(int arg0)
getBaseDyeColorIndex(int variant)
func_204216_dH(int arg0)
public float[]
eV()
getBaseColor()
method_6658()
getBaseColorComponents()
func_204219_dC()
private static int
y(int arg0)
getPatternColorIdx(int arg0)
method_6648(int arg0)
getPatternDyeColorIndex(int variant)
func_204212_dI(int arg0)
public float[]
eW()
getPatternColor()
method_6655()
getPatternColorComponents()
func_204222_dD()
public static int
w(int arg0)
getBaseVariant(int arg0)
method_6656(int arg0)
getShape(int variant)
func_212325_s(int arg0)
public int
eX()
getBaseVariant()
method_6654()
getShape()
func_204217_dE()
private static int
z(int arg0)
getPatternVariant(int arg0)
method_6645(int arg0)
getPattern(int variant)
func_204213_dJ(int arg0)
public ResourceLocation
eY()
getPatternTextureLocation()
method_6646()
getVarietyId()
func_204220_dF()
public ResourceLocation
eZ()
getBaseTextureLocation()
method_6650()
getShapeId()
func_204218_dG()