Move Bucket over to Forge system
This commit is contained in:
parent
9e7517459e
commit
4af15fc059
7 changed files with 14 additions and 48 deletions
|
@ -109,6 +109,7 @@ public class ModBlocks
|
|||
public static void init()
|
||||
{
|
||||
FluidRegistry.registerFluid(BlockLifeEssence.getLifeEssence());
|
||||
FluidRegistry.addBucketForFluid(BlockLifeEssence.getLifeEssence());
|
||||
lifeEssence = registerBlock(new BlockLifeEssence(), Constants.BloodMagicBlock.LIFE_ESSENCE.getRegName());
|
||||
|
||||
altar = registerBlock(new BlockAltar(), Constants.BloodMagicBlock.ALTAR.getRegName());
|
||||
|
|
|
@ -20,7 +20,6 @@ import WayofTime.bloodmagic.item.ItemBoundAxe;
|
|||
import WayofTime.bloodmagic.item.ItemBoundPickaxe;
|
||||
import WayofTime.bloodmagic.item.ItemBoundShovel;
|
||||
import WayofTime.bloodmagic.item.ItemBoundSword;
|
||||
import WayofTime.bloodmagic.item.ItemBucketEssence;
|
||||
import WayofTime.bloodmagic.item.ItemComponent;
|
||||
import WayofTime.bloodmagic.item.ItemDaggerOfSacrifice;
|
||||
import WayofTime.bloodmagic.item.ItemDemonCrystal;
|
||||
|
@ -79,8 +78,6 @@ public class ModItems
|
|||
public static BloodOrb orbArchmage;
|
||||
public static BloodOrb orbTranscendent;
|
||||
|
||||
public static Item bucketEssence;
|
||||
|
||||
public static Item activationCrystal;
|
||||
public static Item slate;
|
||||
public static Item inscriptionTool;
|
||||
|
@ -176,8 +173,6 @@ public class ModItems
|
|||
orbTranscendent = new BloodOrb("transcendent", 6, 30000000);
|
||||
OrbRegistry.registerOrb(orbTranscendent);
|
||||
|
||||
bucketEssence = registerItem(new ItemBucketEssence(), Constants.BloodMagicItem.BUCKET_ESSENCE.getRegName());
|
||||
|
||||
activationCrystal = registerItem(new ItemActivationCrystal(), Constants.BloodMagicItem.ACTIVATION_CRYSTAL.getRegName());
|
||||
slate = registerItem(new ItemSlate(), Constants.BloodMagicItem.SLATE.getRegName());
|
||||
inscriptionTool = registerItem(new ItemInscriptionTool(), Constants.BloodMagicItem.INSCRIPTION_TOOL.getRegName());
|
||||
|
@ -269,8 +264,6 @@ public class ModItems
|
|||
OrbRegistry.registerOrbTexture(orbArchmage, new ResourceLocation(Constants.Mod.DOMAIN + "ItemBloodOrbArchmage"));
|
||||
OrbRegistry.registerOrbTexture(orbTranscendent, new ResourceLocation(Constants.Mod.DOMAIN + "ItemBloodOrbTranscendent"));
|
||||
|
||||
renderHelper.itemRender(bucketEssence);
|
||||
|
||||
renderHelper.itemRender(sentientBow, 0, "ItemSentientBow");
|
||||
// renderHelper.itemRender(sentientBow, 1, "ItemSentientBow_pulling_0");
|
||||
// renderHelper.itemRender(sentientBow, 2, "ItemSentientBow_pulling_1");
|
||||
|
|
|
@ -1,10 +1,13 @@
|
|||
package WayofTime.bloodmagic.registry;
|
||||
|
||||
import WayofTime.bloodmagic.api.BloodMagicAPI;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.crafting.FurnaceRecipes;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraftforge.common.ForgeModContainer;
|
||||
import net.minecraftforge.fluids.UniversalBucket;
|
||||
import net.minecraftforge.fml.common.registry.GameRegistry;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
import net.minecraftforge.oredict.RecipeSorter;
|
||||
|
@ -144,7 +147,7 @@ public class ModRecipes
|
|||
AltarRecipeRegistry.registerFillRecipe(OrbRegistry.getOrbStack(ModItems.orbWeak), EnumAltarTier.ONE, ModItems.orbWeak.getCapacity(), 2, 1);
|
||||
AltarRecipeRegistry.registerRecipe(new AltarRecipeRegistry.AltarRecipe(new ItemStack(Items.DIAMOND), OrbRegistry.getOrbStack(ModItems.orbWeak), EnumAltarTier.ONE, 2000, 2, 1));
|
||||
AltarRecipeRegistry.registerRecipe(new AltarRecipeRegistry.AltarRecipe(new ItemStack(Blocks.STONE), new ItemStack(ModItems.slate), EnumAltarTier.ONE, 1000, 5, 5));
|
||||
AltarRecipeRegistry.registerRecipe(new AltarRecipeRegistry.AltarRecipe(new ItemStack(Items.BUCKET), new ItemStack(ModItems.bucketEssence), EnumAltarTier.ONE, 1000, 5, 0));
|
||||
AltarRecipeRegistry.registerRecipe(new AltarRecipeRegistry.AltarRecipe(new ItemStack(Items.BUCKET), UniversalBucket.getFilledBucket(ForgeModContainer.getInstance().universalBucket, BloodMagicAPI.getLifeEssence()), EnumAltarTier.ONE, 1000, 5, 0));
|
||||
|
||||
// TWO
|
||||
AltarRecipeRegistry.registerFillRecipe(OrbRegistry.getOrbStack(ModItems.orbApprentice), EnumAltarTier.TWO, ModItems.orbApprentice.getCapacity(), 5, 5);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue