Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

cad435_1

Members
  • Joined

  • Last visited

Everything posted by cad435_1

  1. Hello, Im currently trying to setup a fluid. It works fine just now, the only thing is that no custom tex will be loaded Here is my fluid class: import net.minecraft.util.ResourceLocation; import net.minecraftforge.fluids.Fluid; import net.minecraftforge.fluids.FluidRegistry; public class FluidDung extends Fluid { public FluidDung() { super("dung", new ResourceLocation("renergy:blocks/fluid/dung_still"), new ResourceLocation("renergy:blocks/fluid/dung_flow")); setColor(new java.awt.Color(128, 64, 0)); setDensity(1100); setGaseous(false); setLuminosity(0); setViscosity(25000); setTemperature(300); FluidRegistry.registerFluid(this); } } And this is the class were I register the fluid: public class RFluids { public static FluidDung DUNG; public static void registerFluids() { DUNG = new FluidDung(); } } "RegsiterFluids()" will be called in common FMLProxy: @Proxied public class FMLProxy { public void onPreInit(FMLPreInitializationEvent event) { RFluids.registerFluids(); } ... } the textures are located in: resources\assets\renergy\textures\blocks\fluid\dung_still.png resources\assets\renergy\textures\blocks\fluid\dung_flow.png as well as the MCMeta files. the fluid works as intended, only without texture (the MissingTexture-Texture will be displayed) I tried to figure it out for at least two hours now and can't get it working... Coding on Intellij IDEA Community Edition 2017.3.4 Any suggestions? cad435

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.