fix steam gas prop and high temperature

This commit is contained in:
khj xiaogu 2021-11-02 19:28:21 +08:00
parent d16f30f129
commit 4912cd3a1f
No known key found for this signature in database
GPG key ID: DEA172814EAFF426

View file

@ -34,5 +34,5 @@ public class FluidRegistry {
public static final DeferredRegister<Fluid> FLUIDS = DeferredRegister.create(ForgeRegistries.FLUIDS, SteamPowered.MODID);
public static RegistryObject<FlowingFluid> steam = FLUIDS.register("steam", () -> new ForgeFlowingFluid.Source(FluidRegistry.PROPERTIES));
public static RegistryObject<FlowingFluid> steamFlowing = FLUIDS.register("steam_flowing", () -> new ForgeFlowingFluid.Flowing(FluidRegistry.PROPERTIES));
public static ForgeFlowingFluid.Properties PROPERTIES = new ForgeFlowingFluid.Properties(steam, steamFlowing, FluidAttributes.builder(STILL_STEAM_TEXTURE, FLOWING_STEAM_TEXTURE).density(-10).viscosity(1)).block(BlockRegistry.steamBlock).slopeFindDistance(3).explosionResistance(100F);
public static ForgeFlowingFluid.Properties PROPERTIES = new ForgeFlowingFluid.Properties(steam, steamFlowing, FluidAttributes.builder(STILL_STEAM_TEXTURE, FLOWING_STEAM_TEXTURE).density(-10).viscosity(1).gaseous().temperature(473)).block(BlockRegistry.steamBlock).slopeFindDistance(3).explosionResistance(100F);
}