Class CraftingWindow
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
- All Implemented Interfaces:
MaterialContainerWindow,ValidatedWindow
- Direct Known Subclasses:
DiagramCraftingWindow,SimpleCraftingWindow,StructuralCraftingWindow
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hypixel.hytale.server.core.entity.entities.player.windows.Window
Window.WindowCloseEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringstatic final intFields inherited from class com.hypixel.hytale.builtin.crafting.window.BenchWindow
bench, BENCH_UPGRADING, benchState, windowDataFields inherited from class com.hypixel.hytale.server.core.entity.entities.player.windows.BlockWindow
blockType, rotationIndex, x, y, zFields inherited from class com.hypixel.hytale.server.core.entity.entities.player.windows.Window
CLIENT_REQUESTABLE_WINDOW_TYPES, closeEventRegistry, isDirty, LOGGER, needRebuild, windowType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancraftSimpleItem(Store<EntityStore> store, Ref<EntityStore> ref, com.hypixel.hytale.builtin.crafting.component.CraftingManager craftingManager, CraftRecipeAction action) voidonClose0()protected booleanonOpen0()voidsetBlockInteractionState(String state, World world, int setBlockSettings) Methods inherited from class com.hypixel.hytale.builtin.crafting.window.BenchWindow
getBenchTierLevel, getData, getExtraResourcesSection, invalidateExtraResources, isValid, updateBenchTierLevel, updateBenchUpgradeJob, updateCraftingJobMethods inherited from class com.hypixel.hytale.server.core.entity.entities.player.windows.BlockWindow
getBlockType, getMaxDistance, getRotationIndex, getX, getY, getZ, setMaxDistance, validateMethods inherited from class com.hypixel.hytale.server.core.entity.entities.player.windows.Window
close, consumeIsDirty, consumeNeedRebuild, equals, getId, getPlayerRef, getType, handleAction, hashCode, init, invalidate, onClose, onOpen, registerCloseEvent, registerCloseEvent, registerCloseEvent, setId, setNeedRebuild
-
Field Details
-
SET_BLOCK_SETTINGS
public static final int SET_BLOCK_SETTINGS- See Also:
-
CRAFT_COMPLETED
- See Also:
-
CRAFT_COMPLETED_INSTANT
- See Also:
-
-
Constructor Details
-
CraftingWindow
-
-
Method Details
-
onOpen0
protected boolean onOpen0()- Overrides:
onOpen0in classBenchWindow
-
onClose0
public void onClose0()- Overrides:
onClose0in classBenchWindow
-
setBlockInteractionState
-
craftSimpleItem
public static boolean craftSimpleItem(@Nonnull Store<EntityStore> store, @Nonnull Ref<EntityStore> ref, @Nonnull com.hypixel.hytale.builtin.crafting.component.CraftingManager craftingManager, @Nonnull CraftRecipeAction action)
-