Dispenser can use cells. Closes #1948
This commit is contained in:
parent
8db5cea07c
commit
a115fbd736
9 changed files with 165 additions and 81 deletions
|
@ -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());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue