Interface ResearchMethodList
- All Superinterfaces:
ResearchMethod
- All Known Implementing Classes:
AndResearchMethod,OrResearchMethod
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.portingdeadmods.researchd.api.research.methods.ResearchMethod
ResearchMethod.MethodContext, ResearchMethod.SimpleMethodContext -
Field Summary
Fields inherited from interface com.portingdeadmods.researchd.api.research.methods.ResearchMethod
CODEC, STREAM_CODEC -
Method Summary
Modifier and TypeMethodDescriptiondefault voidcheckProgress(net.minecraft.world.level.Level level, net.minecraft.resources.ResourceKey<Research> research, ResearchProgress.Task task, ResearchMethod.MethodContext context) methods()Methods inherited from interface com.portingdeadmods.researchd.api.research.methods.ResearchMethod
createProgress, getMaxProgress, getSerializer, getTranslation, id, shouldCheckProgress
-
Method Details
-
methods
List<ResearchMethod> methods() -
checkProgress
default void checkProgress(net.minecraft.world.level.Level level, net.minecraft.resources.ResourceKey<Research> research, ResearchProgress.Task task, ResearchMethod.MethodContext context) - Specified by:
checkProgressin interfaceResearchMethod
-