From fc63abbeda206464dae3548513a75b2f74efd03b Mon Sep 17 00:00:00 2001 From: 3TUSK Date: Sat, 23 Dec 2017 17:40:21 -0800 Subject: [PATCH] Fix fluids missing their blocks & models; Version bump to 2.1.1 --- gradle.properties | 10 +++++----- .../java/frogcraftrebirth/common/FrogRegistries.java | 5 ++++- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/gradle.properties b/gradle.properties index 2f80239..fb662eb 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,10 +1,10 @@ Minecraft_Ver=1.12.2 -MinecraftFogre_Ver=14.23.0.2550 -Mapping_Ver=snapshot_20171120 +MinecraftFogre_Ver=14.23.1.2578 +Mapping_Ver=snapshot_20171219 FCR_Ver_Major=2 FCR_Ver_Minor=1 -FCR_Ver_Patch=0 +FCR_Ver_Patch=1 -IC2_Ver=2.8.27 -JEI_Ver=4.8.0.109 +IC2_Ver=2.8.30 +JEI_Ver=4.8.5.138 diff --git a/src/main/java/frogcraftrebirth/common/FrogRegistries.java b/src/main/java/frogcraftrebirth/common/FrogRegistries.java index 8df1d9e..33bc106 100644 --- a/src/main/java/frogcraftrebirth/common/FrogRegistries.java +++ b/src/main/java/frogcraftrebirth/common/FrogRegistries.java @@ -192,20 +192,23 @@ public static void onMissingMappingPotion(RegistryEvent.MissingMappings missingMappings.getMappings().forEach(RegistryEvent.MissingMappings.Mapping::ignore); } + @Deprecated private static void regFluidWithoutBucket(IForgeRegistry registry, Fluid... fluids) { for (Fluid fluid : fluids) { regFluid(registry, fluid, false, null); } } + @Deprecated private static void regFluidWithBucket(IForgeRegistry registry, Fluid... fluids) { for (Fluid fluid : fluids) { regFluid(registry, fluid, true, null); } } + @Deprecated private static void regFluid(IForgeRegistry registry, Fluid fluid, boolean regBucket, @Nullable Function getBlock) { - regFluid(registry, fluid, regBucket, false, null); + regFluid(registry, fluid, regBucket, true, null); } private static void regFluid(IForgeRegistry registry, Fluid fluid, boolean regBucket, boolean regBlock, @Nullable Function getBlock) {