Did you want it in an empty world? Use a custom ChunkGenerator and use SimplexOctaveGenerator to generate noise given an (x,y). Maybe each chunk...
Use Map<UUID, Vector> then to get the vector from a player use map.get(player.getUniqueId()) to set the vector use map.put(player.getUniqueId(),...
If you want to add this to a default world generation, use a WorldCreator and then get the chunk generator and add your custom BlockPopulator (I...
It appears to never return null? I tested right clicking buttons and placing blocks and it says not null both times: @EventHandler(priority =...
I am writing a claims plugin and need a way to see if players are placing blocks or just interacting with blocks. Unfortunately,...
I'm pretty sure that method doesn't take fortune into account. I researched that method before and found it wouldn't give correct results. I...
Thanks, good idea. This is what I have now: private Set<Vector> waterLocations; public MiningWorld() { this.waterLocations = new...
You can't get the default world generator. I think the easiest way to do this is have a "source" world that you copy the chunk from
Hello, I am working on a world generator and I want to be able to place water and lava. Unfortunately, if I just use chunkData.setBlock(......
Maybe setting null as the worldBorder in new PacketPlayOutWorldBorder could remove it.
Try the PlayerCommandPreprocessEvent, and check if the label is "me" or whatever command you don't want to allow. If it is, cancel the event, and...
This is a quick and dirty little piece of code that returns the number of drops an item should have, given the level of fortune a player has. This...
You know that's just from Essentials, right? Do you only want this feature and don't need anything else from it?
Hello, I am trying to make a simple mining world with stone and ores. Here is my chunk generator: public class MiningWorld extends ChunkGenerator...
Ah ok, thank you.
Separate names with a comma.