Class JobEntry
java.lang.Object
com.minecolonies.api.colony.jobs.registry.JobEntry
Entry for the
IJob registry.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleannet.minecraft.resources.ResourceLocationgetKey()inthashCode()IJob<?> produceJob(ICitizenData data) Construct a new job instance.
-
Method Details
-
produceJob
Construct a new job instance.- Parameters:
data- the assigned citizen to the job.- Returns:
- a new job instance.
-
getTranslationKey
-
getKey
public net.minecraft.resources.ResourceLocation getKey() -
equals
-
hashCode
public int hashCode() -
getJobViewProducer
-