public class ProcessingBenchWindow extendsBenchWindowimplementsItemContainerWindow
Class ProcessingBenchWindow. Provides processingbenchwindow functionality for the Hytale server.
java.lang.Object > BenchWindow > ProcessingBenchWindow
Field Summary
itemContainer
Field itemContainer.
fuelTime
Field fuelTime.
maxFuel
Field maxFuel.
progress
Field progress.
active
Field active.
processingBench
Field processingBench.
recipe
Field recipe.
inputProgress
Field inputProgress.
fuelArray
Field fuelArray.
fuelObj
Field fuelObj.
tierLevel
Field tierLevel.
world
Field world.
blockState
Field blockState.
setActiveAction
Field setActiveAction.
ignored
Field ignored.
craftingManager
Field craftingManager.
playerRef
Field playerRef.
ref
Field ref.
store
Field store.
player
Field player.
inventory
Field inventory.
input
Field input.
inputArr
Field inputArr.
slotObj
Field slotObj.
benchState
Field benchState.
handle
Field handle.
Method Detail
ProcessingBenchWindow
Method ProcessingBenchWindow.
- Parameters:
final ProcessingBenchStatebenchState
getData
JsonObject
getData
()
Method getData.
setActive
void
setActive
(final boolean active)
Method setActive.
- Parameters:
final booleanactive
setFuelTime
void
setFuelTime
(final float fuelTime)
Method setFuelTime.
- Parameters:
final floatfuelTime
setMaxFuel
void
setMaxFuel
(final int maxFuel)
Method setMaxFuel.
- Parameters:
final intmaxFuel
setProgress
void
setProgress
(final float progress)
Method setProgress.
- Parameters:
final floatprogress
setProcessingSlots
void
setProcessingSlots
(final Set slots)
Method setProcessingSlots.
- Parameters:
final Setslots
setProcessingFuelSlots
void
setProcessingFuelSlots
(final Set slots)
Method setProcessingFuelSlots.
- Parameters:
final Setslots
handleAction
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
onOpen0
boolean
onOpen0
()
Method onOpen0.
updateOutputSlots
void
updateOutputSlots
(final int tierLevel)
Method updateOutputSlots.
- Parameters:
final inttierLevel
updateInputSlots
void
updateInputSlots
(final int tierLevel)
Method updateInputSlots.
- Parameters:
final inttierLevel
updateBenchTierLevel
void
updateBenchTierLevel
(final int newValue)
Method updateBenchTierLevel.
- Parameters:
final intnewValue
onClose0
void
onClose0
()
Method onClose0.
generateInventoryHints
JsonArray
generateInventoryHints
(@Nonnull final Bench bench, @Nonnull final CombinedItemContainer combinedInputItemContainer)
Method generateInventoryHints.
- Parameters:
@Nonnull final Benchbench@Nonnull final CombinedItemContainercombinedInputItemContainer
handle
MethodHandle
handle
()
Method handle.
ensureHandle
MethodHandle
ensureHandle
()
Method ensureHandle.
invoke
int
invoke
(Object p0, int p1)
Method invoke.
- Parameters:
Objectp0intp1