Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Pythonschlange

Members
  • Posts

    42
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Pythonschlange's Achievements

Tree Puncher

Tree Puncher (2/8)

-1

Reputation

  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...
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.