Contents
Class FieldCraftingWindow
java.lang.Object
com.hypixel.hytale.server.core.entity.entities.player.windows.Window
com.hypixel.hytale.builtin.crafting.window.FieldCraftingWindow
- Since:
- 22/4/17.
- Version:
- 1.0
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonObjectgetData()voidhandleAction(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 Window
close, equals, getId, getPlayerRef, getType, hashCode, init, registerCloseEvent, registerCloseEvent, registerCloseEvent, setId
-
Constructor Details
-
FieldCraftingWindow
public FieldCraftingWindow()
-
-
Method Details
-
getData
-
onOpen0
-
onClose0
public void onClose0(@Nonnull Ref<EntityStore> ref, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
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
-