Jump to content

Pythonschlange

Members
  • Posts

    42
  • Joined

  • Last visited

Everything posted by Pythonschlange

  1. Okay, this is new stuff... is there anywere a place where the Json file (and it's arguments, functions...) is explained? Because I searched for way to long and found nothing. And if there isn't, would someone be kind enough to quickly explain how Jsons work (background would be nice, but I just need to know what all the arguments in the file are doing and how they work) I'm thankfull for every respond.
  2. Ok, after a lot of testing i found a method that lets me render semitransparent Block in the correct order, but from time to time the block gets rendered wrong and I don't know why (the method, that does it is "public EnumWorldBlockLayer getBlockLayer()" from the slime block). I think this could be a forge bug. I still need a way to render .obj items semitransparent. How the block should look like: How the block from time to time looks like: Code: EDIT: I also would like to know, how to animate an .obj model (item and/or block). I'm happy for any response
  3. I'm right now updating my mod from 1.7.10 to 1.8.9 and I need semitransparent rendering for one of my blocks and a lot of items. The block and the items are rendered as an .obj File and are modeled in blender. Problem: I have no idea on how to do this and I need to know if minecraft and/or forge as implemented some sort of Distance based rendering for 1.8.9 yet. I hope someone can help me.
  4. Wouldn't do anything...the Crimson Cult armor has no Semitransparent texture, just a custom model. Any other ideas? EDIT: well I got around it. Silence...
  5. Maybe if I would rewrite the entire 'setRotationAngles' method I could get where I want to be, but the method is to advanced for me. So if anyone has a fix or knowlage of how minecraft renders armor and want to help me please reply, because I have no idea on how to do this. Here is the code for the 'setRotationAngles' method in minecraft: public void setRotationAngles(float p_78087_1_, float p_78087_2_, float p_78087_3_, float p_78087_4_, float p_78087_5_, float p_78087_6_, Entity p_78087_7_) { this.bipedHead.rotateAngleY = p_78087_4_ / (180F / (float)Math.PI); this.bipedHead.rotateAngleX = p_78087_5_ / (180F / (float)Math.PI); this.bipedHeadwear.rotateAngleY = this.bipedHead.rotateAngleY; this.bipedHeadwear.rotateAngleX = this.bipedHead.rotateAngleX; this.bipedRightArm.rotateAngleX = MathHelper.cos(p_78087_1_ * 0.6662F + (float)Math.PI) * 2.0F * p_78087_2_ * 0.5F; this.bipedLeftArm.rotateAngleX = MathHelper.cos(p_78087_1_ * 0.6662F) * 2.0F * p_78087_2_ * 0.5F; this.bipedRightArm.rotateAngleZ = 0.0F; this.bipedLeftArm.rotateAngleZ = 0.0F; this.bipedRightLeg.rotateAngleX = MathHelper.cos(p_78087_1_ * 0.6662F) * 1.4F * p_78087_2_; this.bipedLeftLeg.rotateAngleX = MathHelper.cos(p_78087_1_ * 0.6662F + (float)Math.PI) * 1.4F * p_78087_2_; this.bipedRightLeg.rotateAngleY = 0.0F; this.bipedLeftLeg.rotateAngleY = 0.0F; if (this.isRiding) { this.bipedRightArm.rotateAngleX += -((float)Math.PI / 5F); this.bipedLeftArm.rotateAngleX += -((float)Math.PI / 5F); this.bipedRightLeg.rotateAngleX = -((float)Math.PI * 2F / 5F); this.bipedLeftLeg.rotateAngleX = -((float)Math.PI * 2F / 5F); this.bipedRightLeg.rotateAngleY = ((float)Math.PI / 10F); this.bipedLeftLeg.rotateAngleY = -((float)Math.PI / 10F); } if (this.heldItemLeft != 0) { this.bipedLeftArm.rotateAngleX = this.bipedLeftArm.rotateAngleX * 0.5F - ((float)Math.PI / 10F) * (float)this.heldItemLeft; } if (this.heldItemRight != 0) { this.bipedRightArm.rotateAngleX = this.bipedRightArm.rotateAngleX * 0.5F - ((float)Math.PI / 10F) * (float)this.heldItemRight; } this.bipedRightArm.rotateAngleY = 0.0F; this.bipedLeftArm.rotateAngleY = 0.0F; float f6; float f7; if (this.onGround > -9990.0F) { f6 = this.onGround; this.bipedBody.rotateAngleY = MathHelper.sin(MathHelper.sqrt_float(f6) * (float)Math.PI * 2.0F) * 0.2F; this.bipedRightArm.rotationPointZ = MathHelper.sin(this.bipedBody.rotateAngleY) * 5.0F; this.bipedRightArm.rotationPointX = -MathHelper.cos(this.bipedBody.rotateAngleY) * 5.0F; this.bipedLeftArm.rotationPointZ = -MathHelper.sin(this.bipedBody.rotateAngleY) * 5.0F; this.bipedLeftArm.rotationPointX = MathHelper.cos(this.bipedBody.rotateAngleY) * 5.0F; this.bipedRightArm.rotateAngleY += this.bipedBody.rotateAngleY; this.bipedLeftArm.rotateAngleY += this.bipedBody.rotateAngleY; this.bipedLeftArm.rotateAngleX += this.bipedBody.rotateAngleY; f6 = 1.0F - this.onGround; f6 *= f6; f6 *= f6; f6 = 1.0F - f6; f7 = MathHelper.sin(f6 * (float)Math.PI); float f8 = MathHelper.sin(this.onGround * (float)Math.PI) * -(this.bipedHead.rotateAngleX - 0.7F) * 0.75F; this.bipedRightArm.rotateAngleX = (float)((double)this.bipedRightArm.rotateAngleX - ((double)f7 * 1.2D + (double)f8)); this.bipedRightArm.rotateAngleY += this.bipedBody.rotateAngleY * 2.0F; this.bipedRightArm.rotateAngleZ = MathHelper.sin(this.onGround * (float)Math.PI) * -0.4F; } if (this.isSneak) { this.bipedBody.rotateAngleX = 0.5F; this.bipedRightArm.rotateAngleX += 0.4F; this.bipedLeftArm.rotateAngleX += 0.4F; this.bipedRightLeg.rotationPointZ = 4.0F; this.bipedLeftLeg.rotationPointZ = 4.0F; this.bipedRightLeg.rotationPointY = 9.0F; this.bipedLeftLeg.rotationPointY = 9.0F; this.bipedHead.rotationPointY = 1.0F; this.bipedHeadwear.rotationPointY = 1.0F; } else { this.bipedBody.rotateAngleX = 0.0F; this.bipedRightLeg.rotationPointZ = 0.1F; this.bipedLeftLeg.rotationPointZ = 0.1F; this.bipedRightLeg.rotationPointY = 12.0F; this.bipedLeftLeg.rotationPointY = 12.0F; this.bipedHead.rotationPointY = 0.0F; this.bipedHeadwear.rotationPointY = 0.0F; } this.bipedRightArm.rotateAngleZ += MathHelper.cos(p_78087_3_ * 0.09F) * 0.05F + 0.05F; this.bipedLeftArm.rotateAngleZ -= MathHelper.cos(p_78087_3_ * 0.09F) * 0.05F + 0.05F; this.bipedRightArm.rotateAngleX += MathHelper.sin(p_78087_3_ * 0.067F) * 0.05F; this.bipedLeftArm.rotateAngleX -= MathHelper.sin(p_78087_3_ * 0.067F) * 0.05F; if (this.aimedBow) { f6 = 0.0F; f7 = 0.0F; this.bipedRightArm.rotateAngleZ = 0.0F; this.bipedLeftArm.rotateAngleZ = 0.0F; this.bipedRightArm.rotateAngleY = -(0.1F - f6 * 0.6F) + this.bipedHead.rotateAngleY; this.bipedLeftArm.rotateAngleY = 0.1F - f6 * 0.6F + this.bipedHead.rotateAngleY + 0.4F; this.bipedRightArm.rotateAngleX = -((float)Math.PI / 2F) + this.bipedHead.rotateAngleX; this.bipedLeftArm.rotateAngleX = -((float)Math.PI / 2F) + this.bipedHead.rotateAngleX; this.bipedRightArm.rotateAngleX -= f6 * 1.2F - f7 * 0.4F; this.bipedLeftArm.rotateAngleX -= f6 * 1.2F - f7 * 0.4F; this.bipedRightArm.rotateAngleZ += MathHelper.cos(p_78087_3_ * 0.09F) * 0.05F + 0.05F; this.bipedLeftArm.rotateAngleZ -= MathHelper.cos(p_78087_3_ * 0.09F) * 0.05F + 0.05F; this.bipedRightArm.rotateAngleX += MathHelper.sin(p_78087_3_ * 0.067F) * 0.05F; this.bipedLeftArm.rotateAngleX -= MathHelper.sin(p_78087_3_ * 0.067F) * 0.05F; } }[/Code]
  6. There is probably an easy "fix" for that, but I was messing around with it and didn't found a way to do that. The model should look like this http://www.pic-upload.de/view-28530398/2015-10-09_16.20.24.png.html If I do all the coding in the normal way I end up with this: http://www.pic-upload.de/view-28530404/2015-10-09_16.21.55.png.html Code: This is not Semitransparent, so I figured out that by using this Code(code below) I get to be semitransparent(I know the arms etc. are offset): http://www.pic-upload.de/view-28530410/2015-10-09_16.22.49.png.html Code: Problem is that the Armor parts don't use the parend/child function. That results in (as you can see) not moving with the player. Any Ideas?
  7. OK, I solved the problem it seems that using the destruct boolean confuses minecraft if you have more then one player. here Fixed event: and here the destroy Method: to sum up I moved everything to the event class (if you have trouble with that: "event.player.worldObj" acts as the World.class)
  8. So, I have a Custom Rendered armor that if worn Creates a 8x8x8 sphere made of air (andkills all entitys in an 8x8x8 area) around the player every tick the full armor is worn. It works fine if i am in singleplayer but if I'm at a server, as soon as a player is near me the sphere effect only works once and then stops (like it stopped ticking). My Armor Class: Here my event: and here the method I used for the sphere: hope you can help me.
  9. Oh! My! God! I solved the problem. I don't even need to explain what I did: Here a part of my old main.java: and a part of the main.java as it is now: Thanks for the help... There are no words that would describe how silly I feel at the moment... *faceplam*
  10. I tested a bit futher and it seems that the debug-mode in eclipse always and the exported .jar file sometimes completely bypassing the public void renderItem(ItemRenderType type, ItemStack item, Object... data) method. And again, if someone as some ideas on whats going on with that: reply please!
  11. I just found out that: starting Minecraft via Debug mode in eclipse, seems to always trigger the not working effect at all Itemrenderers I have. (in my Inventory and hand. The placed Block in the world still works fine)This problem is still unsolved! Please help if you can.
  12. So I just made a whole series of tests results(I also added in an new item and let it use the same ItemRendering as the Block): With Internetconnection: 7/30 not working (23.3%)
  13. Oh, that was me being tired, and stupid . Well pretty much like that but took a few restarts (I think it was 2 or 3 restarts)
  14. Done. I now have working and not working logs and as far as I can tell: if its not working it just ignores my "ItemRenderFullyBrockenBedrock.class" Interesting part from the working log: [21:03:11] [Netty Client IO #0/DEBUG] [FML/]: Server FML protocol version 2, 4 byte dimension received 0 [21:03:11] [Netty Client IO #0/TRACE] [FML/]: $ServerHello->FMLHandshakeClientState$2:HELLO [21:03:11] [Netty Client IO #0/INFO] [FML/]: Server protocol version 2 [21:03:11] [Netty Client IO #0/DEBUG] [FML/]: Received override dimension 0 [21:03:11] [Netty IO #1/TRACE] [FML/]: $ClientHello->FMLHandshakeServerState$2:HELLO [21:03:11] [Netty IO #1/INFO] [FML/]: Client protocol version 2 [21:03:11] [Netty IO #1/TRACE] [FML/]: $ModList:4 mods->FMLHandshakeServerState$2:HELLO [21:03:11] [Netty IO #1/INFO] [FML/]: Client attempting to join with 4 mods : FML@7.10.99.99,Forge@10.13.4.1448,mcp@9.05,stuffformc@0.2.0.0 [21:03:11] [Netty IO #1/INFO] [FML/]: Attempting connection with missing mods [] at CLIENT [21:03:11] [Netty Client IO #0/TRACE] [FML/]: $ModList:4 mods->FMLHandshakeClientState$3:WAITINGSERVERDATA [21:03:11] [Netty Client IO #0/INFO] [FML/]: Attempting connection with missing mods [] at SERVER [21:03:11] [Netty IO #1/TRACE] [FML/]: $HandshakeAck:{2}->FMLHandshakeServerState$3:WAITINGCACK [21:03:11] [Netty Client IO #0/TRACE] [FML/]: $HandshakeAck:{2}->FMLHandshakeClientState$5:PENDINGCOMPLETE [21:03:11] [Netty IO #1/TRACE] [FML/]: $HandshakeAck:{4}->FMLHandshakeServerState$4:COMPLETE [21:03:11] [Netty Client IO #0/TRACE] [FML/]: $HandshakeAck:{3}->FMLHandshakeClientState$6:COMPLETE [21:03:11] [Netty IO #1/TRACE] [FML/]: $HandshakeAck:{5}->FMLHandshakeServerState$5:DONE [21:03:11] [server thread/INFO] [FML/]: [server thread] Server side modded connection established [21:03:11] [Client thread/DEBUG] [FML/]: The fluid minecraft:lava has been selected as the default fluid for lava [21:03:11] [Client thread/DEBUG] [FML/]: The fluid minecraft:water has been selected as the default fluid for water [21:03:11] [Client thread/INFO] [FML/]: [Client thread] Client side modded connection established [21:03:11] [Client thread/DEBUG] [FML/]: Overriding dimension: using 0 [21:03:22] [server thread/DEBUG] [FML/]: Gathering id map for writing to world save Neue Welt [21:03:23] [server thread/TRACE] [mcp/mcp]: Sending event FMLServerStoppingEvent to mod mcp [21:03:23] [server thread/TRACE] [mcp/mcp]: Sent event FMLServerStoppingEvent to mod mcp [21:03:23] [server thread/TRACE] [FML/FML]: Sending event FMLServerStoppingEvent to mod FML [21:03:23] [server thread/TRACE] [FML/FML]: Sent event FMLServerStoppingEvent to mod FML [21:03:23] [server thread/TRACE] [Forge/Forge]: Sending event FMLServerStoppingEvent to mod Forge [21:03:23] [server thread/TRACE] [Forge/Forge]: Sent event FMLServerStoppingEvent to mod Forge [21:03:23] [server thread/TRACE] [stuffformc/stuffformc]: Sending event FMLServerStoppingEvent to mod stuffformc [21:03:23] [server thread/TRACE] [stuffformc/stuffformc]: Sent event FMLServerStoppingEvent to mod stuffformc [21:03:23] [server thread/DEBUG] [FML/]: Gathering id map for writing to world save Neue Welt [21:03:23] [server thread/INFO] [FML/]: Unloading dimension 0 [21:03:23] [server thread/INFO] [FML/]: Unloading dimension -1 [21:03:23] [server thread/INFO] [FML/]: Unloading dimension 1 [21:03:23] [server thread/DEBUG] [FML/]: Reverting to frozen data state. [21:03:23] [server thread/INFO] [FML/]: Applying holder lookups [21:03:23] [server thread/INFO] [FML/]: Holder lookups applied [21:03:23] [server thread/TRACE] [mcp/mcp]: Sending event FMLServerStoppedEvent to mod mcp [21:03:23] [server thread/TRACE] [mcp/mcp]: Sent event FMLServerStoppedEvent to mod mcp [21:03:23] [server thread/TRACE] [FML/FML]: Sending event FMLServerStoppedEvent to mod FML [21:03:23] [server thread/TRACE] [FML/FML]: Sent event FMLServerStoppedEvent to mod FML [21:03:23] [server thread/TRACE] [Forge/Forge]: Sending event FMLServerStoppedEvent to mod Forge [21:03:23] [server thread/TRACE] [Forge/Forge]: Sent event FMLServerStoppedEvent to mod Forge [21:03:23] [server thread/TRACE] [stuffformc/stuffformc]: Sending event FMLServerStoppedEvent to mod stuffformc [21:03:23] [server thread/TRACE] [stuffformc/stuffformc]: Sent event FMLServerStoppedEvent to mod stuffformc [21:03:23] [Client thread/INFO] [sTDOUT/]: [paulscode.sound.SoundSystemLogger:message:69]: [21:03:23] [Client thread/INFO] [sTDOUT/]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down... [21:03:24] [Client thread/INFO] [sTDOUT/]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com [21:03:24] [Client thread/INFO] [sTDOUT/]: [paulscode.sound.SoundSystemLogger:message:69]: Interesting part from the not working log: [21:00:08] [Netty Client IO #0/DEBUG] [FML/]: Server FML protocol version 2, 4 byte dimension received 0 [21:00:08] [Netty Client IO #0/TRACE] [FML/]: $ServerHello->FMLHandshakeClientState$2:HELLO [21:00:08] [Netty Client IO #0/INFO] [FML/]: Server protocol version 2 [21:00:08] [Netty Client IO #0/DEBUG] [FML/]: Received override dimension 0 [21:00:08] [Netty IO #1/TRACE] [FML/]: $ClientHello->FMLHandshakeServerState$2:HELLO [21:00:08] [Netty IO #1/INFO] [FML/]: Client protocol version 2 [21:00:08] [Netty IO #1/TRACE] [FML/]: $ModList:4 mods->FMLHandshakeServerState$2:HELLO [21:00:08] [Netty IO #1/INFO] [FML/]: Client attempting to join with 4 mods : FML@7.10.99.99,Forge@10.13.4.1448,mcp@9.05,stuffformc@0.2.0.0 [21:00:08] [Netty IO #1/INFO] [FML/]: Attempting connection with missing mods [] at CLIENT [21:00:08] [Netty Client IO #0/TRACE] [FML/]: $ModList:4 mods->FMLHandshakeClientState$3:WAITINGSERVERDATA [21:00:08] [Netty Client IO #0/INFO] [FML/]: Attempting connection with missing mods [] at SERVER [21:00:08] [Netty IO #1/TRACE] [FML/]: $HandshakeAck:{2}->FMLHandshakeServerState$3:WAITINGCACK [21:00:08] [Netty Client IO #0/TRACE] [FML/]: $HandshakeAck:{2}->FMLHandshakeClientState$5:PENDINGCOMPLETE [21:00:08] [Netty IO #1/TRACE] [FML/]: $HandshakeAck:{4}->FMLHandshakeServerState$4:COMPLETE [21:00:08] [Netty Client IO #0/TRACE] [FML/]: $HandshakeAck:{3}->FMLHandshakeClientState$6:COMPLETE [21:00:08] [Netty IO #1/TRACE] [FML/]: $HandshakeAck:{5}->FMLHandshakeServerState$5:DONE [21:00:08] [server thread/INFO] [FML/]: [server thread] Server side modded connection established [21:00:08] [Client thread/DEBUG] [FML/]: The fluid minecraft:lava has been selected as the default fluid for lava [21:00:08] [Client thread/DEBUG] [FML/]: The fluid minecraft:water has been selected as the default fluid for water [21:00:08] [Client thread/INFO] [FML/]: [Client thread] Client side modded connection established [21:00:08] [Client thread/DEBUG] [FML/]: Overriding dimension: using 0 {This continues for a while [21:00:08] [Client thread/INFO] [sTDOUT/]: [renderer.PortableVoid.ItemRenderFullyBrockenBedrock:renderItem:30]: TEST BEGINNING!: [21:00:08] [Client thread/INFO] [sTDOUT/]: [renderer.PortableVoid.ItemRenderFullyBrockenBedrock:renderItem:31]: renderer.PortableVoid.RenderFullyBrockenBedrock@71ef3f0c [21:00:08] [Client thread/INFO] [sTDOUT/]: [renderer.PortableVoid.ItemRenderFullyBrockenBedrock:renderItem:32]: tileEntitys.PortableVoid.TileEntityFullyBrockenBedrock@471021f8 This continues for a while} -Pythonschlange [21:00:13] [Client thread/INFO] [sTDOUT/]: [renderer.PortableVoid.ItemRenderFullyBrockenBedrock:renderItem:30]: TEST BEGINNING!: [21:00:13] [Client thread/INFO] [sTDOUT/]: [renderer.PortableVoid.ItemRenderFullyBrockenBedrock:renderItem:31]: renderer.PortableVoid.RenderFullyBrockenBedrock@71ef3f0c [21:00:13] [Client thread/INFO] [sTDOUT/]: [renderer.PortableVoid.ItemRenderFullyBrockenBedrock:renderItem:32]: tileEntitys.PortableVoid.TileEntityFullyBrockenBedrock@3bbd9232 [21:00:13] [server thread/TRACE] [mcp/mcp]: Sending event FMLServerStoppingEvent to mod mcp [21:00:13] [server thread/TRACE] [mcp/mcp]: Sent event FMLServerStoppingEvent to mod mcp [21:00:13] [server thread/TRACE] [FML/FML]: Sending event FMLServerStoppingEvent to mod FML [21:00:13] [server thread/TRACE] [FML/FML]: Sent event FMLServerStoppingEvent to mod FML [21:00:13] [server thread/TRACE] [Forge/Forge]: Sending event FMLServerStoppingEvent to mod Forge [21:00:13] [server thread/TRACE] [Forge/Forge]: Sent event FMLServerStoppingEvent to mod Forge [21:00:13] [server thread/TRACE] [stuffformc/stuffformc]: Sending event FMLServerStoppingEvent to mod stuffformc [21:00:13] [server thread/TRACE] [stuffformc/stuffformc]: Sent event FMLServerStoppingEvent to mod stuffformc [21:00:13] [server thread/DEBUG] [FML/]: Gathering id map for writing to world save Neue Welt [21:00:13] [server thread/INFO] [FML/]: Unloading dimension 0 [21:00:13] [server thread/INFO] [FML/]: Unloading dimension -1 [21:00:13] [server thread/INFO] [FML/]: Unloading dimension 1 [21:00:13] [server thread/DEBUG] [FML/]: Reverting to frozen data state. [21:00:13] [server thread/INFO] [FML/]: Applying holder lookups [21:00:13] [server thread/INFO] [FML/]: Holder lookups applied [21:00:13] [server thread/TRACE] [mcp/mcp]: Sending event FMLServerStoppedEvent to mod mcp [21:00:13] [server thread/TRACE] [mcp/mcp]: Sent event FMLServerStoppedEvent to mod mcp [21:00:13] [server thread/TRACE] [FML/FML]: Sending event FMLServerStoppedEvent to mod FML [21:00:13] [server thread/TRACE] [FML/FML]: Sent event FMLServerStoppedEvent to mod FML [21:00:13] [server thread/TRACE] [Forge/Forge]: Sending event FMLServerStoppedEvent to mod Forge [21:00:13] [server thread/TRACE] [Forge/Forge]: Sent event FMLServerStoppedEvent to mod Forge [21:00:13] [server thread/TRACE] [stuffformc/stuffformc]: Sending event FMLServerStoppedEvent to mod stuffformc [21:00:13] [server thread/TRACE] [stuffformc/stuffformc]: Sent event FMLServerStoppedEvent to mod stuffformc [21:00:13] [Client thread/INFO] [sTDOUT/]: [paulscode.sound.SoundSystemLogger:message:69]: [21:00:13] [Client thread/INFO] [sTDOUT/]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down... [21:00:14] [Client thread/INFO] [sTDOUT/]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com [21:00:14] [Client thread/INFO] [sTDOUT/]: [paulscode.sound.SoundSystemLogger:message:69]: found one line that does only show up in the not working log: "[21:03:22] [server thread/DEBUG] [FML/]: Gathering id map for writing to world save Neue Welt" not sure what it means through
  15. well it changed "the randomly switching between working and not working" to "just not working..." what makes sense because I commented the line out that makes the block render in my inventory and hand...
  16. I read through the entire logs of forge (the working and not working) and compered them...no difference. If someone had this problem before, please respond to this post!
  17. well I did a few more testing and found out that the method: RegisterBlockIcon() isnt causing this because I cut it out of code used the setBlockTexture() compiled the mod and it still caused the problems. This means that neither of them(RegisterBlockIcon() or setBlockTexture()) is responsible for that...and that slowly makes me believe that this could be a forge/Minecraft bug. (again sry for possibly bad language) EDIT: using both of them didnt work, too (just tested it) and using none of the causes the ugly missing-pink-and-black-texture particles to show up upon breaking the block. EDIT: after switching to the newest version of forge (currently: forge10.13.4.1448) the bug still accured...here are some more screenshots: (forge10.13.4.1448) working: http://www.pic-upload.de/view-27912584/2015-08-05_16.59.21.png.html (forge10.13.4.1448) not working (2-3 restarts later): http://www.pic-upload.de/view-27912579/2015-08-05_16.57.27.png.html !THIS IS SILL UNSOLVED! (anyone please help)
  18. @delpi 1. commenting it out caused the paritcles that should display by breaking the block to be repleaced by lava particles, I guess It is some kind of default for the RegisterBlockIcon Method but I have no Idea at all (the particles even have the lava animation) 2. well setting the second to false caused the Item to stop render (same as here: http://www.pic-upload.de/view-27911481/2015-08-04_17.17.47.png.html) and setting the first to false caused the in-my-hand rendered block to turn upsidedown and go crazy offset @ytt I dont know if thats an 1.8 thing but I dont have a Block.json file anywere (or I didnt found one yet) (sry for possibly bad language here)
  19. it remains busted. another thing I want to point out, is that it seems minecarft just "randomly" decides if it wants to use my model for the block or not. (in case for misunderstanding the Block renders, in every test I have done so far, correctly in the world the only failures are when dropped, in inventory or hold in hand...) Edit here are two screenshots: Working: http://www.pic-upload.de/view-27911492/2015-08-04_17.18.35.png.html Not working(this was one restart away from the link above): http://www.pic-upload.de/view-27911481/2015-08-04_17.17.47.png.html Edit#2: overred the rest of your commant give me a sec.
  20. well I have a block that has a custom model. in the test environment the block renders correctly in my hand, inventory and world. If I export the mod to a .jar file (using gradlew build) and then put it into the \mod folder in my non-eclipse local minecraft it sometimes renders the block as it should(the correct model in my hand, inventory and world(placed)) but sometimes as an item (NOT the correct model in my hand and inventory but the correct one in the world(placed)). If it does that it uses the particle Icon "fullybrockenbedrockbreakingpartickles" (16x16p) for it and renders it like the block was an Item. (need screenshots?) Code for the Icon "fullybrockenbedrockbreakingpartickles": @SideOnly(Side.CLIENT) public void registerBlockIcons(IIconRegister iconRegister){ this.blockIcon = iconRegister.registerIcon("stuffformc" + ":" + "fullybrockenbedrockbreakingpartickles"); }
  21. well that seems to mess up the place the block is standing (it circles around the spot it lays on when dropped and is upside down + offset when placed) Im still open to other ideas.
  22. Well Just tried it and it worked...once. After I restarted minecraft (not the test-environment) the block renderd as "fullybrockenbedrockbreakingpartickles" and not as Block... any other ideas?
  23. From the beginning: I have a customrendered block. It renders in the world as it should, it renders in my inventory as it should and if I hold it in my hand it still renders as it should. But if I export my mod to an .jar file and put it into my Local Minecarft (not the test-environment) the Block stops rendering in my hand and inventory. If I place it into the world, the Block gets rendered normally. One thing I noticed is that if I start eclipse, the test-environment inside eclipse and then Minecarft (with both eclipse and the test-environment running) the block will sometimes render correctly in my inventory, hand. I hope you guys can help me. EDIT: It sometimes works without eclipse (Problem still unsolved) EDIT#2: the solution to this problem is in my last post (down below) Block.class: package blocks.PortableVoid; import org.Python.StuffForMC.StuffForMC; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import tileEntitys.PortableVoid.TileEntityFullyBrockenBedrock; import javafx.scene.control.Tab; import net.minecraft.block.Block; import net.minecraft.block.BlockContainer; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.tileentity.TileEntity; import net.minecraft.world.World; public class Block_Fully_Brocken_Bedrock extends BlockContainer { public Block_Fully_Brocken_Bedrock(Material material) { super(material); this.setCreativeTab(StuffForMC.tabStuffForMC); this.setLightLevel(1.0F); this.setHardness(5.0F); this.setStepSound(Block.soundTypeStone); this.setBlockName("Block_Fully_Brocken_Bedrock"); } public int getRenderType(){ return -1; } public boolean isOpaqueCube() { return false; } public boolean renderAsNormalBlock() { return false; } @Override public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { return new TileEntityFullyBrockenBedrock(); } @SideOnly(Side.CLIENT) public void registerBlockIcons(IIconRegister iconRegister){ this.blockIcon = iconRegister.registerIcon("StuffForMC" + ":" + "fullybrockenbedrockbreakingpartickles"); } } Model.class: package models.PortableVoid; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelRenderer; import net.minecraft.entity.Entity; public class FullyBrockenBedrock extends ModelBase { //fields ModelRenderer Shape1; ModelRenderer Shape2; ModelRenderer Shape3; ModelRenderer Shape4; ModelRenderer Shape5; ModelRenderer Shape6; ModelRenderer Shape7; ModelRenderer Shape8; ModelRenderer Shape9; ModelRenderer Shape10; ModelRenderer Shape11; ModelRenderer Shape12; ModelRenderer Shape13; ModelRenderer Shape14; ModelRenderer Shape15; ModelRenderer Shape16; ModelRenderer Shape17; ModelRenderer Shape18; ModelRenderer Shape19; ModelRenderer Shape20; ModelRenderer Shape21; ModelRenderer Shape22; ModelRenderer Shape23; ModelRenderer Shape24; ModelRenderer Shape25; ModelRenderer Shape26; ModelRenderer Shape27; ModelRenderer Shape28; ModelRenderer Shape29; ModelRenderer Shape30; ModelRenderer Shape31; ModelRenderer Shape32; ModelRenderer Shape33; ModelRenderer Shape34; ModelRenderer Shape35; ModelRenderer Shape36; ModelRenderer Shape37; ModelRenderer Shape38; ModelRenderer Shape39; ModelRenderer Shape40; ModelRenderer Shape41; ModelRenderer Shape42; ModelRenderer Shape43; ModelRenderer Shape44; ModelRenderer Shape45; ModelRenderer Shape46; ModelRenderer Shape47; ModelRenderer Shape48; ModelRenderer Shape49; ModelRenderer Shape50; ModelRenderer Shape51; ModelRenderer Shape52; ModelRenderer Shape53; ModelRenderer Shape54; ModelRenderer Shape55; ModelRenderer Shape56; ModelRenderer Shape57; ModelRenderer Shape58; ModelRenderer Shape59; ModelRenderer Shape60; ModelRenderer Shape61; ModelRenderer Shape62; ModelRenderer Shape63; ModelRenderer Shape64; ModelRenderer Shape65; ModelRenderer Shape66; ModelRenderer Shape67; ModelRenderer Shape68; ModelRenderer Shape69; ModelRenderer Shape70; ModelRenderer Shape71; ModelRenderer Shape72; ModelRenderer Shape73; ModelRenderer Shape74; ModelRenderer Shape75; ModelRenderer Shape76; ModelRenderer Shape77; ModelRenderer Shape78; ModelRenderer Shape79; ModelRenderer Shape80; ModelRenderer Shape81; ModelRenderer Shape82; ModelRenderer Shape83; ModelRenderer Shape84; ModelRenderer Shape85; ModelRenderer Shape86; ModelRenderer Shape87; ModelRenderer Shape88; ModelRenderer Shape89; ModelRenderer Shape90; ModelRenderer Shape91; ModelRenderer Shape92; ModelRenderer Shape93; ModelRenderer Shape94; ModelRenderer Shape95; ModelRenderer Shape96; ModelRenderer Shape97; ModelRenderer Shape98; ModelRenderer Shape99; ModelRenderer Shape100; ModelRenderer Shape101; ModelRenderer Shape102; ModelRenderer Shape103; ModelRenderer Shape104; ModelRenderer Shape105; ModelRenderer Shape106; ModelRenderer Shape107; ModelRenderer Shape108; ModelRenderer Shape109; ModelRenderer Shape110; ModelRenderer Shape111; ModelRenderer Shape112; ModelRenderer Shape113; ModelRenderer Shape114; ModelRenderer Shape115; ModelRenderer Shape116; ModelRenderer Shape117; ModelRenderer Shape118; ModelRenderer Shape119; ModelRenderer Shape120; ModelRenderer Shape121; ModelRenderer Shape122; ModelRenderer Shape123; ModelRenderer Shape124; ModelRenderer Shape125; ModelRenderer Shape126; ModelRenderer Shape127; ModelRenderer Shape128; ModelRenderer Shape129; ModelRenderer Shape130; ModelRenderer Shape131; ModelRenderer Shape132; ModelRenderer Shape133; ModelRenderer Shape134; ModelRenderer Shape135; ModelRenderer Shape136; ModelRenderer Shape137; ModelRenderer Shape138; ModelRenderer Shape139; ModelRenderer Shape140; ModelRenderer Shape141; ModelRenderer Shape142; ModelRenderer Shape143; ModelRenderer Shape144; ModelRenderer Shape145; ModelRenderer Shape146; ModelRenderer Shape147; ModelRenderer Shape148; ModelRenderer Shape149; ModelRenderer Shape150; ModelRenderer Shape151; ModelRenderer Shape152; ModelRenderer Shape153; ModelRenderer Shape154; public FullyBrockenBedrock() { textureWidth = 256; textureHeight = 64; Shape1 = new ModelRenderer(this, 0, 0); Shape1.addBox(0F, 0F, 0F, 12, 12, 12); Shape1.setRotationPoint(-6F, 10F, -6F); Shape1.setTextureSize(256, 64); Shape1.mirror = true; setRotation(Shape1, 0F, 0F, 0F); Shape2 = new ModelRenderer(this, 48, 0); Shape2.addBox(0F, 0F, 0F, 1, 1, 1); Shape2.setRotationPoint(-3F, 9F, -2F); Shape2.setTextureSize(256, 64); Shape2.mirror = true; setRotation(Shape2, 0F, 0F, 0F); Shape3 = new ModelRenderer(this, 52, 0); Shape3.addBox(0F, 0F, 0F, 1, 5, 1); Shape3.setRotationPoint(-7F, 9F, -1F); Shape3.setTextureSize(256, 64); Shape3.mirror = true; setRotation(Shape3, 0F, 0F, 0F); Shape4 = new ModelRenderer(this, 48, 6); Shape4.addBox(0F, 0F, 0F, 5, 1, 1); Shape4.setRotationPoint(0F, 9F, -4F); Shape4.setTextureSize(256, 64); Shape4.mirror = true; setRotation(Shape4, 0F, 0F, 0F); Shape5 = new ModelRenderer(this, 56, 0); Shape5.addBox(0F, 0F, 0F, 3, 1, 1); Shape5.setRotationPoint(-7F, 9F, 0F); Shape5.setTextureSize(256, 64); Shape5.mirror = true; setRotation(Shape5, 0F, 0F, 0F); Shape6 = new ModelRenderer(this, 0, 24); Shape6.addBox(0F, 0F, 0F, 1, 1, 4); Shape6.setRotationPoint(-2F, 9F, 1F); Shape6.setTextureSize(256, 64); Shape6.mirror = true; setRotation(Shape6, 0F, 0F, 0F); Shape7 = new ModelRenderer(this, 0, 29); Shape7.addBox(0F, 0F, 0F, 1, 1, 2); Shape7.setRotationPoint(2F, 9F, -1F); Shape7.setTextureSize(256, 64); Shape7.mirror = true; setRotation(Shape7, 0F, 0F, 0F); Shape8 = new ModelRenderer(this, 6, 29); Shape8.addBox(0F, 0F, 0F, 1, 1, 1); Shape8.setRotationPoint(1F, 9F, -2F); Shape8.setTextureSize(256, 64); Shape8.mirror = true; setRotation(Shape8, 0F, 0F, 0F); Shape9 = new ModelRenderer(this, 10, 24); Shape9.addBox(0F, 0F, 0F, 1, 1, 2); Shape9.setRotationPoint(0F, 9F, 0F); Shape9.setTextureSize(256, 64); Shape9.mirror = true; setRotation(Shape9, 0F, 0F, 0F); Shape10 = new ModelRenderer(this, 48, 2); Shape10.addBox(0F, 0F, 0F, 1, 1, 1); Shape10.setRotationPoint(-1F, 9F, 1F); Shape10.setTextureSize(256, 64); Shape10.mirror = true; setRotation(Shape10, 0F, 0F, 0F); Shape11 = new ModelRenderer(this, 90, 19); Shape11.addBox(0F, 0F, 0F, 2, 1, 2); Shape11.setRotationPoint(2F, 9F, 3F); Shape11.setTextureSize(256, 64); Shape11.mirror = true; setRotation(Shape11, 0F, 0F, 0F); Shape12 = new ModelRenderer(this, 57, 2); Shape12.addBox(0F, 0F, 0F, 2, 1, 1); Shape12.setRotationPoint(0F, 9F, 4F); Shape12.setTextureSize(256, 64); Shape12.mirror = true; setRotation(Shape12, 0F, 0F, 0F); Shape13 = new ModelRenderer(this, 16, 24); Shape13.addBox(0F, 0F, 0F, 1, 1, 3); Shape13.setRotationPoint(-5F, 9F, -7F); Shape13.setTextureSize(256, 64); Shape13.mirror = true; setRotation(Shape13, 0F, 0F, 0F); Shape14 = new ModelRenderer(this, 90, 0); Shape14.addBox(0F, 0F, 0F, 1, 1, 1); Shape14.setRotationPoint(6F, 21F, -0.9777778F); Shape14.setTextureSize(256, 64); Shape14.mirror = true; setRotation(Shape14, 0F, 0F, 0F); Shape15 = new ModelRenderer(this, 42, 24); Shape15.addBox(0F, 0F, 0F, 3, 1, 1); Shape15.setRotationPoint(-5F, 10F, -7F); Shape15.setTextureSize(256, 64); Shape15.mirror = true; setRotation(Shape15, 0F, 0F, 0F); Shape16 = new ModelRenderer(this, 49, ; Shape16.addBox(0F, 0F, 0F, 1, 2, 1); Shape16.setRotationPoint(4F, 15F, -7F); Shape16.setTextureSize(256, 64); Shape16.mirror = true; setRotation(Shape16, 0F, 0F, 0F); Shape17 = new ModelRenderer(this, 56, 4); Shape17.addBox(0F, 0F, 0F, 1, 1, 1); Shape17.setRotationPoint(-3F, 11F, -7F); Shape17.setTextureSize(256, 64); Shape17.mirror = true; setRotation(Shape17, 0F, 0F, 0F); Shape18 = new ModelRenderer(this, 52, 14); Shape18.addBox(0F, 0F, 0F, 1, 1, 1); Shape18.setRotationPoint(1F, 9F, -5F); Shape18.setTextureSize(256, 64); Shape18.mirror = true; setRotation(Shape18, 0F, 0F, 0F); Shape19 = new ModelRenderer(this, 48, 12); Shape19.addBox(0F, 0F, 0F, 3, 1, 1); Shape19.setRotationPoint(-7F, 16F, -7F); Shape19.setTextureSize(256, 64); Shape19.mirror = true; setRotation(Shape19, 0F, 0F, 0F); Shape20 = new ModelRenderer(this, 56, 12); Shape20.addBox(0F, 0F, 0F, 1, 1, 3); Shape20.setRotationPoint(-7F, 15F, -7F); Shape20.setTextureSize(256, 64); Shape20.mirror = true; setRotation(Shape20, 0F, 0F, 0F); Shape21 = new ModelRenderer(this, 48, 14); Shape21.addBox(0F, 0F, 0F, 1, 2, 1); Shape21.setRotationPoint(-7F, 14F, -4F); Shape21.setTextureSize(256, 64); Shape21.mirror = true; setRotation(Shape21, 0F, 0F, 0F); Shape22 = new ModelRenderer(this, 24, 24); Shape22.addBox(0F, 0F, 0F, 1, 1, 3); Shape22.setRotationPoint(-7F, 18F, 0F); Shape22.setTextureSize(256, 64); Shape22.mirror = true; setRotation(Shape22, 0F, 0F, 0F); Shape23 = new ModelRenderer(this, 60, 4); Shape23.addBox(0F, 0F, 0F, 1, 3, 1); Shape23.setRotationPoint(-7F, 15F, 1F); Shape23.setTextureSize(256, 64); Shape23.mirror = true; setRotation(Shape23, 0F, 0F, 0F); Shape24 = new ModelRenderer(this, 10, 28); Shape24.addBox(0F, 0F, 0F, 1, 1, 3); Shape24.setRotationPoint(-7F, 16F, 2F); Shape24.setTextureSize(256, 64); Shape24.mirror = true; setRotation(Shape24, 0F, 0F, 0F); Shape25 = new ModelRenderer(this, 18, 28); Shape25.addBox(0F, 0F, 0F, 1, 3, 1); Shape25.setRotationPoint(-7F, 11F, 3F); Shape25.setTextureSize(256, 64); Shape25.mirror = true; setRotation(Shape25, 0F, 0F, 0F); Shape26 = new ModelRenderer(this, 48, 4); Shape26.addBox(0F, 0F, 0F, 1, 1, 1); Shape26.setRotationPoint(-7F, 14F, 0F); Shape26.setTextureSize(256, 64); Shape26.mirror = true; setRotation(Shape26, 0F, 0F, 0F); Shape27 = new ModelRenderer(this, 22, 28); Shape27.addBox(0F, 0F, 0F, 1, 2, 2); Shape27.setRotationPoint(-7F, 18F, -5F); Shape27.setTextureSize(256, 64); Shape27.mirror = true; setRotation(Shape27, 0F, 0F, 0F); Shape28 = new ModelRenderer(this, 32, 26); Shape28.addBox(0F, 0F, 0F, 1, 1, 2); Shape28.setRotationPoint(-7F, 11F, -5F); Shape28.setTextureSize(256, 64); Shape28.mirror = true; setRotation(Shape28, 0F, 0F, 0F); Shape29 = new ModelRenderer(this, 28, 28); Shape29.addBox(0F, 0F, 0F, 1, 3, 1); Shape29.setRotationPoint(2F, 9F, -7F); Shape29.setTextureSize(256, 64); Shape29.mirror = true; setRotation(Shape29, 0F, 0F, 0F); Shape30 = new ModelRenderer(this, 58, 16); Shape30.addBox(0F, 0F, 0F, 2, 1, 1); Shape30.setRotationPoint(1F, 9F, -6F); Shape30.setTextureSize(256, 64); Shape30.mirror = true; setRotation(Shape30, 0F, 0F, 0F); Shape31 = new ModelRenderer(this, 32, 24); Shape31.addBox(0F, 0F, 0F, 4, 1, 1); Shape31.setRotationPoint(1F, 14F, -7F); Shape31.setTextureSize(256, 64); Shape31.mirror = true; setRotation(Shape31, 0F, 0F, 0F); Shape32 = new ModelRenderer(this, 32, 29); Shape32.addBox(0F, 0F, 0F, 2, 1, 1); Shape32.setRotationPoint(-1F, 19F, -7F); Shape32.setTextureSize(256, 64); Shape32.mirror = true; setRotation(Shape32, 0F, 0F, 0F); Shape33 = new ModelRenderer(this, 38, 26); Shape33.addBox(0F, 0F, 0F, 1, 2, 1); Shape33.setRotationPoint(-3F, 13F, -7F); Shape33.setTextureSize(256, 64); Shape33.mirror = true; setRotation(Shape33, 0F, 0F, 0F); Shape34 = new ModelRenderer(this, 42, 26); Shape34.addBox(0F, 0F, 0F, 1, 1, 1); Shape34.setRotationPoint(-1F, 18F, -7F); Shape34.setTextureSize(256, 64); Shape34.mirror = true; setRotation(Shape34, 0F, 0F, 0F); Shape35 = new ModelRenderer(this, 48, 22); Shape35.addBox(0F, 0F, 0F, 3, 1, 1); Shape35.setRotationPoint(-2F, 16F, -7F); Shape35.setTextureSize(256, 64); Shape35.mirror = true; setRotation(Shape35, 0F, 0F, 0F); Shape36 = new ModelRenderer(this, 38, 29); Shape36.addBox(0F, 0F, 0F, 1, 2, 1); Shape36.setRotationPoint(-1F, 14F, -7F); Shape36.setTextureSize(256, 64); Shape36.mirror = true; setRotation(Shape36, 0F, 0F, 0F); Shape37 = new ModelRenderer(this, 42, 30); Shape37.addBox(0F, 0F, 0F, 1, 1, 1); Shape37.setRotationPoint(3F, 13F, -7F); Shape37.setTextureSize(256, 64); Shape37.mirror = true; setRotation(Shape37, 0F, 0F, 0F); Shape38 = new ModelRenderer(this, 42, 28); Shape38.addBox(0F, 0F, 0F, 1, 1, 1); Shape38.setRotationPoint(-2F, 14F, -7F); Shape38.setTextureSize(256, 64); Shape38.mirror = true; setRotation(Shape38, 0F, 0F, 0F); Shape39 = new ModelRenderer(this, 52, 16); Shape39.addBox(0F, 0F, 0F, 2, 2, 1); Shape39.setRotationPoint(-1F, 11F, -7F); Shape39.setTextureSize(256, 64); Shape39.mirror = true; setRotation(Shape39, 0F, 0F, 0F); Shape40 = new ModelRenderer(this, 48, 19); Shape40.addBox(0F, 0F, 0F, 2, 1, 2); Shape40.setRotationPoint(-3F, 9F, -4F); Shape40.setTextureSize(256, 64); Shape40.mirror = true; setRotation(Shape40, 0F, 0F, 0F); Shape41 = new ModelRenderer(this, 56, 19); Shape41.addBox(0F, 0F, 0F, 3, 1, 1); Shape41.setRotationPoint(4F, 19F, -6.977778F); Shape41.setTextureSize(256, 64); Shape41.mirror = true; setRotation(Shape41, 0F, 0F, 0F); Shape42 = new ModelRenderer(this, 46, 26); Shape42.addBox(0F, 0F, 0F, 1, 3, 1); Shape42.setRotationPoint(6F, 16F, -6.977778F); Shape42.setTextureSize(256, 64); Shape42.mirror = true; setRotation(Shape42, 0F, 0F, 0F); Shape43 = new ModelRenderer(this, 48, 17); Shape43.addBox(0F, 0F, 0F, 1, 1, 1); Shape43.setRotationPoint(6F, 16F, -5.977778F); Shape43.setTextureSize(256, 64); Shape43.mirror = true; setRotation(Shape43, 0F, 0F, 0F); Shape44 = new ModelRenderer(this, 50, 24); Shape44.addBox(0F, 0F, 0F, 1, 2, 2); Shape44.setRotationPoint(6F, 15F, -4.977778F); Shape44.setTextureSize(256, 64); Shape44.mirror = true; setRotation(Shape44, 0F, 0F, 0F); Shape45 = new ModelRenderer(this, 46, 30); Shape45.addBox(0F, 0F, 0F, 1, 1, 1); Shape45.setRotationPoint(6F, 12F, -2.977778F); Shape45.setTextureSize(256, 64); Shape45.mirror = true; setRotation(Shape45, 0F, 0F, 0F); Shape46 = new ModelRenderer(this, 56, 21); Shape46.addBox(0F, 0F, 0F, 1, 2, 1); Shape46.setRotationPoint(6F, 12F, -1.977778F); Shape46.setTextureSize(256, 64); Shape46.mirror = true; setRotation(Shape46, 0F, 0F, 0F); Shape47 = new ModelRenderer(this, 60, 21); Shape47.addBox(0F, 0F, 0F, 1, 2, 1); Shape47.setRotationPoint(6F, 15F, 2.022222F); Shape47.setTextureSize(256, 64); Shape47.mirror = true; setRotation(Shape47, 0F, 0F, 0F); Shape48 = new ModelRenderer(this, 60, 24); Shape48.addBox(0F, 0F, 0F, 1, 2, 1); Shape48.setRotationPoint(6F, 14F, 1.022222F); Shape48.setTextureSize(256, 64); Shape48.mirror = true; setRotation(Shape48, 0F, 0F, 0F); Shape49 = new ModelRenderer(this, 56, 24); Shape49.addBox(0F, 0F, 0F, 1, 2, 1); Shape49.setRotationPoint(6F, 9F, 3.022222F); Shape49.setTextureSize(256, 64); Shape49.mirror = true; setRotation(Shape49, 0F, 0F, 0F); Shape50 = new ModelRenderer(this, 56, 27); Shape50.addBox(0F, 0F, 0F, 1, 1, 3); Shape50.setRotationPoint(6F, 9F, 0.02222222F); Shape50.setTextureSize(256, 64); Shape50.mirror = true; setRotation(Shape50, 0F, 0F, 0F); Shape51 = new ModelRenderer(this, 50, 28); Shape51.addBox(0F, 0F, 0F, 2, 1, 1); Shape51.setRotationPoint(4F, 9F, 0.02222222F); Shape51.setTextureSize(256, 64); Shape51.mirror = true; setRotation(Shape51, 0F, 0F, 0F); Shape52 = new ModelRenderer(this, 64, 0); Shape52.addBox(0F, 0F, 0F, 1, 1, 1); Shape52.setRotationPoint(4F, 9F, -0.9777778F); Shape52.setTextureSize(256, 64); Shape52.mirror = true; setRotation(Shape52, 0F, 0F, 0F); Shape53 = new ModelRenderer(this, 68, 0); Shape53.addBox(0F, 0F, 0F, 1, 3, 1); Shape53.setRotationPoint(6F, 10F, 0.02222222F); Shape53.setTextureSize(256, 64); Shape53.mirror = true; setRotation(Shape53, 0F, 0F, 0F); Shape54 = new ModelRenderer(this, 72, 0); Shape54.addBox(0F, 0F, 0F, 1, 1, 2); Shape54.setRotationPoint(6F, 11F, -1.977778F); Shape54.setTextureSize(256, 64); Shape54.mirror = true; setRotation(Shape54, 0F, 0F, 0F); Shape55 = new ModelRenderer(this, 78, 0); Shape55.addBox(0F, 0F, 0F, 1, 1, 3); Shape55.setRotationPoint(6F, 18F, -1.977778F); Shape55.setTextureSize(256, 64); Shape55.mirror = true; setRotation(Shape55, 0F, 0F, 0F); Shape56 = new ModelRenderer(this, 86, 0); Shape56.addBox(0F, 0F, 0F, 1, 2, 1); Shape56.setRotationPoint(6F, 18F, -2.977778F); Shape56.setTextureSize(256, 64); Shape56.mirror = true; setRotation(Shape56, 0F, 0F, 0F); Shape57 = new ModelRenderer(this, 120, 0); Shape57.addBox(0F, 0F, 0F, 1, 2, 1); Shape57.setRotationPoint(0F, 11F, 6.022222F); Shape57.setTextureSize(256, 64); Shape57.mirror = true; setRotation(Shape57, 0F, 0F, 0F); Shape58 = new ModelRenderer(this, 94, 0); Shape58.addBox(0F, 0F, 0F, 1, 1, 1); Shape58.setRotationPoint(6F, 17F, -0.9777778F); Shape58.setTextureSize(256, 64); Shape58.mirror = true; setRotation(Shape58, 0F, 0F, 0F); Shape59 = new ModelRenderer(this, 98, 0); Shape59.addBox(0F, 0F, 0F, 1, 1, 3); Shape59.setRotationPoint(6F, 18F, 4.022222F); Shape59.setTextureSize(256, 64); Shape59.mirror = true; setRotation(Shape59, 0F, 0F, 0F); Shape60 = new ModelRenderer(this, 106, 0); Shape60.addBox(0F, 0F, 0F, 1, 2, 1); Shape60.setRotationPoint(5F, 18F, 6.022222F); Shape60.setTextureSize(256, 64); Shape60.mirror = true; setRotation(Shape60, 0F, 0F, 0F); Shape61 = new ModelRenderer(this, 110, 0); Shape61.addBox(0F, 0F, 0F, 1, 3, 1); Shape61.setRotationPoint(-2F, 16F, 6.022222F); Shape61.setTextureSize(256, 64); Shape61.mirror = true; setRotation(Shape61, 0F, 0F, 0F); Shape62 = new ModelRenderer(this, 64, 23); Shape62.addBox(0F, 0F, 0F, 1, 1, 1); Shape62.setRotationPoint(3F, 19F, 6.022222F); Shape62.setTextureSize(256, 64); Shape62.mirror = true; setRotation(Shape62, 0F, 0F, 0F); Shape63 = new ModelRenderer(this, 72, 30); Shape63.addBox(0F, 0F, 0F, 2, 1, 1); Shape63.setRotationPoint(5F, 22F, 3.022222F); Shape63.setTextureSize(256, 64); Shape63.mirror = true; setRotation(Shape63, 0F, 0F, 0F); Shape64 = new ModelRenderer(this, 124, 0); Shape64.addBox(0F, 0F, 0F, 1, 2, 1); Shape64.setRotationPoint(-1F, 12F, 6.022222F); Shape64.setTextureSize(256, 64); Shape64.mirror = true; setRotation(Shape64, 0F, 0F, 0F); Shape65 = new ModelRenderer(this, 64, 2); Shape65.addBox(0F, 0F, 0F, 1, 2, 1); Shape65.setRotationPoint(3F, 14F, 6.022222F); Shape65.setTextureSize(256, 64); Shape65.mirror = true; setRotation(Shape65, 0F, 0F, 0F); Shape66 = new ModelRenderer(this, 64, 5); Shape66.addBox(0F, 0F, 0F, 1, 1, 1); Shape66.setRotationPoint(4F, 15F, 6.022222F); Shape66.setTextureSize(256, 64); Shape66.mirror = true; setRotation(Shape66, 0F, 0F, 0F); Shape67 = new ModelRenderer(this, 64, 7); Shape67.addBox(0F, 0F, 0F, 1, 3, 1); Shape67.setRotationPoint(-4F, 9F, 6.022222F); Shape67.setTextureSize(256, 64); Shape67.mirror = true; setRotation(Shape67, 0F, 0F, 0F); Shape68 = new ModelRenderer(this, 72, 3); Shape68.addBox(0F, 0F, 0F, 2, 1, 1); Shape68.setRotationPoint(-5F, 12F, 6.022222F); Shape68.setTextureSize(256, 64); Shape68.mirror = true; setRotation(Shape68, 0F, 0F, 0F); Shape69 = new ModelRenderer(this, 90, 2); Shape69.addBox(0F, 0F, 0F, 1, 1, 3); Shape69.setRotationPoint(-5F, 9F, 4.022222F); Shape69.setTextureSize(256, 64); Shape69.mirror = true; setRotation(Shape69, 0F, 0F, 0F); Shape70 = new ModelRenderer(this, 90, 6); Shape70.addBox(0F, 0F, 0F, 2, 1, 2); Shape70.setRotationPoint(-5F, 9F, 2.022222F); Shape70.setTextureSize(256, 64); Shape70.mirror = true; setRotation(Shape70, 0F, 0F, 0F); Shape71 = new ModelRenderer(this, 72, 5); Shape71.addBox(0F, 0F, 0F, 2, 2, 1); Shape71.setRotationPoint(-5F, 15F, 6.022222F); Shape71.setTextureSize(256, 64); Shape71.mirror = true; setRotation(Shape71, 0F, 0F, 0F); Shape72 = new ModelRenderer(this, 90, 9); Shape72.addBox(0F, 0F, 0F, 2, 1, 2); Shape72.setRotationPoint(-7F, 18F, 5.022222F); Shape72.setTextureSize(256, 64); Shape72.mirror = true; setRotation(Shape72, 0F, 0F, 0F); Shape73 = new ModelRenderer(this, 64, 11); Shape73.addBox(0F, 0F, 0F, 1, 3, 1); Shape73.setRotationPoint(-7F, 15F, 6.022222F); Shape73.setTextureSize(256, 64); Shape73.mirror = true; setRotation(Shape73, 0F, 0F, 0F); Shape74 = new ModelRenderer(this, 64, 15); Shape74.addBox(0F, 0F, 0F, 1, 2, 1); Shape74.setRotationPoint(-6F, 14F, 6.022222F); Shape74.setTextureSize(256, 64); Shape74.mirror = true; setRotation(Shape74, 0F, 0F, 0F); Shape75 = new ModelRenderer(this, 68, 13); Shape75.addBox(0F, 0F, 0F, 1, 1, 1); Shape75.setRotationPoint(-7F, 19F, -0.9777778F); Shape75.setTextureSize(256, 64); Shape75.mirror = true; setRotation(Shape75, 0F, 0F, 0F); Shape76 = new ModelRenderer(this, 64, 21); Shape76.addBox(0F, 0F, 0F, 1, 1, 1); Shape76.setRotationPoint(1F, 20F, 6.022222F); Shape76.setTextureSize(256, 64); Shape76.mirror = true; setRotation(Shape76, 0F, 0F, 0F); Shape77 = new ModelRenderer(this, 64, 25); Shape77.addBox(0F, 0F, 0F, 1, 3, 1); Shape77.setRotationPoint(2F, 19F, 6.022222F); Shape77.setTextureSize(256, 64); Shape77.mirror = true; setRotation(Shape77, 0F, 0F, 0F); Shape78 = new ModelRenderer(this, 72, ; Shape78.addBox(0F, 0F, 0F, 2, 1, 1); Shape78.setRotationPoint(3F, 11F, 6.022222F); Shape78.setTextureSize(256, 64); Shape78.mirror = true; setRotation(Shape78, 0F, 0F, 0F); Shape79 = new ModelRenderer(this, 64, 29); Shape79.addBox(0F, 0F, 0F, 1, 1, 1); Shape79.setRotationPoint(1F, 14F, 6.022222F); Shape79.setTextureSize(256, 64); Shape79.mirror = true; setRotation(Shape79, 0F, 0F, 0F); Shape80 = new ModelRenderer(this, 64, 18); Shape80.addBox(0F, 0F, 0F, 1, 2, 1); Shape80.setRotationPoint(-4F, 19F, 6.022222F); Shape80.setTextureSize(256, 64); Shape80.mirror = true; setRotation(Shape80, 0F, 0F, 0F); Shape81 = new ModelRenderer(this, 72, 10); Shape81.addBox(0F, 0F, 0F, 2, 1, 1); Shape81.setRotationPoint(-3F, 20F, 6.022222F); Shape81.setTextureSize(256, 64); Shape81.mirror = true; setRotation(Shape81, 0F, 0F, 0F); Shape82 = new ModelRenderer(this, 68, 4); Shape82.addBox(0F, 0F, 0F, 1, 3, 1); Shape82.setRotationPoint(-7F, 18F, 4.022222F); Shape82.setTextureSize(256, 64); Shape82.mirror = true; setRotation(Shape82, 0F, 0F, 0F); Shape83 = new ModelRenderer(this, 72, 12); Shape83.addBox(0F, 0F, 0F, 1, 1, 2); Shape83.setRotationPoint(-7F, 12F, 1.022222F); Shape83.setTextureSize(256, 64); Shape83.mirror = true; setRotation(Shape83, 0F, 0F, 0F); Shape84 = new ModelRenderer(this, 72, 15); Shape84.addBox(0F, 0F, 0F, 2, 2, 1); Shape84.setRotationPoint(-7F, 9F, 4.022222F); Shape84.setTextureSize(256, 64); Shape84.mirror = true; setRotation(Shape84, 0F, 0F, 0F); Shape85 = new ModelRenderer(this, 68, ; Shape85.addBox(0F, 0F, 0F, 1, 1, 1); Shape85.setRotationPoint(-7F, 11F, 4.022222F); Shape85.setTextureSize(256, 64); Shape85.mirror = true; setRotation(Shape85, 0F, 0F, 0F); Shape86 = new ModelRenderer(this, 68, 10); Shape86.addBox(0F, 0F, 0F, 1, 2, 1); Shape86.setRotationPoint(-7F, 15F, -1.977778F); Shape86.setTextureSize(256, 64); Shape86.mirror = true; setRotation(Shape86, 0F, 0F, 0F); Shape87 = new ModelRenderer(this, 72, 21); Shape87.addBox(0F, 0F, 0F, 2, 1, 1); Shape87.setRotationPoint(-7F, 22F, -6F); Shape87.setTextureSize(256, 64); Shape87.mirror = true; setRotation(Shape87, 0F, 0F, 0F); Shape88 = new ModelRenderer(this, 90, 12); Shape88.addBox(0F, 0F, 0F, 1, 1, 3); Shape88.setRotationPoint(-7F, 20F, -2F); Shape88.setTextureSize(256, 64); Shape88.mirror = true; setRotation(Shape88, 0F, 0F, 0F); Shape89 = new ModelRenderer(this, 68, 15); Shape89.addBox(0F, 0F, 0F, 1, 1, 1); Shape89.setRotationPoint(-2F, 20F, -7F); Shape89.setTextureSize(256, 64); Shape89.mirror = true; setRotation(Shape89, 0F, 0F, 0F); Shape90 = new ModelRenderer(this, 72, 18); Shape90.addBox(0F, 0F, 0F, 2, 2, 1); Shape90.setRotationPoint(-4F, 18F, -7F); Shape90.setTextureSize(256, 64); Shape90.mirror = true; setRotation(Shape90, 0F, 0F, 0F); Shape91 = new ModelRenderer(this, 68, 17); Shape91.addBox(0F, 0F, 0F, 1, 2, 1); Shape91.setRotationPoint(-5F, 17F, -7F); Shape91.setTextureSize(256, 64); Shape91.mirror = true; setRotation(Shape91, 0F, 0F, 0F); Shape92 = new ModelRenderer(this, 90, 16); Shape92.addBox(0F, 0F, 0F, 2, 1, 2); Shape92.setRotationPoint(-7F, 20F, -7F); Shape92.setTextureSize(256, 64); Shape92.mirror = true; setRotation(Shape92, 0F, 0F, 0F); Shape93 = new ModelRenderer(this, 68, 20); Shape93.addBox(0F, 0F, 0F, 1, 1, 1); Shape93.setRotationPoint(-7F, 20F, -5F); Shape93.setTextureSize(256, 64); Shape93.mirror = true; setRotation(Shape93, 0F, 0F, 0F); Shape94 = new ModelRenderer(this, 68, 22); Shape94.addBox(0F, 0F, 0F, 1, 2, 1); Shape94.setRotationPoint(-7F, 21F, -7F); Shape94.setTextureSize(256, 64); Shape94.mirror = true; setRotation(Shape94, 0F, 0F, 0F); Shape95 = new ModelRenderer(this, 114, 0); Shape95.addBox(0F, 0F, 0F, 2, 1, 1); Shape95.setRotationPoint(-1F, 17F, 6.022222F); Shape95.setTextureSize(256, 64); Shape95.mirror = true; setRotation(Shape95, 0F, 0F, 0F); Shape96 = new ModelRenderer(this, 72, 23); Shape96.addBox(0F, 0F, 0F, 2, 1, 1); Shape96.setRotationPoint(0F, 10F, 6.022222F); Shape96.setTextureSize(256, 64); Shape96.mirror = true; setRotation(Shape96, 0F, 0F, 0F); Shape97 = new ModelRenderer(this, 72, 25); Shape97.addBox(0F, 0F, 0F, 1, 1, 2); Shape97.setRotationPoint(1F, 9F, 5.022222F); Shape97.setTextureSize(256, 64); Shape97.mirror = true; setRotation(Shape97, 0F, 0F, 0F); Shape98 = new ModelRenderer(this, 72, 28); Shape98.addBox(0F, 0F, 0F, 2, 1, 1); Shape98.setRotationPoint(4F, 9F, 3.022222F); Shape98.setTextureSize(256, 64); Shape98.mirror = true; setRotation(Shape98, 0F, 0F, 0F); Shape99 = new ModelRenderer(this, 68, 25); Shape99.addBox(0F, 0F, 0F, 1, 1, 1); Shape99.setRotationPoint(4F, 9F, 5.022222F); Shape99.setTextureSize(256, 64); Shape99.mirror = true; setRotation(Shape99, 0F, 0F, 0F); Shape100 = new ModelRenderer(this, 68, 27); Shape100.addBox(0F, 0F, 0F, 1, 2, 1); Shape100.setRotationPoint(4F, 9F, 6.022222F); Shape100.setTextureSize(256, 64); Shape100.mirror = true; setRotation(Shape100, 0F, 0F, 0F); Shape101 = new ModelRenderer(this, 53, ; Shape101.addBox(0F, 0F, 0F, 1, 1, 2); Shape101.setRotationPoint(6F, 12F, 3.022222F); Shape101.setTextureSize(256, 64); Shape101.mirror = true; setRotation(Shape101, 0F, 0F, 0F); Shape102 = new ModelRenderer(this, 90, 22); Shape102.addBox(0F, 0F, 0F, 1, 1, 3); Shape102.setRotationPoint(6F, 13F, 4.022222F); Shape102.setTextureSize(256, 64); Shape102.mirror = true; setRotation(Shape102, 0F, 0F, 0F); Shape103 = new ModelRenderer(this, 59, ; Shape103.addBox(0F, 0F, 0F, 1, 3, 1); Shape103.setRotationPoint(5F, 13F, 6.022222F); Shape103.setTextureSize(256, 64); Shape103.mirror = true; setRotation(Shape103, 0F, 0F, 0F); Shape104 = new ModelRenderer(this, 86, 3); Shape104.addBox(0F, 0F, 0F, 1, 3, 1); Shape104.setRotationPoint(6F, 15F, 6.022222F); Shape104.setTextureSize(256, 64); Shape104.mirror = true; setRotation(Shape104, 0F, 0F, 0F); Shape105 = new ModelRenderer(this, 68, 30); Shape105.addBox(0F, 0F, 0F, 1, 1, 1); Shape105.setRotationPoint(6F, 16F, 5.022222F); Shape105.setTextureSize(256, 64); Shape105.mirror = true; setRotation(Shape105, 0F, 0F, 0F); Shape106 = new ModelRenderer(this, 86, 7); Shape106.addBox(0F, 0F, 0F, 1, 1, 1); Shape106.setRotationPoint(3F, 9F, -2.977778F); Shape106.setTextureSize(256, 64); Shape106.mirror = true; setRotation(Shape106, 0F, 0F, 0F); Shape107 = new ModelRenderer(this, 90, 26); Shape107.addBox(0F, 0F, 0F, 2, 1, 2); Shape107.setRotationPoint(5F, 9F, -6.977778F); Shape107.setTextureSize(256, 64); Shape107.mirror = true; setRotation(Shape107, 0F, 0F, 0F); Shape108 = new ModelRenderer(this, 86, 9); Shape108.addBox(0F, 0F, 0F, 1, 2, 1); Shape108.setRotationPoint(6F, 10F, -6.977778F); Shape108.setTextureSize(256, 64); Shape108.mirror = true; setRotation(Shape108, 0F, 0F, 0F); Shape109 = new ModelRenderer(this, 79, 4); Shape109.addBox(0F, 0F, 0F, 1, 1, 2); Shape109.setRotationPoint(6F, 11F, -5.977778F); Shape109.setTextureSize(256, 64); Shape109.mirror = true; setRotation(Shape109, 0F, 0F, 0F); Shape110 = new ModelRenderer(this, 79, 7); Shape110.addBox(0F, 0F, 0F, 1, 1, 2); Shape110.setRotationPoint(6F, 12F, -4.977778F); Shape110.setTextureSize(256, 64); Shape110.mirror = true; setRotation(Shape110, 0F, 0F, 0F); Shape111 = new ModelRenderer(this, 79, 10); Shape111.addBox(0F, 0F, 0F, 1, 1, 2); Shape111.setRotationPoint(6F, 13F, -5.977778F); Shape111.setTextureSize(256, 64); Shape111.mirror = true; setRotation(Shape111, 0F, 0F, 0F); Shape112 = new ModelRenderer(this, 79, 13); Shape112.addBox(0F, 0F, 0F, 2, 1, 1); Shape112.setRotationPoint(3F, 9F, -6.977778F); Shape112.setTextureSize(256, 64); Shape112.mirror = true; setRotation(Shape112, 0F, 0F, 0F); Shape113 = new ModelRenderer(this, 86, 12); Shape113.addBox(0F, 0F, 0F, 1, 1, 1); Shape113.setRotationPoint(5F, 11F, -6.977778F); Shape113.setTextureSize(256, 64); Shape113.mirror = true; setRotation(Shape113, 0F, 0F, 0F); Shape114 = new ModelRenderer(this, 86, 14); Shape114.addBox(0F, 0F, 0F, 1, 1, 1); Shape114.setRotationPoint(-5F, 9F, -2.977778F); Shape114.setTextureSize(256, 64); Shape114.mirror = true; setRotation(Shape114, 0F, 0F, 0F); Shape115 = new ModelRenderer(this, 86, 20); Shape115.addBox(0F, 0F, 0F, 1, 1, 1); Shape115.setRotationPoint(3F, 22F, -1.977778F); Shape115.setTextureSize(256, 64); Shape115.mirror = true; setRotation(Shape115, 0F, 0F, 0F); Shape116 = new ModelRenderer(this, 79, 15); Shape116.addBox(0F, 0F, 0F, 1, 1, 2); Shape116.setRotationPoint(-3F, 22F, -0.9777778F); Shape116.setTextureSize(256, 64); Shape116.mirror = true; setRotation(Shape116, 0F, 0F, 0F); Shape117 = new ModelRenderer(this, 79, 26); Shape117.addBox(0F, 0F, 0F, 2, 1, 1); Shape117.setRotationPoint(1F, 22F, -4.977778F); Shape117.setTextureSize(256, 64); Shape117.mirror = true; setRotation(Shape117, 0F, 0F, 0F); Shape118 = new ModelRenderer(this, 86, 16); Shape118.addBox(0F, 0F, 0F, 1, 3, 1); Shape118.setRotationPoint(6F, 20F, 2.022222F); Shape118.setTextureSize(256, 64); Shape118.mirror = true; setRotation(Shape118, 0F, 0F, 0F); Shape119 = new ModelRenderer(this, 86, 22); Shape119.addBox(0F, 0F, 0F, 1, 1, 1); Shape119.setRotationPoint(-2F, 22F, -0.9777778F); Shape119.setTextureSize(256, 64); Shape119.mirror = true; setRotation(Shape119, 0F, 0F, 0F); Shape120 = new ModelRenderer(this, 79, 18); Shape120.addBox(0F, 0F, 0F, 2, 1, 1); Shape120.setRotationPoint(-2F, 22F, -3.977778F); Shape120.setTextureSize(256, 64); Shape120.mirror = true; setRotation(Shape120, 0F, 0F, 0F); Shape121 = new ModelRenderer(this, 98, 4); Shape121.addBox(0F, 0F, 0F, 1, 1, 3); Shape121.setRotationPoint(2F, 22F, 2.022222F); Shape121.setTextureSize(256, 64); Shape121.mirror = true; setRotation(Shape121, 0F, 0F, 0F); Shape122 = new ModelRenderer(this, 79, 20); Shape122.addBox(0F, 0F, 0F, 2, 1, 1); Shape122.setRotationPoint(0F, 22F, 3.022222F); Shape122.setTextureSize(256, 64); Shape122.mirror = true; setRotation(Shape122, 0F, 0F, 0F); Shape123 = new ModelRenderer(this, 118, 3); Shape123.addBox(0F, 0F, 0F, 4, 1, 1); Shape123.setRotationPoint(3F, 22F, -0.9777778F); Shape123.setTextureSize(256, 64); Shape123.mirror = true; setRotation(Shape123, 0F, 0F, 0F); Shape124 = new ModelRenderer(this, 86, 24); Shape124.addBox(0F, 0F, 0F, 1, 2, 1); Shape124.setRotationPoint(2F, 17F, -6.977778F); Shape124.setTextureSize(256, 64); Shape124.mirror = true; setRotation(Shape124, 0F, 0F, 0F); Shape125 = new ModelRenderer(this, 79, 28); Shape125.addBox(0F, 0F, 0F, 1, 1, 2); Shape125.setRotationPoint(1F, 22F, -3.977778F); Shape125.setTextureSize(256, 64); Shape125.mirror = true; setRotation(Shape125, 0F, 0F, 0F); Shape126 = new ModelRenderer(this, 50, 30); Shape126.addBox(0F, 0F, 0F, 2, 1, 1); Shape126.setRotationPoint(-1F, 22F, -2.977778F); Shape126.setTextureSize(256, 64); Shape126.mirror = true; setRotation(Shape126, 0F, 0F, 0F); Shape127 = new ModelRenderer(this, 112, 4); Shape127.addBox(0F, 0F, 0F, 1, 1, 2); Shape127.setRotationPoint(-5F, 22F, -4.977778F); Shape127.setTextureSize(256, 64); Shape127.mirror = true; setRotation(Shape127, 0F, 0F, 0F); Shape128 = new ModelRenderer(this, 112, 13); Shape128.addBox(0F, 0F, 0F, 2, 2, 1); Shape128.setRotationPoint(-7F, 21F, 0.02222222F); Shape128.setTextureSize(256, 64); Shape128.mirror = true; setRotation(Shape128, 0F, 0F, 0F); Shape129 = new ModelRenderer(this, 79, 22); Shape129.addBox(0F, 0F, 0F, 1, 2, 2); Shape129.setRotationPoint(2F, 21F, -6.977778F); Shape129.setTextureSize(256, 64); Shape129.mirror = true; setRotation(Shape129, 0F, 0F, 0F); Shape130 = new ModelRenderer(this, 112, 7); Shape130.addBox(0F, 0F, 0F, 1, 1, 2); Shape130.setRotationPoint(-4F, 22F, -3.977778F); Shape130.setTextureSize(256, 64); Shape130.mirror = true; setRotation(Shape130, 0F, 0F, 0F); Shape131 = new ModelRenderer(this, 86, 27); Shape131.addBox(0F, 0F, 0F, 1, 2, 1); Shape131.setRotationPoint(-2F, 21F, -6.977778F); Shape131.setTextureSize(256, 64); Shape131.mirror = true; setRotation(Shape131, 0F, 0F, 0F); Shape132 = new ModelRenderer(this, 112, 10); Shape132.addBox(0F, 0F, 0F, 1, 1, 2); Shape132.setRotationPoint(-3F, 22F, -6.977778F); Shape132.setTextureSize(256, 64); Shape132.mirror = true; setRotation(Shape132, 0F, 0F, 0F); Shape133 = new ModelRenderer(this, 98, ; Shape133.addBox(0F, 0F, 0F, 3, 1, 1); Shape133.setRotationPoint(4F, 22F, -4.977778F); Shape133.setTextureSize(256, 64); Shape133.mirror = true; setRotation(Shape133, 0F, 0F, 0F); Shape134 = new ModelRenderer(this, 106, 3); Shape134.addBox(0F, 0F, 0F, 1, 3, 1); Shape134.setRotationPoint(6F, 19F, -4.977778F); Shape134.setTextureSize(256, 64); Shape134.mirror = true; setRotation(Shape134, 0F, 0F, 0F); Shape135 = new ModelRenderer(this, 86, 30); Shape135.addBox(0F, 0F, 0F, 1, 1, 1); Shape135.setRotationPoint(6F, 19F, -3.977778F); Shape135.setTextureSize(256, 64); Shape135.mirror = true; setRotation(Shape135, 0F, 0F, 0F); Shape136 = new ModelRenderer(this, 106, 7); Shape136.addBox(0F, 0F, 0F, 1, 1, 1); Shape136.setRotationPoint(4F, 22F, -3.977778F); Shape136.setTextureSize(256, 64); Shape136.mirror = true; setRotation(Shape136, 0F, 0F, 0F); Shape137 = new ModelRenderer(this, 118, 5); Shape137.addBox(0F, 0F, 0F, 1, 1, 4); Shape137.setRotationPoint(-5F, 22F, 0.02222222F); Shape137.setTextureSize(256, 64); Shape137.mirror = true; setRotation(Shape137, 0F, 0F, 0F); Shape138 = new ModelRenderer(this, 112, 28); Shape138.addBox(0F, 0F, 0F, 1, 1, 2); Shape138.setRotationPoint(0F, 22F, 0.02222222F); Shape138.setTextureSize(256, 64); Shape138.mirror = true; setRotation(Shape138, 0F, 0F, 0F); Shape139 = new ModelRenderer(this, 90, 29); Shape139.addBox(0F, 0F, 0F, 2, 1, 2); Shape139.setRotationPoint(-4F, 22F, 3.022222F); Shape139.setTextureSize(256, 64); Shape139.mirror = true; setRotation(Shape139, 0F, 0F, 0F); Shape140 = new ModelRenderer(this, 112, 16); Shape140.addBox(0F, 0F, 0F, 1, 1, 2); Shape140.setRotationPoint(2F, 22F, 5.022222F); Shape140.setTextureSize(256, 64); Shape140.mirror = true; setRotation(Shape140, 0F, 0F, 0F); Shape141 = new ModelRenderer(this, 112, 19); Shape141.addBox(0F, 0F, 0F, 1, 1, 2); Shape141.setRotationPoint(4F, 22F, 3.022222F); Shape141.setTextureSize(256, 64); Shape141.mirror = true; setRotation(Shape141, 0F, 0F, 0F); Shape142 = new ModelRenderer(this, 112, 22); Shape142.addBox(0F, 0F, 0F, 1, 1, 2); Shape142.setRotationPoint(-2F, 22F, 4.022222F); Shape142.setTextureSize(256, 64); Shape142.mirror = true; setRotation(Shape142, 0F, 0F, 0F); Shape143 = new ModelRenderer(this, 106, 9); Shape143.addBox(0F, 0F, 0F, 1, 2, 1); Shape143.setRotationPoint(-2F, 21F, 6.022222F); Shape143.setTextureSize(256, 64); Shape143.mirror = true; setRotation(Shape143, 0F, 0F, 0F); Shape144 = new ModelRenderer(this, 106, 12); Shape144.addBox(0F, 0F, 0F, 1, 1, 1); Shape144.setRotationPoint(1F, 22F, 0.02222222F); Shape144.setTextureSize(256, 64); Shape144.mirror = true; setRotation(Shape144, 0F, 0F, 0F); Shape145 = new ModelRenderer(this, 118, 26); Shape145.addBox(0F, 0F, 0F, 2, 2, 1); Shape145.setRotationPoint(-7F, 21F, 4.022222F); Shape145.setTextureSize(256, 64); Shape145.mirror = true; setRotation(Shape145, 0F, 0F, 0F); Shape146 = new ModelRenderer(this, 118, 29); Shape146.addBox(0F, 0F, 0F, 1, 1, 2); Shape146.setRotationPoint(4F, 22F, 1.022222F); Shape146.setTextureSize(256, 64); Shape146.mirror = true; setRotation(Shape146, 0F, 0F, 0F); Shape147 = new ModelRenderer(this, 106, 19); Shape147.addBox(0F, 0F, 0F, 1, 2, 1); Shape147.setRotationPoint(-5F, 12F, -6.977778F); Shape147.setTextureSize(256, 64); Shape147.mirror = true; setRotation(Shape147, 0F, 0F, 0F); Shape148 = new ModelRenderer(this, 112, 25); Shape148.addBox(0F, 0F, 0F, 1, 1, 2); Shape148.setRotationPoint(-1F, 22F, -0.9777778F); Shape148.setTextureSize(256, 64); Shape148.mirror = true; setRotation(Shape148, 0F, 0F, 0F); Shape149 = new ModelRenderer(this, 106, 22); Shape149.addBox(0F, 0F, 0F, 1, 1, 1); Shape149.setRotationPoint(-6F, 22F, 5.022222F); Shape149.setTextureSize(256, 64); Shape149.mirror = true; setRotation(Shape149, 0F, 0F, 0F); Shape150 = new ModelRenderer(this, 118, 21); Shape150.addBox(0F, 0F, 0F, 2, 1, 1); Shape150.setRotationPoint(-6F, 22F, 6.022222F); Shape150.setTextureSize(256, 64); Shape150.mirror = true; setRotation(Shape150, 0F, 0F, 0F); Shape151 = new ModelRenderer(this, 106, 14); Shape151.addBox(0F, 0F, 0F, 1, 2, 1); Shape151.setRotationPoint(-5F, 20F, 6.022222F); Shape151.setTextureSize(256, 64); Shape151.mirror = true; setRotation(Shape151, 0F, 0F, 0F); Shape152 = new ModelRenderer(this, 106, 17); Shape152.addBox(0F, 0F, 0F, 1, 1, 1); Shape152.setRotationPoint(-5F, 22F, -1.977778F); Shape152.setTextureSize(256, 64); Shape152.mirror = true; setRotation(Shape152, 0F, 0F, 0F); Shape153 = new ModelRenderer(this, 118, 19); Shape153.addBox(0F, 0F, 0F, 2, 1, 1); Shape153.setRotationPoint(-7F, 12F, -7F); Shape153.setTextureSize(256, 64); Shape153.mirror = true; setRotation(Shape153, 0F, 0F, 0F); Shape154 = new ModelRenderer(this, 118, 16); Shape154.addBox(0F, 0F, 0F, 1, 1, 2); Shape154.setRotationPoint(-7F, 12F, -6F); Shape154.setTextureSize(256, 64); Shape154.mirror = true; setRotation(Shape154, 0F, 0F, 0F); } public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { super.render(entity, f, f1, f2, f3, f4, f5); setRotationAngles(f, f1, f2, f3, f4, f5, entity); Shape1.render(f5); Shape2.render(f5); Shape3.render(f5); Shape4.render(f5); Shape5.render(f5); Shape6.render(f5); Shape7.render(f5); Shape8.render(f5); Shape9.render(f5); Shape10.render(f5); Shape11.render(f5); Shape12.render(f5); Shape13.render(f5); Shape14.render(f5); Shape15.render(f5); Shape16.render(f5); Shape17.render(f5); Shape18.render(f5); Shape19.render(f5); Shape20.render(f5); Shape21.render(f5); Shape22.render(f5); Shape23.render(f5); Shape24.render(f5); Shape25.render(f5); Shape26.render(f5); Shape27.render(f5); Shape28.render(f5); Shape29.render(f5); Shape30.render(f5); Shape31.render(f5); Shape32.render(f5); Shape33.render(f5); Shape34.render(f5); Shape35.render(f5); Shape36.render(f5); Shape37.render(f5); Shape38.render(f5); Shape39.render(f5); Shape40.render(f5); Shape41.render(f5); Shape42.render(f5); Shape43.render(f5); Shape44.render(f5); Shape45.render(f5); Shape46.render(f5); Shape47.render(f5); Shape48.render(f5); Shape49.render(f5); Shape50.render(f5); Shape51.render(f5); Shape52.render(f5); Shape53.render(f5); Shape54.render(f5); Shape55.render(f5); Shape56.render(f5); Shape57.render(f5); Shape58.render(f5); Shape59.render(f5); Shape60.render(f5); Shape61.render(f5); Shape62.render(f5); Shape63.render(f5); Shape64.render(f5); Shape65.render(f5); Shape66.render(f5); Shape67.render(f5); Shape68.render(f5); Shape69.render(f5); Shape70.render(f5); Shape71.render(f5); Shape72.render(f5); Shape73.render(f5); Shape74.render(f5); Shape75.render(f5); Shape76.render(f5); Shape77.render(f5); Shape78.render(f5); Shape79.render(f5); Shape80.render(f5); Shape81.render(f5); Shape82.render(f5); Shape83.render(f5); Shape84.render(f5); Shape85.render(f5); Shape86.render(f5); Shape87.render(f5); Shape88.render(f5); Shape89.render(f5); Shape90.render(f5); Shape91.render(f5); Shape92.render(f5); Shape93.render(f5); Shape94.render(f5); Shape95.render(f5); Shape96.render(f5); Shape97.render(f5); Shape98.render(f5); Shape99.render(f5); Shape100.render(f5); Shape101.render(f5); Shape102.render(f5); Shape103.render(f5); Shape104.render(f5); Shape105.render(f5); Shape106.render(f5); Shape107.render(f5); Shape108.render(f5); Shape109.render(f5); Shape110.render(f5); Shape111.render(f5); Shape112.render(f5); Shape113.render(f5); Shape114.render(f5); Shape115.render(f5); Shape116.render(f5); Shape117.render(f5); Shape118.render(f5); Shape119.render(f5); Shape120.render(f5); Shape121.render(f5); Shape122.render(f5); Shape123.render(f5); Shape124.render(f5); Shape125.render(f5); Shape126.render(f5); Shape127.render(f5); Shape128.render(f5); Shape129.render(f5); Shape130.render(f5); Shape131.render(f5); Shape132.render(f5); Shape133.render(f5); Shape134.render(f5); Shape135.render(f5); Shape136.render(f5); Shape137.render(f5); Shape138.render(f5); Shape139.render(f5); Shape140.render(f5); Shape141.render(f5); Shape142.render(f5); Shape143.render(f5); Shape144.render(f5); Shape145.render(f5); Shape146.render(f5); Shape147.render(f5); Shape148.render(f5); Shape149.render(f5); Shape150.render(f5); Shape151.render(f5); Shape152.render(f5); Shape153.render(f5); Shape154.render(f5); } public void renderModel(float f5){ Shape1.render(f5); Shape2.render(f5); Shape3.render(f5); Shape4.render(f5); Shape5.render(f5); Shape6.render(f5); Shape7.render(f5); Shape8.render(f5); Shape9.render(f5); Shape10.render(f5); Shape11.render(f5); Shape12.render(f5); Shape13.render(f5); Shape14.render(f5); Shape15.render(f5); Shape16.render(f5); Shape17.render(f5); Shape18.render(f5); Shape19.render(f5); Shape20.render(f5); Shape21.render(f5); Shape22.render(f5); Shape23.render(f5); Shape24.render(f5); Shape25.render(f5); Shape26.render(f5); Shape27.render(f5); Shape28.render(f5); Shape29.render(f5); Shape30.render(f5); Shape31.render(f5); Shape32.render(f5); Shape33.render(f5); Shape34.render(f5); Shape35.render(f5); Shape36.render(f5); Shape37.render(f5); Shape38.render(f5); Shape39.render(f5); Shape40.render(f5); Shape41.render(f5); Shape42.render(f5); Shape43.render(f5); Shape44.render(f5); Shape45.render(f5); Shape46.render(f5); Shape47.render(f5); Shape48.render(f5); Shape49.render(f5); Shape50.render(f5); Shape51.render(f5); Shape52.render(f5); Shape53.render(f5); Shape54.render(f5); Shape55.render(f5); Shape56.render(f5); Shape57.render(f5); Shape58.render(f5); Shape59.render(f5); Shape60.render(f5); Shape61.render(f5); Shape62.render(f5); Shape63.render(f5); Shape64.render(f5); Shape65.render(f5); Shape66.render(f5); Shape67.render(f5); Shape68.render(f5); Shape69.render(f5); Shape70.render(f5); Shape71.render(f5); Shape72.render(f5); Shape73.render(f5); Shape74.render(f5); Shape75.render(f5); Shape76.render(f5); Shape77.render(f5); Shape78.render(f5); Shape79.render(f5); Shape80.render(f5); Shape81.render(f5); Shape82.render(f5); Shape83.render(f5); Shape84.render(f5); Shape85.render(f5); Shape86.render(f5); Shape87.render(f5); Shape88.render(f5); Shape89.render(f5); Shape90.render(f5); Shape91.render(f5); Shape92.render(f5); Shape93.render(f5); Shape94.render(f5); Shape95.render(f5); Shape96.render(f5); Shape97.render(f5); Shape98.render(f5); Shape99.render(f5); Shape100.render(f5); Shape101.render(f5); Shape102.render(f5); Shape103.render(f5); Shape104.render(f5); Shape105.render(f5); Shape106.render(f5); Shape107.render(f5); Shape108.render(f5); Shape109.render(f5); Shape110.render(f5); Shape111.render(f5); Shape112.render(f5); Shape113.render(f5); Shape114.render(f5); Shape115.render(f5); Shape116.render(f5); Shape117.render(f5); Shape118.render(f5); Shape119.render(f5); Shape120.render(f5); Shape121.render(f5); Shape122.render(f5); Shape123.render(f5); Shape124.render(f5); Shape125.render(f5); Shape126.render(f5); Shape127.render(f5); Shape128.render(f5); Shape129.render(f5); Shape130.render(f5); Shape131.render(f5); Shape132.render(f5); Shape133.render(f5); Shape134.render(f5); Shape135.render(f5); Shape136.render(f5); Shape137.render(f5); Shape138.render(f5); Shape139.render(f5); Shape140.render(f5); Shape141.render(f5); Shape142.render(f5); Shape143.render(f5); Shape144.render(f5); Shape145.render(f5); Shape146.render(f5); Shape147.render(f5); Shape148.render(f5); Shape149.render(f5); Shape150.render(f5); Shape151.render(f5); Shape152.render(f5); Shape153.render(f5); Shape154.render(f5); } private void setRotation(ModelRenderer model, float x, float y, float z) { model.rotateAngleX = x; model.rotateAngleY = y; model.rotateAngleZ = z; } public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) { super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); } } the Render.class: package renderer.PortableVoid; import org.Python.StuffForMC.StuffForMC; import org.lwjgl.opengl.GL11; import models.PortableVoid.FullyBrockenBedrock; import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.ResourceLocation; public class RenderFullyBrockenBedrock extends TileEntitySpecialRenderer{ ResourceLocation texture = new ResourceLocation("StuffForMC" + ":" + "textures/models/blocks/FullyBrockenBedrock.png"); private FullyBrockenBedrock model; public RenderFullyBrockenBedrock(){ this.model = new FullyBrockenBedrock(); } @Override public void renderTileEntityAt(TileEntity entity, double x, double y, double z, float i) { GL11.glPushMatrix(); GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F); GL11.glRotatef(180, 0F, 0F, 1F); this.bindTexture(texture); GL11.glPushMatrix(); this.model.renderModel(0.0625F); GL11.glPopMatrix(); GL11.glPopMatrix(); } } the Item render.class: package renderer.PortableVoid; import org.lwjgl.opengl.GL11; import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; import net.minecraft.item.ItemStack; import net.minecraft.tileentity.TileEntity; import net.minecraftforge.client.IItemRenderer; public class ItemRenderFullyBrockenBedrock implements IItemRenderer{ TileEntitySpecialRenderer render; private TileEntity entity; public ItemRenderFullyBrockenBedrock(TileEntitySpecialRenderer render, TileEntity entity){ this.entity = entity; this.render = render; } @Override public boolean handleRenderType(ItemStack item, ItemRenderType type) { return true; } @Override public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { return true; } @Override public void renderItem(ItemRenderType type, ItemStack item, Object... data) { if(type == IItemRenderer.ItemRenderType.ENTITY){ GL11.glTranslatef(-0.5F, 0.0F, -0.5F); } this.render.renderTileEntityAt(this.entity, 0.0D, 0.0D, 0.0D, 0.0F); } } the tileentity.class package tileEntitys.PortableVoid; import net.minecraft.tileentity.TileEntity; public class TileEntityFullyBrockenBedrock extends TileEntity{ } the ClientProxy: package org.Python.StuffForMC; import cpw.mods.fml.client.registry.ClientRegistry; import renderer.PortableVoid.ItemRenderFullyBrockenBedrock; import renderer.PortableVoid.RenderBrockenBedrock0outof8; import renderer.PortableVoid.RenderBrockenBedrock1outof8; import renderer.PortableVoid.RenderBrockenBedrock2outof8; import renderer.PortableVoid.RenderBrockenBedrock3outof8; import renderer.PortableVoid.RenderBrockenBedrock4outof8; import renderer.PortableVoid.RenderBrockenBedrock5outof8; import renderer.PortableVoid.RenderBrockenBedrock6outof8; import renderer.PortableVoid.RenderBrockenBedrock7outof8; import renderer.PortableVoid.RenderFullyBrockenBedrock; import tileEntitys.PortableVoid.TileEntityBrockenBedrock0outof8; import tileEntitys.PortableVoid.TileEntityBrockenBedrock1outof8; import tileEntitys.PortableVoid.TileEntityBrockenBedrock2outof8; import tileEntitys.PortableVoid.TileEntityBrockenBedrock3outof8; import tileEntitys.PortableVoid.TileEntityBrockenBedrock4outof8; import tileEntitys.PortableVoid.TileEntityBrockenBedrock5outof8; import tileEntitys.PortableVoid.TileEntityBrockenBedrock6outof8; import tileEntitys.PortableVoid.TileEntityBrockenBedrock7outof8; import tileEntitys.PortableVoid.TileEntityFullyBrockenBedrock; import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; import net.minecraft.item.Item; import net.minecraftforge.client.MinecraftForgeClient; public class StuffForMCClientProxy extends StuffForMCProxy { @Override public void registerRenders(){ //Fully Broken Bedrock TileEntitySpecialRenderer render1 = new RenderFullyBrockenBedrock(); ClientRegistry.bindTileEntitySpecialRenderer(TileEntityFullyBrockenBedrock.class, render1); MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(StuffForMC.blockFullyBrockenBedrock), new ItemRenderFullyBrockenBedrock(render1, new TileEntityFullyBrockenBedrock())); //BrokenBedrock0outof8 TileEntitySpecialRenderer render2 = new RenderBrockenBedrock0outof8(); ClientRegistry.bindTileEntitySpecialRenderer(TileEntityBrockenBedrock0outof8.class, render2); //BrokenBedrock1outof8 TileEntitySpecialRenderer render3 = new RenderBrockenBedrock1outof8(); ClientRegistry.bindTileEntitySpecialRenderer(TileEntityBrockenBedrock1outof8.class, render3); //BrokenBedrock2outof8 TileEntitySpecialRenderer render4 = new RenderBrockenBedrock2outof8(); ClientRegistry.bindTileEntitySpecialRenderer(TileEntityBrockenBedrock2outof8.class, render4); //BrokenBedrock3outof8 TileEntitySpecialRenderer render5 = new RenderBrockenBedrock3outof8(); ClientRegistry.bindTileEntitySpecialRenderer(TileEntityBrockenBedrock3outof8.class, render5); //BrokenBedrock4outof8 TileEntitySpecialRenderer render6 = new RenderBrockenBedrock4outof8(); ClientRegistry.bindTileEntitySpecialRenderer(TileEntityBrockenBedrock4outof8.class, render6); //BrokenBedrock5outof8 TileEntitySpecialRenderer render7 = new RenderBrockenBedrock5outof8(); ClientRegistry.bindTileEntitySpecialRenderer(TileEntityBrockenBedrock5outof8.class, render7); //BrokenBedrock6outof8 TileEntitySpecialRenderer render8 = new RenderBrockenBedrock6outof8(); ClientRegistry.bindTileEntitySpecialRenderer(TileEntityBrockenBedrock6outof8.class, render8); //BrokenBedrock7outof8 TileEntitySpecialRenderer render9 = new RenderBrockenBedrock7outof8(); ClientRegistry.bindTileEntitySpecialRenderer(TileEntityBrockenBedrock7outof8.class, render9); } public void registerTileEntitySpecialRenderer(){ } }
  24. Well problems there: 1)i haven't figured out yet how exactly metadata works 2)i thought methadatablocks can't have differend models (I'm kind of n00bie...)
  25. It was the first thing that came to my mind as i thought: "I need a cool bedrock breaking animation!". But if you have an idea on how to do this better then me just say it
×
×
  • Create New...

Important Information

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