Skip to content

Commit

Permalink
Fix fluids missing their blocks & models; Version bump to 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
3TUSK committed Dec 24, 2017
1 parent 80f7973 commit fc63abb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -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
5 changes: 4 additions & 1 deletion src/main/java/frogcraftrebirth/common/FrogRegistries.java
Original file line number Diff line number Diff line change
Expand Up @@ -192,20 +192,23 @@ public static void onMissingMappingPotion(RegistryEvent.MissingMappings<Potion>
missingMappings.getMappings().forEach(RegistryEvent.MissingMappings.Mapping::ignore);
}

@Deprecated
private static void regFluidWithoutBucket(IForgeRegistry<Block> registry, Fluid... fluids) {
for (Fluid fluid : fluids) {
regFluid(registry, fluid, false, null);
}
}

@Deprecated
private static void regFluidWithBucket(IForgeRegistry<Block> registry, Fluid... fluids) {
for (Fluid fluid : fluids) {
regFluid(registry, fluid, true, null);
}
}

@Deprecated
private static void regFluid(IForgeRegistry<Block> registry, Fluid fluid, boolean regBucket, @Nullable Function<Fluid, Block> getBlock) {
regFluid(registry, fluid, regBucket, false, null);
regFluid(registry, fluid, regBucket, true, null);
}

private static void regFluid(IForgeRegistry<Block> registry, Fluid fluid, boolean regBucket, boolean regBlock, @Nullable Function<Fluid, Block> getBlock) {
Expand Down

0 comments on commit fc63abb

Please sign in to comment.