Class WorkOrderDecorationView
java.lang.Object
com.minecolonies.core.colony.workorders.view.AbstractWorkOrderView
com.minecolonies.core.colony.workorders.view.WorkOrderDecorationView
- All Implemented Interfaces:
IWorkOrder,IWorkOrderView
The client side representation for a work order that the builder can take to build decorations.
-
Field Summary
Fields inherited from class com.minecolonies.core.colony.workorders.view.AbstractWorkOrderView
blueprint, box, colony, futureFields inherited from interface com.minecolonies.api.colony.workorders.IWorkOrder
WORK_ORDER_COMPARATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.network.chat.ComponentGet the name of the work order, provides the custom name or the work order name when no custom name is givenbooleanshouldShowIn(IBuildingView view) Whether this work order should be shown in a specific building.Methods inherited from class com.minecolonies.core.colony.workorders.view.AbstractWorkOrderView
canBuildIgnoringDistance, clearBlueprint, deserialize, getBlueprint, getBoundingBox, getClaimedBy, getColony, getCurrentLevel, getID, getLocation, getPriority, getRotationMirror, getStage, getStructurePack, getStructurePath, getTargetLevel, getTranslationKey, getWorkOrderType, isClaimed, loadBlueprint, setBlueprint, setClaimedBy, setColony, setID, setPriorityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.minecolonies.api.colony.workorders.IWorkOrder
getFileName
-
Constructor Details
-
WorkOrderDecorationView
public WorkOrderDecorationView()
-
-
Method Details
-
getDisplayName
public net.minecraft.network.chat.Component getDisplayName()Description copied from interface:IWorkOrderGet 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
Description copied from interface:IWorkOrderViewWhether this work order should be shown in a specific building.- Parameters:
view- the building view.- Returns:
- a boolean
-