net.minecraft.world.entity.monster

public class ZombieVillager

extends Zombie implements VillagerDataHolder

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Attackable, Targeting, Enemy, VillagerDataHolder, VariantHolder

bww
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 org.slf4j.Logger
b
LOGGER
field_36334
LOGGER
f_201975_
private static final EntityDataAccessor<Boolean>
c
DATA_CONVERTING_ID
field_7423
CONVERTING
f_34359_
private static final EntityDataAccessor<VillagerData>
d
DATA_VILLAGER_DATA
field_7420
VILLAGER_DATA
f_34364_
private static final int
bX
VILLAGER_CONVERSION_WAIT_MIN
field_30523
BASE_CONVERTION_DELAY
f_149888_
private static final int
bY
VILLAGER_CONVERSION_WAIT_MAX
field_30520
field_30520
f_149885_
private static final int
bZ
MAX_SPECIAL_BLOCKS_COUNT
field_30521
field_30521
f_149886_
private static final int
ca
SPECIAL_BLOCK_RADIUS
field_30522
field_30522
f_149887_
private int
cb
villagerConversionTime
field_7422
conversionTimer
f_34365_
private UUID
cc
conversionStarter
field_7421
converter
f_34360_
private Tag
cd
gossips
field_20299
gossipData
f_34361_
private CompoundTag
ce
tradeOffers
field_17047
offerData
f_34362_
private int
cf
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_()
public void
b(qr arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(qr arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
l()
tick()
method_5773()
tick()
m_8119_()
public InteractionResult
b(byo arg0, bdw 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
fZ()
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)
public boolean
gi()
isConverting()
method_7198()
isConverting()
m_34408_()
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)
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
private void
c(aif arg0)
finishConversion(ServerLevel arg0)
method_7197(class_3218 arg0)
finishConversion(ServerWorld world)
m_34398_(C_12_ arg0)
private int
gl()
getConversionProgress()
method_7194()
getConversionRate()
m_34410_()
public float
eS()
getVoicePitch()
method_6017()
getSoundPitch()
m_6100_()
public SoundEvent
s()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
public SoundEvent
d(ben arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
public SoundEvent
g_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
public SoundEvent
w()
getStepSound()
method_7207()
getStepSound()
m_7660_()
protected ItemStack
fY()
getSkull()
method_7215()
getSkull()
m_5728_()
public void
c(qr arg0)
setTradeOffers(CompoundTag arg0)
method_16916(class_2487 arg0)
setOfferData(NbtCompound offerData)
m_34411_(C_4917_ arg0)
public void
a(rk arg0)
setGossips(Tag arg0)
method_21649(class_2520 arg0)
setGossipData(NbtElement gossipData)
m_34391_(C_4950_ arg0)
public SpawnGroupData
a(cnb arg0, bdv arg1, bgd arg2, bgt arg3, qr 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)
public void
a(byc arg0)
setVillagerData(VillagerData arg0)
method_7195(class_3850 arg0)
setVillagerData(VillagerData arg0)
m_34375_(C_1119_ arg0)
public VillagerData
gj()
getVillagerData()
method_7231()
getVillagerData()
m_7141_()
public int
gk()
getVillagerXp()
method_35194()
getXp()
m_149889_()
public void
b(int arg0)
setVillagerXp(int arg0)
method_19622(int arg0)
setXp(int xp)
m_34373_(int arg0)