Class DmanJobView

java.lang.Object
com.minecolonies.core.colony.jobs.views.DefaultJobView
com.minecolonies.core.colony.jobs.views.DmanJobView
All Implemented Interfaces:
IJobView

public class DmanJobView extends DefaultJobView
Extended dman job information on the client side, valid for all job types.
  • Constructor Details

    • DmanJobView

      public DmanJobView(IColonyView iColonyView, ICitizenDataView iCitizenDataView)
      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: IJobView
      Deserialize the job from the buffer.
      Specified by:
      deserialize in interface IJobView
      Overrides:
      deserialize in class DefaultJobView
      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

      public IToken<?> getRsDataStoreToken()
      Get the data store token assigned to it.
      Returns:
      the token.