Class DmanJobView
java.lang.Object
com.minecolonies.core.colony.jobs.views.DefaultJobView
com.minecolonies.core.colony.jobs.views.DmanJobView
- All Implemented Interfaces:
IJobView
Extended dman job information on the client side, valid for all job types.
-
Constructor Summary
ConstructorsConstructorDescriptionDmanJobView(IColonyView iColonyView, ICitizenDataView iCitizenDataView) Instantiate the dman job view. -
Method Summary
Modifier and TypeMethodDescriptionvoiddeserialize(net.minecraft.network.FriendlyByteBuf buffer) Deserialize the job from the buffer.Getter for the data store which belongs to this job.IToken<?>Get the data store token assigned to it.Methods inherited from class com.minecolonies.core.colony.jobs.views.DefaultJobView
getAsyncRequests, getColonyView, getEntry, getName, setEntry
-
Constructor Details
-
DmanJobView
Instantiate the dman job view.- Parameters:
iColonyView- the colony it belongs to.iCitizenDataView- the citizen it belongs to.
-
-
Method Details
-
deserialize
public void deserialize(net.minecraft.network.FriendlyByteBuf buffer) Description copied from interface:IJobViewDeserialize the job from the buffer.- Specified by:
deserializein interfaceIJobView- Overrides:
deserializein classDefaultJobView- Parameters:
buffer- the buffer to read it from.
-
getDataStore
Getter for the data store which belongs to this job.- Returns:
- the crafter data store.
-
getRsDataStoreToken
Get the data store token assigned to it.- Returns:
- the token.
-