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

So does anyone know what to use for animated block? Or can anyone show me a tutorial on this?

No signature for you!

  • Author

This doesn't help me much, I still don't know what to do with the file and what each part of it means, can you help me point it out or could you link me a tutorial on this as I have never delved into animated textures and would like to know what to do.

No signature for you!

  • Author

I found another mod with explanations on the FX, so I've got that worked except it gives me this error: (I can still play just the block is messed up)

 

[WARNING] [fml.TextureManager] Detected a texture FX sizing discrepancy in TextureElementalBrickFX (4, 52)

 

So its telling me that my image size is wrong, but I've looked at other peoples images and they are just the same, each individual frame on top of each other. But it doesn't work (mine is a little longer than others), is there a certain variable that you have to change to set how many frames i need? This is the code I've got for the FX file:

 

package mod.ElementalWorld;

import java.io.IOException;

import net.minecraft.client.renderer.RenderEngine;
import net.minecraft.src.ModTextureAnimation;

import org.lwjgl.opengl.GL11;

import cpw.mods.fml.client.FMLClientHandler;
import cpw.mods.fml.client.TextureFXManager;

public class TextureElementalBrickFX extends ModTextureAnimation
{
public TextureElementalBrickFX(String texture, int index) throws IOException
{
	super(index, 1, texture, TextureFXManager.instance().loadImageFromTexturePack(FMLClientHandler.instance().getClient().renderEngine, texture), 1);
}

    public void bindImage(RenderEngine renderengine)
    {
    	//Binds texture with GL11 to use specific icon index.
        GL11.glBindTexture(3553 /*GL_TEXTURE_2D*/, renderengine.getTexture("/textures/ElementalWorld/Elemental Brick.png"));
    }
}

No signature for you!

So its telling me that my image size is wrong, but I've looked at other peoples images and they are just the same, each individual frame on top of each other. But it doesn't work (mine is a little longer than others),

 

Maybe you should try having the Image Size be the same as everyone else has them then? Since you are being told that the size is wrong and then tell us that they are the same... except yours a bit longer(a different size, not the same).

 

If you guys dont get it.. then well ya.. try harder...

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.