net.minecraft.world.entity.monster

public class ZombieVillager

extends Zombie implements VillagerDataHolder

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Attackable, EquipmentUser, Leashable, Targeting, Enemy, VillagerDataHolder

coo
net.minecraft.world.entity.monster.ZombieVillager
net.minecraft.class_1641
net.minecraft.entity.mob.ZombieVillagerEntity

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
bI
VILLAGER_CONVERSION_WAIT_MIN
field_30523
BASE_CONVERSION_DELAY
private static final int
bJ
VILLAGER_CONVERSION_WAIT_MAX
field_30520
field_30520
private static final int
bK
MAX_SPECIAL_BLOCKS_COUNT
field_30521
field_30521
private static final int
bL
SPECIAL_BLOCK_RADIUS
field_30522
field_30522
private int
bM
villagerConversionTime
field_7422
conversionTimer
private UUID
bN
conversionStarter
field_7421
converter
private Tag
bO
gossips
field_20299
gossipData
private MerchantOffers
bP
tradeOffers
field_17047
offerData
private int
bQ
villagerXp
field_18877
experience

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
a(akl$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
b(tx arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tx arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public void
h()
tick()
method_5773()
tick()
public InteractionResult
b(cqs arg0, btx arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
protected boolean
x()
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
b(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(aro 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
fe()
getVoicePitch()
method_6017()
getSoundPitch()
public SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
public SoundEvent
e(bup arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
public SoundEvent
l_()
getDeathSound()
method_6002()
getDeathSound()
public SoundEvent
n()
getStepSound()
method_7207()
getStepSound()
protected ItemStack
t()
getSkull()
method_7215()
getSkull()
public void
a(dho arg0)
setTradeOffers(MerchantOffers arg0)
method_16916(class_1916 arg0)
setOfferData(TradeOfferList offerData)
public void
a(uu arg0)
setGossips(Tag arg0)
method_21649(class_2520 arg0)
setGossipData(NbtElement gossipData)
public SpawnGroupData
a(djg arg0, btw arg1, bwi arg2, bxr 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(cqf 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()
getExperience()
public void
s(int arg0)
setVillagerXp(int arg0)
method_19622(int arg0)
setExperience(int experience)
public <T> T
a(ki<? extends T> arg0)
get(DataComponentType<? extends T> arg0)
method_58694(class_9331<? extends T> arg0)
get(ComponentType<? extends T> arg0)
protected void
a(ke arg0)
applyImplicitComponents(DataComponentGetter arg0)
method_66649(class_9473 arg0)
copyComponentsFrom(ComponentsAccess arg0)
protected <T> boolean
b(ki<T> arg0, T arg1)
applyImplicitComponent(DataComponentType<T> arg0, T arg1)
method_66654(class_9331<T> arg0, T arg1)
setApplicableComponent(ComponentType<T> arg0, T arg1)