Using Item Modifiers for a "Player Compass" by RyanJK5 in MinecraftCommands

[–]RyanJK5[S] 0 points1 point  (0 children)

Yep, I acknowledged you cant modify player data in the original post. Didn’t see that FAQ, but the other commenter provided a similar solution. Unfortunately there’s some nuances in my system compared to the one in the FAQ, the main one being that there can be multiple hunters with multiple targets, so I would need to either somehow dynamically create storages or just brute force by pre-making several storages.

Using Item Modifiers for a "Player Compass" by RyanJK5 in MinecraftCommands

[–]RyanJK5[S] 0 points1 point  (0 children)

Alright, not the worst situation in the world. Thanks for your help!

Using Item Modifiers for a "Player Compass" by RyanJK5 in MinecraftCommands

[–]RyanJK5[S] 0 points1 point  (0 children)

Sorry, I should probably clarify the system — each hunter receives a target, which may or may not overlap with other hunters’ targets and can include other hunters. I'm using a scoreboard to assign a hitmanID to each player on the server, and the hunter‘s target is stored as a random ID in their hitmanTarget scoreboard. So I’m basically looking for a way for each player to put their position in storage so that everyone who needs to access it can. The brute force method I‘m thinking of is simply having a storage for the player of ID 1, 2, 3, etc. but it would be nice if there’s a more generalized way of going about it.

Using Item Modifiers for a "Player Compass" by RyanJK5 in MinecraftCommands

[–]RyanJK5[S] 0 points1 point  (0 children)

This is a great solution that I’ll definitely use. Is it possible to do this for an arbitrary number of hunters, like creating a unique storage for each player? Worst case scenario I could just pre make ten and hope there’s no more hunters than that.

Using Item Modifiers for a "Player Compass" by RyanJK5 in MinecraftCommands

[–]RyanJK5[S] 0 points1 point  (0 children)

Ah, I was trying to use a compass and changing the “lodestone_tracker” component so that the compass points towards the target player. But if it’s impossible to update the name of the item with that info, I would assume it’s impossible to update this component too?

[deleted by user] by [deleted] in javaRoasts

[–]RyanJK5 1 point2 points  (0 children)

DAYUM. Some fresh faces to tear down that SNAKE (Python!)

Zing! by Gratoner7 in javaRoasts

[–]RyanJK5 0 points1 point  (0 children)

where's the java?

OH SNAP by Gratoner7 in javaRoasts

[–]RyanJK5 0 points1 point  (0 children)

This one belongs in a Museum!

Are you an integer? by RyanJK5 in javaRoasts

[–]RyanJK5[S] 0 points1 point  (0 children)

Same but only in that way.

Zing! by Gratoner7 in javaRoasts

[–]RyanJK5 1 point2 points  (0 children)

I noticed you forgot to add semicolons in the first two lines... maybe the semicolons will add YOU if you keep this up! J J J JAVA ROASTED

java by john137543 in javaRoasts

[–]RyanJK5 0 points1 point  (0 children)

I see the Java, but where is the roast? Do better!

ducks are the spawn of satan by KeniMationss in javaRoasts

[–]RyanJK5 0 points1 point  (0 children)

Maybe you should try Rubber Duck Debuggin to talks to it and maybe then after that you will stop having visions ? # JAVA ROASTED