Class EmptyResearchEffect
java.lang.Object
com.portingdeadmods.researchd.impl.research.effect.EmptyResearchEffect
- All Implemented Interfaces:
ResearchEffect
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.resources.ResourceLocationstatic final EmptyResearchEffectstatic final ResearchEffectSerializer<EmptyResearchEffect> Fields inherited from interface com.portingdeadmods.researchd.api.research.effects.ResearchEffect
CODEC, STREAM_CODEC -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.portingdeadmods.researchd.api.research.effects.ResearchEffect
getTranslation
-
Field Details
-
INSTANCE
-
ID
public static final net.minecraft.resources.ResourceLocation ID -
SERIALIZER
-
-
Method Details
-
onUnlock
public void onUnlock(net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player, net.minecraft.resources.ResourceKey<Research> research) - Specified by:
onUnlockin interfaceResearchEffect
-
id
public net.minecraft.resources.ResourceLocation id()- Specified by:
idin interfaceResearchEffect
-
getSerializer
- Specified by:
getSerializerin interfaceResearchEffect
-