Package dev.latvian.mods.kubejs.recipe
Class AfterRecipesLoadedKubeEvent
java.lang.Object
dev.latvian.mods.kubejs.recipe.AfterRecipesLoadedKubeEvent
- All Implemented Interfaces:
KubeEvent
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAfterRecipesLoadedKubeEvent(net.minecraft.server.ReloadableServerResources resources) -
Method Summary
Modifier and TypeMethodDescriptionvoidafterPosted(EventResult result) intcountRecipes(dev.latvian.mods.rhino.Context cx, RecipeFilter filter) voidforEachRecipe(dev.latvian.mods.rhino.Context cx, RecipeFilter filter, Consumer<RecipeLikeKJS> consumer) intremove(dev.latvian.mods.rhino.Context cx, RecipeFilter filter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.latvian.mods.kubejs.event.KubeEvent
cancel, cancel, defaultExitValue, exit, exit, getExitValueType, mapExitValue, success, success
-
Constructor Details
-
AfterRecipesLoadedKubeEvent
public AfterRecipesLoadedKubeEvent(net.minecraft.server.ReloadableServerResources resources)
-
-
Method Details
-
forEachRecipe
public void forEachRecipe(dev.latvian.mods.rhino.Context cx, RecipeFilter filter, Consumer<RecipeLikeKJS> consumer) -
countRecipes
-
remove
-
afterPosted
- Specified by:
afterPostedin interfaceKubeEvent
-