Jump to content

Recommended Posts

Posted

I am trying to make a block with a spinning center and I cannot figure out the TextureFX because it only edits the /terrain.png

The Korecraft Mod

Posted

take a look

https://github.com/opssemnik/FunModVannila/tree/master/cliente/animacoes'>https://github.com/opssemnik/FunModVannila/tree/master/cliente/animacoes

https://github.com/opssemnik/FunModVannila/blob/master/cliente/proxy/clproxy.java'>https://github.com/opssemnik/FunModVannila/blob/master/cliente/proxy/clproxy.java

https://github.com/opssemnik/FunModVannila

IN THE SECOND LINE TAKE A LOOK AT THIS

TextureFXManager.instance().addAnimation(new TextureFunFX("/FunMod/cliente/texturas/animacoes/QuestionBlock.png", FunMod.ANIMATED_TEXTURE_INDEX));

 

The FunMod.ANIMATED_TEXTURE_INDEX its the texture that you want to be animated in your main texture files, in the case in my FunModBlocks.png i want to the texture in the second square to be animated so that ANIMATED_TEXTURE_INDEX its "1" (int not string)

Posted

this works but only updates the texture.png and not my desired texture also I get an annoying

2012-12-30 17:11:29 [iNFO] [sTDOUT] ########## GL ERROR ##########

2012-12-30 17:11:29 [iNFO] [sTDOUT] @ Pre render

2012-12-30 17:11:29 [iNFO] [sTDOUT] 1280: Invalid enum

 

Edit: Nevermind, I fixed it

The Korecraft Mod

  • 1 month later...

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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