Class ResearchdResearches
java.lang.Object
com.portingdeadmods.researchd.resources.contents.ResearchdResearches
- All Implemented Interfaces:
ResearchdDatagenProvider<Research>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ResearchEffectand(ResearchEffect... methods) protected ResearchMethodand(ResearchMethod... methods) voidbuild()voidprotected @NotNull ConsumeItemResearchMethodconsumeItem(net.minecraft.world.level.ItemLike item, int count) protected final @NotNull ConsumePackResearchMethodconsumePack(int count, int duration, net.minecraft.resources.ResourceKey<ResearchPack>... packs) protected @NotNull CheckItemPresenceResearchMethodhasItem(net.minecraft.world.level.ItemLike item, int count) protected net.minecraft.resources.ResourceKey<Research> protected @NotNull net.minecraft.resources.ResourceLocationprotected @NotNull net.minecraft.resources.ResourceLocationprotected @NotNull net.minecraft.resources.ResourceLocationprotected ResearchMethodor(ResearchMethod... methods) protected net.minecraft.resources.ResourceKey<ResearchPack> pack(net.minecraft.resources.ResourceLocation location) protected net.minecraft.resources.ResourceKey<Research> simpleResearch(String name, UnaryOperator<SimpleResearch.Builder> builder) protected @NotNull DimensionUnlockEffectunlockDimension(net.minecraft.resources.ResourceLocation location, net.minecraft.resources.ResourceLocation sprite) protected @NotNull UnlockItemEffectunlockItem(net.minecraft.world.level.ItemLike item) protected @NotNull RecipeUnlockEffectunlockRecipe(net.minecraft.resources.ResourceLocation location)
-
Field Details
-
COBBLESTONE_LOC
public static final net.minecraft.resources.ResourceLocation COBBLESTONE_LOC -
OVERWORLD_PACK_LOC
public static final net.minecraft.resources.ResourceLocation OVERWORLD_PACK_LOC -
NETHER_LOC
public static final net.minecraft.resources.ResourceLocation NETHER_LOC -
END_LOC
public static final net.minecraft.resources.ResourceLocation END_LOC -
END_CRYSTAL_LOC
public static final net.minecraft.resources.ResourceLocation END_CRYSTAL_LOC -
BEACON_LOC
public static final net.minecraft.resources.ResourceLocation BEACON_LOC -
STONE_LOC
public static final net.minecraft.resources.ResourceLocation STONE_LOC -
DIFFERENT_ROCKS_LOC
public static final net.minecraft.resources.ResourceLocation DIFFERENT_ROCKS_LOC
-
-
Constructor Details
-
ResearchdResearches
-
-
Method Details
-
build
public void build()- Specified by:
buildin interfaceResearchdDatagenProvider<Research>
-
buildExampleDatapack
public void buildExampleDatapack() -
getContents
- Specified by:
getContentsin interfaceResearchdDatagenProvider<Research>
-
mcLoc
-
modLoc
-
loc
-
unlockDimension
@NotNull protected @NotNull DimensionUnlockEffect unlockDimension(net.minecraft.resources.ResourceLocation location, net.minecraft.resources.ResourceLocation sprite) -
unlockItem
-
consumePack
@SafeVarargs @NotNull protected final @NotNull ConsumePackResearchMethod consumePack(int count, int duration, net.minecraft.resources.ResourceKey<ResearchPack>... packs) -
unlockRecipe
@NotNull protected @NotNull RecipeUnlockEffect unlockRecipe(net.minecraft.resources.ResourceLocation location) -
consumeItem
@NotNull protected @NotNull ConsumeItemResearchMethod consumeItem(net.minecraft.world.level.ItemLike item, int count) -
hasItem
@NotNull protected @NotNull CheckItemPresenceResearchMethod hasItem(net.minecraft.world.level.ItemLike item, int count) -
key
-
pack
protected net.minecraft.resources.ResourceKey<ResearchPack> pack(net.minecraft.resources.ResourceLocation location) -
and
-
or
-
and
-
simpleResearch
protected net.minecraft.resources.ResourceKey<Research> simpleResearch(String name, UnaryOperator<SimpleResearch.Builder> builder)
-