Class JobHuscarl
java.lang.Object
com.minecolonies.core.colony.jobs.AbstractJob<AbstractEntityAIGuard<JobKnight,? extends AbstractBuildingGuards>,JobKnight>
com.minecolonies.core.colony.jobs.AbstractJobGuard<JobKnight>
com.minecolonies.core.colony.jobs.guard.JobKnight
com.minecolonies.core.colony.jobs.guard.JobHuscarl
- All Implemented Interfaces:
IJob<AbstractEntityAIGuard<JobKnight,,? extends AbstractBuildingGuards>> IJobWithColonyFlag,net.neoforged.neoforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
The Huscarl's job class
-
Field Summary
Fields inherited from class com.minecolonies.core.colony.jobs.AbstractJob
workBuilding, workBuildingPos, workModule -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.minecolonies.core.colony.jobs.guard.JobKnight
generateGuardAI, getModel, ignoresDamage, onColonyFlagChanged, onLevelUpMethods inherited from class com.minecolonies.core.colony.jobs.AbstractJobGuard
allowsAvoidance, generateAI, getSaturationFactor, initEntityValues, isAsleep, isGuard, triggerDeathAchievementMethods inherited from class com.minecolonies.core.colony.jobs.AbstractJob
assignTo, canAIBeInterrupted, clearActionsDone, createAI, deserializeNBT, equals, getActionsDone, getAsyncRequests, getBuildingPos, getCitizen, getColony, getDiseaseModifier, getJobRegistryEntry, getNameTagDescription, getWorkBuilding, getWorkerAI, getWorkModule, hasCheckedForFoodToday, hashCode, incrementActionsDone, incrementActionsDone, isIdling, markRequestSync, onRemoval, onStackPickUp, onWakeUp, pickupSuccess, processOfflineTime, resetAI, serializeNBT, serializeToView, setCheckedForFood, setNameTag, setRegistryEntryMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.minecolonies.api.colony.jobs.IJob
getIdleSeverity, getInactivityLimit, triggerActivityChangeAction
-
Constructor Details
-
JobHuscarl
Initialize citizen data.- Parameters:
entity- the citizen data.
-