net.minecraft.world.entity.monster

public class ZombieVillager

extends Zombie implements VillagerDataHolder

All mapped superinterfaces:

SyncedDataHolder, DebugValueSource, Nameable, ItemOwner, SlotProvider, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Attackable, WaypointTransmitter, Waypoint, EquipmentUser, Leashable, Targeting, Enemy, VillagerDataHolder

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

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
a
DATA_CONVERTING_ID
field_7423
CONVERTING
private static final EntityDataAccessor<VillagerData>
f
DATA_VILLAGER_DATA
field_7420
VILLAGER_DATA
private static final int
cv
VILLAGER_CONVERSION_WAIT_MIN
field_30523
BASE_CONVERSION_DELAY
private static final int
cw
VILLAGER_CONVERSION_WAIT_MAX
field_30520
field_30520
private static final int
cx
MAX_SPECIAL_BLOCKS_COUNT
field_30521
field_30521
private static final int
cy
SPECIAL_BLOCK_RADIUS
field_30522
field_30522
private static final int
cz
NOT_CONVERTING
field_57700
DEFAULT_CONVERSION_TIME
private static final int
cA
DEFAULT_XP
field_57701
DEFAULT_EXPERIENCE
private int
cB
villagerConversionTime
field_7422
conversionTimer
private UUID
cC
conversionStarter
field_7421
converter
private GossipContainer
cD
gossips
field_20299
gossip
private MerchantOffers
cE
tradeOffers
field_17047
offerData
private int
cF
villagerXp
field_18877
experience

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
a(ama$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
protected void
a(fmk arg0)
addAdditionalSaveData(ValueOutput arg0)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
protected void
a(fmi arg0)
readAdditionalSaveData(ValueInput arg0)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
private VillagerData
ha()
initializeVillagerData()
method_72497()
createVillagerData()
public void
g()
tick()
method_5773()
tick()
public InteractionResult
b(dcm arg0, ccz arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
protected boolean
gQ()
convertsInWater()
method_7209()
canConvertInWater()
public boolean
i(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
public boolean
gR()
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
i(axf arg0)
finishConversion(ServerLevel arg0)
method_7197(class_3218 arg0)
finishConversion(ServerWorld world)
public void
d(int arg0)
setVillagerConversionTime(int arg0)
method_63660(int arg0)
setConversionTimer(int conversionTimer)
private int
hb()
getConversionProgress()
method_7194()
getConversionRate()
public float
fz()
getVoicePitch()
method_6017()
getSoundPitch()
public SoundEvent
p()
getAmbientSound()
method_5994()
getAmbientSound()
public SoundEvent
e(cev arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
public SoundEvent
e_()
getDeathSound()
method_6002()
getDeathSound()
public SoundEvent
n()
getStepSound()
method_7207()
getStepSound()
public void
a(due arg0)
setTradeOffers(MerchantOffers arg0)
method_16916(class_1916 arg0)
setOfferData(TradeOfferList offerData)
public void
a(cqo arg0)
setGossips(GossipContainer arg0)
method_21649(class_4136 arg0)
setGossip(VillagerGossips gossip)
public void
a(dbz 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
r(int arg0)
setVillagerXp(int arg0)
method_19622(int arg0)
setExperience(int experience)
public <T> T
a(kh<? extends T> arg0)
get(DataComponentType<? extends T> arg0)
method_58694(class_9331<? extends T> arg0)
get(ComponentType<? extends T> arg0)
protected void
a(kd arg0)
applyImplicitComponents(DataComponentGetter arg0)
method_66649(class_9473 arg0)
copyComponentsFrom(ComponentsAccess arg0)
protected <T> boolean
b(kh<T> arg0, T arg1)
applyImplicitComponent(DataComponentType<T> arg0, T arg1)
method_66654(class_9331<T> arg0, T arg1)
setApplicableComponent(ComponentType<T> arg0, T arg1)