Class ResearchEffectHelper
java.lang.Object
com.portingdeadmods.researchd.compat.kubejs.helpers.ResearchEffectHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ResearchEffectand(ResearchEffect... effects) static ResearchEffectcombine(List<ResearchEffect> effects) static ResearchEffectRuns commands when the research is unlocked/locked.static ResearchEffectcommandOnLock(String command) static ResearchEffectcommandOnUnlock(String command) static ResearchEffectempty()static ResearchEffectunlockDimension(String dimension) static ResearchEffectunlockDimensions(String... dimensions) static ResearchEffectstatic ResearchEffectunlockItem(String itemId) static ResearchEffectunlockItems(String... itemIds) static ResearchEffectstatic ResearchEffectunlockRecipe(String recipeId) static ResearchEffectunlockRecipes(String... recipeIds)
-
Constructor Details
-
ResearchEffectHelper
public ResearchEffectHelper()
-
-
Method Details
-
empty
-
unlockRecipe
-
unlockRecipes
-
unlockItem
-
unlockItems
-
unlockDimension
-
unlockDimensions
-
unlockNether
-
unlockEnd
-
command
Runs commands when the research is unlocked/locked. Pass an empty string to skip one of the two. Supports the{{RESEARCH_PLAYER_NAME}},{{RESEARCH_TEAM_NAME}}and{{RESEARCH_ID}}placeholders. -
commandOnUnlock
-
commandOnLock
-
and
-
combine
-