ProcessingBenchWindow

public class ProcessingBenchWindow extends BenchWindow implements ItemContainerWindow

Class ProcessingBenchWindow. Provides processingbenchwindow functionality for the Hytale server.

java.lang.Object > BenchWindow > ProcessingBenchWindow

Field Summary

itemContainer

private CombinedItemContainer itemContainer

Field itemContainer.

fuelTime

private float fuelTime

Field fuelTime.

maxFuel

private int maxFuel

Field maxFuel.

progress

private float progress

Field progress.

active

private boolean active

Field active.

processingBench

final ProcessingBench processingBench

Field processingBench.

recipe

final CraftingRecipe recipe

Field recipe.

inputProgress

final float inputProgress

Field inputProgress.

fuelArray

final JsonArray fuelArray

Field fuelArray.

fuelObj

final JsonObject fuelObj

Field fuelObj.

tierLevel

final int tierLevel

Field tierLevel.

world

final World world

Field world.

blockState

final BlockState blockState

Field blockState.

setActiveAction

final SetActiveAction setActiveAction

Field setActiveAction.

ignored

final TierUpgradeAction ignored

Field ignored.

craftingManager

final CraftingManager craftingManager

Field craftingManager.

playerRef

final PlayerRef playerRef

Field playerRef.

ref

final Ref ref

Field ref.

store

final Store store

Field store.

player

final Player player

Field player.

inventory

final Inventory inventory

Field inventory.

input

final ProcessingBench.ProcessingSlot[] input

Field input.

inputArr

final JsonArray inputArr

Field inputArr.

slotObj

final JsonObject slotObj

Field slotObj.

benchState

final BenchState benchState

Field benchState.

handle

final MethodHandle handle

Field handle.

Method Detail

ProcessingBenchWindow

public public ProcessingBenchWindow (final ProcessingBenchState benchState)

Method ProcessingBenchWindow.

Parameters:
final ProcessingBenchState benchState

getData

public JsonObject getData ()

Method getData.

getItemContainer

public CombinedItemContainer getItemContainer ()

Method getItemContainer.

setActive

public void setActive (final boolean active)

Method setActive.

Parameters:
final boolean active

setFuelTime

public void setFuelTime (final float fuelTime)

Method setFuelTime.

Parameters:
final float fuelTime

setMaxFuel

public void setMaxFuel (final int maxFuel)

Method setMaxFuel.

Parameters:
final int maxFuel

setProgress

public void setProgress (final float progress)

Method setProgress.

Parameters:
final float progress

setProcessingSlots

public void setProcessingSlots (final Set slots)

Method setProcessingSlots.

Parameters:
final Set slots

setProcessingFuelSlots

public void setProcessingFuelSlots (final Set slots)

Method setProcessingFuelSlots.

Parameters:
final Set slots

handleAction

public void handleAction (@Nonnull final Ref ref, @Nonnull final Store store, @Nonnull final WindowAction action)

Method handleAction.

Parameters:
@Nonnull final Ref ref
@Nonnull final Store store
@Nonnull final WindowAction action

onOpen0

protected boolean onOpen0 ()

Method onOpen0.

updateOutputSlots

private void updateOutputSlots (final int tierLevel)

Method updateOutputSlots.

Parameters:
final int tierLevel

updateInputSlots

private void updateInputSlots (final int tierLevel)

Method updateInputSlots.

Parameters:
final int tierLevel

updateBenchTierLevel

public void updateBenchTierLevel (final int newValue)

Method updateBenchTierLevel.

Parameters:
final int newValue

onClose0

public void onClose0 ()

Method onClose0.

generateInventoryHints

static JsonArray generateInventoryHints (@Nonnull final Bench bench, @Nonnull final CombinedItemContainer combinedInputItemContainer)

Method generateInventoryHints.

Parameters:
@Nonnull final Bench bench
@Nonnull final CombinedItemContainer combinedInputItemContainer

handle

static MethodHandle handle ()

Method handle.

ensureHandle

static MethodHandle ensureHandle ()

Method ensureHandle.

invoke

static int invoke (Object p0, int p1)

Method invoke.

Parameters:
Object p0
int p1