-
Posts
48 -
Joined
-
Last visited
NextInima's Achievements
Tree Puncher (2/8)
0
Reputation
-
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.
-
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
-
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]
NextInima replied to Kihron's topic in Modder Support
-
1.12.2 Giving a Player a Potion Effect at Spawn
NextInima replied to guyWITH2forks's topic in Modder Support
i would start with -
Send Client Side Message to Player when joining Server [1.8.9]
NextInima replied to Kihron's topic in Modder Support
That worked for me, but maybe @diesieben07 have a better solution. -
Send Client Side Message to Player when joining Server [1.8.9]
NextInima replied to Kihron's topic in Modder Support
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]
NextInima replied to Kihron's topic in Modder Support
see last post. -
[1.12.2][SOLVED!] Capabilities and networking
NextInima replied to MCrafterzz's topic in Modder Support
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
NextInima replied to MCrafterzz's topic in Modder Support
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
NextInima replied to MCrafterzz's topic in Modder Support
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 -
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.
-
Nice i got it, that´s easy. Thanks
-
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.
-
NextInima changed their profile photo
-
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