net.minecraft.entity.mob

public abstract class SpellcastingIllagerEntity

extends IllagerEntity

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable, EntryConvertible, Attackable, ServerWaypoint, Waypoint, Targeter, EquipmentHolder, Leashable, Monster

net.minecraft.world.entity.monster.illager.SpellcasterIllager
net.minecraft.class_1617
net.minecraft.entity.mob.SpellcastingIllagerEntity

Field summary

Modifier and TypeField
private static final TrackedData<Byte>
DATA_SPELL_CASTING_ID
field_7373
SPELL
private static final int
DEFAULT_SPELLCASTING_TICKS
field_57693
DEFAULT_SPELL_TICKS
protected int
spellCastingTickCount
field_7372
spellTicks
private SpellcastingIllagerEntity$Spell
currentSpell
field_7371
spell

Constructor summary

ModifierConstructor
protected (EntityType<? extends SpellcastingIllagerEntity> type, World level)

Method summary

Modifier and TypeMethod
protected void
defineSynchedData(SynchedEntityData$Builder entityData)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
protected void
readAdditionalSaveData(ValueInput input)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
protected void
addAdditionalSaveData(ValueOutput output)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
public IllagerEntity$State
getArmPose()
method_6990()
getState()
public boolean
isCastingSpell()
method_7137()
isSpellcasting()
public void
setIsCastingSpell(SpellcasterIllager$IllagerSpell spell)
method_7138(class_1617$class_1618 arg0)
setSpell(SpellcastingIllagerEntity$Spell spell)
protected SpellcastingIllagerEntity$Spell
getCurrentSpell()
method_7140()
getSpell()
protected void
customServerAiStep(ServerLevel level)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
public void
tick()
method_5773()
tick()
protected int
getSpellCastingTime()
method_7139()
getSpellTicks()
protected abstract SoundEvent
getCastingSoundEvent()
method_7142()
getCastSpellSound()
static EntityNavigation
access$000(SpellcasterIllager arg0)
method_7141(class_1617 arg0)
method_7141(SpellcastingIllagerEntity arg0)