From cb17179924bc89805b6289fe1e55b8a186728478 Mon Sep 17 00:00:00 2001 From: Motschen Date: Wed, 12 Aug 2020 20:39:49 +0200 Subject: [PATCH] Update to 1.16.2 Refactor ore gen for 1.16.2 --- gradle.properties | 11 +++-- .../motschen/dishes/DishesMain.java | 26 +----------- .../motschen/dishes/OreFeatures.java | 17 ++++++++ .../mixin/DefaultBiomeFeaturesMixin.java | 18 ++++++++ .../motschen/dishes/world/SaltOre.java | 41 ------------------- .../resources/assets/dishes/lang/zh_cn.json | 4 +- .../zh_cn/categories/american.json | 5 --- .../zh_cn/categories/british.json | 5 --- .../zh_cn/categories/general.json | 5 --- .../zh_cn/categories/german.json | 5 --- .../zh_cn/categories/italian.json | 5 --- .../zh_cn/entries/cooking_guide/bacon.json | 18 -------- .../entries/cooking_guide/cheese_roll.json | 18 -------- .../entries/cooking_guide/cheese_slice.json | 18 -------- .../entries/cooking_guide/cheeseburger.json | 18 -------- .../entries/cooking_guide/chickenburger.json | 18 -------- .../entries/cooking_guide/fishandchips.json | 18 -------- .../zh_cn/entries/cooking_guide/flour.json | 18 -------- .../zh_cn/entries/cooking_guide/fries.json | 18 -------- .../entries/cooking_guide/hamburger.json | 18 -------- .../zh_cn/entries/cooking_guide/knife.json | 22 ---------- .../zh_cn/entries/cooking_guide/lettuce.json | 18 -------- .../entries/cooking_guide/lettuceseed.json | 18 -------- .../entries/cooking_guide/pizzabacon.json | 18 -------- .../zh_cn/entries/cooking_guide/pizzabox.json | 18 -------- .../zh_cn/entries/cooking_guide/pizzaham.json | 18 -------- .../entries/cooking_guide/pizzasalami.json | 18 -------- .../entries/cooking_guide/pizzatuna.json | 18 -------- .../zh_cn/entries/cooking_guide/plate.json | 18 -------- .../entries/cooking_guide/potato_slice.json | 18 -------- .../cooking_guide/potatoeswithcurdcheese.json | 18 -------- .../entries/cooking_guide/raw_bacon.json | 18 -------- .../entries/cooking_guide/raw_fries.json | 18 -------- .../entries/cooking_guide/raw_spaghetti.json | 18 -------- .../zh_cn/entries/cooking_guide/salami.json | 22 ---------- .../zh_cn/entries/cooking_guide/salt.json | 18 -------- .../zh_cn/entries/cooking_guide/salt_ore.json | 18 -------- .../entries/cooking_guide/schnitzel.json | 18 -------- .../entries/cooking_guide/spaghetti.json | 18 -------- .../cooking_guide/spaghetti_bolognese.json | 18 -------- .../zh_cn/entries/cooking_guide/steak.json | 18 -------- .../tinypotatoeswithcurdcheese.json | 26 ------------ .../zh_cn/entries/cooking_guide/tomato.json | 18 -------- .../entries/cooking_guide/tomatoseed.json | 18 -------- src/main/resources/dishes.mixins.json | 11 +++++ src/main/resources/fabric.mod.json | 6 ++- 46 files changed, 59 insertions(+), 710 deletions(-) create mode 100644 src/main/java/eu/midnightdust/motschen/dishes/OreFeatures.java create mode 100644 src/main/java/eu/midnightdust/motschen/dishes/mixin/DefaultBiomeFeaturesMixin.java delete mode 100644 src/main/java/eu/midnightdust/motschen/dishes/world/SaltOre.java delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/categories/american.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/categories/british.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/categories/general.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/categories/german.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/categories/italian.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/bacon.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/cheese_roll.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/cheese_slice.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/cheeseburger.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/chickenburger.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/fishandchips.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/flour.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/fries.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/hamburger.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/knife.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/lettuce.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/lettuceseed.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/pizzabacon.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/pizzabox.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/pizzaham.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/pizzasalami.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/pizzatuna.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/plate.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/potato_slice.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/potatoeswithcurdcheese.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/raw_bacon.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/raw_fries.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/raw_spaghetti.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/salami.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/salt.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/salt_ore.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/schnitzel.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/spaghetti.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/spaghetti_bolognese.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/steak.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/tinypotatoeswithcurdcheese.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/tomato.json delete mode 100644 src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/tomatoseed.json create mode 100644 src/main/resources/dishes.mixins.json diff --git a/gradle.properties b/gradle.properties index a514baf..1aa3c01 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,16 +3,15 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://fabricmc.net/use - minecraft_version=1.16-pre6 - yarn_mappings=1.16-pre6+build.1 - loader_version=0.8.7+build.201 + minecraft_version=1.16.2 + yarn_mappings=1.16.2+build.6 + loader_version=0.9.1+build.205 # Mod Properties - mod_version = 1.0.3 + mod_version = 1.0.4 maven_group = eu.midnightdust.motschen archives_base_name = dishes # Dependencies # currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api - fabric_version=0.12.2+build.362-1.16 - patchouli_version=1.16-fabric-SNAPSHOT + fabric_version=0.17.2+build.396-1.16 \ No newline at end of file diff --git a/src/main/java/eu/midnightdust/motschen/dishes/DishesMain.java b/src/main/java/eu/midnightdust/motschen/dishes/DishesMain.java index 2ec596f..ed6cdb6 100644 --- a/src/main/java/eu/midnightdust/motschen/dishes/DishesMain.java +++ b/src/main/java/eu/midnightdust/motschen/dishes/DishesMain.java @@ -9,8 +9,6 @@ import net.minecraft.util.Identifier; import net.minecraft.util.registry.Registry; -import java.util.Locale; - public class DishesMain implements ModInitializer { public static final String MOD_ID = "dishes"; @@ -105,28 +103,6 @@ public void onInitialize() { LootModifier.init(); Flags.init(); - eu.midnightdust.motschen.dishes.world.SaltOre.initBiomeFeatures(); - } - public enum Ores implements ItemConvertible { - SaltOre(4, 20, 40, 120); - - public final String name; - public final int veinSize; - public final int veinsPerChunk; - public final int minY; - public final int maxY; - - Ores(int veinSize, int veinsPerChunk, int minY, int maxY) { - name = this.toString().toLowerCase(Locale.ROOT); - this.veinSize = veinSize; - this.veinsPerChunk = veinsPerChunk; - this.minY = minY; - this.maxY = maxY; - } - - @Override - public Item asItem() { - return SaltOre.asItem(); - } + OreFeatures.init(); } } diff --git a/src/main/java/eu/midnightdust/motschen/dishes/OreFeatures.java b/src/main/java/eu/midnightdust/motschen/dishes/OreFeatures.java new file mode 100644 index 0000000..a71ce6b --- /dev/null +++ b/src/main/java/eu/midnightdust/motschen/dishes/OreFeatures.java @@ -0,0 +1,17 @@ +package eu.midnightdust.motschen.dishes; + +import net.minecraft.util.Identifier; +import net.minecraft.util.registry.BuiltinRegistries; +import net.minecraft.util.registry.Registry; +import net.minecraft.world.gen.feature.ConfiguredFeature; +import net.minecraft.world.gen.feature.Feature; +import net.minecraft.world.gen.feature.OreFeatureConfig; + +public class OreFeatures { + public static final ConfiguredFeature SALT_ORE_FEATURE = Feature.ORE.configure(new OreFeatureConfig(OreFeatureConfig.Rules.BASE_STONE_OVERWORLD, DishesMain.SaltOre.getDefaultState(), 4)).method_30377(120).spreadHorizontally().repeat(20); + + public static void init() { + Registry.register(BuiltinRegistries.CONFIGURED_FEATURE, new Identifier(DishesMain.MOD_ID, "salt_ore"), SALT_ORE_FEATURE); + + } +} diff --git a/src/main/java/eu/midnightdust/motschen/dishes/mixin/DefaultBiomeFeaturesMixin.java b/src/main/java/eu/midnightdust/motschen/dishes/mixin/DefaultBiomeFeaturesMixin.java new file mode 100644 index 0000000..0bce905 --- /dev/null +++ b/src/main/java/eu/midnightdust/motschen/dishes/mixin/DefaultBiomeFeaturesMixin.java @@ -0,0 +1,18 @@ +package eu.midnightdust.motschen.dishes.mixin; + +import eu.midnightdust.motschen.dishes.OreFeatures; +import net.minecraft.world.biome.GenerationSettings.Builder; +import net.minecraft.world.gen.GenerationStep; +import net.minecraft.world.gen.feature.DefaultBiomeFeatures; +import org.spongepowered.asm.mixin.Mixin; +import org.spongepowered.asm.mixin.injection.At; +import org.spongepowered.asm.mixin.injection.Inject; +import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; + +@Mixin(DefaultBiomeFeatures.class) +public class DefaultBiomeFeaturesMixin { + @Inject(at = @At("RETURN"), method = "addDefaultOres") + private static void addDefaultOres(Builder builder, CallbackInfo info) { + builder.feature(GenerationStep.Feature.UNDERGROUND_ORES, OreFeatures.SALT_ORE_FEATURE); + } +} diff --git a/src/main/java/eu/midnightdust/motschen/dishes/world/SaltOre.java b/src/main/java/eu/midnightdust/motschen/dishes/world/SaltOre.java deleted file mode 100644 index 23d8ce6..0000000 --- a/src/main/java/eu/midnightdust/motschen/dishes/world/SaltOre.java +++ /dev/null @@ -1,41 +0,0 @@ -package eu.midnightdust.motschen.dishes.world; - -import eu.midnightdust.motschen.dishes.DishesMain; -import net.fabricmc.fabric.api.event.registry.RegistryEntryAddedCallback; -import net.minecraft.util.registry.Registry; -import net.minecraft.world.biome.Biome; -import net.minecraft.world.gen.GenerationStep; -import net.minecraft.world.gen.decorator.Decorator; -import net.minecraft.world.gen.decorator.RangeDecoratorConfig; -import net.minecraft.world.gen.feature.Feature; -import net.minecraft.world.gen.feature.OreFeatureConfig; - -import java.util.ArrayList; -import java.util.List; - -public class SaltOre { - private static List checkedBiomes = new ArrayList<>(); - - public static void initBiomeFeatures() { - for (Biome biome : Registry.BIOME) { - addToBiome(biome); - } - - //Handles modded biomes - RegistryEntryAddedCallback.event(Registry.BIOME).register((i, identifier, biome) -> addToBiome(biome)); - } - private static void addToBiome(Biome biome){ - if(checkedBiomes.contains(biome)){ - //Just to be sure we dont add the stuff twice to the same biome - return; - } - checkedBiomes.add(biome); - addOre(biome, OreFeatureConfig.Target.NATURAL_STONE, DishesMain.Ores.SaltOre); - } - - private static void addOre(Biome biome, OreFeatureConfig.Target canReplaceIn, DishesMain.Ores ore) { - biome.addFeature(GenerationStep.Feature.UNDERGROUND_ORES, Feature.ORE.configure( - new OreFeatureConfig(canReplaceIn, DishesMain.SaltOre.getDefaultState(), ore.veinSize)).createDecoratedFeature(Decorator.COUNT_RANGE.configure( - new RangeDecoratorConfig(ore.veinsPerChunk, ore.minY, ore.minY, ore.maxY)))); - } -} diff --git a/src/main/resources/assets/dishes/lang/zh_cn.json b/src/main/resources/assets/dishes/lang/zh_cn.json index a72aaba..fdd928a 100644 --- a/src/main/resources/assets/dishes/lang/zh_cn.json +++ b/src/main/resources/assets/dishes/lang/zh_cn.json @@ -31,10 +31,10 @@ "item.dishes.lettucebush":"生菜丛", "item.dishes.lettuceseed":"生菜种子", "item.dishes.potato_slice":"土豆片", - "item.dishes.raw_fries":"生薯条", + "item.dishes.raw_fries":"薯条", "item.dishes.fries":"薯条", "item.dishes.salami":"萨拉米香肠", - "item.dishes.cheese_roll":"芝士卷", + "item.dishes.cheese_roll":"芝士派", "item.dishes.cheese_slice":"芝士片", "item.dishes.knife":"刀", "block.dishes.plate":"盘子", diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/categories/american.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/categories/american.json deleted file mode 100644 index da9837a..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/categories/american.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "美国佳肴", - "description": "来自美国的食物", - "icon": "dishes:flag_america" -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/categories/british.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/categories/british.json deleted file mode 100644 index a083504..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/categories/british.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "英国佳肴", - "description": "来自英国的食物", - "icon": "dishes:flag_britain" -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/categories/general.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/categories/general.json deleted file mode 100644 index 1ac3386..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/categories/general.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "总览", - "description": "制作佳肴所需原料", - "icon": "dishes:plate" -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/categories/german.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/categories/german.json deleted file mode 100644 index eff7585..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/categories/german.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "德国佳肴", - "description": "来自德国的食物", - "icon": "dishes:flag_germany" -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/categories/italian.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/categories/italian.json deleted file mode 100644 index 4b3ebf8..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/categories/italian.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "意大利佳肴", - "description": "来自意大利的食物", - "icon": "dishes:flag_italy" -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/bacon.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/bacon.json deleted file mode 100644 index 37e705f..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/bacon.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "培根", - "icon": "dishes:bacon", - "category": "dishes:general", - "pages": [ - { - "type": "spotlight", - "item": "dishes:bacon", - "title": "培根", - "link_recipe": false, - "text": "培根可用于制作培根披萨。" - }, - { - "type": "smelting", - "recipe": "dishes:bacon_smelting" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/cheese_roll.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/cheese_roll.json deleted file mode 100644 index 48d7171..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/cheese_roll.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "芝士卷", - "icon": "dishes:cheese_roll", - "category": "dishes:general", - "pages": [ - { - "type": "spotlight", - "item": "dishes:cheese_roll", - "title": "芝士卷", - "link_recipe": false, - "text": "芝士卷" - }, - { - "type": "crafting", - "recipe": "dishes:cheese_roll" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/cheese_slice.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/cheese_slice.json deleted file mode 100644 index 8c26bc1..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/cheese_slice.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "芝士片", - "icon": "dishes:cheese_slice", - "category": "dishes:general", - "pages": [ - { - "type": "spotlight", - "item": "dishes:cheese_slice", - "title": "芝士片", - "link_recipe": false, - "text": "芝士卷上切下来的一片芝士" - }, - { - "type": "crafting", - "recipe": "dishes:cheese_slice" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/cheeseburger.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/cheeseburger.json deleted file mode 100644 index ffee35c..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/cheeseburger.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "芝士汉堡", - "icon": "dishes:cheeseburger", - "category": "dishes:american", - "pages": [ - { - "type": "spotlight", - "item": "dishes:cheeseburger", - "title": "芝士汉堡", - "link_recipe": false, - "text": "加入了芝士的汉堡" - }, - { - "type": "crafting", - "recipe": "dishes:cheeseburger" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/chickenburger.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/chickenburger.json deleted file mode 100644 index b489292..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/chickenburger.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "鸡肉汉堡", - "icon": "dishes:chickenburger", - "category": "dishes:american", - "pages": [ - { - "type": "spotlight", - "item": "dishes:chickenburger", - "title": "鸡肉汉堡", - "link_recipe": false, - "text": "塞了鸡肉而不是牛肉的汉堡" - }, - { - "type": "crafting", - "recipe": "dishes:chickenburger" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/fishandchips.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/fishandchips.json deleted file mode 100644 index b44c1ec..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/fishandchips.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "炸鱼薯条", - "icon": "dishes:fishandchips", - "category": "dishes:british", - "pages": [ - { - "type": "spotlight", - "item": "dishes:fishandchips", - "title": "炸鱼薯条", - "link_recipe": false, - "text": "布里茨很喜欢这个。" - }, - { - "type": "crafting", - "recipe": "dishes:fishandchips" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/flour.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/flour.json deleted file mode 100644 index 1a8d756..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/flour.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "面粉", - "icon": "dishes:flour", - "category": "dishes:general", - "pages": [ - { - "type": "spotlight", - "item": "dishes:flour", - "title": "面粉", - "link_recipe": false, - "text": "面粉可用于制作意大利面和披萨。" - }, - { - "type": "crafting", - "recipe": "dishes:flour" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/fries.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/fries.json deleted file mode 100644 index 8915468..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/fries.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "薯条", - "icon": "dishes:fries", - "category": "dishes:general", - "pages": [ - { - "type": "spotlight", - "item": "dishes:fries", - "title": "薯条", - "link_recipe": false, - "text": "蘸了盐的烤土豆。" - }, - { - "type": "smelting", - "recipe": "dishes:fries_smelting" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/hamburger.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/hamburger.json deleted file mode 100644 index 287650f..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/hamburger.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "汉堡", - "icon": "dishes:hamburger", - "category": "dishes:american", - "pages": [ - { - "type": "spotlight", - "item": "dishes:hamburger", - "title": "汉堡", - "link_recipe": false, - "text": "经典的汉堡" - }, - { - "type": "crafting", - "recipe": "dishes:hamburger" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/knife.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/knife.json deleted file mode 100644 index fb7ce8b..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/knife.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "刀", - "icon": "dishes:knife", - "category": "dishes:general", - "pages": [ - { - "type": "spotlight", - "item": "dishes:knife", - "title": "刀", - "link_recipe": false, - "text": "可用于将一些资源切成小块。" - }, - { - "type": "crafting", - "recipe": "dishes:knife" - }, - { - "type": "crafting", - "recipe": "dishes:potato_slice" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/lettuce.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/lettuce.json deleted file mode 100644 index 73e50c3..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/lettuce.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "生菜", - "icon": "dishes:lettuce", - "category": "dishes:general", - "pages": [ - { - "type": "spotlight", - "item": "dishes:lettuce", - "title": "生菜", - "link_recipe": false, - "text": "生菜可用于做菜。可在村庄箱子里找到生菜种子。" - }, - { - "type": "crafting", - "recipe": "dishes:lettuceseed" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/lettuceseed.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/lettuceseed.json deleted file mode 100644 index d20877f..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/lettuceseed.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "生菜种子", - "icon": "dishes:lettuceseed", - "category": "dishes:general", - "pages": [ - { - "type": "spotlight", - "item": "dishes:lettuceseed", - "title": "生菜种子", - "link_recipe": false, - "text": "生菜种子可以让你种出生菜。" - }, - { - "type": "crafting", - "recipe": "dishes:lettuceseed" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/pizzabacon.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/pizzabacon.json deleted file mode 100644 index 83ae73a..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/pizzabacon.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "披萨培根", - "icon": "dishes:pizzabacon", - "category": "dishes:italian", - "pages": [ - { - "type": "spotlight", - "item": "dishes:pizzabacon", - "title": "披萨培根", - "link_recipe": false, - "text": "加了培根的披萨。" - }, - { - "type": "crafting", - "recipe": "dishes:pizzabacon" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/pizzabox.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/pizzabox.json deleted file mode 100644 index 432d760..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/pizzabox.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "披萨盒", - "icon": "dishes:pizzabox", - "category": "dishes:general", - "pages": [ - { - "type": "spotlight", - "item": "dishes:pizzabox", - "title": "披萨盒", - "link_recipe": false, - "text": "一个空的披萨盒 :(" - }, - { - "type": "crafting", - "recipe": "dishes:pizzabox" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/pizzaham.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/pizzaham.json deleted file mode 100644 index a8aa7a4..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/pizzaham.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "披萨火腿", - "icon": "dishes:pizzaham", - "category": "dishes:italian", - "pages": [ - { - "type": "spotlight", - "item": "dishes:pizzaham", - "title": "披萨火腿", - "link_recipe": false, - "text": "塞了火腿的披萨,好吃!" - }, - { - "type": "crafting", - "recipe": "dishes:pizzaham" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/pizzasalami.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/pizzasalami.json deleted file mode 100644 index 953e9f8..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/pizzasalami.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "萨拉米披萨", - "icon": "dishes:pizzasalami", - "category": "dishes:italian", - "pages": [ - { - "type": "spotlight", - "item": "dishes:pizzasalami", - "title": "萨拉米披萨", - "link_recipe": false, - "text": "经典披萨" - }, - { - "type": "crafting", - "recipe": "dishes:pizzasalami" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/pizzatuna.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/pizzatuna.json deleted file mode 100644 index 3883bf1..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/pizzatuna.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "披萨金枪鱼", - "icon": "dishes:pizzatuna", - "category": "dishes:italian", - "pages": [ - { - "type": "spotlight", - "item": "dishes:pizzatuna", - "title": "披萨金枪鱼", - "link_recipe": false, - "text": "披萨+金枪鱼" - }, - { - "type": "crafting", - "recipe": "dishes:pizzatuna" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/plate.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/plate.json deleted file mode 100644 index 2bea8ea..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/plate.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "盘子", - "icon": "dishes:plate", - "category": "dishes:general", - "pages": [ - { - "type": "spotlight", - "item": "dishes:plate", - "title": "盘子", - "link_recipe": false, - "text": "一碟盘子。" - }, - { - "type": "crafting", - "recipe": "dishes:plate" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/potato_slice.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/potato_slice.json deleted file mode 100644 index d222c8e..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/potato_slice.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "土豆片", - "icon": "dishes:potato_slice", - "category": "dishes:general", - "pages": [ - { - "type": "spotlight", - "item": "dishes:potato_slice", - "title": "土豆片", - "link_recipe": false, - "text": "一片土豆。" - }, - { - "type": "crafting", - "recipe": "dishes:potato_slice" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/potatoeswithcurdcheese.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/potatoeswithcurdcheese.json deleted file mode 100644 index e873787..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/potatoeswithcurdcheese.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "芝士土豆", - "icon": "dishes:potatoeswithcurdcheese", - "category": "dishes:german", - "pages": [ - { - "type": "spotlight", - "item": "dishes:potatoeswithcurdcheese", - "title": "芝士土豆", - "link_recipe": false, - "text": "非常美味的德国食物" - }, - { - "type": "crafting", - "recipe": "dishes:potatoeswithcurdcheese" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/raw_bacon.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/raw_bacon.json deleted file mode 100644 index 2c3b4e3..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/raw_bacon.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "生培根", - "icon": "dishes:raw_bacon", - "category": "dishes:general", - "pages": [ - { - "type": "spotlight", - "item": "dishes:raw_bacon", - "title": "生培根", - "link_recipe": false, - "text": "可放入熔炉制成培根。" - }, - { - "type": "crafting", - "recipe": "dishes:raw_bacon" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/raw_fries.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/raw_fries.json deleted file mode 100644 index 102291c..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/raw_fries.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "生薯条", - "icon": "dishes:raw_fries", - "category": "dishes:general", - "pages": [ - { - "type": "spotlight", - "item": "dishes:raw_fries", - "title": "生薯条", - "link_recipe": false, - "text": "沾了盐的土豆片。可放入熔炉煮成薯条。" - }, - { - "type": "crafting", - "recipe": "dishes:raw_fries" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/raw_spaghetti.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/raw_spaghetti.json deleted file mode 100644 index 56f8135..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/raw_spaghetti.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "意大利面条", - "icon": "dishes:raw_spaghetti", - "category": "dishes:general", - "pages": [ - { - "type": "spotlight", - "item": "dishes:raw_spaghetti", - "title": "意大利面条", - "link_recipe": false, - "text": "意大利面条可放入熔炉或烟熏炉制成意大利面。" - }, - { - "type": "crafting", - "recipe": "dishes:raw_spaghetti" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/salami.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/salami.json deleted file mode 100644 index e4ef5ac..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/salami.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "萨拉米香肠", - "icon": "dishes:salami", - "category": "dishes:general", - "pages": [ - { - "type": "spotlight", - "item": "dishes:salami", - "title": "萨拉米香肠", - "link_recipe": false, - "text": "萨拉米香肠是一种用猪肉或牛肉制成的香肠。" - }, - { - "type": "crafting", - "recipe": "dishes:salami_pig" - }, - { - "type": "crafting", - "recipe": "dishes:salami_cow" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/salt.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/salt.json deleted file mode 100644 index 5b0e8b4..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/salt.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "盐", - "icon": "dishes:salt", - "category": "dishes:general", - "pages": [ - { - "type": "spotlight", - "item": "dishes:salt", - "title": "盐", - "link_recipe": false, - "text": "盐可用于炸薯条。" - }, - { - "type": "smelting", - "recipe": "dishes:salt_smelting" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/salt_ore.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/salt_ore.json deleted file mode 100644 index ffd9207..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/salt_ore.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "盐矿", - "icon": "dishes:salt_ore", - "category": "dishes:general", - "pages": [ - { - "type": "spotlight", - "item": "dishes:salt_ore", - "title": "盐矿", - "link_recipe": false, - "text": "盐的来源。" - }, - { - "type": "smelting", - "recipe": "dishes:salt_smelting" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/schnitzel.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/schnitzel.json deleted file mode 100644 index a4fcd5b..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/schnitzel.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "炸猪排", - "icon": "dishes:schnitzel", - "category": "dishes:german", - "pages": [ - { - "type": "spotlight", - "item": "dishes:schnitzel", - "title": "炸猪排", - "link_recipe": false, - "text": "真好吃..." - }, - { - "type": "crafting", - "recipe": "dishes:schnitzel" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/spaghetti.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/spaghetti.json deleted file mode 100644 index be17453..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/spaghetti.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "意大利面", - "icon": "dishes:salt", - "category": "dishes:general", - "pages": [ - { - "type": "spotlight", - "item": "dishes:spaghetti", - "title": "意大利面", - "link_recipe": false, - "text": "意大利面可用于制作意大利肉酱面。" - }, - { - "type": "smelting", - "recipe": "dishes:spaghetti_smelting" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/spaghetti_bolognese.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/spaghetti_bolognese.json deleted file mode 100644 index 0916e5b..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/spaghetti_bolognese.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "意大利肉酱面", - "icon": "dishes:spaghetti_bolognese", - "category": "dishes:italian", - "pages": [ - { - "type": "spotlight", - "item": "dishes:spaghetti_bolognese", - "title": "意大利肉酱面", - "link_recipe": false, - "text": "谁不喜欢意大利面?" - }, - { - "type": "crafting", - "recipe": "dishes:spaghetti_bolognese" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/steak.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/steak.json deleted file mode 100644 index 3895b6f..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/steak.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "牛排", - "icon": "dishes:steak", - "category": "dishes:american", - "pages": [ - { - "type": "spotlight", - "item": "dishes:steak", - "title": "牛排", - "link_recipe": false, - "text": "非常著名的菜肴。" - }, - { - "type": "crafting", - "recipe": "dishes:steak" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/tinypotatoeswithcurdcheese.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/tinypotatoeswithcurdcheese.json deleted file mode 100644 index 7b5a66b..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/tinypotatoeswithcurdcheese.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "小份芝士土豆", - "icon": "dishes:tinypotatoeswithcurdcheese", - "category": "dishes:german", - "pages": [ - { - "type": "spotlight", - "item": "dishes:tinypotatoeswithcurdcheese", - "title": "小份芝士土豆", - "link_recipe": false, - "text": "OMG! IT'S TINY POTATO OMG! #TATERGANG! - 该合成配方只在安装Lil Tater模组时生效!" - }, - { - "type": "crafting", - "recipe": "lil-tater:tinypotatoeswithcurdcheese" - }, - { - "type": "crafting", - "recipe": "liltater:tinypotatoeswithcurdcheese" - }, - { - "type": "crafting", - "recipe": "ltr:tinypotatoeswithcurdcheese" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/tomato.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/tomato.json deleted file mode 100644 index 56c9db7..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/tomato.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "番茄", - "icon": "dishes:tomato", - "category": "dishes:general", - "pages": [ - { - "type": "spotlight", - "item": "dishes:tomato", - "title": "番茄", - "link_recipe": false, - "text": "番茄是一种红色水果,可在村庄箱子内找到番茄种子。" - }, - { - "type": "crafting", - "recipe": "dishes:tomatoseed" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/tomatoseed.json b/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/tomatoseed.json deleted file mode 100644 index 82868f7..0000000 --- a/src/main/resources/data/dishes/patchouli_books/cooking_guide/zh_cn/entries/cooking_guide/tomatoseed.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "番茄种子", - "icon": "dishes:tomatoseed", - "category": "dishes:general", - "pages": [ - { - "type": "spotlight", - "item": "dishes:tomatoseed", - "title": "番茄种子", - "link_recipe": false, - "text": "番茄种子可种出番茄。" - }, - { - "type": "crafting", - "recipe": "dishes:tomatoseed" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/dishes.mixins.json b/src/main/resources/dishes.mixins.json new file mode 100644 index 0000000..8575526 --- /dev/null +++ b/src/main/resources/dishes.mixins.json @@ -0,0 +1,11 @@ +{ + "required": true, + "package": "eu.midnightdust.motschen.dishes.mixin", + "compatibilityLevel": "JAVA_8", + "mixins": [ + "DefaultBiomeFeaturesMixin" + ], + "injectors": { + "defaultRequire": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index ef2e102..97ae0a1 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -1,7 +1,7 @@ { "schemaVersion": 1, "id": "dishes", - "version": "1.0.3", + "version": "${version}", "name": "Delicious Dishes", "description": "Adds many cool new dishes with 3d models! Originally created for ModFest 1.16", @@ -27,6 +27,10 @@ ] }, + "mixins": [ + "dishes.mixins.json" + ], + "depends": { "fabricloader": ">=0.7.2", "fabric": "*"