Properly fluid rendering in dynamic cells. Temporary fix of recipes incapability with renamed (or tagged) cells. Merge dynamic and empty cells into one item. Right click on fluid block fills cell with fluid.

This commit is contained in:
Dragon2488 2016-07-15 12:15:09 +07:00
parent 2296e6fc18
commit 2b148f3d68
7 changed files with 416 additions and 68 deletions

View file

@ -3,6 +3,7 @@ package techreborn.init;
import net.minecraft.init.Items;
import net.minecraft.inventory.EntityEquipmentSlot;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fluids.FluidContainerRegistry;
import net.minecraftforge.fluids.FluidRegistry;
@ -294,12 +295,14 @@ public class ModItems
debug = new ItemDebugTool();
registerItem(debug, "debug");
emptyCell = new EmptyCell();
registerItem(emptyCell, "emptyCell");
dynamicCell = new DynamicCell();
registerItem(dynamicCell, "dynamicCell");
emptyCell = dynamicCell;
Item cell = new EmptyCell();
registerItem(cell, "emptyCell");
GameRegistry.addShapelessRecipe(new ItemStack(dynamicCell), cell);
MinecraftForge.EVENT_BUS.register(BucketHandler.INSTANCE);
Core.logHelper.info("TechReborns Items Loaded");