Refactor out inv wrapper
This commit is contained in:
parent
18950e0b29
commit
7dc6dddc51
38 changed files with 120 additions and 127 deletions
|
@ -30,18 +30,18 @@ import net.minecraft.item.ItemStack;
|
|||
import net.minecraft.text.LiteralText;
|
||||
import reborncore.client.gui.slots.SlotFilteredVoid;
|
||||
import reborncore.common.container.RebornContainer;
|
||||
import reborncore.common.util.Inventory;
|
||||
import reborncore.common.util.RebornInventory;
|
||||
import techreborn.init.TRContent;
|
||||
|
||||
public class ContainerDestructoPack extends RebornContainer {
|
||||
|
||||
private PlayerEntity player;
|
||||
private Inventory<?> inv;
|
||||
private RebornInventory<?> inv;
|
||||
|
||||
public ContainerDestructoPack(PlayerEntity player) {
|
||||
super(null, new LiteralText("destructopack"));
|
||||
this.player = player;
|
||||
inv = new Inventory<>(1, "destructopack", 64, null);
|
||||
inv = new RebornInventory<>(1, "destructopack", 64, null);
|
||||
buildContainer();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue