diff --git a/gradle.properties b/gradle.properties index 03ccbd79c..43fdb1817 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,7 +15,7 @@ shadow_version = 6.1.0 cursegradle_version = 1.4.0 # dependency versions -registrate_version = 1.0.4 +registrate_version = 1.0.9 flywheel_version = 1.16-0.2.0.33 jei_version = 7.7.1.110 diff --git a/src/main/java/com/simibubi/create/AllFluids.java b/src/main/java/com/simibubi/create/AllFluids.java index 301206f42..e12816477 100644 --- a/src/main/java/com/simibubi/create/AllFluids.java +++ b/src/main/java/com/simibubi/create/AllFluids.java @@ -19,14 +19,8 @@ import net.minecraft.util.math.BlockPos; import net.minecraft.world.IBlockDisplayReader; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.api.distmarker.OnlyIn; -import net.minecraftforge.common.ForgeMod; -import net.minecraftforge.event.RegistryEvent; -import net.minecraftforge.event.RegistryEvent.MissingMappings.Mapping; -import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fluids.FluidAttributes; import net.minecraftforge.fluids.ForgeFlowingFluid; -import net.minecraftforge.fml.common.Mod.EventBusSubscriber; -import net.minecraftforge.fml.common.Mod.EventBusSubscriber.Bus; public class AllFluids { @@ -45,32 +39,26 @@ public class AllFluids { public static final FluidEntry HONEY = REGISTRATE.standardFluid("honey", NoColorFluidAttributes::new) .lang(f -> "fluid.create.honey", "Honey") - .attributes(b -> b.viscosity(500) + .attributes(b -> b.viscosity(2000) .density(1400)) .properties(p -> p.levelDecreasePerBlock(2) .tickRate(25) .slopeFindDistance(3) .explosionResistance(100f)) .tag(AllFluidTags.HONEY.tag) - .bucket() - .properties(p -> p.stacksTo(1)) - .build() .register(); public static final FluidEntry CHOCOLATE = REGISTRATE.standardFluid("chocolate", NoColorFluidAttributes::new) .lang(f -> "fluid.create.chocolate", "Chocolate") .tag(AllTags.forgeFluidTag("chocolate")) - .attributes(b -> b.viscosity(500) + .attributes(b -> b.viscosity(1500) .density(1400)) .properties(p -> p.levelDecreasePerBlock(2) .tickRate(25) .slopeFindDistance(3) .explosionResistance(100f)) - .bucket() - .properties(p -> p.stacksTo(1)) - .build() - .register(); + .register(); // Load this class