Jump to content

NextInima

Forge Modder
  • Posts

    48
  • Joined

  • Last visited

Everything posted by NextInima

  1. Ah you want to create ingame.. that works for a File which is placed in your minecraft folder. Sry you should wait for other then me.
  2. Try around with this. This will load your Value you want. Play around to get Strings and booleans I tested it and the File looks like this
  3. What do you want to do? if you CLONE an Entity , they would be in the same place in eachother , do the same walk and the same things. They would go to the same Cords on the same time. I think you would NOT even see the secound one. Try to create a NEW Entity with the same conditions.
  4. That worked for me, but maybe @diesieben07 have a better solution.
  5. Ok i think PlayerLoggedInEvent is severside, but it goes with EntityJoinWorldEvent, just check if it is the Entityplayer on the Client. Also i think ClientConnectedToServerEvent is called before the EntityPlayer is constructed, so thats to early to send a message.
  6. yes you are right, i forgot that he want to work with the value and do not want to save it.. sry
  7. do you have checked what you have send to the server? public KeybindMessage(boolean keybindDown) { this.keybindDown = keybindDown; System.out.println(the key is: "+keybindDown); } this.keybindDown = ByteBufUtils.readBoolean((buf);
  8. better show the KeybindMessage class of yours. in your capability you can create a setter method and set the value on the server. do not forget to save it in Nbt aswell. Make sure that you register your packet for the SERVER side onMessage you take the Entityplayer and get the CAPABILITY for that player. now you use your setter to set the value you want. the server will save that if you fill serializeNBT and deserializeNBT in your CAPABILITY
  9. Is it better to create for each value a new capabilitiy to a capability provider or just add it with one? like mana/energy/stats? Edit: Before I used IEEP and that was easier for me. I saw that it does still exsits but i try to went to the new system.
  10. Nice i got it, that´s easy. Thanks
  11. Hello guys, Is there a way to send an Item which contains NBT to the Client with a Packet? Already i know how i can send NBT data but i want to send the whole Item. But at the moment i try to build a Item registry on the Client and get the Item with an ID from the Packet.
  12. At first thank you ! I started with the Custom values, i did it like this: And i got : Ingame it looks like these cordinates but i figured out that the path is going into the ground... now i look at the function which set the goal coordinats its : and i got some strange news and now i got it.... thats still the wrong cords,... its a simple fail.. because i Z is more then -255
  13. Hello guys, i have a Question about EntityAIBase I work on AI navigation and i cant get the value of entityPathNavigate . everytime i tried about to get a pathToXYZ or livingEntity it is going to be null. sry for my English Aimode,x1,y1,z1 are custom values of the mob:
  14. Hey i get an error if i want to build my project. it seems windows do not find my Thrumbs.db on the given Location. Maybe someone can help me. i just dont know how i got a new Thrumbs.db or should i try to copy the file myself?
  15. i have download this stuff and will try to understand how the PacketHandlerServer class work, i am happy toseen that i can reach my goal for now
  16. first of all really thank you for the answer, I am new in this section and thats why i ask so mutch I will try my best why these infomations and maybe i will get it alone.
  17. thank you i think i understand it now, maybe i will draw it all with tessel now. i will try some stuff
  18. I cant find a way to solve this problem. here is my bar the 2 bars on top are render the same, but i want the left bar to render right to left. can write so good english i hope you understand it.
  19. thanks for the infomation, but i want only the visibles of the bars to disable.
  20. can i draw rect with minus widht and hight? sorry my english is not so good...
  21. i forgot the file writer i have the question is how can i save the item and how i can read the item from this file?
  22. It there a way i can save A custom item with ntb data in a file on the desktop or any other custom location? The NBT Data will add ingame through the player by doing stuff with this item. Or the player can create it with NBT stuff like i add this to the item.
×
×
  • Create New...

Important Information

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