classpublicPriority 2
CraftingManager
com.hypixel.hytale.builtin.crafting.component.CraftingManager
implements Component
20
Methods
20
Public Methods
5
Fields
2
Constructors
Constants
HytaleLoggerLOGGER= HytaleLogger.forEnclosingClass()
Constructors
private
CraftingManager(CraftingManager other)public
CraftingManager()Methods
Public Methods (20)
public
boolean cancelAllCrafting(Ref<EntityStore> ref, ComponentAccessor<EntityStore> store)public
boolean clearBench(Ref<EntityStore> ref, Store<EntityStore> store)public
Component<EntityStore> clone()@Nonnull@Override
public
float computeLoadingPercent()publicstatic
void feedExtraResourcesSection(BenchState benchState, MaterialExtraResourcesSection extraResourcesSection)publicstatic
JsonArray generateInventoryHints(List<CraftingRecipe> recipes, int inputSlotIndex, ItemContainer container)@Nonnull
publicstatic
ComponentType<EntityStore, CraftingManager> getComponentType()@Nonnull
publicstatic
List<MaterialQuantity> getInputMaterials(CraftingRecipe recipe)@Nonnull
publicstatic
List<MaterialQuantity> getInputMaterials(CraftingRecipe recipe, int quantity)@Nonnull
publicstatic
ItemStack getOutputItemStack(MaterialQuantity outputMaterial, String id)@Nonnull
publicstatic
ItemStack getOutputItemStack(MaterialQuantity outputMaterial, int quantity)@Nonnull
publicstatic
List<ItemStack> getOutputItemStacks(CraftingRecipe recipe)@Nonnull
publicstatic
List<ItemStack> getOutputItemStacks(CraftingRecipe recipe, int quantity)@Nonnull
public
boolean hasBenchSet()publicstatic
boolean matches(MaterialQuantity craftingMaterial, ItemStack itemStack)publicstatic
boolean matchesAnyRecipe(List<CraftingRecipe> recipes, int inputSlotIndex, ItemStack slotItemStack)public
void setBench(int x, int y, int z, BlockType blockType)public
boolean startTierUpgrade(Ref<EntityStore> ref, ComponentAccessor<EntityStore> store, BenchWindow window)public
void tick(Ref<EntityStore> ref, ComponentAccessor<EntityStore> store, float dt)public
String toString()@Nonnull@Override
Fields
Private/Package Fields (5)
private
BlockType blockTypeprivate
CraftingManager.BenchUpgradingJob upgradingJobprivate
int xprivate
int yprivate
int z