-
[Solved] Config Files [1.8.9]
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.
-
[Solved] Config Files [1.8.9]
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
-
[Solved][1.12.2] Clone Enitities
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.
-
Send Client Side Message to Player when joining Server [1.8.9]
- 1.12.2 Giving a Player a Potion Effect at Spawn
i would start with- Send Client Side Message to Player when joining Server [1.8.9]
That worked for me, but maybe @diesieben07 have a better solution.- Send Client Side Message to Player when joining Server [1.8.9]
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.- Send Client Side Message to Player when joining Server [1.8.9]
see last post.- [1.12.2][SOLVED!] Capabilities and networking
yes you are right, i forgot that he want to work with the value and do not want to save it.. sry- [1.12.2][SOLVED!] Capabilities and networking
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);- [1.12.2][SOLVED!] Capabilities and networking
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- 1.12 Capability
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.- 1.12 Itempacket
- 1.12 Itempacket
NextInima changed their profile photo- pathfinding with Navigator
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 - 1.12.2 Giving a Player a Potion Effect at Spawn
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.