Merge branch 'mc1.18/dev' into mc1.19/dev

This commit is contained in:
simibubi 2024-08-07 20:20:21 +02:00
commit f215324545
15 changed files with 259 additions and 6 deletions

View file

@ -209,8 +209,8 @@ dependencies {
// runtimeOnly fg.deobf("curse.maven:elementary-ores-332609:3956498") // runtimeOnly fg.deobf("curse.maven:elementary-ores-332609:3956498")
// runtimeOnly fg.deobf("curse.maven:flib-661261:3956196") // runtimeOnly fg.deobf("curse.maven:flib-661261:3956196")
// runtimeOnly fg.deobf("curse.maven:infernal-expansion-395078:3854062") // runtimeOnly fg.deobf("curse.maven:infernal-expansion-395078:3854062")
// runtimeOnly fg.deobf("vazkii.arl:AutoRegLib:1.4-35.69") // runtimeOnly fg.deobf("vazkii.autoreglib:AutoRegLib:1.7-53.111")
// runtimeOnly fg.deobf("vazkii.quark:Quark:r2.0-212.984") // runtimeOnly fg.deobf("vazkii.quark:Quark:3.2-358.2")
// runtimeOnly fg.deobf("curse.maven:mantle-74924:4509007") // runtimeOnly fg.deobf("curse.maven:mantle-74924:4509007")
// runtimeOnly fg.deobf("curse.maven:tinkers-construct-74072:4509008") // runtimeOnly fg.deobf("curse.maven:tinkers-construct-74072:4509008")
// runtimeOnly fg.deobf("maven.modrinth:rubidium:0.5.3") // runtimeOnly fg.deobf("maven.modrinth:rubidium:0.5.3")
@ -236,6 +236,8 @@ dependencies {
// runtimeOnly fg.deobf("curse.maven:exnihilosequentia-400012:4083676") // runtimeOnly fg.deobf("curse.maven:exnihilosequentia-400012:4083676")
// runtimeOnly fg.deobf("curse.maven:upgrade-aquatic-326895:4365140") // runtimeOnly fg.deobf("curse.maven:upgrade-aquatic-326895:4365140")
// runtimeOnly fg.deobf("curse.maven:blueprint-382216:3991478") // runtimeOnly fg.deobf("curse.maven:blueprint-382216:3991478")
// runtimeOnly fg.deobf("curse.maven:blueprint-382216:3991478")
// runtimeOnly fg.deobf("curse.maven:environmental-388992:4381294")
// https://discord.com/channels/313125603924639766/725850371834118214/910619168821354497 // https://discord.com/channels/313125603924639766/725850371834118214/910619168821354497
// Prevent Mixin annotation processor from getting into IntelliJ's annotation processor settings // Prevent Mixin annotation processor from getting into IntelliJ's annotation processor settings

View file

@ -0,0 +1,20 @@
{
"type": "create:cutting",
"ingredients": [
{
"item": "environmental:cherry_log"
}
],
"results": [
{
"item": "environmental:stripped_cherry_log"
}
],
"processingTime": 50,
"conditions": [
{
"modid": "environmental",
"type": "forge:mod_loaded"
}
]
}

View file

@ -0,0 +1,20 @@
{
"type": "create:cutting",
"ingredients": [
{
"item": "environmental:cherry_wood"
}
],
"results": [
{
"item": "environmental:stripped_cherry_wood"
}
],
"processingTime": 50,
"conditions": [
{
"modid": "environmental",
"type": "forge:mod_loaded"
}
]
}

View file

@ -0,0 +1,21 @@
{
"type": "create:cutting",
"ingredients": [
{
"item": "environmental:stripped_cherry_log"
}
],
"results": [
{
"item": "environmental:cherry_planks",
"count": 6
}
],
"processingTime": 50,
"conditions": [
{
"modid": "environmental",
"type": "forge:mod_loaded"
}
]
}

View file

@ -0,0 +1,21 @@
{
"type": "create:cutting",
"ingredients": [
{
"item": "environmental:stripped_cherry_wood"
}
],
"results": [
{
"item": "environmental:cherry_planks",
"count": 6
}
],
"processingTime": 50,
"conditions": [
{
"modid": "environmental",
"type": "forge:mod_loaded"
}
]
}

View file

@ -0,0 +1,21 @@
{
"type": "create:cutting",
"ingredients": [
{
"item": "environmental:stripped_willow_log"
}
],
"results": [
{
"item": "environmental:willow_planks",
"count": 6
}
],
"processingTime": 50,
"conditions": [
{
"modid": "environmental",
"type": "forge:mod_loaded"
}
]
}

View file

@ -0,0 +1,21 @@
{
"type": "create:cutting",
"ingredients": [
{
"item": "environmental:stripped_willow_wood"
}
],
"results": [
{
"item": "environmental:willow_planks",
"count": 6
}
],
"processingTime": 50,
"conditions": [
{
"modid": "environmental",
"type": "forge:mod_loaded"
}
]
}

View file

@ -0,0 +1,21 @@
{
"type": "create:cutting",
"ingredients": [
{
"item": "environmental:stripped_wisteria_log"
}
],
"results": [
{
"item": "environmental:wisteria_planks",
"count": 6
}
],
"processingTime": 50,
"conditions": [
{
"modid": "environmental",
"type": "forge:mod_loaded"
}
]
}

View file

@ -0,0 +1,21 @@
{
"type": "create:cutting",
"ingredients": [
{
"item": "environmental:stripped_wisteria_wood"
}
],
"results": [
{
"item": "environmental:wisteria_planks",
"count": 6
}
],
"processingTime": 50,
"conditions": [
{
"modid": "environmental",
"type": "forge:mod_loaded"
}
]
}

View file

@ -0,0 +1,20 @@
{
"type": "create:cutting",
"ingredients": [
{
"item": "environmental:willow_log"
}
],
"results": [
{
"item": "environmental:stripped_willow_log"
}
],
"processingTime": 50,
"conditions": [
{
"modid": "environmental",
"type": "forge:mod_loaded"
}
]
}

View file

@ -0,0 +1,20 @@
{
"type": "create:cutting",
"ingredients": [
{
"item": "environmental:willow_wood"
}
],
"results": [
{
"item": "environmental:stripped_willow_wood"
}
],
"processingTime": 50,
"conditions": [
{
"modid": "environmental",
"type": "forge:mod_loaded"
}
]
}

View file

@ -0,0 +1,20 @@
{
"type": "create:cutting",
"ingredients": [
{
"item": "environmental:wisteria_log"
}
],
"results": [
{
"item": "environmental:stripped_wisteria_log"
}
],
"processingTime": 50,
"conditions": [
{
"modid": "environmental",
"type": "forge:mod_loaded"
}
]
}

View file

@ -0,0 +1,20 @@
{
"type": "create:cutting",
"ingredients": [
{
"item": "environmental:wisteria_wood"
}
],
"results": [
{
"item": "environmental:stripped_wisteria_wood"
}
],
"processingTime": 50,
"conditions": [
{
"modid": "environmental",
"type": "forge:mod_loaded"
}
]
}

View file

@ -3,9 +3,9 @@ package com.simibubi.create.content.contraptions;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collection; import java.util.Collection;
import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.TreeMap;
import java.util.function.Supplier; import java.util.function.Supplier;
import java.util.stream.Collectors; import java.util.stream.Collectors;
@ -48,8 +48,8 @@ public class MountedStorageManager {
protected Map<BlockPos, MountedFluidStorage> fluidStorage; protected Map<BlockPos, MountedFluidStorage> fluidStorage;
public MountedStorageManager() { public MountedStorageManager() {
storage = new HashMap<>(); storage = new TreeMap<>();
fluidStorage = new HashMap<>(); fluidStorage = new TreeMap<>();
} }
public void entityTick(AbstractContraptionEntity entity) { public void entityTick(AbstractContraptionEntity entity) {

View file

@ -9,6 +9,7 @@ import net.minecraft.world.level.block.Blocks;
import java.util.Objects; import java.util.Objects;
@SuppressWarnings("unused")
public class CuttingRecipeGen extends ProcessingRecipeGen { public class CuttingRecipeGen extends ProcessingRecipeGen {
GeneratedRecipe GeneratedRecipe
@ -153,7 +154,11 @@ public class CuttingRecipeGen extends ProcessingRecipeGen {
RU_12 = stripAndMakePlanks(Mods.RU, "ashen_log", "stripped_dead_log", null), RU_12 = stripAndMakePlanks(Mods.RU, "ashen_log", "stripped_dead_log", null),
RU_13 = stripAndMakePlanks(Mods.RU, "ashen_wood", "stripped_dead_wood", null), RU_13 = stripAndMakePlanks(Mods.RU, "ashen_wood", "stripped_dead_wood", null),
RU_14 = stripOnlyDiffModId(Mods.RU, "silver_birch_log", Mods.MC, "stripped_birch_log"), RU_14 = stripOnlyDiffModId(Mods.RU, "silver_birch_log", Mods.MC, "stripped_birch_log"),
RU_15 = stripOnlyDiffModId(Mods.RU, "silver_birch_wood", Mods.MC, "stripped_birch_wood") RU_15 = stripOnlyDiffModId(Mods.RU, "silver_birch_wood", Mods.MC, "stripped_birch_wood"),
// Environmental
ENV = cuttingCompat(Mods.ENV, "willow", "cherry", "wisteria")
; ;
GeneratedRecipe stripAndMakePlanks(Block wood, Block stripped, Block planks) { GeneratedRecipe stripAndMakePlanks(Block wood, Block stripped, Block planks) {