net.minecraft.world.entity.monster

public abstract class SpellcasterIllager

extends AbstractIllager

All mapped superinterfaces:

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

cnh
net.minecraft.world.entity.monster.SpellcasterIllager
net.minecraft.class_1617
net.minecraft.entity.mob.SpellcastingIllagerEntity
net.minecraft.world.entity.monster.EntityIllagerWizard

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Byte>
a
DATA_SPELL_CASTING_ID
field_7373
SPELL
protected int
b
spellCastingTickCount
field_7372
spellTicks
private SpellcasterIllager$IllagerSpell
bZ
currentSpell
field_7371
spell

Constructor summary

ModifierConstructor
protected (EntityType<? extends SpellcasterIllager> 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
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public AbstractIllager$IllagerArmPose
m()
getArmPose()
method_6990()
getState()
public boolean
gx()
isCastingSpell()
method_7137()
isSpellcasting()
public void
a(cnh$a arg0)
setIsCastingSpell(SpellcasterIllager$IllagerSpell arg0)
method_7138(class_1617$class_1618 arg0)
setSpell(SpellcastingIllagerEntity$Spell spell)
protected SpellcasterIllager$IllagerSpell
gy()
getCurrentSpell()
method_7140()
getSpell()
protected void
a(ash arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
public void
h()
tick()
method_5773()
tick()
protected int
gz()
getSpellCastingTime()
method_7139()
getSpellTicks()
protected abstract SoundEvent
x()
getCastingSoundEvent()
method_7142()
getCastSpellSound()