Remove ghost upgrade slots on some machines.
This commit is contained in:
parent
79984ab107
commit
31f3aff11f
2 changed files with 11 additions and 1 deletions
|
@ -31,10 +31,10 @@ import net.minecraft.init.Blocks;
|
||||||
import net.minecraft.init.Items;
|
import net.minecraft.init.Items;
|
||||||
import net.minecraft.item.*;
|
import net.minecraft.item.*;
|
||||||
import net.minecraft.util.EnumFacing;
|
import net.minecraft.util.EnumFacing;
|
||||||
|
import reborncore.api.IToolDrop;
|
||||||
import reborncore.api.recipe.IBaseRecipeType;
|
import reborncore.api.recipe.IBaseRecipeType;
|
||||||
import reborncore.api.recipe.RecipeHandler;
|
import reborncore.api.recipe.RecipeHandler;
|
||||||
import reborncore.api.tile.IInventoryProvider;
|
import reborncore.api.tile.IInventoryProvider;
|
||||||
import reborncore.api.IToolDrop;
|
|
||||||
import reborncore.common.recipes.RecipeTranslator;
|
import reborncore.common.recipes.RecipeTranslator;
|
||||||
import reborncore.common.registration.RebornRegistry;
|
import reborncore.common.registration.RebornRegistry;
|
||||||
import reborncore.common.tile.TileLegacyMachineBase;
|
import reborncore.common.tile.TileLegacyMachineBase;
|
||||||
|
@ -364,4 +364,9 @@ public class TileIronAlloyFurnace extends TileLegacyMachineBase
|
||||||
.syncIntegerValue(this::getCookTime, this::setCookTime)
|
.syncIntegerValue(this::getCookTime, this::setCookTime)
|
||||||
.syncIntegerValue(this::getCurrentItemBurnTime, this::setCurrentItemBurnTime).addInventory().create(this);
|
.syncIntegerValue(this::getCurrentItemBurnTime, this::setCurrentItemBurnTime).addInventory().create(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean canBeUpgraded() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -389,4 +389,9 @@ public class TileFusionControlComputer extends TilePowerAcceptor implements IToo
|
||||||
public ItemStack getToolDrop(EntityPlayer p0) {
|
public ItemStack getToolDrop(EntityPlayer p0) {
|
||||||
return new ItemStack(ModBlocks.FUSION_CONTROL_COMPUTER, 1);
|
return new ItemStack(ModBlocks.FUSION_CONTROL_COMPUTER, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean canBeUpgraded() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue