First of all, I would like to mention that I have searched a solution for this problem for the last two days. I have some custom mobs that I...
@MrGeneralQ Saving as an associative HashMap<UUID, HashMap<String, String>>, i do not have refferences to the Entity object anywhere, only to it's...
So, I have tried to fix this for a while now and I am missing a way to do it. I am spawning some custom mobs that get despawned each time the...
@JanTuck Yes, that is what I am trying to say as well, that is the only piece of code that affects it. I commented out all the lines except...
Why do you require the whole class? Those four lines are the only ones that matter.
Hello, Before I begin my question, I would like to add that I've searched intensively on the forums for a solution and I did not find one which...
Ok, thank you for your help!
Thank you! The thing is that using setVariant(Horse.Variant.VariantType) causes an UnsupportedOperationException and I taught there was another...
@Zombie_Striker 1) And what about setPassenger? 2) And how can I decide what type of horse it is if I only have the setColor and setStyle? if...
Hello, I am having trouble finding the appropiate methods to use. The deprecated methods are horse.setVariant() and horse.setPassenger(), what...
Hello, I come to you with an issue regarding NMS, creating custom mobs. In version 1.10 my code was working perfectly, now I am facing some...
Memory Consumption dictates, most times,the execution time as well. Those being said, the timers, in order of mem consumption are: Java Timer <...
Decided to not share, good luck. Reserved for feature updates. EDIT by Moderator: merged posts, please use the edit button instead of double...
Oh, thank you @567legodude . I am going to switch the topic's status to solved now! Cheers!
Hello, Is there any way I can get a Vector that has the direction from "Location A" to "Location B"? Without the using of the player's direction...
Here it is: //It uses reflect utils public class HorseNavigator extends PathfinderGoal { private double speed; private main plugin;...
You should start by researching a bit about HashMap's and Inventories and how to use them, a simple google search will do for HashMap since they...
Sure, then save the players who place chests on the ground somewhere with there chest inventory and show it to them as soon as they click on the...
Use private final Map<UUID, Area> playerAreas = new Map<UUID, Area>();
So you want to modify a newly opened chests's inventory and add custom things into it? To all chests? Or just some that you want?
Separate names with a comma.