Interface IJobView

All Known Implementing Classes:
CrafterJobView, DefaultJobView, DmanJobView

public interface IJobView
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deserialize(net.minecraft.network.RegistryFriendlyByteBuf buffer)
    Deserialize the job from the buffer.
    Get a set of async requests connected to this job.
    Getter for the job entry of the job.
    Return a Localization textContent for the Job.
    void
    setEntry(JobEntry jobEntry)
    Set the job entry of the view.
  • Method Details

    • getName

      String getName()
      Return a Localization textContent for the Job.
      Returns:
      localization textContent String.
    • getAsyncRequests

      Set<IToken<?>> getAsyncRequests()
      Get a set of async requests connected to this job.
      Returns:
      a set of ITokens.
    • deserialize

      void deserialize(net.minecraft.network.RegistryFriendlyByteBuf buffer)
      Deserialize the job from the buffer.
      Parameters:
      buffer - the buffer to read it from.
    • getEntry

      JobEntry getEntry()
      Getter for the job entry of the job.
      Returns:
      the entry.
    • setEntry

      void setEntry(JobEntry jobEntry)
      Set the job entry of the view.
      Parameters:
      jobEntry - the entry to set.