Jump to content

NextInima

Forge Modder
  • Posts

    48
  • Joined

  • Last visited

Converted

  • Gender
    Female
  • URL
    http://rin-online.de/forum/
  • Location
    Germany
  • Personal Text
    I am new!

Recent Profile Visitors

5223 profile views

NextInima's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

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

Important Information

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