Cleanup GUI packages
This commit is contained in:
parent
8ad2147c42
commit
80ee96051c
90 changed files with 166 additions and 215 deletions
|
@ -22,7 +22,7 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package reborncore.client.gui.builder;
|
package reborncore.client.gui;
|
||||||
|
|
||||||
import net.minecraft.block.entity.BlockEntity;
|
import net.minecraft.block.entity.BlockEntity;
|
||||||
import net.minecraft.client.MinecraftClient;
|
import net.minecraft.client.MinecraftClient;
|
||||||
|
@ -41,9 +41,8 @@ import net.minecraft.text.Text;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
import org.lwjgl.glfw.GLFW;
|
import org.lwjgl.glfw.GLFW;
|
||||||
import reborncore.api.blockentity.IUpgradeable;
|
import reborncore.api.blockentity.IUpgradeable;
|
||||||
import reborncore.client.gui.builder.slot.GuiTab;
|
import reborncore.client.gui.config.GuiTab;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonHologram;
|
import reborncore.client.gui.widget.GuiButtonHologram;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import reborncore.common.screen.slot.PlayerInventorySlot;
|
import reborncore.common.screen.slot.PlayerInventorySlot;
|
||||||
|
@ -224,7 +223,7 @@ public class GuiBase<T extends ScreenHandler> extends HandledScreen<T> {
|
||||||
drawText(drawContext, text, (backgroundWidth / 2 - getTextRenderer().getWidth(text) / 2), y, colour, layer);
|
drawText(drawContext, text, (backgroundWidth / 2 - getTextRenderer().getWidth(text) / 2), y, colour, layer);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void drawCentredText(DrawContext drawContext, Text text, int y, int colour, int modifier, Layer layer) {
|
public void drawCentredText(DrawContext drawContext, Text text, int y, int colour, int modifier, Layer layer) {
|
||||||
drawText(drawContext, text, (backgroundWidth / 2 - (getTextRenderer().getWidth(text)) / 2) + modifier, y, colour, layer);
|
drawText(drawContext, text, (backgroundWidth / 2 - (getTextRenderer().getWidth(text)) / 2) + modifier, y, colour, layer);
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package reborncore.client.gui.guibuilder;
|
package reborncore.client.gui;
|
||||||
|
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
import net.fabricmc.fabric.api.transfer.v1.client.fluid.FluidVariantRendering;
|
import net.fabricmc.fabric.api.transfer.v1.client.fluid.FluidVariantRendering;
|
||||||
|
@ -38,8 +38,7 @@ import net.minecraft.text.Text;
|
||||||
import net.minecraft.util.Formatting;
|
import net.minecraft.util.Formatting;
|
||||||
import net.minecraft.util.Identifier;
|
import net.minecraft.util.Identifier;
|
||||||
import reborncore.api.IListInfoProvider;
|
import reborncore.api.IListInfoProvider;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.config.GuiTab;
|
||||||
import reborncore.client.gui.builder.slot.GuiTab;
|
|
||||||
import reborncore.common.fluid.FluidUtils;
|
import reborncore.common.fluid.FluidUtils;
|
||||||
import reborncore.common.fluid.FluidValue;
|
import reborncore.common.fluid.FluidValue;
|
||||||
import reborncore.common.fluid.container.FluidInstance;
|
import reborncore.common.fluid.container.FluidInstance;
|
|
@ -1,47 +0,0 @@
|
||||||
/*
|
|
||||||
* This file is part of RebornCore, licensed under the MIT License (MIT).
|
|
||||||
*
|
|
||||||
* Copyright (c) 2021 TeamReborn
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
* of this software and associated documentation files (the "Software"), to deal
|
|
||||||
* in the Software without restriction, including without limitation the rights
|
|
||||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
* copies of the Software, and to permit persons to whom the Software is
|
|
||||||
* furnished to do so, subject to the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
|
||||||
* copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
* SOFTWARE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
package reborncore.client.gui.builder.widget;
|
|
||||||
|
|
||||||
import net.minecraft.client.gui.widget.ButtonWidget;
|
|
||||||
import net.minecraft.text.Text;
|
|
||||||
|
|
||||||
public class GuiButtonSimple extends ButtonWidget {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated Please use {@link ButtonWidget}
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
public GuiButtonSimple(int x, int y, Text buttonText, ButtonWidget.PressAction pressAction) {
|
|
||||||
super(x, y, 20, 200, buttonText, pressAction, ButtonWidget.DEFAULT_NARRATION_SUPPLIER);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated Please use {@link ButtonWidget}
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
public GuiButtonSimple(int x, int y, int widthIn, int heightIn, Text buttonText, ButtonWidget.PressAction pressAction) {
|
|
||||||
super(x, y, widthIn, heightIn, buttonText, pressAction, ButtonWidget.DEFAULT_NARRATION_SUPPLIER);
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -22,15 +22,15 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package reborncore.client.gui.builder.slot;
|
package reborncore.client.gui.config;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.fluid.Fluids;
|
import net.minecraft.fluid.Fluids;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.builder.slot.elements.ConfigFluidElement;
|
import reborncore.client.gui.config.elements.ConfigFluidElement;
|
||||||
import reborncore.client.gui.builder.slot.elements.SlotType;
|
import reborncore.client.gui.config.elements.SlotType;
|
||||||
|
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
|
|
|
@ -22,12 +22,11 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package reborncore.client.gui.builder.slot;
|
package reborncore.client.gui.config;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.builder.RedstoneConfigGui;
|
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
|
@ -22,14 +22,15 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package reborncore.client.gui.builder;
|
package reborncore.client.gui.config;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.item.Items;
|
import net.minecraft.item.Items;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.ClientNetworkManager;
|
import reborncore.client.ClientNetworkManager;
|
||||||
import reborncore.client.gui.builder.slot.GuiTab;
|
import reborncore.client.gui.GuiBase;
|
||||||
|
import reborncore.client.gui.config.GuiTab;
|
||||||
import reborncore.common.blockentity.RedstoneConfiguration;
|
import reborncore.common.blockentity.RedstoneConfiguration;
|
||||||
import reborncore.common.network.IdentifiedPacket;
|
import reborncore.common.network.IdentifiedPacket;
|
||||||
import reborncore.common.network.ServerBoundPackets;
|
import reborncore.common.network.ServerBoundPackets;
|
|
@ -22,7 +22,7 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package reborncore.client.gui.builder.slot;
|
package reborncore.client.gui.config;
|
||||||
|
|
||||||
import it.unimi.dsi.fastutil.ints.Int2ObjectMap;
|
import it.unimi.dsi.fastutil.ints.Int2ObjectMap;
|
||||||
import it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap;
|
import it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap;
|
||||||
|
@ -36,9 +36,9 @@ import org.jetbrains.annotations.Nullable;
|
||||||
import org.lwjgl.glfw.GLFW;
|
import org.lwjgl.glfw.GLFW;
|
||||||
import reborncore.client.ClientChatUtils;
|
import reborncore.client.ClientChatUtils;
|
||||||
import reborncore.client.ClientNetworkManager;
|
import reborncore.client.ClientNetworkManager;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.builder.slot.elements.ConfigSlotElement;
|
import reborncore.client.gui.config.elements.ConfigSlotElement;
|
||||||
import reborncore.client.gui.builder.slot.elements.SlotType;
|
import reborncore.client.gui.config.elements.SlotType;
|
||||||
import reborncore.common.network.ServerBoundPackets;
|
import reborncore.common.network.ServerBoundPackets;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import reborncore.common.util.Color;
|
import reborncore.common.util.Color;
|
|
@ -22,7 +22,7 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package reborncore.client.gui.builder.slot.elements;
|
package reborncore.client.gui.config.elements;
|
||||||
|
|
||||||
import net.minecraft.block.BlockState;
|
import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.client.MinecraftClient;
|
import net.minecraft.client.MinecraftClient;
|
||||||
|
@ -38,7 +38,7 @@ import net.minecraft.client.util.math.MatrixStack;
|
||||||
import net.minecraft.util.math.Direction;
|
import net.minecraft.util.math.Direction;
|
||||||
import net.minecraft.util.math.RotationAxis;
|
import net.minecraft.util.math.RotationAxis;
|
||||||
import org.joml.Quaternionf;
|
import org.joml.Quaternionf;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
import reborncore.common.util.MachineFacing;
|
import reborncore.common.util.MachineFacing;
|
||||||
|
|
|
@ -22,10 +22,10 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package reborncore.client.gui.builder.slot.elements;
|
package reborncore.client.gui.config.elements;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
|
|
||||||
public class ButtonElement extends ElementBase {
|
public class ButtonElement extends ElementBase {
|
||||||
private final GuiSprites.Button buttonSprite;
|
private final GuiSprites.Button buttonSprite;
|
|
@ -22,12 +22,12 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package reborncore.client.gui.builder.slot.elements;
|
package reborncore.client.gui.config.elements;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.client.util.SpriteIdentifier;
|
import net.minecraft.client.util.SpriteIdentifier;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
|
|
||||||
import java.util.function.Predicate;
|
import java.util.function.Predicate;
|
||||||
|
|
|
@ -22,11 +22,11 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package reborncore.client.gui.builder.slot.elements;
|
package reborncore.client.gui.config.elements;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
|
|
||||||
public class ConfigFluidElement extends ParentElement {
|
public class ConfigFluidElement extends ParentElement {
|
||||||
private final SlotType type;
|
private final SlotType type;
|
|
@ -22,13 +22,13 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package reborncore.client.gui.builder.slot.elements;
|
package reborncore.client.gui.config.elements;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.inventory.Inventory;
|
import net.minecraft.inventory.Inventory;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.common.blockentity.SlotConfiguration;
|
import reborncore.common.blockentity.SlotConfiguration;
|
||||||
import reborncore.common.screen.slot.BaseSlot;
|
import reborncore.common.screen.slot.BaseSlot;
|
||||||
|
|
|
@ -22,15 +22,15 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package reborncore.client.gui.builder.slot.elements;
|
package reborncore.client.gui.config.elements;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.client.gui.screen.Screen;
|
import net.minecraft.client.gui.screen.Screen;
|
||||||
import net.minecraft.client.texture.Sprite;
|
import net.minecraft.client.texture.Sprite;
|
||||||
import net.minecraft.client.util.SpriteIdentifier;
|
import net.minecraft.client.util.SpriteIdentifier;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
|
|
||||||
public class ElementBase {
|
public class ElementBase {
|
||||||
private final int x;
|
private final int x;
|
|
@ -22,13 +22,13 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package reborncore.client.gui.builder.slot.elements;
|
package reborncore.client.gui.config.elements;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.util.math.Direction;
|
import net.minecraft.util.math.Direction;
|
||||||
import reborncore.RebornCore;
|
import reborncore.RebornCore;
|
||||||
import reborncore.client.ClientNetworkManager;
|
import reborncore.client.ClientNetworkManager;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.common.blockentity.FluidConfiguration;
|
import reborncore.common.blockentity.FluidConfiguration;
|
||||||
import reborncore.common.network.IdentifiedPacket;
|
import reborncore.common.network.IdentifiedPacket;
|
||||||
import reborncore.common.network.ServerBoundPackets;
|
import reborncore.common.network.ServerBoundPackets;
|
|
@ -22,7 +22,7 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package reborncore.client.gui.builder.slot.elements;
|
package reborncore.client.gui.config.elements;
|
||||||
|
|
||||||
import net.minecraft.client.texture.Sprite;
|
import net.minecraft.client.texture.Sprite;
|
||||||
import net.minecraft.client.texture.SpriteAtlasHolder;
|
import net.minecraft.client.texture.SpriteAtlasHolder;
|
|
@ -22,7 +22,7 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package reborncore.client.gui.builder.slot.elements;
|
package reborncore.client.gui.config.elements;
|
||||||
|
|
||||||
import net.minecraft.client.util.SpriteIdentifier;
|
import net.minecraft.client.util.SpriteIdentifier;
|
||||||
import net.minecraft.util.Identifier;
|
import net.minecraft.util.Identifier;
|
|
@ -22,12 +22,12 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package reborncore.client.gui.builder.slot.elements;
|
package reborncore.client.gui.config.elements;
|
||||||
|
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.client.util.SpriteIdentifier;
|
import net.minecraft.client.util.SpriteIdentifier;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -22,13 +22,13 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package reborncore.client.gui.builder.slot.elements;
|
package reborncore.client.gui.config.elements;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.util.math.Direction;
|
import net.minecraft.util.math.Direction;
|
||||||
import reborncore.RebornCore;
|
import reborncore.RebornCore;
|
||||||
import reborncore.client.ClientNetworkManager;
|
import reborncore.client.ClientNetworkManager;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.common.blockentity.SlotConfiguration;
|
import reborncore.common.blockentity.SlotConfiguration;
|
||||||
import reborncore.common.network.IdentifiedPacket;
|
import reborncore.common.network.IdentifiedPacket;
|
||||||
import reborncore.common.network.ServerBoundPackets;
|
import reborncore.common.network.ServerBoundPackets;
|
|
@ -22,7 +22,7 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package reborncore.client.gui.builder.slot.elements;
|
package reborncore.client.gui.config.elements;
|
||||||
|
|
||||||
import net.minecraft.client.util.SpriteIdentifier;
|
import net.minecraft.client.util.SpriteIdentifier;
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package reborncore.client.gui.builder.widget;
|
package reborncore.client.gui.widget;
|
||||||
|
|
||||||
import net.minecraft.client.gui.widget.ButtonWidget;
|
import net.minecraft.client.gui.widget.ButtonWidget;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
|
@ -22,7 +22,7 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package reborncore.client.gui.builder.widget;
|
package reborncore.client.gui.widget;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.client.gui.widget.ButtonWidget;
|
import net.minecraft.client.gui.widget.ButtonWidget;
|
|
@ -22,12 +22,12 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package reborncore.client.gui.builder.widget;
|
package reborncore.client.gui.widget;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.client.gui.widget.ButtonWidget;
|
import net.minecraft.client.gui.widget.ButtonWidget;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author drcrazy
|
* @author drcrazy
|
|
@ -34,7 +34,7 @@ import org.spongepowered.asm.mixin.Shadow;
|
||||||
import org.spongepowered.asm.mixin.injection.At;
|
import org.spongepowered.asm.mixin.injection.At;
|
||||||
import org.spongepowered.asm.mixin.injection.Inject;
|
import org.spongepowered.asm.mixin.injection.Inject;
|
||||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||||
import reborncore.client.gui.builder.slot.elements.GuiSpriteAtlasHolder;
|
import reborncore.client.gui.config.elements.GuiSpriteAtlasHolder;
|
||||||
|
|
||||||
@Mixin(MinecraftClient.class)
|
@Mixin(MinecraftClient.class)
|
||||||
public class MixinMinecraftClient {
|
public class MixinMinecraftClient {
|
||||||
|
|
|
@ -51,7 +51,7 @@ import net.minecraft.registry.Registries;
|
||||||
import net.minecraft.util.Identifier;
|
import net.minecraft.util.Identifier;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
import reborncore.client.ClientJumpEvent;
|
import reborncore.client.ClientJumpEvent;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.multiblock.MultiblockRenderer;
|
import reborncore.client.multiblock.MultiblockRenderer;
|
||||||
import reborncore.common.powerSystem.RcEnergyItem;
|
import reborncore.common.powerSystem.RcEnergyItem;
|
||||||
import reborncore.common.util.ItemUtils;
|
import reborncore.common.util.ItemUtils;
|
||||||
|
|
|
@ -60,9 +60,9 @@ import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.util.math.MathHelper;
|
import net.minecraft.util.math.MathHelper;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
import reborncore.api.blockentity.IUpgradeable;
|
import reborncore.api.blockentity.IUpgradeable;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.builder.slot.GuiTab;
|
import reborncore.client.gui.config.GuiTab;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.crafting.RebornRecipe;
|
import reborncore.common.crafting.RebornRecipe;
|
||||||
import reborncore.common.crafting.RebornRecipeType;
|
import reborncore.common.crafting.RebornRecipeType;
|
||||||
import reborncore.common.crafting.RecipeManager;
|
import reborncore.common.crafting.RecipeManager;
|
||||||
|
|
|
@ -27,9 +27,9 @@ package techreborn.client.compat.rei;
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
import me.shedaniel.math.Rectangle;
|
import me.shedaniel.math.Rectangle;
|
||||||
import me.shedaniel.rei.api.client.registry.screen.ExclusionZonesProvider;
|
import me.shedaniel.rei.api.client.registry.screen.ExclusionZonesProvider;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.builder.slot.SlotConfigGui;
|
import reborncore.client.gui.config.SlotConfigGui;
|
||||||
import reborncore.client.gui.builder.slot.elements.ConfigSlotElement;
|
import reborncore.client.gui.config.elements.ConfigSlotElement;
|
||||||
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
|
|
|
@ -37,7 +37,7 @@ import me.shedaniel.rei.api.common.util.EntryStacks;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import net.minecraft.util.Formatting;
|
import net.minecraft.util.Formatting;
|
||||||
import net.minecraft.util.Identifier;
|
import net.minecraft.util.Identifier;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import techreborn.TechReborn;
|
import techreborn.TechReborn;
|
||||||
import techreborn.client.compat.rei.ReiPlugin;
|
import techreborn.client.compat.rei.ReiPlugin;
|
||||||
import techreborn.init.TRContent;
|
import techreborn.init.TRContent;
|
||||||
|
|
|
@ -39,7 +39,7 @@ import net.minecraft.item.Items;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import net.minecraft.util.Formatting;
|
import net.minecraft.util.Formatting;
|
||||||
import net.minecraft.util.Identifier;
|
import net.minecraft.util.Identifier;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.crafting.RebornRecipeType;
|
import reborncore.common.crafting.RebornRecipeType;
|
||||||
import techreborn.api.recipe.recipes.FluidReplicatorRecipe;
|
import techreborn.api.recipe.recipes.FluidReplicatorRecipe;
|
||||||
import techreborn.client.compat.rei.ReiPlugin;
|
import techreborn.client.compat.rei.ReiPlugin;
|
||||||
|
|
|
@ -29,7 +29,7 @@ import me.shedaniel.math.Rectangle;
|
||||||
import me.shedaniel.rei.api.client.gui.widgets.Widget;
|
import me.shedaniel.rei.api.client.gui.widgets.Widget;
|
||||||
import me.shedaniel.rei.api.client.gui.widgets.Widgets;
|
import me.shedaniel.rei.api.client.gui.widgets.Widgets;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.crafting.RebornRecipe;
|
import reborncore.common.crafting.RebornRecipe;
|
||||||
import reborncore.common.crafting.RebornRecipeType;
|
import reborncore.common.crafting.RebornRecipeType;
|
||||||
import techreborn.client.compat.rei.MachineRecipeDisplay;
|
import techreborn.client.compat.rei.MachineRecipeDisplay;
|
||||||
|
|
|
@ -29,7 +29,7 @@ import me.shedaniel.math.Rectangle;
|
||||||
import me.shedaniel.rei.api.client.gui.widgets.Widget;
|
import me.shedaniel.rei.api.client.gui.widgets.Widget;
|
||||||
import me.shedaniel.rei.api.client.gui.widgets.Widgets;
|
import me.shedaniel.rei.api.client.gui.widgets.Widgets;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.crafting.RebornRecipe;
|
import reborncore.common.crafting.RebornRecipe;
|
||||||
import reborncore.common.crafting.RebornRecipeType;
|
import reborncore.common.crafting.RebornRecipeType;
|
||||||
import techreborn.client.compat.rei.MachineRecipeDisplay;
|
import techreborn.client.compat.rei.MachineRecipeDisplay;
|
||||||
|
|
|
@ -29,7 +29,7 @@ import me.shedaniel.math.Rectangle;
|
||||||
import me.shedaniel.rei.api.client.gui.widgets.Widget;
|
import me.shedaniel.rei.api.client.gui.widgets.Widget;
|
||||||
import me.shedaniel.rei.api.client.gui.widgets.Widgets;
|
import me.shedaniel.rei.api.client.gui.widgets.Widgets;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.crafting.RebornRecipe;
|
import reborncore.common.crafting.RebornRecipe;
|
||||||
import reborncore.common.crafting.RebornRecipeType;
|
import reborncore.common.crafting.RebornRecipeType;
|
||||||
import techreborn.client.compat.rei.MachineRecipeDisplay;
|
import techreborn.client.compat.rei.MachineRecipeDisplay;
|
||||||
|
|
|
@ -29,7 +29,7 @@ import me.shedaniel.math.Rectangle;
|
||||||
import me.shedaniel.rei.api.client.gui.widgets.Widget;
|
import me.shedaniel.rei.api.client.gui.widgets.Widget;
|
||||||
import me.shedaniel.rei.api.client.gui.widgets.Widgets;
|
import me.shedaniel.rei.api.client.gui.widgets.Widgets;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.crafting.RebornRecipe;
|
import reborncore.common.crafting.RebornRecipe;
|
||||||
import reborncore.common.crafting.RebornRecipeType;
|
import reborncore.common.crafting.RebornRecipeType;
|
||||||
import techreborn.client.compat.rei.MachineRecipeDisplay;
|
import techreborn.client.compat.rei.MachineRecipeDisplay;
|
||||||
|
|
|
@ -34,7 +34,7 @@ import me.shedaniel.rei.api.client.gui.widgets.Widgets;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import net.minecraft.util.Formatting;
|
import net.minecraft.util.Formatting;
|
||||||
import net.minecraft.util.Identifier;
|
import net.minecraft.util.Identifier;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.crafting.RebornRecipe;
|
import reborncore.common.crafting.RebornRecipe;
|
||||||
import reborncore.common.crafting.RebornRecipeType;
|
import reborncore.common.crafting.RebornRecipeType;
|
||||||
import techreborn.client.compat.rei.MachineRecipeDisplay;
|
import techreborn.client.compat.rei.MachineRecipeDisplay;
|
||||||
|
|
|
@ -29,7 +29,7 @@ import me.shedaniel.math.Rectangle;
|
||||||
import me.shedaniel.rei.api.client.gui.widgets.Widget;
|
import me.shedaniel.rei.api.client.gui.widgets.Widget;
|
||||||
import me.shedaniel.rei.api.client.gui.widgets.Widgets;
|
import me.shedaniel.rei.api.client.gui.widgets.Widgets;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.crafting.RebornRecipe;
|
import reborncore.common.crafting.RebornRecipe;
|
||||||
import reborncore.common.crafting.RebornRecipeType;
|
import reborncore.common.crafting.RebornRecipeType;
|
||||||
import techreborn.client.compat.rei.MachineRecipeDisplay;
|
import techreborn.client.compat.rei.MachineRecipeDisplay;
|
||||||
|
|
|
@ -29,7 +29,7 @@ import me.shedaniel.math.Rectangle;
|
||||||
import me.shedaniel.rei.api.client.gui.widgets.Widget;
|
import me.shedaniel.rei.api.client.gui.widgets.Widget;
|
||||||
import me.shedaniel.rei.api.client.gui.widgets.Widgets;
|
import me.shedaniel.rei.api.client.gui.widgets.Widgets;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.crafting.RebornRecipe;
|
import reborncore.common.crafting.RebornRecipe;
|
||||||
import reborncore.common.crafting.RebornRecipeType;
|
import reborncore.common.crafting.RebornRecipeType;
|
||||||
import techreborn.client.compat.rei.MachineRecipeDisplay;
|
import techreborn.client.compat.rei.MachineRecipeDisplay;
|
||||||
|
|
|
@ -29,7 +29,7 @@ import me.shedaniel.math.Rectangle;
|
||||||
import me.shedaniel.rei.api.client.gui.widgets.Widget;
|
import me.shedaniel.rei.api.client.gui.widgets.Widget;
|
||||||
import me.shedaniel.rei.api.client.gui.widgets.Widgets;
|
import me.shedaniel.rei.api.client.gui.widgets.Widgets;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.crafting.RebornRecipe;
|
import reborncore.common.crafting.RebornRecipe;
|
||||||
import reborncore.common.crafting.RebornRecipeType;
|
import reborncore.common.crafting.RebornRecipeType;
|
||||||
import techreborn.client.compat.rei.MachineRecipeDisplay;
|
import techreborn.client.compat.rei.MachineRecipeDisplay;
|
||||||
|
|
|
@ -29,7 +29,7 @@ import me.shedaniel.math.Rectangle;
|
||||||
import me.shedaniel.rei.api.client.gui.widgets.Widget;
|
import me.shedaniel.rei.api.client.gui.widgets.Widget;
|
||||||
import me.shedaniel.rei.api.client.gui.widgets.Widgets;
|
import me.shedaniel.rei.api.client.gui.widgets.Widgets;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.crafting.RebornRecipe;
|
import reborncore.common.crafting.RebornRecipe;
|
||||||
import reborncore.common.crafting.RebornRecipeType;
|
import reborncore.common.crafting.RebornRecipeType;
|
||||||
import techreborn.client.compat.rei.MachineRecipeDisplay;
|
import techreborn.client.compat.rei.MachineRecipeDisplay;
|
||||||
|
|
|
@ -29,7 +29,7 @@ import me.shedaniel.math.Rectangle;
|
||||||
import me.shedaniel.rei.api.client.gui.widgets.Widget;
|
import me.shedaniel.rei.api.client.gui.widgets.Widget;
|
||||||
import me.shedaniel.rei.api.client.gui.widgets.Widgets;
|
import me.shedaniel.rei.api.client.gui.widgets.Widgets;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.crafting.RebornRecipe;
|
import reborncore.common.crafting.RebornRecipe;
|
||||||
import reborncore.common.crafting.RebornRecipeType;
|
import reborncore.common.crafting.RebornRecipeType;
|
||||||
import techreborn.client.compat.rei.MachineRecipeDisplay;
|
import techreborn.client.compat.rei.MachineRecipeDisplay;
|
||||||
|
|
|
@ -29,9 +29,9 @@ import net.minecraft.client.util.math.MatrixStack;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.ClientNetworkManager;
|
import reborncore.client.ClientNetworkManager;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonUpDown;
|
import reborncore.client.gui.widget.GuiButtonUpDown;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonUpDown.UpDownButtonType;
|
import reborncore.client.gui.widget.GuiButtonUpDown.UpDownButtonType;
|
||||||
import reborncore.common.powerSystem.PowerSystem;
|
import reborncore.common.powerSystem.PowerSystem;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.storage.energy.AdjustableSUBlockEntity;
|
import techreborn.blockentity.storage.energy.AdjustableSUBlockEntity;
|
||||||
|
|
|
@ -26,8 +26,8 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.iron.IronAlloyFurnaceBlockEntity;
|
import techreborn.blockentity.machine.iron.IronAlloyFurnaceBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -26,8 +26,8 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier1.AlloySmelterBlockEntity;
|
import techreborn.blockentity.machine.tier1.AlloySmelterBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -26,8 +26,8 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier1.AssemblingMachineBlockEntity;
|
import techreborn.blockentity.machine.tier1.AssemblingMachineBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -30,8 +30,8 @@ import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.recipe.CraftingRecipe;
|
import net.minecraft.recipe.CraftingRecipe;
|
||||||
import net.minecraft.util.Identifier;
|
import net.minecraft.util.Identifier;
|
||||||
import reborncore.client.ClientNetworkManager;
|
import reborncore.client.ClientNetworkManager;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier1.AutoCraftingTableBlockEntity;
|
import techreborn.blockentity.machine.tier1.AutoCraftingTableBlockEntity;
|
||||||
import techreborn.packets.ServerboundPackets;
|
import techreborn.packets.ServerboundPackets;
|
||||||
|
|
|
@ -28,7 +28,7 @@ import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.client.util.math.MatrixStack;
|
import net.minecraft.client.util.math.MatrixStack;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.common.powerSystem.PowerSystem;
|
import reborncore.common.powerSystem.PowerSystem;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.storage.energy.LowVoltageSUBlockEntity;
|
import techreborn.blockentity.storage.energy.LowVoltageSUBlockEntity;
|
||||||
|
|
|
@ -26,9 +26,9 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonExtended;
|
import reborncore.client.gui.widget.GuiButtonExtended;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.multiblock.IndustrialBlastFurnaceBlockEntity;
|
import techreborn.blockentity.machine.multiblock.IndustrialBlastFurnaceBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier0.block.BlockBreakerBlockEntity;
|
import techreborn.blockentity.machine.tier0.block.BlockBreakerBlockEntity;
|
||||||
import techreborn.blockentity.machine.tier0.block.blockbreaker.BlockBreakerProcessor;
|
import techreborn.blockentity.machine.tier0.block.blockbreaker.BlockBreakerProcessor;
|
||||||
|
|
|
@ -26,7 +26,7 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier0.block.BlockPlacerBlockEntity;
|
import techreborn.blockentity.machine.tier0.block.BlockPlacerBlockEntity;
|
||||||
import techreborn.blockentity.machine.tier0.block.blockplacer.BlockPlacerProcessor;
|
import techreborn.blockentity.machine.tier0.block.blockplacer.BlockPlacerProcessor;
|
||||||
|
|
|
@ -26,8 +26,8 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier3.IndustrialCentrifugeBlockEntity;
|
import techreborn.blockentity.machine.tier3.IndustrialCentrifugeBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.misc.ChargeOMatBlockEntity;
|
import techreborn.blockentity.machine.misc.ChargeOMatBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -26,8 +26,8 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier1.ChemicalReactorBlockEntity;
|
import techreborn.blockentity.machine.tier1.ChemicalReactorBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -30,9 +30,9 @@ import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.ClientChunkManager;
|
import reborncore.client.ClientChunkManager;
|
||||||
import reborncore.client.ClientNetworkManager;
|
import reborncore.client.ClientNetworkManager;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonUpDown;
|
import reborncore.client.gui.widget.GuiButtonUpDown;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonUpDown.UpDownButtonType;
|
import reborncore.client.gui.widget.GuiButtonUpDown.UpDownButtonType;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier3.ChunkLoaderBlockEntity;
|
import techreborn.blockentity.machine.tier3.ChunkLoaderBlockEntity;
|
||||||
import techreborn.packets.ServerboundPackets;
|
import techreborn.packets.ServerboundPackets;
|
||||||
|
|
|
@ -26,8 +26,8 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier1.CompressorBlockEntity;
|
import techreborn.blockentity.machine.tier1.CompressorBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -26,8 +26,8 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.generator.advanced.DieselGeneratorBlockEntity;
|
import techreborn.blockentity.generator.advanced.DieselGeneratorBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -26,9 +26,9 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonExtended;
|
import reborncore.client.gui.widget.GuiButtonExtended;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.multiblock.DistillationTowerBlockEntity;
|
import techreborn.blockentity.machine.multiblock.DistillationTowerBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -26,8 +26,8 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier1.ElectricFurnaceBlockEntity;
|
import techreborn.blockentity.machine.tier1.ElectricFurnaceBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier1.ElevatorBlockEntity;
|
import techreborn.blockentity.machine.tier1.ElevatorBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -26,8 +26,8 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier1.ExtractorBlockEntity;
|
import techreborn.blockentity.machine.tier1.ExtractorBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier2.FishingStationBlockEntity;
|
import techreborn.blockentity.machine.tier2.FishingStationBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -26,9 +26,9 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonExtended;
|
import reborncore.client.gui.widget.GuiButtonExtended;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.multiblock.FluidReplicatorBlockEntity;
|
import techreborn.blockentity.machine.multiblock.FluidReplicatorBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -30,11 +30,11 @@ import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import org.apache.commons.lang3.tuple.Pair;
|
import org.apache.commons.lang3.tuple.Pair;
|
||||||
import reborncore.client.ClientNetworkManager;
|
import reborncore.client.ClientNetworkManager;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonExtended;
|
import reborncore.client.gui.widget.GuiButtonExtended;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonUpDown;
|
import reborncore.client.gui.widget.GuiButtonUpDown;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonUpDown.UpDownButtonType;
|
import reborncore.client.gui.widget.GuiButtonUpDown.UpDownButtonType;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.powerSystem.PowerSystem;
|
import reborncore.common.powerSystem.PowerSystem;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import reborncore.common.util.Color;
|
import reborncore.common.util.Color;
|
||||||
|
|
|
@ -26,8 +26,8 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.generator.advanced.GasTurbineBlockEntity;
|
import techreborn.blockentity.generator.advanced.GasTurbineBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.generator.basic.SolidFuelGeneratorBlockEntity;
|
import techreborn.blockentity.generator.basic.SolidFuelGeneratorBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -29,8 +29,8 @@ import net.minecraft.client.resource.language.I18n;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import net.minecraft.util.Identifier;
|
import net.minecraft.util.Identifier;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonExtended;
|
import reborncore.client.gui.widget.GuiButtonExtended;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier1.GreenhouseControllerBlockEntity;
|
import techreborn.blockentity.machine.tier1.GreenhouseControllerBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -26,8 +26,8 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier1.GrinderBlockEntity;
|
import techreborn.blockentity.machine.tier1.GrinderBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.client.util.math.MatrixStack;
|
import net.minecraft.client.util.math.MatrixStack;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.common.powerSystem.PowerSystem;
|
import reborncore.common.powerSystem.PowerSystem;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.storage.energy.idsu.InterdimensionalSUBlockEntity;
|
import techreborn.blockentity.storage.energy.idsu.InterdimensionalSUBlockEntity;
|
||||||
|
|
|
@ -26,9 +26,9 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonExtended;
|
import reborncore.client.gui.widget.GuiButtonExtended;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.multiblock.ImplosionCompressorBlockEntity;
|
import techreborn.blockentity.machine.multiblock.ImplosionCompressorBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -26,8 +26,8 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier1.IndustrialElectrolyzerBlockEntity;
|
import techreborn.blockentity.machine.tier1.IndustrialElectrolyzerBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -26,9 +26,9 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonExtended;
|
import reborncore.client.gui.widget.GuiButtonExtended;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.multiblock.IndustrialGrinderBlockEntity;
|
import techreborn.blockentity.machine.multiblock.IndustrialGrinderBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -26,9 +26,9 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonExtended;
|
import reborncore.client.gui.widget.GuiButtonExtended;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.multiblock.IndustrialSawmillBlockEntity;
|
import techreborn.blockentity.machine.multiblock.IndustrialSawmillBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -32,8 +32,8 @@ import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import net.minecraft.util.Identifier;
|
import net.minecraft.util.Identifier;
|
||||||
import reborncore.client.ClientNetworkManager;
|
import reborncore.client.ClientNetworkManager;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.iron.IronFurnaceBlockEntity;
|
import techreborn.blockentity.machine.iron.IronFurnaceBlockEntity;
|
||||||
import techreborn.packets.ServerboundPackets;
|
import techreborn.packets.ServerboundPackets;
|
||||||
|
|
|
@ -28,7 +28,7 @@ import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.client.util.math.MatrixStack;
|
import net.minecraft.client.util.math.MatrixStack;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.common.powerSystem.PowerSystem;
|
import reborncore.common.powerSystem.PowerSystem;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.storage.energy.lesu.LapotronicSUBlockEntity;
|
import techreborn.blockentity.storage.energy.lesu.LapotronicSUBlockEntity;
|
||||||
|
|
|
@ -28,8 +28,8 @@ import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.ClientNetworkManager;
|
import reborncore.client.ClientNetworkManager;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonUpDown;
|
import reborncore.client.gui.widget.GuiButtonUpDown;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier2.LaunchpadBlockEntity;
|
import techreborn.blockentity.machine.tier2.LaunchpadBlockEntity;
|
||||||
import techreborn.packets.ServerboundPackets;
|
import techreborn.packets.ServerboundPackets;
|
||||||
|
|
|
@ -28,7 +28,7 @@ import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.client.util.math.MatrixStack;
|
import net.minecraft.client.util.math.MatrixStack;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.common.powerSystem.PowerSystem;
|
import reborncore.common.powerSystem.PowerSystem;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.storage.energy.MediumVoltageSUBlockEntity;
|
import techreborn.blockentity.storage.energy.MediumVoltageSUBlockEntity;
|
||||||
|
|
|
@ -28,7 +28,7 @@ import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.client.util.math.MatrixStack;
|
import net.minecraft.client.util.math.MatrixStack;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.common.powerSystem.PowerSystem;
|
import reborncore.common.powerSystem.PowerSystem;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.storage.energy.HighVoltageSUBlockEntity;
|
import techreborn.blockentity.storage.energy.HighVoltageSUBlockEntity;
|
||||||
|
|
|
@ -31,7 +31,7 @@ import net.minecraft.text.Text;
|
||||||
import net.minecraft.util.Identifier;
|
import net.minecraft.util.Identifier;
|
||||||
import net.minecraft.util.Util;
|
import net.minecraft.util.Util;
|
||||||
import reborncore.client.ClientNetworkManager;
|
import reborncore.client.ClientNetworkManager;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonExtended;
|
import reborncore.client.gui.widget.GuiButtonExtended;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
import techreborn.packets.ServerboundPackets;
|
import techreborn.packets.ServerboundPackets;
|
||||||
|
|
||||||
|
|
|
@ -26,8 +26,8 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier3.MatterFabricatorBlockEntity;
|
import techreborn.blockentity.machine.tier3.MatterFabricatorBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -26,8 +26,8 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.generator.PlasmaGeneratorBlockEntity;
|
import techreborn.blockentity.generator.PlasmaGeneratorBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -28,8 +28,8 @@ import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.ClientNetworkManager;
|
import reborncore.client.ClientNetworkManager;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonUpDown;
|
import reborncore.client.gui.widget.GuiButtonUpDown;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier1.PlayerDetectorBlockEntity;
|
import techreborn.blockentity.machine.tier1.PlayerDetectorBlockEntity;
|
||||||
import techreborn.packets.ServerboundPackets;
|
import techreborn.packets.ServerboundPackets;
|
||||||
|
|
|
@ -28,8 +28,8 @@ import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.ClientNetworkManager;
|
import reborncore.client.ClientNetworkManager;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonUpDown;
|
import reborncore.client.gui.widget.GuiButtonUpDown;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier2.PumpBlockEntity;
|
import techreborn.blockentity.machine.tier2.PumpBlockEntity;
|
||||||
import techreborn.packets.ServerboundPackets;
|
import techreborn.packets.ServerboundPackets;
|
||||||
|
|
|
@ -26,8 +26,8 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier1.RecyclerBlockEntity;
|
import techreborn.blockentity.machine.tier1.RecyclerBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -27,8 +27,8 @@ package techreborn.client.gui;
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.ClientNetworkManager;
|
import reborncore.client.ClientNetworkManager;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier1.RollingMachineBlockEntity;
|
import techreborn.blockentity.machine.tier1.RollingMachineBlockEntity;
|
||||||
import techreborn.packets.ServerboundPackets;
|
import techreborn.packets.ServerboundPackets;
|
||||||
|
|
|
@ -26,8 +26,8 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier1.ScrapboxinatorBlockEntity;
|
import techreborn.blockentity.machine.tier1.ScrapboxinatorBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -26,8 +26,8 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.generator.advanced.SemiFluidGeneratorBlockEntity;
|
import techreborn.blockentity.generator.advanced.SemiFluidGeneratorBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ package techreborn.client.gui;
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.generator.SolarPanelBlockEntity;
|
import techreborn.blockentity.generator.SolarPanelBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -26,8 +26,8 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier1.SolidCanningMachineBlockEntity;
|
import techreborn.blockentity.machine.tier1.SolidCanningMachineBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.ClientNetworkManager;
|
import reborncore.client.ClientNetworkManager;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.storage.item.StorageUnitBaseBlockEntity;
|
import techreborn.blockentity.storage.item.StorageUnitBaseBlockEntity;
|
||||||
import techreborn.packets.ServerboundPackets;
|
import techreborn.packets.ServerboundPackets;
|
||||||
|
|
|
@ -27,7 +27,7 @@ package techreborn.client.gui;
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.common.fluid.FluidUtils;
|
import reborncore.common.fluid.FluidUtils;
|
||||||
import reborncore.common.fluid.container.FluidInstance;
|
import reborncore.common.fluid.container.FluidInstance;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
|
|
@ -26,8 +26,8 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.generator.advanced.ThermalGeneratorBlockEntity;
|
import techreborn.blockentity.generator.advanced.ThermalGeneratorBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -26,9 +26,9 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonExtended;
|
import reborncore.client.gui.widget.GuiButtonExtended;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.multiblock.VacuumFreezerBlockEntity;
|
import techreborn.blockentity.machine.multiblock.VacuumFreezerBlockEntity;
|
||||||
|
|
||||||
|
|
|
@ -26,8 +26,8 @@ package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.DrawContext;
|
import net.minecraft.client.gui.DrawContext;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.machine.tier1.WireMillBlockEntity;
|
import techreborn.blockentity.machine.tier1.WireMillBlockEntity;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue