Contents
Class DiagramCraftingWindow
java.lang.Object
com.hypixel.hytale.server.core.entity.entities.player.windows.Window
com.hypixel.hytale.server.core.entity.entities.player.windows.BlockWindow
com.hypixel.hytale.builtin.crafting.window.BenchWindow
com.hypixel.hytale.builtin.crafting.window.CraftingWindow
com.hypixel.hytale.builtin.crafting.window.DiagramCraftingWindow
- All Implemented Interfaces:
ItemContainerWindow, MaterialContainerWindow, ValidatedWindow
-
Nested Class Summary
Nested classes/interfaces inherited from class Window
Window.WindowCloseEvent -
Field Summary
Fields inherited from class Window
CLIENT_REQUESTABLE_WINDOW_TYPES -
Constructor Summary
ConstructorsConstructorDescriptionDiagramCraftingWindow(Ref<EntityStore> ref, ComponentAccessor<EntityStore> store, int x, int y, int z, int rotationIndex, BlockType blockType, BenchBlock benchBlock) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleAction(Ref<EntityStore> ref, Store<EntityStore> store, WindowAction action) Called to handle the given action for this windowvoidonClose0(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) booleanonOpen0(Ref<EntityStore> ref, Store<EntityStore> store) Methods inherited from class CraftingWindow
craftSimpleItemMethods inherited from class BenchWindow
getData, getExtraResourcesSection, invalidateExtraResources, isValid, setBlockInteractionState, updateBenchTierLevel, updateBenchUpgradeJob, updateCraftingJob, updateQueueSizeMethods inherited from class BlockWindow
getBlockType, getMaxDistance, getRotationIndex, getX, getY, getZ, setMaxDistance, validateMethods inherited from class Window
close, equals, getId, getPlayerRef, getType, hashCode, init, registerCloseEvent, registerCloseEvent, registerCloseEvent, setId
-
Constructor Details
-
DiagramCraftingWindow
public DiagramCraftingWindow(@Nonnull Ref<EntityStore> ref, @Nonnull ComponentAccessor<EntityStore> store, int x, int y, int z, int rotationIndex, @Nonnull BlockType blockType, @Nonnull BenchBlock benchBlock)
-
-
Method Details
-
onOpen0
-
onClose0
public void onClose0(@Nonnull Ref<EntityStore> ref, @Nonnull ComponentAccessor<EntityStore> componentAccessor) - Overrides:
onClose0in classCraftingWindow
-
handleAction
public void handleAction(@Nonnull Ref<EntityStore> ref, @Nonnull Store<EntityStore> store, @Nonnull WindowAction action) Description copied from class:WindowCalled to handle the given action for this window- Overrides:
handleActionin classWindow- Parameters:
ref- The entity ref of the affiliated entitystore- The entity store for component accessaction- The window action to handle
-
getItemContainer
- Specified by:
getItemContainerin interfaceItemContainerWindow- Returns:
- the item container instance affiliated with the window
-
getBenchRecipes
-