2023-10-21 23:35:00 +01:00
|
|
|
package com.colen.postea;
|
2023-10-21 23:10:28 +01:00
|
|
|
|
2023-10-23 14:02:09 +01:00
|
|
|
import com.colen.postea.API.BlockReplacementManager;
|
|
|
|
|
import com.colen.postea.API.ItemStackReplacementManager;
|
2023-10-21 23:10:28 +01:00
|
|
|
import cpw.mods.fml.common.Mod;
|
2023-10-23 14:02:09 +01:00
|
|
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
|
|
|
|
import net.minecraft.init.Blocks;
|
|
|
|
|
import net.minecraft.item.Item;
|
2023-10-21 23:10:28 +01:00
|
|
|
|
|
|
|
|
@Mod(modid = Tags.MODID, version = Tags.VERSION, name = Tags.MODNAME, acceptedMinecraftVersions = "[1.7.10]")
|
|
|
|
|
@SuppressWarnings("unused")
|
|
|
|
|
public class Postea {
|
|
|
|
|
|
2023-10-23 14:02:09 +01:00
|
|
|
@Mod.EventHandler
|
|
|
|
|
public void preInit(FMLPreInitializationEvent event) {
|
|
|
|
|
ItemStackReplacementManager.addItemReplacement(Item.getItemFromBlock(Blocks.grass), 0, Item.getItemFromBlock(Blocks.coal_ore), 10);
|
|
|
|
|
BlockReplacementManager.addBlockReplacement(Blocks.bedrock, 0, Blocks.wool, 2);
|
|
|
|
|
}
|
2023-10-21 23:10:28 +01:00
|
|
|
}
|