net.minecraft.world.entity.monster

public class ZombieVillager

extends Zombie implements VillagerDataHolder

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Enemy, VillagerDataHolder

bis
net.minecraft.world.entity.monster.ZombieVillager
net.minecraft.class_1641
net.minecraft.entity.mob.ZombieVillagerEntity
net.minecraft.src.C_1095_
net.minecraft.world.entity.monster.EntityZombieVillager

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
b
DATA_CONVERTING_ID
field_7423
CONVERTING
f_34359_
private static final EntityDataAccessor<VillagerData>
c
DATA_VILLAGER_DATA
field_7420
VILLAGER_DATA
f_34364_
private static final int
d
VILLAGER_CONVERSION_WAIT_MIN
field_30523
field_30523
f_149888_
private static final int
bW
VILLAGER_CONVERSION_WAIT_MAX
field_30520
field_30520
f_149885_
private static final int
bX
MAX_SPECIAL_BLOCKS_COUNT
field_30521
field_30521
f_149886_
private static final int
bY
SPECIAL_BLOCK_RADIUS
field_30522
field_30522
f_149887_
private int
bZ
villagerConversionTime
field_7422
conversionTimer
f_34365_
private UUID
ca
conversionStarter
field_7421
converter
f_34360_
private Tag
cb
gossips
field_20299
gossipData
f_34361_
private CompoundTag
cc
tradeOffers
field_17047
offerData
f_34362_
private int
cd
villagerXp
field_18877
xp
f_34363_

Constructor summary

ModifierConstructor
public (EntityType<? extends ZombieVillager> p_34369_, Level arg1)

Method summary

Modifier and TypeMethod
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
initDatawatcher()
public void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
public void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
public void
k()
tick()
method_5773()
tick()
m_8119_()
tick()
public InteractionResult
b(bke arg0, asa arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_34395_, C_470_ arg1)
protected boolean
fx()
convertsInWater()
method_7209()
canConvertInWater()
m_7593_()
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
m_6785_(double arg0)
isTypeNotPersistent(double arg0)
public boolean
fG()
isConverting()
method_7198()
isConverting()
m_34408_()
isConverting()
private void
a(UUID arg0, int arg1)
startConverting(UUID arg0, int arg1)
method_7199(UUID arg0, int arg1)
setConverting(UUID uuid, int delay)
m_34383_(UUID p_34385_, int arg1)
startConversion(UUID arg0, int arg1)
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
private void
c(abr arg0)
finishConversion(ServerLevel arg0)
method_7197(class_3218 arg0)
finishConversion(ServerWorld world)
m_34398_(C_12_ arg0)
private int
fJ()
getConversionProgress()
method_7194()
getConversionRate()
m_34410_()
getConversionProgress()
public float
ep()
getVoicePitch()
method_6017()
getSoundPitch()
m_6100_()
public SoundEvent
q()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
getSoundAmbient()
public SoundEvent
c(asq arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
getSoundHurt(DamageSource arg0)
public SoundEvent
v_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
getSoundDeath()
public SoundEvent
t()
getStepSound()
method_7207()
getStepSound()
m_7660_()
getSoundStep()
protected ItemStack
fw()
getSkull()
method_7215()
getSkull()
m_5728_()
public void
c(na arg0)
setTradeOffers(CompoundTag arg0)
method_16916(class_2487 arg0)
setOfferData(NbtCompound offerTag)
m_34411_(C_4917_ arg0)
setOffers(NBTTagCompound arg0)
public void
a(ns arg0)
setGossips(Tag arg0)
method_21649(class_2520 arg0)
setGossipData(NbtElement gossipTag)
m_34391_(C_4950_ arg0)
public SpawnGroupData
a(bxe arg0, arz arg1, aty arg2, aum arg3, na 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, NbtCompound arg4)
m_6518_(C_1618_ p_34379_, C_469_ p_34380_, C_529_ p_34381_, C_542_ p_34382_, C_4917_ arg4)
prepare(WorldAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
public void
a(bjs arg0)
setVillagerData(VillagerData arg0)
method_7195(class_3850 arg0)
setVillagerData(VillagerData arg0)
m_141967_(C_1119_ arg0)
setVillagerData(VillagerData arg0)
public VillagerData
fH()
getVillagerData()
method_7231()
getVillagerData()
m_7141_()
getVillagerData()
public int
fI()
getVillagerXp()
method_35194()
getXp()
m_149889_()
public void
a(int arg0)
setVillagerXp(int arg0)
method_19622(int arg0)
setXp(int xp)
m_34373_(int arg0)