Removed unused imports

This commit is contained in:
drcrazy 2019-08-12 22:04:24 +03:00
parent 3e1cf7d40a
commit 1f9bfabf21
10 changed files with 0 additions and 24 deletions

View file

@ -48,31 +48,26 @@ public class RollingMachineRecipe extends RebornRecipe {
return Collections.singletonList(shapedRecipe.getOutput());
}
@SuppressWarnings("deprecation")
@Override
public ItemStack getOutput() {
return shapedRecipe.getOutput();
}
@SuppressWarnings("deprecation")
@Override
public DefaultedList<Ingredient> getPreviewInputs() {
return shapedRecipe.getPreviewInputs();
}
@SuppressWarnings("deprecation")
@Override
public boolean matches(Inventory inv, World worldIn) {
return shapedRecipe.matches((CraftingInventory) inv, worldIn);
}
@SuppressWarnings("deprecation")
@Override
public ItemStack craft(Inventory inv) {
return shapedRecipe.craft((CraftingInventory) inv);
}
@SuppressWarnings("deprecation")
@Override
public boolean fits(int width, int height) {
return shapedRecipe.fits(width, height);

View file

@ -38,7 +38,6 @@ import reborncore.common.crafting.RebornRecipe;
import reborncore.common.crafting.ingredient.StackIngredient;
import reborncore.common.blockentity.MachineBaseBlockEntity;
import reborncore.common.util.RebornInventory;
import techreborn.TechReborn;
import techreborn.init.ModRecipes;
import techreborn.init.TRContent;
import techreborn.init.TRBlockEntities;

View file

@ -30,9 +30,7 @@ import net.minecraft.nbt.CompoundTag;
import net.minecraft.util.math.Direction;
import reborncore.api.IToolDrop;
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
import reborncore.common.config.Config;
import reborncore.common.util.WorldUtils;
import techreborn.TechReborn;
import techreborn.blocks.tier1.BlockPlayerDetector;
import techreborn.blocks.tier1.BlockPlayerDetector.PlayerDetectorType;
import techreborn.config.TechRebornConfig;

View file

@ -33,10 +33,8 @@ import reborncore.client.containerBuilder.IContainerProvider;
import reborncore.client.containerBuilder.builder.BuiltContainer;
import reborncore.client.containerBuilder.builder.ContainerBuilder;
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
import reborncore.common.config.Config;
import reborncore.common.util.RebornInventory;
import reborncore.common.util.ItemUtils;
import techreborn.TechReborn;
import techreborn.config.TechRebornConfig;
import techreborn.init.TRContent;
import techreborn.init.TRBlockEntities;

View file

@ -37,9 +37,7 @@ import reborncore.api.IToolDrop;
import reborncore.api.power.EnumPowerTier;
import reborncore.common.powerSystem.PowerSystem;
import reborncore.common.powerSystem.PowerAcceptorBlockEntity;
import reborncore.common.config.Config;
import reborncore.common.util.StringUtils;
import techreborn.TechReborn;
import techreborn.blocks.transformers.BlockTransformer;
import techreborn.config.TechRebornConfig;

View file

@ -40,7 +40,6 @@ import net.minecraft.client.render.model.json.ModelItemPropertyOverrideList;
import net.minecraft.client.render.model.json.ModelTransformation;
import net.minecraft.client.texture.Sprite;
import net.minecraft.client.util.ModelIdentifier;
import net.minecraft.entity.LivingEntity;
import net.minecraft.fluid.Fluid;
import net.minecraft.fluid.Fluids;
import net.minecraft.item.ItemStack;
@ -48,7 +47,6 @@ import net.minecraft.util.Identifier;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Direction;
import net.minecraft.world.ExtendedBlockView;
import net.minecraft.world.World;
import reborncore.common.fluid.container.ItemFluidInfo;
import techreborn.TechReborn;

View file

@ -36,12 +36,10 @@ import net.minecraft.client.MinecraftClient;
import net.minecraft.client.render.model.BakedModel;
import net.minecraft.client.render.model.BakedModelManager;
import net.minecraft.client.render.model.BakedQuad;
import net.minecraft.client.render.model.UnbakedModel;
import net.minecraft.client.render.model.json.ModelItemPropertyOverrideList;
import net.minecraft.client.render.model.json.ModelTransformation;
import net.minecraft.client.texture.Sprite;
import net.minecraft.client.util.ModelIdentifier;
import net.minecraft.entity.LivingEntity;
import net.minecraft.fluid.Fluid;
import net.minecraft.fluid.Fluids;
import net.minecraft.item.ItemStack;
@ -49,7 +47,6 @@ import net.minecraft.util.Identifier;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Direction;
import net.minecraft.world.ExtendedBlockView;
import net.minecraft.world.World;
import reborncore.common.fluid.container.ItemFluidInfo;
import techreborn.TechReborn;
@ -58,7 +55,6 @@ import java.awt.*;
import java.util.Collections;
import java.util.List;
import java.util.Random;
import java.util.function.Function;
import java.util.function.Supplier;
public class DynamicCellBakedModel implements BakedModel, FabricBakedModel {

View file

@ -34,7 +34,6 @@ import net.minecraft.util.ActionResult;
import net.minecraft.util.Hand;
import net.minecraft.util.TypedActionResult;
import net.minecraft.world.World;
import reborncore.common.config.Config;
import techreborn.TechReborn;
import techreborn.client.gui.GuiManual;

View file

@ -29,12 +29,9 @@ import net.fabricmc.api.Environment;
import net.minecraft.item.Item;
import net.minecraft.item.ItemGroup;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemUsageContext;
import net.minecraft.util.ActionResult;
import net.minecraft.util.DefaultedList;
import reborncore.api.power.IEnergyItemInfo;
import reborncore.api.power.ItemPowerManager;
import reborncore.common.powerSystem.ExternalPowerSystems;
import reborncore.common.powerSystem.PowerSystem;
import reborncore.common.util.ItemDurabilityExtensions;
import reborncore.common.util.ItemUtils;

View file

@ -40,8 +40,6 @@ import net.minecraft.util.math.MathHelper;
import reborncore.common.crafting.RebornRecipe;
import reborncore.common.crafting.RebornRecipeType;
import reborncore.common.util.StringUtils;
import techreborn.init.ModRecipes;
import java.awt.*;
import java.util.Arrays;
import java.util.Collections;