Jump to content

larsgerrits

Members
  • Posts

    3462
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by larsgerrits

  1. This post basically tells us you don't know the basics. If you know the basics, you should be able to solve this issue on your own.
  2. Let me guess... a Chunk?
  3. [/img] Please, learn basic programming. This issue is not Java specific, but to programming in general. After that, learn basic Java, and then come back to modding Minecraft.
  4. Can you show a screenshot of your package explorer? I had this problem once because I put a package in the resources folder...
  5. So what does that help us? You are trying to reference a variable that simply doesn't exist.
  6. You have the easiest problem you can ever have. If you aren't able to solve this on your own, please learn basic Java and then come back to modding.
  7. What are you guys even doing? Make a new folder called api inside the src folder. Inside that, make a folder called java . This is where the API code goes. Now copy the API (e.g. the RF API) to that folder. It will result in a structure like this: - src - main - java - [your own source code] - api - java - cofh - ... Why use the API folder? Gradle will compile your code with the API, but not include it in your own source.
  8. Modifying Minecraft base files is not supported here. You can change the player name in Forge, so if you want help with that, post here with the issue.
  9. Seriously? Do you think he is your personal mentor? Someone's gonna reply as soon as they know of a way to help you. For the issue, please define 'isn't working'. Is it crashing? Can't you use the item at all? Please, be more specific.
  10. Don't hijack old threads (this one is 8 months old!). Make your own.
  11. I think you need to have the states in you blockstates file in the same order as you register them in.
  12. The new method is RenderBlocks.renderFaceYNeg(block,x,y,z,texture) .
  13. Psuedo-code: if(TileEntity next to block instanceof IInventory) { ((IInventory)TileEntity next to block).setInventoryContents(); } I don't have my workspace open right now, so the names might not be 100%, but you get the drill.
  14. Do you have line numbers next to your source code? I'm talking about these:
  15. RenderGameOverlayEvent#isCancable() wil always return true, so you will always cancel rendering for everything.
  16. You can't have a bigger texture than 256 if you are using the drawTexturedModelRect() method. Bigger images just get cropped in the GUI and looks awful if you have some detail in the GUI texture.
  17. 1) Look up how events work, there are some tutorials around 2) if(Random.nextInt(1000) == 0) { drops.add(your itemstack); }
  18. By default, if you render a model from it's origin point, its sunken into the ground a little bit. If you change (float)posY in GL11.glTranslatef() to (float)posY - 1.5F , it should work alright.
  19. Yes, you are doing something client side which you should do on the server side. Basically, server stores all the data, and client displays it. If you change it on the client, it only displays it, and isn't stored on the server. You'd have to use packets for setting the data on the server side.
  20. ATs are not recommended to be used. If you want to access a private value, use Reflection to access it.
  21. 1) Don't hijack threads. Make your own. 2) If I understand you correctly, you want to update a mod for an older Minecraft version to a newer one? You'd have to do it yourself, which means you have to decompile an deobfuscate the mod source, make changes to the source, obfuscate and compile it again.
  22. What do you mean with 'doesn't do anything on server'?
  23. And the error is?
×
×
  • Create New...

Important Information

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