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.

Featured Replies

Posted

Does anyone know how to make a new liquid with King Lemming's new BlockFluid class? I've been messing around a little and I can only manage to do this by making my own BlockFluid class, and even then textures don't work... any ideas?

If you really want help, give that modder a thank you.

 

Modders LOVE thank yous.

it's pretty simple. just use this as a guideline and register the fluid before the block if the fluid is binded to a block. most of the methods in the BlockDigitalSeaLiquid file just add custom things to it. you only need the constructor (and you only need the super() line of it).

	@EventHandler
    public void CodeLyokoLoad(FMLInitializationEvent evt)
    {
	ModFluids.init();
	ModItems.init();
	ModBlocks.init();

https://github.com/code-lyoko-modding/CodeLyokoMod/blob/master/matt/lyoko/fluids/ModFluids.java

https://github.com/code-lyoko-modding/CodeLyokoMod/blob/master/matt/lyoko/fluids/BlockDigitalSeaLiquid.java

  • Author

Thanks! How would I then do custom textures? I get kind of confused around the arrays and I'm not sure which method actually registers it, considering I can't find a registerIcons function.

If you really want help, give that modder a thank you.

 

Modders LOVE thank yous.

Note: I don't think the system I described for setting the Fluid textures in that post is how it's intended to be done. I simply can't find any other solution, and the documentation for that area is quite poor. This new Fluid system is very convenient, but I don't think it's finished.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

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.