Village material things
This commit is contained in:
parent
e4aae07486
commit
00b917171e
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue