Class ActionRemoveGenericRecipeByModId
java.lang.Object
com.blamejared.crafttweaker.api.action.recipe.generic.ActionWholeRegistryBase
com.blamejared.crafttweaker.api.action.recipe.generic.ActionRemoveGenericRecipeBase
com.blamejared.crafttweaker.api.action.recipe.generic.ActionRemoveGenericRecipeByModId
- All Implemented Interfaces:
IAction,IRuntimeAction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescribe()Gets a human-readable description of the action.protected booleanshouldRemove(net.minecraft.world.item.crafting.Recipe<?> recipe) Methods inherited from class com.blamejared.crafttweaker.api.action.recipe.generic.ActionRemoveGenericRecipeBase
applyMethods inherited from class com.blamejared.crafttweaker.api.action.recipe.generic.ActionWholeRegistryBase
getRecipeLists, getRecipesByType, makeRecipeListMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.blamejared.crafttweaker.api.action.base.IAction
assertLoader, getDeclaredScriptPosition, shouldApplyOn, validate
-
Constructor Details
-
ActionRemoveGenericRecipeByModId
-
-
Method Details
-
describe
Description copied from interface:IActionGets a human-readable description of the action.This message is used for logging and to surface information to the user when something goes wrong. It is thus customary to describe the action as accurately as possible without being too verbose.
It is not allowed to return a
nullor otherwise empty description for the action: doing so will raise an error at runtime.- Returns:
- A description of the current action.
-
shouldRemove
protected boolean shouldRemove(net.minecraft.world.item.crafting.Recipe<?> recipe) - Specified by:
shouldRemovein classActionRemoveGenericRecipeBase
-