classpublicPriority 1
CraftingPlugin
com.hypixel.hytale.builtin.crafting.CraftingPlugin
extends JavaPlugin
11
Methods
11
Public Methods
2
Fields
1
Constructors
Constants
Query<EntityStore>QUERY= Archetype.of(Player.getComponentType(), PlayerRef.getComponentType())
Constructors
public
CraftingPlugin(JavaPluginInit init)Methods
Public Methods (11)
publicstatic
boolean forgetRecipe(Ref<EntityStore> ref, String itemId, ComponentAccessor<EntityStore> componentAccessor)publicstatic
Set<String> getAvailableRecipesForCategory(String benchId, String benchCategoryId)@Nullable
publicstatic
List<CraftingRecipe> getBenchRecipes(Bench bench)@Nonnull
publicstatic
List<CraftingRecipe> getBenchRecipes(BenchType benchType, String name)@Nonnull
publicstatic
List<CraftingRecipe> getBenchRecipes(BenchType benchType, String benchId, String category)@Nonnull
public
ComponentType<EntityStore, CraftingManager> getCraftingManagerComponentType()public
Query<EntityStore> getQuery()@Override
publicstatic
boolean isValidCraftingMaterialForBench(BenchState benchState, ItemStack itemStack)publicstatic
boolean isValidUpgradeMaterialForBench(BenchState benchState, ItemStack itemStack)publicstatic
boolean learnRecipe(Ref<EntityStore> ref, String recipeId, ComponentAccessor<EntityStore> componentAccessor)publicstatic
void sendKnownRecipes(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor)Fields
Private/Package Fields (2)
private
ComponentType<EntityStore, CraftingManager> craftingManagerComponentTypeprivate
CraftingPlugin instance