StaffFurnaceDataComponent

public final class StaffFurnaceDataComponent(source)

Data components to store the state of a furnace staff.

Parameters

smeltedItemId

The network ID of the item entity being smelted

unsmeltableItemIds

The network ID of the item entities which cannot be smelted

smeltTicks

The ticks elapsed since the furnace started to smelt smeltedItemId

Constructors

Link copied to clipboard
public StaffFurnaceDataComponent StaffFurnaceDataComponent(Integer smeltedItemId, IntSet unsmeltableItemIds, Integer smeltTicks)

Properties

Link copied to clipboard
private final Integer smeltedItemId
Link copied to clipboard
private final Integer smeltTicks
Link copied to clipboard
private final IntSet unsmeltableItemIds

Functions

Link copied to clipboard
public final Integer getSmeltedItemId()
Link copied to clipboard
public final Integer getSmeltTicks()
Link copied to clipboard
public final IntSet getUnsmeltableItemIds()