Updated forge to 1.13.2 - 25.0.191. Removed unused imports

This commit is contained in:
drcrazy 2019-04-26 17:37:10 +03:00
parent 2afa32ad9e
commit 5c309c8b3d
6 changed files with 1 additions and 29 deletions

View file

@ -107,7 +107,7 @@ license {
group = 'TechReborn'
dependencies {
minecraft 'net.minecraftforge:forge:1.13.2-25.0.107'
minecraft 'net.minecraftforge:forge:1.13.2-25.0.191'
if (findProject(':reborncore') != null) {
compile project(":reborncore")

View file

@ -28,13 +28,6 @@ import net.minecraft.block.Block;
import net.minecraft.block.BlockSapling;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.block.trees.SpruceTree;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.IWorld;
import techreborn.world.RubberTreeGenerator;
import java.util.Random;
/**
* Created by modmuss50 on 20/02/2016.
@ -44,17 +37,4 @@ public class BlockRubberSapling extends BlockSapling {
public BlockRubberSapling() {
super(new RubberTree(), Block.Properties.create(Material.PLANTS).sound(SoundType.PLANT));
}
// @Override
// public void grow(IWorld worldIn, BlockPos pos, IBlockState state, Random rand) {
// if (!net.minecraftforge.event.ForgeEventFactory.saplingGrowTree(worldIn, rand, pos)) {
// return;
// }
// worldIn.removeBlock(pos);
// if (!new RubberTreeGenerator(false).growTree(worldIn, rand, pos.getX(), pos.getY(), pos.getZ())) {
// worldIn.setBlockState(pos, state, 3); // Re-add the sapling if the tree
// // failed to grow
// }
// }
}

View file

@ -26,7 +26,6 @@ package techreborn.tiles.machine.iron;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.Ingredient;
import net.minecraft.tileentity.TileEntityFurnace;
import net.minecraft.util.EnumFacing;
import reborncore.api.IToolDrop;
@ -36,11 +35,9 @@ import reborncore.client.containerBuilder.builder.BuiltContainer;
import reborncore.client.containerBuilder.builder.ContainerBuilder;
import reborncore.common.crafting.RebornIngredient;
import reborncore.common.crafting.Recipe;
import reborncore.common.recipes.RecipeTranslator;
import reborncore.common.registration.RebornRegister;
import reborncore.common.tile.TileMachineBase;
import reborncore.common.util.Inventory;
import reborncore.common.util.ItemUtils;
import techreborn.TechReborn;
import techreborn.init.ModRecipes;
import techreborn.init.TRContent;

View file

@ -29,9 +29,7 @@ import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.math.BlockPos;
import net.minecraftforge.fluids.FluidStack;
import net.minecraftforge.fluids.IFluidBlock;
import net.minecraftforge.fluids.capability.CapabilityFluidHandler;
import reborncore.client.containerBuilder.IContainerProvider;

View file

@ -29,9 +29,7 @@ import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.math.BlockPos;
import net.minecraftforge.fluids.FluidStack;
import net.minecraftforge.fluids.IFluidBlock;
import net.minecraftforge.fluids.capability.CapabilityFluidHandler;
import reborncore.client.containerBuilder.IContainerProvider;

View file

@ -41,7 +41,6 @@ import reborncore.client.containerBuilder.builder.ContainerBuilder;
import reborncore.common.registration.RebornRegister;
import reborncore.common.registration.config.ConfigRegistry;
import reborncore.common.tile.TileMachineBase;
import reborncore.common.util.FluidUtils;
import reborncore.common.util.Inventory;
import reborncore.common.util.Tank;
import techreborn.TechReborn;