Created
June 7, 2012 17:38
-
-
Save psxlover/2890250 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this is run first: | |
public void registerAnimation(Minecraft var1) | |
{ | |
ModLoader.addAnimation(new FXAnimatedTexture("/thaumcraft/resources/tcubeanim.png", visCubeFX, 1)); | |
ModLoader.addAnimation(new FXAnimatedTexture("/thaumcraft/resources/tcrucibleanim.png", visDripFX, 1)); | |
ModLoader.addAnimation(new FXAnimatedTexture("/thaumcraft/resources/speedupgrade.png", spdUpgrade, 1)); | |
ModLoader.addAnimation(new TextureVoidCompassFX(var1)); | |
} | |
not that visCubeFX, visDripFX, spdUpgrade haven't been initialized so they are 0 | |
then load() is run which has: | |
spdUpgrade = 252; | |
visCubeFX = 253; | |
visDripFX = 254; | |
when loading a world registerAnimation is being run again with the fields having values (from the load) but for whatever reason the third animation is used in all three "addAnimation" calls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment