KingFaris11 That actually worked! Although, I changed the evt.setEntityID(evt.getOldEntityID()); to evt.setCancelled(true); because the skeleton...
KingFaris11 Well I forgot to use @EventHandler but even after adding it, it still didn't work. I also tried replacing the...
Necrodoom I don't think the plugin.yml alias would work because those aliases only work for the base command. What the OP wants to do (I think)...
Instead of creating a whole new command for the alias you could use the PlayerCommandPreprocessEvent. For example, this is how I setup one of my...
I've tried this with and without a tick delay. Still doesn't work. All of the code runs because I've added some print statements so there is...
else if(evt.getAction() == Action.LEFT_CLICK_BLOCK) { ItemStack egg = evt.getItem(); if(egg != null) {...
Hello, I am trying to disable the usage of skeleton spawn eggs in the nether so players can't left click regular spawners and turn them into...
Hello, I'm asking if anyone knows how to set two spawns. To be more specific, when new players join my server, I want them to spawn in a certain...
I appreciate all the responses from all the users however I resorted to a different method on fixing it. Instead of giving default users the...
fireblast709 if(evt.getBlockPlaced().getType() == Material.MOB_SPAWNER) { //I tried putting Block spawner = (CreatureSpawner)...
Oh, I forgot that you could do that. Hmm, I will try that now. Thanks.
xTigerRebornx I'm trying to prevent the placement of Skeleton Spawners in any world.
Necrodoom How would I approach this correctly? Does anyone else have any ideas on how I would approach doing this? EDIT by Moderator: merged...
Necrodoom Yeah it is SilkSpawners. Are you saying that it's impossible to listen to the placement of specific spawners with damage values? If...
Necrodoom hankered I currently have SilkSpawners so people are able to mine skeleton spawners with silk touch and pick them up. However, if a...
Separate names with a comma.