Class WorkOrderDecorationView

java.lang.Object
com.minecolonies.core.colony.workorders.view.AbstractWorkOrderView
com.minecolonies.core.colony.workorders.view.WorkOrderDecorationView
All Implemented Interfaces:
IWorkOrder, IWorkOrderView

public class WorkOrderDecorationView extends AbstractWorkOrderView
The client side representation for a work order that the builder can take to build decorations.
  • Constructor Details

    • WorkOrderDecorationView

      public WorkOrderDecorationView()
  • Method Details

    • getDisplayName

      public net.minecraft.network.chat.Component getDisplayName()
      Description copied from interface: IWorkOrder
      Get the name of the work order, provides the custom name or the work order name when no custom name is given
      Returns:
      the display name for the work order
    • shouldShowIn

      public boolean shouldShowIn(IBuildingView view)
      Description copied from interface: IWorkOrderView
      Whether this work order should be shown in a specific building.
      Parameters:
      view - the building view.
      Returns:
      a boolean