Rename 1 thing
This commit is contained in:
parent
4612ab334c
commit
0cbefc63d2
7 changed files with 13 additions and 13 deletions
|
@ -48,7 +48,7 @@ import reborncore.client.models.ModelCompound;
|
||||||
import reborncore.client.models.RebornModelRegistry;
|
import reborncore.client.models.RebornModelRegistry;
|
||||||
import reborncore.common.BaseTileBlock;
|
import reborncore.common.BaseTileBlock;
|
||||||
import reborncore.common.blocks.BlockWrenchEventHandler;
|
import reborncore.common.blocks.BlockWrenchEventHandler;
|
||||||
import reborncore.common.items.WrenchHelper;
|
import reborncore.common.util.WrenchUtils;
|
||||||
import techreborn.TechReborn;
|
import techreborn.TechReborn;
|
||||||
import techreborn.tiles.TileAlarm;
|
import techreborn.tiles.TileAlarm;
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
|
@ -116,7 +116,7 @@ public class BlockAlarm extends BaseTileBlock {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!stack.isEmpty() && ToolManager.INSTANCE.canHandleTool(stack)) {
|
if (!stack.isEmpty() && ToolManager.INSTANCE.canHandleTool(stack)) {
|
||||||
if (WrenchHelper.handleWrench(stack, worldIn, pos, playerIn, side)) {
|
if (WrenchUtils.handleWrench(stack, worldIn, pos, playerIn, side)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,7 @@ import net.minecraft.world.chunk.Chunk;
|
||||||
import net.minecraftforge.energy.CapabilityEnergy;
|
import net.minecraftforge.energy.CapabilityEnergy;
|
||||||
import reborncore.api.ToolManager;
|
import reborncore.api.ToolManager;
|
||||||
import reborncore.common.blocks.BlockWrenchEventHandler;
|
import reborncore.common.blocks.BlockWrenchEventHandler;
|
||||||
import reborncore.common.items.WrenchHelper;
|
import reborncore.common.util.WrenchUtils;
|
||||||
import reborncore.common.registration.RebornRegister;
|
import reborncore.common.registration.RebornRegister;
|
||||||
import reborncore.common.registration.impl.ConfigRegistry;
|
import reborncore.common.registration.impl.ConfigRegistry;
|
||||||
import techreborn.TechReborn;
|
import techreborn.TechReborn;
|
||||||
|
@ -141,7 +141,7 @@ public class BlockCable extends BlockContainer {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!stack.isEmpty() && ToolManager.INSTANCE.canHandleTool(stack)) {
|
if (!stack.isEmpty() && ToolManager.INSTANCE.canHandleTool(stack)) {
|
||||||
if (WrenchHelper.handleWrench(stack, worldIn, pos, playerIn, side)) {
|
if (WrenchUtils.handleWrench(stack, worldIn, pos, playerIn, side)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,7 +46,7 @@ import reborncore.client.models.ModelCompound;
|
||||||
import reborncore.client.models.RebornModelRegistry;
|
import reborncore.client.models.RebornModelRegistry;
|
||||||
import reborncore.common.BaseTileBlock;
|
import reborncore.common.BaseTileBlock;
|
||||||
import reborncore.common.blocks.BlockWrenchEventHandler;
|
import reborncore.common.blocks.BlockWrenchEventHandler;
|
||||||
import reborncore.common.items.WrenchHelper;
|
import reborncore.common.util.WrenchUtils;
|
||||||
import techreborn.TechReborn;
|
import techreborn.TechReborn;
|
||||||
import techreborn.tiles.lighting.TileLamp;
|
import techreborn.tiles.lighting.TileLamp;
|
||||||
|
|
||||||
|
@ -177,7 +177,7 @@ public class BlockLamp extends BaseTileBlock {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!stack.isEmpty() && ToolManager.INSTANCE.canHandleTool(stack)) {
|
if (!stack.isEmpty() && ToolManager.INSTANCE.canHandleTool(stack)) {
|
||||||
if (WrenchHelper.handleWrench(stack, worldIn, pos, playerIn, side)) {
|
if (WrenchUtils.handleWrench(stack, worldIn, pos, playerIn, side)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,7 +44,7 @@ import reborncore.client.models.ModelCompound;
|
||||||
import reborncore.client.models.RebornModelRegistry;
|
import reborncore.client.models.RebornModelRegistry;
|
||||||
import reborncore.common.BaseTileBlock;
|
import reborncore.common.BaseTileBlock;
|
||||||
import reborncore.common.blocks.BlockWrenchEventHandler;
|
import reborncore.common.blocks.BlockWrenchEventHandler;
|
||||||
import reborncore.common.items.WrenchHelper;
|
import reborncore.common.util.WrenchUtils;
|
||||||
import techreborn.TechReborn;
|
import techreborn.TechReborn;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
@ -162,7 +162,7 @@ public abstract class BlockEnergyStorage extends BaseTileBlock {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!stack.isEmpty() && ToolManager.INSTANCE.canHandleTool(stack)) {
|
if (!stack.isEmpty() && ToolManager.INSTANCE.canHandleTool(stack)) {
|
||||||
if (WrenchHelper.handleWrench(stack, worldIn, pos, playerIn, side)) {
|
if (WrenchUtils.handleWrench(stack, worldIn, pos, playerIn, side)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,7 +43,7 @@ import reborncore.client.models.RebornModelRegistry;
|
||||||
import reborncore.common.BaseTileBlock;
|
import reborncore.common.BaseTileBlock;
|
||||||
import reborncore.common.RebornCoreConfig;
|
import reborncore.common.RebornCoreConfig;
|
||||||
import reborncore.common.blocks.BlockWrenchEventHandler;
|
import reborncore.common.blocks.BlockWrenchEventHandler;
|
||||||
import reborncore.common.items.WrenchHelper;
|
import reborncore.common.util.WrenchUtils;
|
||||||
import techreborn.TechReborn;
|
import techreborn.TechReborn;
|
||||||
import techreborn.init.TRContent;
|
import techreborn.init.TRContent;
|
||||||
import techreborn.tiles.storage.lesu.TileLSUStorage;
|
import techreborn.tiles.storage.lesu.TileLSUStorage;
|
||||||
|
@ -100,7 +100,7 @@ public class BlockLSUStorage extends BaseTileBlock {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!stack.isEmpty() && ToolManager.INSTANCE.canHandleTool(stack)) {
|
if (!stack.isEmpty() && ToolManager.INSTANCE.canHandleTool(stack)) {
|
||||||
if (WrenchHelper.handleWrench(stack, worldIn, pos, playerIn, side)) {
|
if (WrenchUtils.handleWrench(stack, worldIn, pos, playerIn, side)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,7 +44,7 @@ import reborncore.client.models.ModelCompound;
|
||||||
import reborncore.client.models.RebornModelRegistry;
|
import reborncore.client.models.RebornModelRegistry;
|
||||||
import reborncore.common.BaseTileBlock;
|
import reborncore.common.BaseTileBlock;
|
||||||
import reborncore.common.blocks.BlockWrenchEventHandler;
|
import reborncore.common.blocks.BlockWrenchEventHandler;
|
||||||
import reborncore.common.items.WrenchHelper;
|
import reborncore.common.util.WrenchUtils;
|
||||||
import techreborn.TechReborn;
|
import techreborn.TechReborn;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
@ -167,7 +167,7 @@ public abstract class BlockTransformer extends BaseTileBlock {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!stack.isEmpty() && ToolManager.INSTANCE.canHandleTool(stack)) {
|
if (!stack.isEmpty() && ToolManager.INSTANCE.canHandleTool(stack)) {
|
||||||
if (WrenchHelper.handleWrench(stack, worldIn, pos, playerIn, side)) {
|
if (WrenchUtils.handleWrench(stack, worldIn, pos, playerIn, side)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,7 +48,7 @@ public class GuiAESU extends GuiBase {
|
||||||
protected void drawGuiContainerBackgroundLayer(final float f, final int mouseX, final int mouseY) {
|
protected void drawGuiContainerBackgroundLayer(final float f, final int mouseX, final int mouseY) {
|
||||||
super.drawGuiContainerBackgroundLayer(f, mouseX, mouseY);
|
super.drawGuiContainerBackgroundLayer(f, mouseX, mouseY);
|
||||||
final Layer layer = Layer.BACKGROUND;
|
final Layer layer = Layer.BACKGROUND;
|
||||||
|
|
||||||
this.drawSlot(62, 45, layer);
|
this.drawSlot(62, 45, layer);
|
||||||
this.drawSlot(98, 45, layer);
|
this.drawSlot(98, 45, layer);
|
||||||
this.drawArmourSlots(8, 18, layer);
|
this.drawArmourSlots(8, 18, layer);
|
||||||
|
|
Loading…
Reference in a new issue