mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 13:09:53 +00:00
quick fix : Private field may be 'final'
This commit is contained in:
1 parent
b1c2569992
commit
ae363450b1
42 files changed
+81
-81
No files matched your search
@@ -13,13 +13,13 @@ import tconstruct.tools.logic.BattlesignLogic;
|
||||
import tconstruct.util.network.SignDataPacket;
|
||||
|
||||
public class BattlesignGui extends GuiScreen {
|
||||
private BattlesignLogic battlesign;
|
||||
private final BattlesignLogic battlesign;
|
||||
|
||||
private float bgColR = 1F;
|
||||
private float bgColG = 1F;
|
||||
private float bgColB = 1F;
|
||||
private static ResourceLocation background = new ResourceLocation("tinker:textures/gui/battlesignText.png");
|
||||
private String[] text = {"", "", "", "", ""};
|
||||
private static final ResourceLocation background = new ResourceLocation("tinker:textures/gui/battlesignText.png");
|
||||
private final String[] text = {"", "", "", "", ""};
|
||||
int currentLine = 0;
|
||||
|
||||
public BattlesignGui(BattlesignLogic logic) {
|
||||
|
||||
@@ -13,8 +13,8 @@ public class ChestSlot extends Slot {
|
||||
* A Slot, used for adjacent Chest Inventories, that can be disabled.
|
||||
*/
|
||||
public boolean enabled = true;
|
||||
private int accessSide;
|
||||
private int visualIndex;
|
||||
private final int accessSide;
|
||||
private final int visualIndex;
|
||||
|
||||
public ChestSlot(IInventory inventory, int index, int visualIndex, int xPosition, int yPosition, int accessSide) {
|
||||
super(inventory, index, xPosition, yPosition);
|
||||
|
||||
@@ -13,7 +13,7 @@ import tconstruct.tools.logic.FurnaceLogic;
|
||||
public class FurnaceGui extends GuiContainer {
|
||||
private static final ResourceLocation furnaceGuiTextures =
|
||||
new ResourceLocation("textures/gui/container/furnace.png");
|
||||
private FurnaceLogic logic;
|
||||
private final FurnaceLogic logic;
|
||||
|
||||
public FurnaceGui(InventoryPlayer inventory, FurnaceLogic furnace) {
|
||||
super(new FurnaceContainer(inventory, furnace));
|
||||
|
||||
@@ -18,7 +18,7 @@ public class GuiButtonTool extends GuiButton {
|
||||
int textureY;
|
||||
public String texture;
|
||||
public ToolGuiElement element;
|
||||
private ResourceLocation background; // = new
|
||||
private final ResourceLocation background; // = new
|
||||
// ResourceLocation("tinker",
|
||||
// "textures/gui/armorextended.png");
|
||||
|
||||
|
||||
Reference in new issue
Block a user