Optimise imports.
Find + replace during porting made a bit of a mess of them.
This commit is contained in:
parent
0ba85b37cc
commit
a162a5ab40
130 changed files with 181 additions and 269 deletions
|
@ -52,9 +52,9 @@ import reborncore.client.gui.builder.slot.GuiTab;
|
||||||
import reborncore.client.gui.builder.slot.SlotConfigGui;
|
import reborncore.client.gui.builder.slot.SlotConfigGui;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonHologram;
|
import reborncore.client.gui.builder.widget.GuiButtonHologram;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.guibuilder.GuiBuilder;
|
||||||
|
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;
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
|
|
|
@ -31,16 +31,16 @@ import net.minecraft.client.util.math.MatrixStack;
|
||||||
import net.minecraft.screen.slot.Slot;
|
import net.minecraft.screen.slot.Slot;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
|
import reborncore.client.ClientChatUtils;
|
||||||
import reborncore.client.gui.GuiUtil;
|
import reborncore.client.gui.GuiUtil;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.builder.GuiBase;
|
||||||
import reborncore.client.gui.builder.slot.elements.ConfigSlotElement;
|
import reborncore.client.gui.builder.slot.elements.ConfigSlotElement;
|
||||||
import reborncore.client.gui.builder.slot.elements.ElementBase;
|
import reborncore.client.gui.builder.slot.elements.ElementBase;
|
||||||
import reborncore.client.gui.builder.slot.elements.SlotType;
|
import reborncore.client.gui.builder.slot.elements.SlotType;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
import reborncore.common.network.NetworkManager;
|
import reborncore.common.network.NetworkManager;
|
||||||
import reborncore.common.network.ServerBoundPackets;
|
import reborncore.common.network.ServerBoundPackets;
|
||||||
import reborncore.client.ClientChatUtils;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import reborncore.common.util.Color;
|
import reborncore.common.util.Color;
|
||||||
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
|
|
|
@ -34,8 +34,8 @@ 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.builder.GuiBase;
|
||||||
import reborncore.client.gui.builder.slot.SlotConfigGui;
|
import reborncore.client.gui.builder.slot.SlotConfigGui;
|
||||||
import reborncore.common.screen.slot.BaseSlot;
|
|
||||||
import reborncore.common.blockentity.SlotConfiguration;
|
import reborncore.common.blockentity.SlotConfiguration;
|
||||||
|
import reborncore.common.screen.slot.BaseSlot;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
|
|
@ -20,7 +20,6 @@ import net.minecraft.world.BlockRenderView;
|
||||||
import net.minecraft.world.BlockView;
|
import net.minecraft.world.BlockView;
|
||||||
import reborncore.common.blockentity.MultiblockWriter;
|
import reborncore.common.blockentity.MultiblockWriter;
|
||||||
|
|
||||||
import net.minecraft.util.math.random.Random;
|
|
||||||
import java.util.function.BiPredicate;
|
import java.util.function.BiPredicate;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
"package": "reborncore.client.mixin",
|
"package": "reborncore.client.mixin",
|
||||||
"compatibilityLevel": "JAVA_17",
|
"compatibilityLevel": "JAVA_17",
|
||||||
"client": [
|
"client": [
|
||||||
"MixinGameRenderer",
|
"MixinDebugRenderer",
|
||||||
"MixinDebugRenderer"
|
"MixinGameRenderer"
|
||||||
],
|
],
|
||||||
"injectors": {
|
"injectors": {
|
||||||
"defaultRequire": 1
|
"defaultRequire": 1
|
||||||
|
|
|
@ -53,9 +53,7 @@ import reborncore.common.util.CalenderUtils;
|
||||||
import reborncore.common.util.GenericWrenchHelper;
|
import reborncore.common.util.GenericWrenchHelper;
|
||||||
import team.reborn.energy.api.EnergyStorage;
|
import team.reborn.energy.api.EnergyStorage;
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
import java.util.function.Supplier;
|
|
||||||
|
|
||||||
public class RebornCore implements ModInitializer {
|
public class RebornCore implements ModInitializer {
|
||||||
public static final String MOD_NAME = "Reborn Core";
|
public static final String MOD_NAME = "Reborn Core";
|
||||||
|
|
|
@ -33,12 +33,6 @@ import net.minecraft.nbt.NbtList;
|
||||||
import net.minecraft.nbt.NbtOps;
|
import net.minecraft.nbt.NbtOps;
|
||||||
import net.minecraft.network.PacketByteBuf;
|
import net.minecraft.network.PacketByteBuf;
|
||||||
|
|
||||||
import java.io.ByteArrayInputStream;
|
|
||||||
import java.io.ByteArrayOutputStream;
|
|
||||||
import java.io.ObjectInputStream;
|
|
||||||
import java.io.ObjectOutputStream;
|
|
||||||
import java.math.BigInteger;
|
|
||||||
|
|
||||||
public class ExtendedPacketBuffer extends PacketByteBuf {
|
public class ExtendedPacketBuffer extends PacketByteBuf {
|
||||||
public ExtendedPacketBuffer(ByteBuf wrapped) {
|
public ExtendedPacketBuffer(ByteBuf wrapped) {
|
||||||
super(wrapped);
|
super(wrapped);
|
||||||
|
|
|
@ -30,7 +30,6 @@ import net.minecraft.util.Identifier;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import reborncore.common.fluid.FluidValue;
|
import reborncore.common.fluid.FluidValue;
|
||||||
|
|
||||||
import java.math.BigInteger;
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
package reborncore.common.screen;
|
package reborncore.common.screen;
|
||||||
|
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
|
|
||||||
public interface BuiltScreenHandlerProvider {
|
public interface BuiltScreenHandlerProvider {
|
||||||
BuiltScreenHandler createScreenHandler(int syncID, PlayerEntity player);
|
BuiltScreenHandler createScreenHandler(int syncID, PlayerEntity player);
|
||||||
|
|
|
@ -7,7 +7,6 @@ import org.apache.commons.lang3.tuple.Pair;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
import java.util.Optional;
|
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
import java.util.stream.Stream;
|
import java.util.stream.Stream;
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,6 @@ import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.nbt.NbtCompound;
|
import net.minecraft.nbt.NbtCompound;
|
||||||
import net.minecraft.server.network.ServerPlayerEntity;
|
import net.minecraft.server.network.ServerPlayerEntity;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import net.minecraft.text.Text;
|
|
||||||
import net.minecraft.util.Formatting;
|
import net.minecraft.util.Formatting;
|
||||||
import reborncore.common.powerSystem.RcEnergyItem;
|
import reborncore.common.powerSystem.RcEnergyItem;
|
||||||
import reborncore.common.recipes.IRecipeInput;
|
import reborncore.common.recipes.IRecipeInput;
|
||||||
|
|
|
@ -31,10 +31,10 @@ import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.util.math.ChunkSectionPos;
|
import net.minecraft.util.math.ChunkSectionPos;
|
||||||
import net.minecraft.util.math.Vec3d;
|
import net.minecraft.util.math.Vec3d;
|
||||||
|
import net.minecraft.util.math.random.Random;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import net.minecraft.util.math.random.Random;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by Mark on 13/03/2016.
|
* Created by Mark on 13/03/2016.
|
||||||
|
|
|
@ -57,12 +57,12 @@ import reborncore.common.util.ItemUtils;
|
||||||
import team.reborn.energy.api.base.SimpleBatteryItem;
|
import team.reborn.energy.api.base.SimpleBatteryItem;
|
||||||
import techreborn.client.ClientGuiType;
|
import techreborn.client.ClientGuiType;
|
||||||
import techreborn.client.ClientboundPacketHandlers;
|
import techreborn.client.ClientboundPacketHandlers;
|
||||||
|
import techreborn.client.events.StackToolTipHandler;
|
||||||
import techreborn.client.render.DynamicBucketBakedModel;
|
import techreborn.client.render.DynamicBucketBakedModel;
|
||||||
import techreborn.client.render.DynamicCellBakedModel;
|
import techreborn.client.render.DynamicCellBakedModel;
|
||||||
import techreborn.client.render.entitys.CableCoverRenderer;
|
import techreborn.client.render.entitys.CableCoverRenderer;
|
||||||
import techreborn.client.render.entitys.StorageUnitRenderer;
|
import techreborn.client.render.entitys.StorageUnitRenderer;
|
||||||
import techreborn.client.render.entitys.TurbineRenderer;
|
import techreborn.client.render.entitys.TurbineRenderer;
|
||||||
import techreborn.client.events.StackToolTipHandler;
|
|
||||||
import techreborn.init.ModFluids;
|
import techreborn.init.ModFluids;
|
||||||
import techreborn.init.TRBlockEntities;
|
import techreborn.init.TRBlockEntities;
|
||||||
import techreborn.init.TRContent;
|
import techreborn.init.TRContent;
|
||||||
|
|
|
@ -76,10 +76,10 @@ import techreborn.api.generator.GeneratorRecipeHelper;
|
||||||
import techreborn.api.recipe.recipes.FluidReplicatorRecipe;
|
import techreborn.api.recipe.recipes.FluidReplicatorRecipe;
|
||||||
import techreborn.api.recipe.recipes.RollingMachineRecipe;
|
import techreborn.api.recipe.recipes.RollingMachineRecipe;
|
||||||
import techreborn.client.compat.rei.fluidgenerator.FluidGeneratorRecipeCategory;
|
import techreborn.client.compat.rei.fluidgenerator.FluidGeneratorRecipeCategory;
|
||||||
import techreborn.client.compat.rei.machine.*;
|
|
||||||
import techreborn.client.compat.rei.fluidgenerator.FluidGeneratorRecipeDisplay;
|
import techreborn.client.compat.rei.fluidgenerator.FluidGeneratorRecipeDisplay;
|
||||||
import techreborn.client.compat.rei.fluidreplicator.FluidReplicatorRecipeCategory;
|
import techreborn.client.compat.rei.fluidreplicator.FluidReplicatorRecipeCategory;
|
||||||
import techreborn.client.compat.rei.fluidreplicator.FluidReplicatorRecipeDisplay;
|
import techreborn.client.compat.rei.fluidreplicator.FluidReplicatorRecipeDisplay;
|
||||||
|
import techreborn.client.compat.rei.machine.*;
|
||||||
import techreborn.client.compat.rei.rollingmachine.RollingMachineCategory;
|
import techreborn.client.compat.rei.rollingmachine.RollingMachineCategory;
|
||||||
import techreborn.client.compat.rei.rollingmachine.RollingMachineDisplay;
|
import techreborn.client.compat.rei.rollingmachine.RollingMachineDisplay;
|
||||||
import techreborn.init.ModRecipes;
|
import techreborn.init.ModRecipes;
|
||||||
|
|
|
@ -27,7 +27,6 @@ package techreborn.client.events;
|
||||||
import net.minecraft.client.gui.screen.Screen;
|
import net.minecraft.client.gui.screen.Screen;
|
||||||
import net.minecraft.client.resource.language.I18n;
|
import net.minecraft.client.resource.language.I18n;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import net.minecraft.text.Text;
|
|
||||||
import net.minecraft.util.Formatting;
|
import net.minecraft.util.Formatting;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
import techreborn.init.TRContent;
|
import techreborn.init.TRContent;
|
||||||
|
|
|
@ -24,16 +24,15 @@
|
||||||
|
|
||||||
package techreborn.client.gui;
|
package techreborn.client.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.screen.Screen;
|
|
||||||
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.builder.GuiBase;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonUpDown;
|
import reborncore.client.gui.builder.widget.GuiButtonUpDown;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonUpDown.UpDownButtonType;
|
import reborncore.client.gui.builder.widget.GuiButtonUpDown.UpDownButtonType;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.network.NetworkManager;
|
import reborncore.common.network.NetworkManager;
|
||||||
import reborncore.common.powerSystem.PowerSystem;
|
import reborncore.common.powerSystem.PowerSystem;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.storage.energy.AdjustableSUBlockEntity;
|
import techreborn.blockentity.storage.energy.AdjustableSUBlockEntity;
|
||||||
import techreborn.packets.ServerboundPackets;
|
import techreborn.packets.ServerboundPackets;
|
||||||
|
|
||||||
|
|
|
@ -32,8 +32,8 @@ import net.minecraft.recipe.CraftingRecipe;
|
||||||
import net.minecraft.util.Identifier;
|
import net.minecraft.util.Identifier;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.builder.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.guibuilder.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.network.NetworkManager;
|
import reborncore.common.network.NetworkManager;
|
||||||
|
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,8 +28,8 @@ 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.builder.GuiBase;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.powerSystem.PowerSystem;
|
import reborncore.common.powerSystem.PowerSystem;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.storage.energy.LowVoltageSUBlockEntity;
|
import techreborn.blockentity.storage.energy.LowVoltageSUBlockEntity;
|
||||||
|
|
||||||
public class GuiBatbox extends GuiBase<BuiltScreenHandler> {
|
public class GuiBatbox extends GuiBase<BuiltScreenHandler> {
|
||||||
|
|
|
@ -32,8 +32,8 @@ import reborncore.client.ClientChunkManager;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.builder.GuiBase;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonUpDown;
|
import reborncore.client.gui.builder.widget.GuiButtonUpDown;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonUpDown.UpDownButtonType;
|
import reborncore.client.gui.builder.widget.GuiButtonUpDown.UpDownButtonType;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.network.NetworkManager;
|
import reborncore.common.network.NetworkManager;
|
||||||
|
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;
|
||||||
|
|
||||||
|
|
|
@ -28,8 +28,8 @@ 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.builder.GuiBase;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.powerSystem.PowerSystem;
|
import reborncore.common.powerSystem.PowerSystem;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.storage.energy.idsu.InterdimensionalSUBlockEntity;
|
import techreborn.blockentity.storage.energy.idsu.InterdimensionalSUBlockEntity;
|
||||||
|
|
||||||
public class GuiIDSU extends GuiBase<BuiltScreenHandler> {
|
public class GuiIDSU extends GuiBase<BuiltScreenHandler> {
|
||||||
|
|
|
@ -33,8 +33,8 @@ 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.builder.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.guibuilder.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.network.NetworkManager;
|
import reborncore.common.network.NetworkManager;
|
||||||
|
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;
|
||||||
import techreborn.utils.PlayerUtils;
|
import techreborn.utils.PlayerUtils;
|
||||||
|
|
|
@ -28,8 +28,8 @@ 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.builder.GuiBase;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.powerSystem.PowerSystem;
|
import reborncore.common.powerSystem.PowerSystem;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.storage.energy.lesu.LapotronicSUBlockEntity;
|
import techreborn.blockentity.storage.energy.lesu.LapotronicSUBlockEntity;
|
||||||
|
|
||||||
public class GuiLESU extends GuiBase<BuiltScreenHandler> {
|
public class GuiLESU extends GuiBase<BuiltScreenHandler> {
|
||||||
|
|
|
@ -28,8 +28,8 @@ 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.builder.GuiBase;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.powerSystem.PowerSystem;
|
import reborncore.common.powerSystem.PowerSystem;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.storage.energy.MediumVoltageSUBlockEntity;
|
import techreborn.blockentity.storage.energy.MediumVoltageSUBlockEntity;
|
||||||
|
|
||||||
public class GuiMFE extends GuiBase<BuiltScreenHandler> {
|
public class GuiMFE extends GuiBase<BuiltScreenHandler> {
|
||||||
|
|
|
@ -28,8 +28,8 @@ 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.builder.GuiBase;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.powerSystem.PowerSystem;
|
import reborncore.common.powerSystem.PowerSystem;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import techreborn.blockentity.storage.energy.HighVoltageSUBlockEntity;
|
import techreborn.blockentity.storage.energy.HighVoltageSUBlockEntity;
|
||||||
|
|
||||||
public class GuiMFSU extends GuiBase<BuiltScreenHandler> {
|
public class GuiMFSU extends GuiBase<BuiltScreenHandler> {
|
||||||
|
|
|
@ -29,8 +29,8 @@ 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.builder.GuiBase;
|
||||||
import reborncore.client.gui.builder.widget.GuiButtonUpDown;
|
import reborncore.client.gui.builder.widget.GuiButtonUpDown;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.network.NetworkManager;
|
import reborncore.common.network.NetworkManager;
|
||||||
|
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.util.math.MatrixStack;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import reborncore.client.gui.builder.GuiBase;
|
import reborncore.client.gui.builder.GuiBase;
|
||||||
import reborncore.client.gui.guibuilder.GuiBuilder;
|
import reborncore.client.gui.guibuilder.GuiBuilder;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.network.NetworkManager;
|
import reborncore.common.network.NetworkManager;
|
||||||
|
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;
|
||||||
|
|
||||||
|
|
|
@ -28,8 +28,8 @@ 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.builder.GuiBase;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.network.NetworkManager;
|
import reborncore.common.network.NetworkManager;
|
||||||
|
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;
|
||||||
|
|
||||||
|
|
|
@ -28,9 +28,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.gui.builder.GuiBase;
|
import reborncore.client.gui.builder.GuiBase;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
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 techreborn.blockentity.storage.fluid.TankUnitBaseBlockEntity;
|
import techreborn.blockentity.storage.fluid.TankUnitBaseBlockEntity;
|
||||||
|
|
||||||
public class GuiTankUnit extends GuiBase<BuiltScreenHandler> {
|
public class GuiTankUnit extends GuiBase<BuiltScreenHandler> {
|
||||||
|
|
|
@ -38,8 +38,6 @@ import net.minecraft.util.math.random.Random;
|
||||||
import techreborn.blockentity.cable.CableBlockEntity;
|
import techreborn.blockentity.cable.CableBlockEntity;
|
||||||
import techreborn.blocks.cable.CableBlock;
|
import techreborn.blocks.cable.CableBlock;
|
||||||
|
|
||||||
import net.minecraft.util.math.random.Random;
|
|
||||||
|
|
||||||
public class CableCoverRenderer implements BlockEntityRenderer<CableBlockEntity> {
|
public class CableCoverRenderer implements BlockEntityRenderer<CableBlockEntity> {
|
||||||
|
|
||||||
public CableCoverRenderer(BlockEntityRendererFactory.Context ctx) {
|
public CableCoverRenderer(BlockEntityRendererFactory.Context ctx) {
|
||||||
|
|
|
@ -26,6 +26,7 @@ package techreborn.datagen
|
||||||
|
|
||||||
import net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint
|
import net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint
|
||||||
import net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator
|
import net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator
|
||||||
|
import techreborn.datagen.recipes.crafting.CraftingRecipesProvider
|
||||||
import techreborn.datagen.recipes.machine.assembling_machine.AssemblingMachineRecipesProvider
|
import techreborn.datagen.recipes.machine.assembling_machine.AssemblingMachineRecipesProvider
|
||||||
import techreborn.datagen.recipes.machine.blast_furnace.BlastFurnaceRecipesProvider
|
import techreborn.datagen.recipes.machine.blast_furnace.BlastFurnaceRecipesProvider
|
||||||
import techreborn.datagen.recipes.machine.chemical_reactor.ChemicalReactorRecipesProvider
|
import techreborn.datagen.recipes.machine.chemical_reactor.ChemicalReactorRecipesProvider
|
||||||
|
@ -35,7 +36,6 @@ import techreborn.datagen.recipes.machine.grinder.GrinderRecipesProvider
|
||||||
import techreborn.datagen.recipes.machine.industrial_grinder.IndustrialGrinderRecipesProvider
|
import techreborn.datagen.recipes.machine.industrial_grinder.IndustrialGrinderRecipesProvider
|
||||||
import techreborn.datagen.recipes.machine.industrial_sawmill.IndustrialSawmillRecipesProvider
|
import techreborn.datagen.recipes.machine.industrial_sawmill.IndustrialSawmillRecipesProvider
|
||||||
import techreborn.datagen.recipes.smelting.SmeltingRecipesProvider
|
import techreborn.datagen.recipes.smelting.SmeltingRecipesProvider
|
||||||
import techreborn.datagen.recipes.crafting.CraftingRecipesProvider
|
|
||||||
import techreborn.datagen.tags.TRBlockTagProvider
|
import techreborn.datagen.tags.TRBlockTagProvider
|
||||||
import techreborn.datagen.tags.TRItemTagProvider
|
import techreborn.datagen.tags.TRItemTagProvider
|
||||||
import techreborn.datagen.tags.WaterExplosionTagProvider
|
import techreborn.datagen.tags.WaterExplosionTagProvider
|
||||||
|
|
|
@ -33,7 +33,6 @@ import net.minecraft.recipe.Ingredient
|
||||||
import net.minecraft.tag.TagKey
|
import net.minecraft.tag.TagKey
|
||||||
import net.minecraft.util.Identifier
|
import net.minecraft.util.Identifier
|
||||||
import techreborn.datagen.recipes.machine.MachineRecipeJsonFactory
|
import techreborn.datagen.recipes.machine.MachineRecipeJsonFactory
|
||||||
import techreborn.datagen.recipes.machine.MachineRecipeWithFluidJsonFactory
|
|
||||||
import techreborn.datagen.recipes.machine.blast_furnace.BlastFurnaceRecipeJsonFactory
|
import techreborn.datagen.recipes.machine.blast_furnace.BlastFurnaceRecipeJsonFactory
|
||||||
import techreborn.datagen.recipes.machine.industrial_grinder.IndustrialGrinderRecipeJsonFactory
|
import techreborn.datagen.recipes.machine.industrial_grinder.IndustrialGrinderRecipeJsonFactory
|
||||||
import techreborn.datagen.recipes.machine.industrial_sawmill.IndustrialSawmillRecipeJsonFactory
|
import techreborn.datagen.recipes.machine.industrial_sawmill.IndustrialSawmillRecipeJsonFactory
|
||||||
|
|
|
@ -30,7 +30,6 @@ import net.minecraft.advancement.criterion.CriterionConditions
|
||||||
import net.minecraft.data.server.recipe.RecipeJsonProvider
|
import net.minecraft.data.server.recipe.RecipeJsonProvider
|
||||||
import net.minecraft.item.ItemConvertible
|
import net.minecraft.item.ItemConvertible
|
||||||
import net.minecraft.item.ItemStack
|
import net.minecraft.item.ItemStack
|
||||||
import net.minecraft.recipe.Ingredient
|
|
||||||
import net.minecraft.recipe.RecipeSerializer
|
import net.minecraft.recipe.RecipeSerializer
|
||||||
import net.minecraft.tag.TagKey
|
import net.minecraft.tag.TagKey
|
||||||
import net.minecraft.util.Identifier
|
import net.minecraft.util.Identifier
|
||||||
|
|
|
@ -27,9 +27,6 @@ package techreborn.datagen.recipes.machine.extractor
|
||||||
import net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator
|
import net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator
|
||||||
import net.minecraft.item.ItemStack
|
import net.minecraft.item.ItemStack
|
||||||
import net.minecraft.item.Items
|
import net.minecraft.item.Items
|
||||||
import net.minecraft.tag.TagKey
|
|
||||||
import net.minecraft.util.Identifier
|
|
||||||
import net.minecraft.util.registry.Registry
|
|
||||||
import techreborn.datagen.recipes.TechRebornRecipesProvider
|
import techreborn.datagen.recipes.TechRebornRecipesProvider
|
||||||
import techreborn.init.TRContent
|
import techreborn.init.TRContent
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,9 @@
|
||||||
package techreborn.datagen.recipes.machine.industrial_grinder
|
package techreborn.datagen.recipes.machine.industrial_grinder
|
||||||
|
|
||||||
|
|
||||||
import net.minecraft.util.Identifier
|
import net.minecraft.util.Identifier
|
||||||
import reborncore.common.fluid.FluidValue
|
import reborncore.common.fluid.FluidValue
|
||||||
import reborncore.common.fluid.container.FluidInstance
|
import reborncore.common.fluid.container.FluidInstance
|
||||||
import techreborn.api.recipe.recipes.IndustrialGrinderRecipe
|
import techreborn.api.recipe.recipes.IndustrialGrinderRecipe
|
||||||
import techreborn.api.recipe.recipes.IndustrialSawmillRecipe
|
|
||||||
import techreborn.datagen.recipes.machine.MachineRecipeJsonFactory
|
|
||||||
import techreborn.datagen.recipes.machine.MachineRecipeWithFluidJsonFactory
|
import techreborn.datagen.recipes.machine.MachineRecipeWithFluidJsonFactory
|
||||||
import techreborn.init.ModRecipes
|
import techreborn.init.ModRecipes
|
||||||
|
|
||||||
|
|
|
@ -1,15 +1,10 @@
|
||||||
package techreborn.datagen.recipes.machine.industrial_sawmill
|
package techreborn.datagen.recipes.machine.industrial_sawmill
|
||||||
|
|
||||||
import net.minecraft.fluid.Fluid
|
|
||||||
import net.minecraft.fluid.Fluids
|
|
||||||
import net.minecraft.util.Identifier
|
import net.minecraft.util.Identifier
|
||||||
import reborncore.common.crafting.RebornFluidRecipe
|
|
||||||
import reborncore.common.crafting.RebornRecipe
|
|
||||||
import reborncore.common.crafting.RebornRecipeType
|
|
||||||
import reborncore.common.fluid.FluidValue
|
import reborncore.common.fluid.FluidValue
|
||||||
import reborncore.common.fluid.container.FluidInstance
|
import reborncore.common.fluid.container.FluidInstance
|
||||||
import techreborn.api.recipe.recipes.IndustrialSawmillRecipe
|
import techreborn.api.recipe.recipes.IndustrialSawmillRecipe
|
||||||
import techreborn.datagen.recipes.machine.MachineRecipeJsonFactory
|
|
||||||
import techreborn.datagen.recipes.machine.MachineRecipeWithFluidJsonFactory
|
import techreborn.datagen.recipes.machine.MachineRecipeWithFluidJsonFactory
|
||||||
import techreborn.init.ModRecipes
|
import techreborn.init.ModRecipes
|
||||||
|
|
||||||
|
|
|
@ -33,8 +33,8 @@ import net.minecraft.fluid.Fluids;
|
||||||
import net.minecraft.item.ItemGroup;
|
import net.minecraft.item.ItemGroup;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.util.Identifier;
|
import net.minecraft.util.Identifier;
|
||||||
import org.slf4j.LoggerFactory;
|
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
|
import org.slf4j.LoggerFactory;
|
||||||
import reborncore.common.blockentity.RedstoneConfiguration;
|
import reborncore.common.blockentity.RedstoneConfiguration;
|
||||||
import reborncore.common.config.Configuration;
|
import reborncore.common.config.Configuration;
|
||||||
import reborncore.common.recipes.RecipeCrafter;
|
import reborncore.common.recipes.RecipeCrafter;
|
||||||
|
|
|
@ -34,7 +34,6 @@ import net.minecraft.screen.ScreenHandler;
|
||||||
import net.minecraft.screen.ScreenHandlerType;
|
import net.minecraft.screen.ScreenHandlerType;
|
||||||
import net.minecraft.server.network.ServerPlayerEntity;
|
import net.minecraft.server.network.ServerPlayerEntity;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import net.minecraft.text.Text;
|
|
||||||
import net.minecraft.util.Identifier;
|
import net.minecraft.util.Identifier;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
|
|
@ -36,8 +36,6 @@ import net.minecraft.nbt.NbtHelper;
|
||||||
import net.minecraft.network.packet.s2c.play.BlockEntityUpdateS2CPacket;
|
import net.minecraft.network.packet.s2c.play.BlockEntityUpdateS2CPacket;
|
||||||
import net.minecraft.server.world.ServerWorld;
|
import net.minecraft.server.world.ServerWorld;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import net.minecraft.text.Text;
|
|
||||||
import net.minecraft.text.Text;
|
|
||||||
import net.minecraft.util.Formatting;
|
import net.minecraft.util.Formatting;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.util.math.Direction;
|
import net.minecraft.util.math.Direction;
|
||||||
|
|
|
@ -27,17 +27,11 @@ package techreborn.blockentity.cable;
|
||||||
import net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents;
|
import net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents;
|
||||||
import net.fabricmc.fabric.api.transfer.v1.transaction.Transaction;
|
import net.fabricmc.fabric.api.transfer.v1.transaction.Transaction;
|
||||||
import net.minecraft.server.world.ServerWorld;
|
import net.minecraft.server.world.ServerWorld;
|
||||||
import net.minecraft.util.math.BlockPos;
|
|
||||||
import net.minecraft.util.math.Direction;
|
import net.minecraft.util.math.Direction;
|
||||||
import team.reborn.energy.api.EnergyStorage;
|
import team.reborn.energy.api.EnergyStorage;
|
||||||
import techreborn.init.TRContent;
|
import techreborn.init.TRContent;
|
||||||
|
|
||||||
import java.util.ArrayDeque;
|
import java.util.*;
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.Collections;
|
|
||||||
import java.util.Comparator;
|
|
||||||
import java.util.Deque;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
@SuppressWarnings("UnstableApiUsage")
|
@SuppressWarnings("UnstableApiUsage")
|
||||||
class CableTickManager {
|
class CableTickManager {
|
||||||
|
|
|
@ -40,10 +40,10 @@ import org.apache.commons.io.IOUtils;
|
||||||
import org.apache.commons.lang3.Validate;
|
import org.apache.commons.lang3.Validate;
|
||||||
import org.apache.commons.lang3.text.WordUtils;
|
import org.apache.commons.lang3.text.WordUtils;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.crafting.RebornRecipeType;
|
import reborncore.common.crafting.RebornRecipeType;
|
||||||
import reborncore.common.recipes.RecipeCrafter;
|
import reborncore.common.recipes.RecipeCrafter;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
import reborncore.common.screen.builder.BlockEntityScreenHandlerBuilder;
|
import reborncore.common.screen.builder.BlockEntityScreenHandlerBuilder;
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
|
|
|
@ -28,10 +28,10 @@ import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.fluid.FluidValue;
|
import reborncore.common.fluid.FluidValue;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import techreborn.api.generator.EFluidGenerator;
|
import techreborn.api.generator.EFluidGenerator;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
import techreborn.init.TRBlockEntities;
|
import techreborn.init.TRBlockEntities;
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
|
|
||||||
package techreborn.blockentity.generator;
|
package techreborn.blockentity.generator;
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
import net.minecraft.block.Block;
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.block.BlockState;
|
import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
|
@ -37,20 +36,22 @@ import net.minecraft.util.math.Direction;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
import reborncore.api.IToolDrop;
|
import reborncore.api.IToolDrop;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
import reborncore.common.blocks.BlockMachineBase;
|
import reborncore.common.blocks.BlockMachineBase;
|
||||||
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
||||||
import reborncore.common.powerSystem.PowerSystem;
|
import reborncore.common.powerSystem.PowerSystem;
|
||||||
import reborncore.common.powerSystem.RcEnergyTier;
|
import reborncore.common.powerSystem.RcEnergyTier;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.StringUtils;
|
import reborncore.common.util.StringUtils;
|
||||||
import techreborn.blocks.generator.BlockSolarPanel;
|
import techreborn.blocks.generator.BlockSolarPanel;
|
||||||
import techreborn.init.TRBlockEntities;
|
import techreborn.init.TRBlockEntities;
|
||||||
import techreborn.init.TRContent;
|
import techreborn.init.TRContent;
|
||||||
import techreborn.init.TRContent.SolarPanels;
|
import techreborn.init.TRContent.SolarPanels;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
public class SolarPanelBlockEntity extends PowerAcceptorBlockEntity implements IToolDrop, BuiltScreenHandlerProvider {
|
public class SolarPanelBlockEntity extends PowerAcceptorBlockEntity implements IToolDrop, BuiltScreenHandlerProvider {
|
||||||
|
|
||||||
private boolean generating = false;
|
private boolean generating = false;
|
||||||
|
|
|
@ -28,9 +28,9 @@ import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.fluid.FluidValue;
|
import reborncore.common.fluid.FluidValue;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import techreborn.api.generator.EFluidGenerator;
|
import techreborn.api.generator.EFluidGenerator;
|
||||||
import techreborn.blockentity.generator.BaseFluidGeneratorBlockEntity;
|
import techreborn.blockentity.generator.BaseFluidGeneratorBlockEntity;
|
||||||
|
|
|
@ -28,10 +28,10 @@ import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.fluid.FluidValue;
|
import reborncore.common.fluid.FluidValue;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import techreborn.api.generator.EFluidGenerator;
|
import techreborn.api.generator.EFluidGenerator;
|
||||||
import techreborn.blockentity.generator.BaseFluidGeneratorBlockEntity;
|
import techreborn.blockentity.generator.BaseFluidGeneratorBlockEntity;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
|
|
|
@ -28,10 +28,10 @@ import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.fluid.FluidValue;
|
import reborncore.common.fluid.FluidValue;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import techreborn.api.generator.EFluidGenerator;
|
import techreborn.api.generator.EFluidGenerator;
|
||||||
import techreborn.blockentity.generator.BaseFluidGeneratorBlockEntity;
|
import techreborn.blockentity.generator.BaseFluidGeneratorBlockEntity;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
|
|
|
@ -28,10 +28,10 @@ import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.fluid.FluidValue;
|
import reborncore.common.fluid.FluidValue;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import techreborn.api.generator.EFluidGenerator;
|
import techreborn.api.generator.EFluidGenerator;
|
||||||
import techreborn.blockentity.generator.BaseFluidGeneratorBlockEntity;
|
import techreborn.blockentity.generator.BaseFluidGeneratorBlockEntity;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
|
|
|
@ -39,12 +39,12 @@ import org.jetbrains.annotations.NotNull;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
import reborncore.api.IToolDrop;
|
import reborncore.api.IToolDrop;
|
||||||
import reborncore.api.blockentity.InventoryProvider;
|
import reborncore.api.blockentity.InventoryProvider;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
import reborncore.common.blocks.BlockMachineBase;
|
import reborncore.common.blocks.BlockMachineBase;
|
||||||
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
import techreborn.init.TRBlockEntities;
|
import techreborn.init.TRBlockEntities;
|
||||||
|
|
|
@ -36,7 +36,6 @@ import reborncore.api.IToolDrop;
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
import reborncore.common.blocks.BlockMachineBase;
|
import reborncore.common.blocks.BlockMachineBase;
|
||||||
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
||||||
|
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
import techreborn.init.TRBlockEntities;
|
import techreborn.init.TRBlockEntities;
|
||||||
import techreborn.init.TRContent;
|
import techreborn.init.TRContent;
|
||||||
|
|
|
@ -34,7 +34,6 @@ import org.jetbrains.annotations.Nullable;
|
||||||
import reborncore.api.IToolDrop;
|
import reborncore.api.IToolDrop;
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
||||||
|
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
import techreborn.init.TRBlockEntities;
|
import techreborn.init.TRBlockEntities;
|
||||||
import techreborn.init.TRContent;
|
import techreborn.init.TRContent;
|
||||||
|
|
|
@ -28,11 +28,11 @@ import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.crafting.RebornRecipe;
|
import reborncore.common.crafting.RebornRecipe;
|
||||||
import reborncore.common.crafting.ingredient.RebornIngredient;
|
import reborncore.common.crafting.ingredient.RebornIngredient;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
import techreborn.init.ModRecipes;
|
import techreborn.init.ModRecipes;
|
||||||
|
|
|
@ -35,9 +35,9 @@ import net.minecraft.recipe.RecipeType;
|
||||||
import net.minecraft.recipe.SmeltingRecipe;
|
import net.minecraft.recipe.SmeltingRecipe;
|
||||||
import net.minecraft.server.network.ServerPlayerEntity;
|
import net.minecraft.server.network.ServerPlayerEntity;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
import techreborn.init.TRBlockEntities;
|
import techreborn.init.TRBlockEntities;
|
||||||
|
|
|
@ -33,11 +33,11 @@ import net.minecraft.world.World;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
import reborncore.api.IToolDrop;
|
import reborncore.api.IToolDrop;
|
||||||
import reborncore.api.blockentity.InventoryProvider;
|
import reborncore.api.blockentity.InventoryProvider;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
import techreborn.init.TRBlockEntities;
|
import techreborn.init.TRBlockEntities;
|
||||||
|
|
|
@ -28,12 +28,12 @@ import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.util.math.Direction;
|
import net.minecraft.util.math.Direction;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.blockentity.MultiblockWriter;
|
import reborncore.common.blockentity.MultiblockWriter;
|
||||||
import reborncore.common.crafting.RebornRecipe;
|
import reborncore.common.crafting.RebornRecipe;
|
||||||
import reborncore.common.recipes.RecipeCrafter;
|
import reborncore.common.recipes.RecipeCrafter;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
|
|
|
@ -32,13 +32,14 @@ import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.util.math.Direction;
|
import net.minecraft.util.math.Direction;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
import reborncore.common.blockentity.MultiblockWriter;
|
import reborncore.common.blockentity.MultiblockWriter;
|
||||||
|
import reborncore.common.fluid.FluidUtils;
|
||||||
import reborncore.common.fluid.FluidValue;
|
import reborncore.common.fluid.FluidValue;
|
||||||
import reborncore.common.recipes.RecipeCrafter;
|
import reborncore.common.recipes.RecipeCrafter;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.IInventoryAccess;
|
import reborncore.common.util.IInventoryAccess;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import reborncore.common.util.Tank;
|
import reborncore.common.util.Tank;
|
||||||
|
@ -47,7 +48,6 @@ import techreborn.config.TechRebornConfig;
|
||||||
import techreborn.init.ModRecipes;
|
import techreborn.init.ModRecipes;
|
||||||
import techreborn.init.TRBlockEntities;
|
import techreborn.init.TRBlockEntities;
|
||||||
import techreborn.init.TRContent;
|
import techreborn.init.TRContent;
|
||||||
import reborncore.common.fluid.FluidUtils;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author drcrazy
|
* @author drcrazy
|
||||||
|
|
|
@ -35,13 +35,13 @@ import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.util.math.Direction;
|
import net.minecraft.util.math.Direction;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
import reborncore.common.blockentity.MultiblockWriter;
|
import reborncore.common.blockentity.MultiblockWriter;
|
||||||
import reborncore.common.crafting.RebornRecipe;
|
import reborncore.common.crafting.RebornRecipe;
|
||||||
import reborncore.common.crafting.ingredient.RebornIngredient;
|
import reborncore.common.crafting.ingredient.RebornIngredient;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.ItemUtils;
|
import reborncore.common.util.ItemUtils;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import reborncore.common.util.StringUtils;
|
import reborncore.common.util.StringUtils;
|
||||||
|
|
|
@ -28,12 +28,12 @@ import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.util.math.Direction;
|
import net.minecraft.util.math.Direction;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.blockentity.MultiblockWriter;
|
import reborncore.common.blockentity.MultiblockWriter;
|
||||||
import reborncore.common.crafting.RebornRecipe;
|
import reborncore.common.crafting.RebornRecipe;
|
||||||
import reborncore.common.recipes.RecipeCrafter;
|
import reborncore.common.recipes.RecipeCrafter;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
|
|
|
@ -32,12 +32,12 @@ import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.util.math.Direction;
|
import net.minecraft.util.math.Direction;
|
||||||
import net.minecraft.world.BlockView;
|
import net.minecraft.world.BlockView;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.blockentity.MultiblockWriter;
|
import reborncore.common.blockentity.MultiblockWriter;
|
||||||
import reborncore.common.multiblock.IMultiblockPart;
|
import reborncore.common.multiblock.IMultiblockPart;
|
||||||
import reborncore.common.recipes.RecipeCrafter;
|
import reborncore.common.recipes.RecipeCrafter;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
||||||
import techreborn.blockentity.machine.multiblock.casing.MachineCasingBlockEntity;
|
import techreborn.blockentity.machine.multiblock.casing.MachineCasingBlockEntity;
|
||||||
|
|
|
@ -33,13 +33,14 @@ import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.util.math.Direction;
|
import net.minecraft.util.math.Direction;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
import reborncore.common.blockentity.MultiblockWriter;
|
import reborncore.common.blockentity.MultiblockWriter;
|
||||||
|
import reborncore.common.fluid.FluidUtils;
|
||||||
import reborncore.common.fluid.FluidValue;
|
import reborncore.common.fluid.FluidValue;
|
||||||
import reborncore.common.recipes.RecipeCrafter;
|
import reborncore.common.recipes.RecipeCrafter;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import reborncore.common.util.Tank;
|
import reborncore.common.util.Tank;
|
||||||
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
||||||
|
@ -47,7 +48,6 @@ import techreborn.config.TechRebornConfig;
|
||||||
import techreborn.init.ModRecipes;
|
import techreborn.init.ModRecipes;
|
||||||
import techreborn.init.TRBlockEntities;
|
import techreborn.init.TRBlockEntities;
|
||||||
import techreborn.init.TRContent;
|
import techreborn.init.TRContent;
|
||||||
import reborncore.common.fluid.FluidUtils;
|
|
||||||
|
|
||||||
public class IndustrialGrinderBlockEntity extends GenericMachineBlockEntity implements BuiltScreenHandlerProvider {
|
public class IndustrialGrinderBlockEntity extends GenericMachineBlockEntity implements BuiltScreenHandlerProvider {
|
||||||
|
|
||||||
|
|
|
@ -33,13 +33,14 @@ import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.util.math.Direction;
|
import net.minecraft.util.math.Direction;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
import reborncore.common.blockentity.MultiblockWriter;
|
import reborncore.common.blockentity.MultiblockWriter;
|
||||||
|
import reborncore.common.fluid.FluidUtils;
|
||||||
import reborncore.common.fluid.FluidValue;
|
import reborncore.common.fluid.FluidValue;
|
||||||
import reborncore.common.recipes.RecipeCrafter;
|
import reborncore.common.recipes.RecipeCrafter;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import reborncore.common.util.Tank;
|
import reborncore.common.util.Tank;
|
||||||
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
||||||
|
@ -47,7 +48,6 @@ import techreborn.config.TechRebornConfig;
|
||||||
import techreborn.init.ModRecipes;
|
import techreborn.init.ModRecipes;
|
||||||
import techreborn.init.TRBlockEntities;
|
import techreborn.init.TRBlockEntities;
|
||||||
import techreborn.init.TRContent;
|
import techreborn.init.TRContent;
|
||||||
import reborncore.common.fluid.FluidUtils;
|
|
||||||
|
|
||||||
public class IndustrialSawmillBlockEntity extends GenericMachineBlockEntity implements BuiltScreenHandlerProvider {
|
public class IndustrialSawmillBlockEntity extends GenericMachineBlockEntity implements BuiltScreenHandlerProvider {
|
||||||
|
|
||||||
|
|
|
@ -28,12 +28,12 @@ import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.util.math.Direction;
|
import net.minecraft.util.math.Direction;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.blockentity.MultiblockWriter;
|
import reborncore.common.blockentity.MultiblockWriter;
|
||||||
import reborncore.common.crafting.RebornRecipe;
|
import reborncore.common.crafting.RebornRecipe;
|
||||||
import reborncore.common.recipes.RecipeCrafter;
|
import reborncore.common.recipes.RecipeCrafter;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
|
|
|
@ -8,12 +8,12 @@ import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.nbt.NbtCompound;
|
import net.minecraft.nbt.NbtCompound;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import reborncore.common.screen.builder.BlockEntityScreenHandlerBuilder;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
import reborncore.common.recipes.RecipeCrafter;
|
import reborncore.common.recipes.RecipeCrafter;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.BlockEntityScreenHandlerBuilder;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
||||||
|
|
||||||
public class AbstractBlockBlockEntity extends GenericMachineBlockEntity implements BuiltScreenHandlerProvider, BlockProcessable {
|
public class AbstractBlockBlockEntity extends GenericMachineBlockEntity implements BuiltScreenHandlerProvider, BlockProcessable {
|
||||||
|
|
|
@ -27,10 +27,10 @@ package techreborn.blockentity.machine.tier0.block;
|
||||||
import net.minecraft.block.BlockState;
|
import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import reborncore.common.screen.builder.BlockEntityScreenHandlerBuilder;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.BlockEntityScreenHandlerBuilder;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.blockentity.machine.tier0.block.blockbreaker.BlockBreakerProcessor;
|
import techreborn.blockentity.machine.tier0.block.blockbreaker.BlockBreakerProcessor;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
|
|
|
@ -27,10 +27,10 @@ package techreborn.blockentity.machine.tier0.block;
|
||||||
import net.minecraft.block.BlockState;
|
import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import reborncore.common.screen.builder.BlockEntityScreenHandlerBuilder;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.BlockEntityScreenHandlerBuilder;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.blockentity.machine.tier0.block.blockplacer.BlockPlacerProcessor;
|
import techreborn.blockentity.machine.tier0.block.blockplacer.BlockPlacerProcessor;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package techreborn.blockentity.machine.tier0.block;
|
package techreborn.blockentity.machine.tier0.block;
|
||||||
|
|
||||||
import net.minecraft.text.Text;
|
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
package techreborn.blockentity.machine.tier0.block.blockbreaker;
|
package techreborn.blockentity.machine.tier0.block.blockbreaker;
|
||||||
|
|
||||||
import net.minecraft.text.Text;
|
|
||||||
import net.minecraft.text.Text;
|
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.common.util.Color;
|
import reborncore.common.util.Color;
|
||||||
import techreborn.blockentity.machine.tier0.block.ProcessingStatus;
|
import techreborn.blockentity.machine.tier0.block.ProcessingStatus;
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
package techreborn.blockentity.machine.tier0.block.blockplacer;
|
package techreborn.blockentity.machine.tier0.block.blockplacer;
|
||||||
|
|
||||||
import net.minecraft.text.Text;
|
|
||||||
import net.minecraft.text.Text;
|
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import reborncore.common.util.Color;
|
import reborncore.common.util.Color;
|
||||||
import techreborn.blockentity.machine.tier0.block.ProcessingStatus;
|
import techreborn.blockentity.machine.tier0.block.ProcessingStatus;
|
||||||
|
|
|
@ -27,10 +27,10 @@ package techreborn.blockentity.machine.tier1;
|
||||||
import net.minecraft.block.BlockState;
|
import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.recipes.RecipeCrafter;
|
import reborncore.common.recipes.RecipeCrafter;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
|
|
|
@ -27,10 +27,10 @@ package techreborn.blockentity.machine.tier1;
|
||||||
import net.minecraft.block.BlockState;
|
import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.recipes.RecipeCrafter;
|
import reborncore.common.recipes.RecipeCrafter;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
|
|
|
@ -43,11 +43,11 @@ import org.apache.commons.lang3.tuple.Pair;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
import reborncore.api.IToolDrop;
|
import reborncore.api.IToolDrop;
|
||||||
import reborncore.api.blockentity.InventoryProvider;
|
import reborncore.api.blockentity.InventoryProvider;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.ItemUtils;
|
import reborncore.common.util.ItemUtils;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
|
|
|
@ -27,10 +27,10 @@ package techreborn.blockentity.machine.tier1;
|
||||||
import net.minecraft.block.BlockState;
|
import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.recipes.RecipeCrafter;
|
import reborncore.common.recipes.RecipeCrafter;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
|
|
|
@ -27,10 +27,10 @@ package techreborn.blockentity.machine.tier1;
|
||||||
import net.minecraft.block.BlockState;
|
import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.recipes.RecipeCrafter;
|
import reborncore.common.recipes.RecipeCrafter;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
|
|
|
@ -36,13 +36,13 @@ import net.minecraft.world.World;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
import reborncore.api.IToolDrop;
|
import reborncore.api.IToolDrop;
|
||||||
import reborncore.api.blockentity.InventoryProvider;
|
import reborncore.api.blockentity.InventoryProvider;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
import reborncore.common.blocks.BlockMachineBase;
|
import reborncore.common.blocks.BlockMachineBase;
|
||||||
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
||||||
import reborncore.common.recipes.RecipeCrafter;
|
import reborncore.common.recipes.RecipeCrafter;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.ItemUtils;
|
import reborncore.common.util.ItemUtils;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
|
|
|
@ -27,10 +27,10 @@ package techreborn.blockentity.machine.tier1;
|
||||||
import net.minecraft.block.BlockState;
|
import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.recipes.RecipeCrafter;
|
import reborncore.common.recipes.RecipeCrafter;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
|
|
|
@ -36,12 +36,12 @@ import net.minecraft.world.World;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
import reborncore.api.IToolDrop;
|
import reborncore.api.IToolDrop;
|
||||||
import reborncore.api.blockentity.InventoryProvider;
|
import reborncore.api.blockentity.InventoryProvider;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
import reborncore.common.blockentity.MultiblockWriter;
|
import reborncore.common.blockentity.MultiblockWriter;
|
||||||
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.ItemUtils;
|
import reborncore.common.util.ItemUtils;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.blocks.lighting.LampBlock;
|
import techreborn.blocks.lighting.LampBlock;
|
||||||
|
|
|
@ -27,10 +27,10 @@ package techreborn.blockentity.machine.tier1;
|
||||||
import net.minecraft.block.BlockState;
|
import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.recipes.RecipeCrafter;
|
import reborncore.common.recipes.RecipeCrafter;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.ItemUtils;
|
import reborncore.common.util.ItemUtils;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
||||||
|
|
|
@ -34,13 +34,12 @@ import net.minecraft.util.math.MathHelper;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
import reborncore.api.IToolDrop;
|
import reborncore.api.IToolDrop;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.WorldUtils;
|
import reborncore.common.util.WorldUtils;
|
||||||
|
|
||||||
import techreborn.blocks.machine.tier1.PlayerDetectorBlock;
|
import techreborn.blocks.machine.tier1.PlayerDetectorBlock;
|
||||||
import techreborn.blocks.machine.tier1.PlayerDetectorBlock.PlayerDetectorType;
|
import techreborn.blocks.machine.tier1.PlayerDetectorBlock.PlayerDetectorType;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
|
|
|
@ -31,8 +31,8 @@ import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.util.registry.Registry;
|
import net.minecraft.util.registry.Registry;
|
||||||
import reborncore.api.blockentity.IUpgrade;
|
import reborncore.api.blockentity.IUpgrade;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.api.recipe.RecyclerRecipeCrafter;
|
import techreborn.api.recipe.RecyclerRecipeCrafter;
|
||||||
|
|
|
@ -39,15 +39,14 @@ import org.jetbrains.annotations.NotNull;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
import reborncore.api.IToolDrop;
|
import reborncore.api.IToolDrop;
|
||||||
import reborncore.api.blockentity.InventoryProvider;
|
import reborncore.api.blockentity.InventoryProvider;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
import reborncore.common.blocks.BlockMachineBase;
|
import reborncore.common.blocks.BlockMachineBase;
|
||||||
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.ItemUtils;
|
import reborncore.common.util.ItemUtils;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
|
|
||||||
import techreborn.api.recipe.recipes.RollingMachineRecipe;
|
import techreborn.api.recipe.recipes.RollingMachineRecipe;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
import techreborn.init.ModRecipes;
|
import techreborn.init.ModRecipes;
|
||||||
|
|
|
@ -27,8 +27,8 @@ package techreborn.blockentity.machine.tier1;
|
||||||
import net.minecraft.block.BlockState;
|
import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.api.recipe.ScrapboxRecipeCrafter;
|
import techreborn.api.recipe.ScrapboxRecipeCrafter;
|
||||||
|
|
|
@ -27,10 +27,10 @@ package techreborn.blockentity.machine.tier1;
|
||||||
import net.minecraft.block.BlockState;
|
import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.recipes.RecipeCrafter;
|
import reborncore.common.recipes.RecipeCrafter;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
|
|
|
@ -27,10 +27,10 @@ package techreborn.blockentity.machine.tier1;
|
||||||
import net.minecraft.block.BlockState;
|
import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.recipes.RecipeCrafter;
|
import reborncore.common.recipes.RecipeCrafter;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
||||||
import techreborn.init.ModRecipes;
|
import techreborn.init.ModRecipes;
|
||||||
|
|
|
@ -37,11 +37,11 @@ import org.apache.commons.lang3.StringUtils;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
import reborncore.api.IToolDrop;
|
import reborncore.api.IToolDrop;
|
||||||
import reborncore.api.blockentity.InventoryProvider;
|
import reborncore.api.blockentity.InventoryProvider;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
import reborncore.common.chunkloading.ChunkLoaderManager;
|
import reborncore.common.chunkloading.ChunkLoaderManager;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
import techreborn.init.TRBlockEntities;
|
import techreborn.init.TRBlockEntities;
|
||||||
|
|
|
@ -27,10 +27,10 @@ package techreborn.blockentity.machine.tier3;
|
||||||
import net.minecraft.block.BlockState;
|
import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.recipes.RecipeCrafter;
|
import reborncore.common.recipes.RecipeCrafter;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.ItemUtils;
|
import reborncore.common.util.ItemUtils;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
import techreborn.blockentity.machine.GenericMachineBlockEntity;
|
||||||
|
|
|
@ -33,11 +33,11 @@ import net.minecraft.world.World;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
import reborncore.api.IToolDrop;
|
import reborncore.api.IToolDrop;
|
||||||
import reborncore.api.blockentity.InventoryProvider;
|
import reborncore.api.blockentity.InventoryProvider;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.ItemUtils;
|
import reborncore.common.util.ItemUtils;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
|
|
|
@ -33,11 +33,11 @@ import net.minecraft.util.math.Direction;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
import reborncore.api.blockentity.IUpgrade;
|
import reborncore.api.blockentity.IUpgrade;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
import reborncore.common.powerSystem.RcEnergyTier;
|
import reborncore.common.powerSystem.RcEnergyTier;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
import techreborn.init.TRBlockEntities;
|
import techreborn.init.TRBlockEntities;
|
||||||
|
|
|
@ -27,10 +27,10 @@ package techreborn.blockentity.storage.energy;
|
||||||
import net.minecraft.block.BlockState;
|
import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.powerSystem.RcEnergyTier;
|
import reborncore.common.powerSystem.RcEnergyTier;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import techreborn.init.TRBlockEntities;
|
import techreborn.init.TRBlockEntities;
|
||||||
import techreborn.init.TRContent;
|
import techreborn.init.TRContent;
|
||||||
|
|
||||||
|
|
|
@ -27,10 +27,10 @@ package techreborn.blockentity.storage.energy;
|
||||||
import net.minecraft.block.BlockState;
|
import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.powerSystem.RcEnergyTier;
|
import reborncore.common.powerSystem.RcEnergyTier;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import techreborn.init.TRBlockEntities;
|
import techreborn.init.TRBlockEntities;
|
||||||
import techreborn.init.TRContent;
|
import techreborn.init.TRContent;
|
||||||
|
|
||||||
|
|
|
@ -27,10 +27,10 @@ package techreborn.blockentity.storage.energy;
|
||||||
import net.minecraft.block.BlockState;
|
import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.powerSystem.RcEnergyTier;
|
import reborncore.common.powerSystem.RcEnergyTier;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import techreborn.init.TRBlockEntities;
|
import techreborn.init.TRBlockEntities;
|
||||||
import techreborn.init.TRContent;
|
import techreborn.init.TRContent;
|
||||||
|
|
||||||
|
|
|
@ -32,10 +32,10 @@ import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.util.math.Direction;
|
import net.minecraft.util.math.Direction;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.powerSystem.RcEnergyTier;
|
import reborncore.common.powerSystem.RcEnergyTier;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import team.reborn.energy.api.EnergyStorage;
|
import team.reborn.energy.api.EnergyStorage;
|
||||||
import team.reborn.energy.api.base.DelegatingEnergyStorage;
|
import team.reborn.energy.api.base.DelegatingEnergyStorage;
|
||||||
import techreborn.blockentity.storage.energy.EnergyStorageBlockEntity;
|
import techreborn.blockentity.storage.energy.EnergyStorageBlockEntity;
|
||||||
|
|
|
@ -30,11 +30,11 @@ import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.util.math.Direction;
|
import net.minecraft.util.math.Direction;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
import reborncore.common.powerSystem.RcEnergyTier;
|
import reborncore.common.powerSystem.RcEnergyTier;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import techreborn.blockentity.storage.energy.EnergyStorageBlockEntity;
|
import techreborn.blockentity.storage.energy.EnergyStorageBlockEntity;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
import techreborn.init.TRBlockEntities;
|
import techreborn.init.TRBlockEntities;
|
||||||
|
|
|
@ -37,17 +37,17 @@ import org.jetbrains.annotations.Nullable;
|
||||||
import reborncore.api.IListInfoProvider;
|
import reborncore.api.IListInfoProvider;
|
||||||
import reborncore.api.IToolDrop;
|
import reborncore.api.IToolDrop;
|
||||||
import reborncore.api.blockentity.InventoryProvider;
|
import reborncore.api.blockentity.InventoryProvider;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
|
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;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import reborncore.common.util.Tank;
|
import reborncore.common.util.Tank;
|
||||||
import techreborn.init.TRBlockEntities;
|
import techreborn.init.TRBlockEntities;
|
||||||
import techreborn.init.TRContent;
|
import techreborn.init.TRContent;
|
||||||
import reborncore.common.fluid.FluidUtils;
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
|
|
@ -42,10 +42,10 @@ import org.jetbrains.annotations.Nullable;
|
||||||
import reborncore.api.IListInfoProvider;
|
import reborncore.api.IListInfoProvider;
|
||||||
import reborncore.api.IToolDrop;
|
import reborncore.api.IToolDrop;
|
||||||
import reborncore.api.blockentity.InventoryProvider;
|
import reborncore.api.blockentity.InventoryProvider;
|
||||||
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
|
||||||
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
import reborncore.common.blockentity.MachineBaseBlockEntity;
|
||||||
import reborncore.common.screen.BuiltScreenHandler;
|
import reborncore.common.screen.BuiltScreenHandler;
|
||||||
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
import reborncore.common.screen.BuiltScreenHandlerProvider;
|
||||||
|
import reborncore.common.screen.builder.ScreenHandlerBuilder;
|
||||||
import reborncore.common.util.ItemUtils;
|
import reborncore.common.util.ItemUtils;
|
||||||
import reborncore.common.util.RebornInventory;
|
import reborncore.common.util.RebornInventory;
|
||||||
import reborncore.common.util.WorldUtils;
|
import reborncore.common.util.WorldUtils;
|
||||||
|
|
|
@ -30,7 +30,6 @@ import net.minecraft.block.entity.BlockEntityType;
|
||||||
import net.minecraft.entity.player.PlayerEntity;
|
import net.minecraft.entity.player.PlayerEntity;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import net.minecraft.text.Text;
|
|
||||||
import net.minecraft.util.Formatting;
|
import net.minecraft.util.Formatting;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.util.math.Direction;
|
import net.minecraft.util.math.Direction;
|
||||||
|
@ -39,8 +38,8 @@ import reborncore.api.IListInfoProvider;
|
||||||
import reborncore.api.IToolDrop;
|
import reborncore.api.IToolDrop;
|
||||||
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
||||||
import reborncore.common.powerSystem.PowerSystem;
|
import reborncore.common.powerSystem.PowerSystem;
|
||||||
import reborncore.common.util.StringUtils;
|
|
||||||
import reborncore.common.powerSystem.RcEnergyTier;
|
import reborncore.common.powerSystem.RcEnergyTier;
|
||||||
|
import reborncore.common.util.StringUtils;
|
||||||
import techreborn.blocks.transformers.BlockTransformer;
|
import techreborn.blocks.transformers.BlockTransformer;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
|
|
||||||
|
|
|
@ -25,8 +25,8 @@
|
||||||
package techreborn.blocks;
|
package techreborn.blocks;
|
||||||
|
|
||||||
import net.minecraft.util.Identifier;
|
import net.minecraft.util.Identifier;
|
||||||
import techreborn.blockentity.data.DataDrivenBEProvider;
|
|
||||||
import techreborn.blockentity.GuiType;
|
import techreborn.blockentity.GuiType;
|
||||||
|
import techreborn.blockentity.data.DataDrivenBEProvider;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author modmuss50
|
* @author modmuss50
|
||||||
|
|
|
@ -29,7 +29,10 @@ import net.minecraft.util.math.Direction;
|
||||||
import net.minecraft.util.shape.VoxelShape;
|
import net.minecraft.util.shape.VoxelShape;
|
||||||
import net.minecraft.util.shape.VoxelShapes;
|
import net.minecraft.util.shape.VoxelShapes;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ArrayList;
|
||||||
|
import java.util.IdentityHashMap;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
public final class CableShapeUtil {
|
public final class CableShapeUtil {
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,6 @@ import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.sound.BlockSoundGroup;
|
import net.minecraft.sound.BlockSoundGroup;
|
||||||
import net.minecraft.sound.SoundCategory;
|
import net.minecraft.sound.SoundCategory;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import net.minecraft.text.Text;
|
|
||||||
import net.minecraft.util.ActionResult;
|
import net.minecraft.util.ActionResult;
|
||||||
import net.minecraft.util.Formatting;
|
import net.minecraft.util.Formatting;
|
||||||
import net.minecraft.util.Hand;
|
import net.minecraft.util.Hand;
|
||||||
|
|
|
@ -38,8 +38,8 @@ import net.minecraft.world.World;
|
||||||
import reborncore.api.blockentity.IMachineGuiHandler;
|
import reborncore.api.blockentity.IMachineGuiHandler;
|
||||||
import reborncore.common.blocks.BlockMachineBase;
|
import reborncore.common.blocks.BlockMachineBase;
|
||||||
import reborncore.common.util.Torus;
|
import reborncore.common.util.Torus;
|
||||||
import techreborn.blockentity.machine.multiblock.FusionControlComputerBlockEntity;
|
|
||||||
import techreborn.blockentity.GuiType;
|
import techreborn.blockentity.GuiType;
|
||||||
|
import techreborn.blockentity.machine.multiblock.FusionControlComputerBlockEntity;
|
||||||
import techreborn.init.TRContent;
|
import techreborn.init.TRContent;
|
||||||
import techreborn.utils.damageSources.FusionDamageSource;
|
import techreborn.utils.damageSources.FusionDamageSource;
|
||||||
|
|
||||||
|
|
|
@ -31,8 +31,8 @@ import net.minecraft.world.World;
|
||||||
import reborncore.api.blockentity.IMachineGuiHandler;
|
import reborncore.api.blockentity.IMachineGuiHandler;
|
||||||
import reborncore.common.blocks.BlockMachineBase;
|
import reborncore.common.blocks.BlockMachineBase;
|
||||||
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
|
||||||
import techreborn.blockentity.generator.SolarPanelBlockEntity;
|
|
||||||
import techreborn.blockentity.GuiType;
|
import techreborn.blockentity.GuiType;
|
||||||
|
import techreborn.blockentity.generator.SolarPanelBlockEntity;
|
||||||
import techreborn.init.TRContent.SolarPanels;
|
import techreborn.init.TRContent.SolarPanels;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -36,7 +36,6 @@ import net.minecraft.server.network.ServerPlayerEntity;
|
||||||
import net.minecraft.state.StateManager;
|
import net.minecraft.state.StateManager;
|
||||||
import net.minecraft.state.property.EnumProperty;
|
import net.minecraft.state.property.EnumProperty;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import net.minecraft.text.Text;
|
|
||||||
import net.minecraft.util.ActionResult;
|
import net.minecraft.util.ActionResult;
|
||||||
import net.minecraft.util.Formatting;
|
import net.minecraft.util.Formatting;
|
||||||
import net.minecraft.util.Hand;
|
import net.minecraft.util.Hand;
|
||||||
|
@ -52,8 +51,8 @@ import reborncore.api.blockentity.IMachineGuiHandler;
|
||||||
import reborncore.common.blocks.BlockMachineBase;
|
import reborncore.common.blocks.BlockMachineBase;
|
||||||
import reborncore.common.util.ChatUtils;
|
import reborncore.common.util.ChatUtils;
|
||||||
import reborncore.common.util.StringUtils;
|
import reborncore.common.util.StringUtils;
|
||||||
import techreborn.blockentity.machine.tier1.PlayerDetectorBlockEntity;
|
|
||||||
import techreborn.blockentity.GuiType;
|
import techreborn.blockentity.GuiType;
|
||||||
|
import techreborn.blockentity.machine.tier1.PlayerDetectorBlockEntity;
|
||||||
import techreborn.utils.MessageIDs;
|
import techreborn.utils.MessageIDs;
|
||||||
|
|
||||||
public class PlayerDetectorBlock extends BlockMachineBase {
|
public class PlayerDetectorBlock extends BlockMachineBase {
|
||||||
|
|
|
@ -48,7 +48,6 @@ import reborncore.common.util.WorldUtils;
|
||||||
import techreborn.blockentity.machine.tier1.ResinBasinBlockEntity;
|
import techreborn.blockentity.machine.tier1.ResinBasinBlockEntity;
|
||||||
import techreborn.init.TRContent;
|
import techreborn.init.TRContent;
|
||||||
|
|
||||||
import java.util.UUID;
|
|
||||||
import java.util.function.BiFunction;
|
import java.util.function.BiFunction;
|
||||||
|
|
||||||
public class ResinBasinBlock extends BaseBlockEntityProvider {
|
public class ResinBasinBlock extends BaseBlockEntityProvider {
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue