Restone binary compatibility with registry substitution rework.

Modders please switch to using the provided RegistryBuilder to ensure more forward compatbility. Closes #3144
This commit is contained in:
LexManos committed 2016-08-02 15:55:18 -07:00
1 parent f088e3df6b
commit f4e8804c8a
3 files changed
+264 -7

No files matched your search

@@ -9,7 +9,7 @@ import net.minecraftforge.fml.common.eventhandler.Event.Result;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
@Mod(modid = DecorateEventDebug.MODID, name = DecorateEventDebug.NAME, version = DecorateEventDebug.VERSION)
public class DecorateEventDebug
public class DecorateEventDebug
{
public static final String MODID = "decorateeventdebug";
@@ -17,14 +17,14 @@ public class DecorateEventDebug
public static final String VERSION = "1.0.0";
@EventHandler
public void init(FMLInitializationEvent event)
public void init(FMLInitializationEvent event)
{
MinecraftForge.TERRAIN_GEN_BUS.register(this);
MinecraftForge.TERRAIN_GEN_BUS.register(this);
}
@SubscribeEvent
public void decorateEvent(DecorateBiomeEvent.Decorate event)
public void decorateEvent(DecorateBiomeEvent.Decorate event)
{
event.setResult(Result.DENY);
event.setResult(Result.DENY);
}
}