Jump to content

Bacon004

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Bacon004

  1. EDIT: Wait, never mind, this shouldn't make a difference. Might be wrong here, but are you sure height = (int) noise[y * 16 + i]; isn't supposed to be height = (int) noise[i * 16 + y];
  2. First off, be patient. No need to bump your thread every 30 minutes. Second off, the child isn't invisible, it's just rendering ~400 blocks underground. The whole issue is because you have a "/" where you need a "*". Switch GlStateManager.translate(0.0F, 24.0F / scale, 0.0F); in the "render" function of your model class to GlStateManager.translate(0.0F, 24.0F * scale, 0.0F); and it renders properly.
  3. Understood. I don't have time right now but I will try it tonight.
  4. I forgot about that bit. My other packets have the empty constructor. I guess I didn't think to compare this packet to the other packet classes. Anyways, it works now, but there is no way that I can see to get the original player's NBT data, you can only access the newly spawned player's data. How can I accomplish this?
  5. I am trying to set some custom NBT tags to carry over through death. The player clone event only fires on the server, so I am trying to send the data to the client as well, which is necessary for some rendering things. Whenever I try to send the packet to the client, it crashes. Here's the SimpleNetworkWrapper register line: network.registerMessage(WTMessageSendPlayerData.WTMessageHandler.class, WTMessageSendPlayerData.class, 0, Side.CLIENT); Here's the sender code (fired from server-side inside event handler): WTCore.network.sendTo(new WTMessageSendPlayerData(new NBTTagCompound()), (EntityPlayerMP)event.getEntityPlayer()); But for some reason, I get this crash: The message doesn't do anything yet, so I know it doesn't have to do with that part of the code. If you need code that hasn't been provided to help me solve the problem, let me know.
  6. I have been trying to figure out how to register an item and the renderer but I can't figure it out. I can't find any tutorials and it's getting really frustrating. What is the proper method of registering an item and setting up the renderer/texture for it? I just keep getting purple cubes.
×
×
  • Create New...

Important Information

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