public class SimpleCraftingWindow extendsCraftingWindowimplementsMaterialContainerWindow
Class SimpleCraftingWindow. Provides simplecraftingwindow functionality for the Hytale server.
java.lang.Object > CraftingWindow > SimpleCraftingWindow
Field Summary
craftingManager
final
CraftingManager
craftingManager
Field craftingManager.
world
final
World
world
Field world.
recipeId
final
String
recipeId
Field recipeId.
quantity
final
int
quantity
Field quantity.
craftRecipe
final
CraftingRecipe
craftRecipe
Field craftRecipe.
playerRef
final
PlayerRef
playerRef
Field playerRef.
player
final
Player
player
Field player.
combined
final
CombinedItemContainer
combined
Field combined.
playerAndContainerInventory
final
CombinedItemContainer
playerAndContainerInventory
Field playerAndContainerInventory.
completedState
final
String
completedState
Field completedState.
pos
final
Vector3d
pos
Field pos.
pos2
final
Vector3d
pos2
Field pos2.
Method Detail
init
Method init.
- Parameters:
@Nonnull final PlayerRefplayerRef@Nonnull final WindowManagermanager
handleAction
public
void
handleAction
(@Nonnull final Ref ref, @Nonnull final Store store, @Nonnull final WindowAction action)
Method handleAction.
- Parameters:
@Nonnull final Refref@Nonnull final Storestore@Nonnull final WindowActionaction
CombinedItemContainer
public
new
CombinedItemContainer
(new ItemContainer[] { combined, this.getExtraResourcesSection()
Method CombinedItemContainer.
- Parameters:
new ItemContainer[] {combinedthis.getExtraResourcesSection(this.getExtraResourcesSection(
if
public
else
if
(action instanceof TierUpgradeAction && craftingManager.startTierUpgrade(ref, store, this)
Method if.
- Parameters:
action instanceof TierUpgradeAction &&craftingManager.startTierUpgrade(refstorestorethisthis