阶段性矿石是一个基于Game Stages的附属,它提供了基于GS的矿物显示功能,
可以让拥有不同阶段的玩家看到不同的矿物种类。
复制代码
- mods.orestages.OreStages.addReplacement(String stage,IIngredient original);
复制代码
- mods.orestages.OreStages.addReplacement("dirt_stage", <minecraft:dirt>);
复制代码
- mods.orestages.OreStages.addReplacement(String stage, IIngredient original, IItemStack replacement);
复制代码
- mods.orestages.OreStages.addReplacement("dirt_stage", <minecraft:dirt>, <minecraft:cobblestone>);
复制代码
- mods.orestages.OreStages.addReplacementById(String stage, String original, String replacement);
复制代码
- mods.orestages.OreStages.addReplacementById("one", "minecraft:potatoes:*", "minecraft:tallgrass:2");
- mods.orestages.OreStages.addNonDefaultingReplacement(String stage, IIngredient original);
- mods.orestages.OreStages.addNonDefaultingReplacement(String stage, IIngredient original, IItemStack replacement);
- mods.orestages.OreStages.addNonDefaultingReplacementById(String stage, String original, String replacement);
复制代码
- mods.orestages.OreStages.addNonDefaultingReplacement("one", <minecraft:torch:*>, <minecraft:redstone_torch>)