Dispenser can use cells. Closes #1948

This commit is contained in:
drcrazy 2020-01-10 16:09:03 +03:00
parent 8db5cea07c
commit a115fbd736
9 changed files with 165 additions and 81 deletions

View file

@ -52,7 +52,7 @@ import techreborn.events.StackToolTipHandler;
import techreborn.init.ModFluids;
import techreborn.init.TRBlockEntities;
import techreborn.init.TRContent;
import techreborn.items.ItemDynamicCell;
import techreborn.items.DynamicCellItem;
import techreborn.items.ItemFrequencyTransmitter;
import javax.annotation.Nullable;
@ -127,7 +127,7 @@ public class TechRebornClient implements ClientModInitializer {
StackToolTipHandler.setup();
GuiBase.wrenchStack = new ItemStack(TRContent.WRENCH);
GuiBase.fluidCellProvider = ItemDynamicCell::getCellWithFluid;
GuiBase.fluidCellProvider = DynamicCellItem::getCellWithFluid;
StackInfoHUD.registerElement(new ItemFrequencyTransmitter.StackInfoFreqTransmitter());