ModsJava
WartController
Java mod listed for Minecraft 1.7–1.9. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotDescription:
I'm uploading this because someone asked me to.
It is a extremely simple one to stop nether warts growing on non nether world.
Installation:
Simply put WartController.jar in your plugins folder.
Source:
I'm uploading this because someone asked me to.
It is a extremely simple one to stop nether warts growing on non nether world.
Installation:
Simply put WartController.jar in your plugins folder.
Source:
Code (Text):
package com.vk2gpz.wartcontroller;
/*
This file is part of WartController
WartController is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
import org.bukkit.*;
import org.bukkit.block.*;
import org.bukkit.event.*;
import org.bukkit.event.block.*;
import org.bukkit.plugin.*;
import org.bukkit.plugin.java.*;
public class WartController extends JavaPlugin implements Listener {
public void onDisable() {
PluginDescriptionFile pdFile = getDescription();
getLogger().info(pdFile.getName() + " version " + pdFile.getVersion() + " is Disabled");
}
public void onEnable() {
getServer().getPluginManager().registerEvents(this, this);
PluginDescriptionFile pdfile = getDescription();
getLogger().info(pdfile.getName() + " version " + pdfile.getVersion() + " is Enabled");
}
@EventHandler(priority = EventPriority.MONITOR)
public void onNetherWartGrow(BlockGrowEvent e) {
Block block = e.getBlock();
if (block.getType() == Material.NETHER_WARTS && block.getBiome() != Biome.HELL) {
e.setCancelled(true);
}
}
}
/*
This file is part of WartController
WartController is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
import org.bukkit.*;
import org.bukkit.block.*;
import org.bukkit.event.*;
import org.bukkit.event.block.*;
import org.bukkit.plugin.*;
import org.bukkit.plugin.java.*;
public class WartController extends JavaPlugin implements Listener {
public void onDisable() {
PluginDescriptionFile pdFile = getDescription();
getLogger().info(pdFile.getName() + " version " + pdFile.getVersion() + " is Disabled");
}
public void onEnable() {
getServer().getPluginManager().registerEvents(this, this);
PluginDescriptionFile pdfile = getDescription();
getLogger().info(pdfile.getName() + " version " + pdfile.getVersion() + " is Enabled");
}
@EventHandler(priority = EventPriority.MONITOR)
public void onNetherWartGrow(BlockGrowEvent e) {
Block block = e.getBlock();
if (block.getType() == Material.NETHER_WARTS && block.getBiome() != Biome.HELL) {
e.setCancelled(true);
}
}
}
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.7, 1.8, 1.9
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
WartController is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9. Downloaded 198 times (via Spigot). Download it and open it directly in the game.