Jump to content

ItsAMysteriousYT

Members
  • Posts

    785
  • Joined

  • Last visited

Everything posted by ItsAMysteriousYT

  1. Okay... I wrote some reflection stuff without the reflectonHelper. Is it used the right way? And can you show me how to use reflectionHelper?
  2. For my mod i want to give users the possibility to add in more stuff. I wrote a software that generates the required file structure, but for example i have to load some itemmodels which have to be in minecrafts default resource pack. Can anybody help me with that?
  3. Nothing I will post a cleaned version of the code soon
  4. Yea okay maybe implement one of them or so that you can view gist here if github has an option for implementation?
  5. Why don't you ask the ForgeForum developer to add syntax highlighting to spoilers? This would make spoilermaking become more attractive cuz highlighted code looks cooler than the gray background and also it would help you all to read code better.
  6. Im sorry, im trying to sort it better
  7. Yea okay so not send it back and that packet should just say to update positions right? And whats up with the main problem now ( The Sound?)
  8. Okay... how would the easy way look like? Two packets, one for server to client and one for the other way. But what i don't understand is why do i have to set positions on client then send a packet to server to update them on server and then send them back to client. Isn't the onUpdate method called on both sides? Cuz when im driving ingame with the car it works perfectly fine Is it really nessecary to do all this packetHandling shit?
  9. Okay, but what is the right way doing it?
  10. Its experimental and i know that i have to create keybindings for it, just testing. But i have problems with entityclasses since i started coding cuz i never found a propper explanation. Can you tell me what will crash on servers?
  11. Here it is, but it could be that you want the VehicleFile class, cuz that stores the data about it. Vehiclefile:
  12. Yes i know, wasn't sure about that, looked again and changed it
  13. What you need is just the EntityPlayer from the onBlockActivated() method. In there just do player.addChatmessage(new ChatComponentText("Your message here")));
  14. The file.startsound is just a new CustomSound("Soundname here")
  15. So, i created the class, but somehow it does not work. Here is the class and where i call it: I call it like this in the entityclass (onUpdate()):
  16. What i need is the Block at the front part, so the car can go up at the front and drive on.
  17. For my CarEntity i need a method that lets the entity go up blocks. For that i need to know wether the block at the wheels is solid or liquid and if there is a block above it. How can i do that?
  18. I have it EntityRenderer. But is that the F5 camera or the playerhead camera? And do i need to usee reflection to change it?
  19. I was wondering if it is possible to stop a specific sound from playing. I need that to create some realistic motor sound effect. Also im searching for a possibility to change playing speed. Is there a way to do that, cuz i didn't find one yet.
  20. I searched for it, but i can't find the propper class for it
×
×
  • Create New...

Important Information

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