net.minecraft.world.entity.animal

public class MushroomCow

extends Cow implements Shearable

All mapped superinterfaces:

Nameable, CommandSource, Shearable

bag
net.minecraft.world.entity.animal.MushroomCow
net.minecraft.class_1438
net.minecraft.entity.passive.MooshroomEntity
net.minecraft.entity.passive.MooshroomEntity
net.minecraft.server.v1_16_R2.EntityMushroomCow

Field summary

Modifier and TypeField
private static final EntityDataAccessor<String>
bo
DATA_TYPE
field_18105
TYPE
field_213449_bz
private MobEffect
bp
effect
field_18106
stewEffect
field_213450_bA
private int
bq
effectDuration
field_18107
stewEffectDuration
field_213447_bB
private UUID
br
lastLightningBoltUUID
field_18108
lightningId
field_213448_bD

Constructor summary

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

Method summary

Modifier and TypeMethod
public float
a(fx arg0, brw arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
func_205022_a(BlockPos arg0, IWorldReader arg1)
public static boolean
c(aqb<bag> arg0, brv arg1, aqm arg2, fx arg3, Random arg4)
checkMushroomSpawnRules(EntityType<MushroomCow> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, Random arg4)
method_20665(class_1299<class_1438> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, Random arg4)
canSpawn(EntityType<MooshroomEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
func_223318_c(EntityType<MooshroomEntity> arg0, IWorld arg1, SpawnReason arg2, BlockPos arg3, Random arg4)
public void
a(aag arg0, aqi arg1)
thunderHit(ServerLevel arg0, LightningBolt arg1)
method_5800(class_3218 arg0, class_1538 arg1)
onStruckByLightning(ServerWorld arg0, LightningEntity arg1)
func_241841_a(ServerWorld arg0, LightningBoltEntity arg1)
onLightningStrike(WorldServer arg0, EntityLightning arg1)
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public InteractionResult
b(bft arg0, aoq arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
func_230254_b_(PlayerEntity arg0, Hand arg1)
public void
a(adp arg0)
shear(SoundSource arg0)
method_6636(class_3419 arg0)
sheared(SoundCategory arg0)
func_230263_a_(SoundCategory arg0)
shear(SoundCategory arg0)
public boolean
K_()
readyForShearing()
method_27072()
isShearable()
func_230262_K__()
canShear()
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)
private Optional<org.apache.commons.lang3.tuple.Pair<MobEffect, Integer>>
l(bly arg0)
getEffectFromItemStack(ItemStack arg0)
method_18436(class_1799 arg0)
getStewEffectFrom(ItemStack flower)
func_213443_j(ItemStack arg0)
private void
a(bag$a arg0)
setMushroomType(MushroomCow$MushroomType arg0)
method_18433(class_1438$class_4053 arg0)
setType(MooshroomEntity$Type type)
func_213446_a(MooshroomEntity$Type arg0)
setVariant(EntityMushroomCow$Type arg0)
public MushroomCow$MushroomType
eL()
getMushroomType()
method_18435()
getMooshroomType()
func_213444_dV()
getVariant()
public MushroomCow
c(aag arg0, apv arg1)
getBreedOffspring(ServerLevel arg0, AgableMob arg1)
method_6495(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
func_241840_a(ServerWorld arg0, AgeableEntity arg1)
createChild(WorldServer arg0, EntityAgeable arg1)
private MushroomCow$MushroomType
a(bag arg0)
getOffspringType(MushroomCow arg0)
method_18434(class_1438 arg0)
chooseBabyType(MooshroomEntity mooshroom)
func_213445_a(MooshroomEntity arg0)