net.minecraft.world.entity.monster

public class ZombieVillager

extends Zombie implements VillagerDataHolder

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting, Enemy, VillagerDataHolder, VariantHolder

cnr
net.minecraft.world.entity.monster.ZombieVillager
net.minecraft.class_1641
net.minecraft.entity.mob.ZombieVillagerEntity
net.minecraft.world.entity.monster.EntityZombieVillager

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_36334
LOGGER
private static final EntityDataAccessor<Boolean>
b
DATA_CONVERTING_ID
field_7423
CONVERTING
private static final EntityDataAccessor<VillagerData>
c
DATA_VILLAGER_DATA
field_7420
VILLAGER_DATA
private static final int
cc
VILLAGER_CONVERSION_WAIT_MIN
field_30523
BASE_CONVERSION_DELAY
private static final int
cd
VILLAGER_CONVERSION_WAIT_MAX
field_30520
field_30520
private static final int
ce
MAX_SPECIAL_BLOCKS_COUNT
field_30521
field_30521
private static final int
cf
SPECIAL_BLOCK_RADIUS
field_30522
field_30522
private int
cg
villagerConversionTime
field_7422
conversionTimer
private UUID
ch
conversionStarter
field_7421
converter
private Tag
ci
gossips
field_20299
gossipData
private MerchantOffers
cj
tradeOffers
field_17047
offerData
private int
ck
villagerXp
field_18877
xp

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public void
h()
tick()
method_5773()
tick()
public InteractionResult
b(cpx arg0, bti arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
protected boolean
gp()
convertsInWater()
method_7209()
canConvertInWater()
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
public boolean
gx()
isConverting()
method_7198()
isConverting()
private void
a(UUID arg0, int arg1)
startConverting(UUID arg0, int arg1)
method_7199(UUID arg0, int arg1)
setConverting(UUID uuid, int delay)
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
private void
g(ash arg0)
finishConversion(ServerLevel arg0)
method_7197(class_3218 arg0)
finishConversion(ServerWorld world)
public void
r(int arg0)
setVillagerConversionTime(int arg0)
method_63660(int arg0)
setConversionTimer(int conversionTimer)
private int
gA()
getConversionProgress()
method_7194()
getConversionRate()
public float
fh()
getVoicePitch()
method_6017()
getSoundPitch()
public SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
public SoundEvent
e(bua arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
public SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
public SoundEvent
t()
getStepSound()
method_7207()
getStepSound()
protected ItemStack
go()
getSkull()
method_7215()
getSkull()
public void
a(dgg arg0)
setTradeOffers(MerchantOffers arg0)
method_16916(class_1916 arg0)
setOfferData(TradeOfferList offerData)
public void
a(vu arg0)
setGossips(Tag arg0)
method_21649(class_2520 arg0)
setGossipData(NbtElement gossipData)
public SpawnGroupData
a(dhz arg0, bth arg1, bvq arg2, bwz arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
public void
a(cpk arg0)
setVillagerData(VillagerData arg0)
method_7195(class_3850 arg0)
setVillagerData(VillagerData arg0)
public VillagerData
gy()
getVillagerData()
method_7231()
getVillagerData()
public int
gz()
getVillagerXp()
method_35194()
getXp()
public void
s(int arg0)
setVillagerXp(int arg0)
method_19622(int arg0)
setXp(int xp)