Fixed imports and suppressed recipe warnings.
This commit is contained in:
parent
29d1176861
commit
25d561c81c
4 changed files with 3 additions and 4 deletions
|
@ -37,7 +37,6 @@ import net.minecraftforge.fml.common.network.NetworkRegistry;
|
|||
import net.minecraftforge.fml.common.registry.EntityRegistry;
|
||||
import net.minecraftforge.fml.common.registry.GameRegistry;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import org.apache.commons.lang3.time.StopWatch;
|
||||
import reborncore.RebornCore;
|
||||
import reborncore.api.recipe.RecipeHandler;
|
||||
import reborncore.common.multiblock.MultiblockEventHandler;
|
||||
|
|
|
@ -91,6 +91,7 @@ public abstract class BaseRecipe implements IBaseRecipeType, Cloneable {
|
|||
return euPerTick;
|
||||
}
|
||||
|
||||
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||
@Override
|
||||
public boolean canCraft(TileEntity tile) {
|
||||
if (tile instanceof ITileRecipeHandler) {
|
||||
|
@ -98,7 +99,8 @@ public abstract class BaseRecipe implements IBaseRecipeType, Cloneable {
|
|||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||
@Override
|
||||
public boolean onCraft(TileEntity tile) {
|
||||
if (tile instanceof ITileRecipeHandler) {
|
||||
|
|
|
@ -38,7 +38,6 @@ import reborncore.common.powerSystem.PowerSystem;
|
|||
import javax.annotation.Nonnull;
|
||||
import javax.annotation.Nullable;
|
||||
import java.awt.*;
|
||||
import java.text.NumberFormat;
|
||||
import java.util.List;
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
|
|
|
@ -26,7 +26,6 @@ package techreborn.proxies;
|
|||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraftforge.fml.common.Loader;
|
||||
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
|
||||
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
|
||||
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
|
||||
|
|
Loading…
Reference in a new issue