Contents
Class SimpleCraftingWindow
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.SimpleCraftingWindow
- All Implemented Interfaces:
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
ConstructorsConstructorDescriptionSimpleCraftingWindow(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 windowMethods inherited from class CraftingWindow
craftSimpleItem, onClose0Methods 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, setIdMethods inherited from interface MaterialContainerWindow
getExtraResourcesSection, invalidateExtraResources, isValid
-
Constructor Details
-
SimpleCraftingWindow
public SimpleCraftingWindow(int x, int y, int z, int rotationIndex, @Nonnull BlockType blockType, @Nonnull BenchBlock benchBlock)
-
-
Method Details
-
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
-