File file = new File(plugin.getDataFolder(), "config.yml");
I'm not lazy I just really enjoy doing nothing!
Yeah but that should work fine, right? Because I'm just setting all the blocks being damaged to air so it won't drop the blocks.
To set it:
List<String> yourList = new ArrayList<String>();
getConfig ().set("path", yourList);
Take a look at this video:
It kinda does the same as you want! Just change couple of stuff :p
If your question is how to make the player ride the Giant, then, use:
saveDefaultConfig(); ??!!! Is that what you mean? I don't understand, are you trying to add something in the config and remove it ?
If your using 1.11 override method:
public void g(float sideMot, float forMot)
Then, check to see if the passenger is a human. After...
I tried to spawn a primed tnt with a metadata and I listened for EntityExplodeEvent and checked if it was primed tnt with the metadata, then I...
I know its easier to use Bukkit, but I'm going to override the explosion class and maybe play around with it. Just for learning but my only...
I was wondering how could I create an explosion that does NOT hurt players and breaks blocks but with no drops! NMS?
Oh lol didn't think you could do that.
Thank you that worked, I have no idea why I didn't think of that!
Separate names with a comma.