net.minecraft.world.entity.animal

public class MushroomCow

extends Cow implements Shearable, VariantHolder<MushroomCow$Variant>

All mapped superinterfaces:

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

cij
net.minecraft.world.entity.animal.MushroomCow
net.minecraft.class_1438
net.minecraft.unmapped.C_keggniig
net.minecraft.entity.passive.MooshroomEntity
net.minecraft.entity.passive.MooshroomEntity
net.minecraft.src.C_859_
net.minecraft.world.entity.animal.EntityIronGolem

Field summary

Modifier and TypeField
private static final EntityDataAccessor<String>
bZ
DATA_TYPE
field_18105
f_awrewgcz
TYPE
TYPE
f_28908_
private static final int
ca
MUTATE_CHANCE
field_30339
f_exospqbd
MUTATION_CHANCE
MUTATION_CHANCE
f_148934_
private static final String
cb
TAG_STEW_EFFECTS
field_45751
f_vtsiujtw
STEW_EFFECTS_NBT_KEY
STEW_EFFECTS
f_291553_
private SuspiciousStewEffects
cd
stewEffects
field_45752
f_eliiipao
stewEffects
stewEffects
f_290954_
private UUID
ce
lastLightningBoltUUID
field_18108
f_azeqsebv
lightningId
lightningId
f_28911_

Constructor summary

ModifierConstructor
public (EntityType<? extends MushroomCow> p_28915_, Level world)

Method summary

Modifier and TypeMethod
public float
a(jh arg0, dhk arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
m_omcdcxbz(C_hynzadkk arg0, C_eemzphbi arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
m_5610_(C_4675_ p_28934_, C_1599_ arg1)
public static boolean
c(bvq<cij> arg0, dhi arg1, bvp arg2, jh arg3, bam arg4)
checkMushroomSpawnRules(EntityType<MushroomCow> arg0, LevelAccessor arg1, EntitySpawnReason arg2, BlockPos arg3, RandomSource arg4)
method_20665(class_1299<class_1438> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
m_rbekgcxf(C_ogavsvbr<C_keggniig> arg0, C_vdvbsyle arg1, C_bhyaesep arg2, C_hynzadkk arg3, C_rlomrsco arg4)
canSpawn(EntityType<MooshroomEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
canSpawn(EntityType<MooshroomEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, RandomGenerator random)
m_218200_(C_513_<C_859_> p_218201_, C_1598_ p_218202_, C_345845_ p_370099_, C_4675_ p_218204_, C_212974_ p_218205_)
public void
a(ash arg0, bwe arg1)
thunderHit(ServerLevel arg0, LightningBolt arg1)
method_5800(class_3218 arg0, class_1538 arg1)
m_vindekkr(C_bdwnwhiu arg0, C_kbpqznyn arg1)
onStruckByLightning(ServerWorld arg0, LightningEntity arg1)
onStruckByLightning(ServerWorld arg0, LightningEntity arg1)
m_8038_(C_12_ p_28922_, C_523_ arg1)
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public InteractionResult
b(cpw arg0, bth arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
m_kuhfocmh(C_jzrpycqo arg0, C_laxmzoqs arg1)
interactMob(PlayerEntity arg0, Hand arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_28942_, C_470_ arg1)
public void
a(ash arg0, axg arg1, cxo arg2)
shear(ServerLevel arg0, SoundSource arg1, ItemStack arg2)
method_6636(class_3218 arg0, class_3419 arg1, class_1799 arg2)
m_bwawkxlz(C_bdwnwhiu arg0, C_pqzizukq arg1, C_sddaxwyk arg2)
sheared(ServerWorld arg0, SoundCategory arg1, ItemStack arg2)
sheared(ServerWorld arg0, SoundCategory arg1, ItemStack arg2)
m_5851_(C_12_ p_28924_, C_125_ p_364876_, C_1391_ arg2)
public boolean
a()
readyForShearing()
method_27072()
m_kwgwshvc()
isShearable()
isShearable()
m_6220_()
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
private Optional<SuspiciousStewEffects>
i(cxo arg0)
getEffectsFromItemStack(ItemStack arg0)
method_18436(class_1799 arg0)
m_xhwfgtsq(C_sddaxwyk arg0)
getStewEffectFrom(ItemStack flower)
getStewEffects(ItemStack stack)
m_293901_(C_1391_ arg0)
public void
a(cij$a arg0)
setVariant(MushroomCow$Variant arg0)
method_47846(class_1438$class_4053 arg0)
m_oejqzpen(C_keggniig$C_vwbykyrx arg0)
setVariant(MooshroomEntity$Type arg0)
setVariant(MooshroomEntity$C_vwbykyrx arg0)
m_28464_(C_859_$C_345663_ arg0)
public MushroomCow$Variant
t()
getVariant()
method_47847()
m_fjzvwmin()
getVariant()
getVariant()
m_28554_()
public MushroomCow
c(ash arg0, bva arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_6495(class_3218 arg0, class_1296 arg1)
m_qhmyftdi(C_bdwnwhiu arg0, C_jvojbnla arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
createChild(ServerWorld world, PassiveEntity arg1)
m_142606_(C_12_ p_148943_, C_141062_ arg1)
private MushroomCow$Variant
a(cij arg0)
getOffspringVariant(MushroomCow arg0)
method_18434(class_1438 arg0)
m_kkuvoqyg(C_keggniig arg0)
chooseBabyType(MooshroomEntity mooshroom)
m_28930_(C_859_ arg0)