mirror of
https://github.com/TeamMidnightDust/DeliciousDishes.git
synced 2025-12-16 16:45:09 +01:00
Update to 1.16.2
Refactor ore gen for 1.16.2
This commit is contained in:
@@ -9,8 +9,6 @@ import net.minecraft.item.*;
|
||||
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 class DishesMain implements ModInitializer {
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
@@ -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<Biome> 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))));
|
||||
}
|
||||
}
|
||||
@@ -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":"盘子",
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"name": "美国佳肴",
|
||||
"description": "来自美国的食物",
|
||||
"icon": "dishes:flag_america"
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"name": "英国佳肴",
|
||||
"description": "来自英国的食物",
|
||||
"icon": "dishes:flag_britain"
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"name": "总览",
|
||||
"description": "制作佳肴所需原料",
|
||||
"icon": "dishes:plate"
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"name": "德国佳肴",
|
||||
"description": "来自德国的食物",
|
||||
"icon": "dishes:flag_germany"
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"name": "意大利佳肴",
|
||||
"description": "来自意大利的食物",
|
||||
"icon": "dishes:flag_italy"
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
11
src/main/resources/dishes.mixins.json
Normal file
11
src/main/resources/dishes.mixins.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"required": true,
|
||||
"package": "eu.midnightdust.motschen.dishes.mixin",
|
||||
"compatibilityLevel": "JAVA_8",
|
||||
"mixins": [
|
||||
"DefaultBiomeFeaturesMixin"
|
||||
],
|
||||
"injectors": {
|
||||
"defaultRequire": 1
|
||||
}
|
||||
}
|
||||
@@ -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": "*"
|
||||
|
||||
Reference in New Issue
Block a user