Village material things

This commit is contained in:
Matt Caughey 2013-09-14 19:17:39 -04:00
parent e4aae07486
commit 00b917171e

View file

@ -1,6 +1,7 @@
package biomesoplenty.handlers;
import net.minecraft.block.Block;
import net.minecraftforge.event.Event.Result;
import net.minecraftforge.event.ForgeSubscribe;
import net.minecraftforge.event.terraingen.BiomeEvent;
import biomesoplenty.api.Biomes;
@ -15,6 +16,7 @@ public class VillageMaterialEventHandler
if (event.original == Block.cobblestone.blockID)
{
event.replacement = Block.brick.blockID;
event.setResult(Result.DENY);
}
}
}