Class SimpleCraftingWindow

All Implemented Interfaces:
MaterialContainerWindow, ValidatedWindow

public class SimpleCraftingWindow extends CraftingWindow implements MaterialContainerWindow
  • 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: Window
      Called to handle the given action for this window
      Overrides:
      handleAction in class Window
      Parameters:
      ref - The entity ref of the affiliated entity
      store - The entity store for component access
      action - The window action to handle