mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
fixes
This commit is contained in:
parent
06166483b7
commit
a223f5662c
@ -14,7 +14,7 @@ import net.minecraft.item.ItemStack;
|
|||||||
public class GasCentrifugeRecipes {
|
public class GasCentrifugeRecipes {
|
||||||
|
|
||||||
public static enum PseudoFluidType {
|
public static enum PseudoFluidType {
|
||||||
NONE (0, 0, "NONE", "Empty", false, new ItemStack(ModItems.polaroid, 0)),
|
NONE (0, 0, "NONE", "Empty", false, null),
|
||||||
|
|
||||||
NUF6 (400, 300, "LEUF6", "Natural UF6", false, new ItemStack(ModItems.nugget_u238, 1)),
|
NUF6 (400, 300, "LEUF6", "Natural UF6", false, new ItemStack(ModItems.nugget_u238, 1)),
|
||||||
LEUF6 (300, 200, "MEUF6", "Low Enriched UF6", false, new ItemStack(ModItems.nugget_u238, 1), new ItemStack(ModItems.fluorite, 1)),
|
LEUF6 (300, 200, "MEUF6", "Low Enriched UF6", false, new ItemStack(ModItems.nugget_u238, 1), new ItemStack(ModItems.fluorite, 1)),
|
||||||
|
|||||||
@ -23,8 +23,6 @@ import net.minecraft.nbt.NBTTagList;
|
|||||||
import net.minecraft.tileentity.TileEntity;
|
import net.minecraft.tileentity.TileEntity;
|
||||||
import net.minecraft.util.AxisAlignedBB;
|
import net.minecraft.util.AxisAlignedBB;
|
||||||
|
|
||||||
//TODO: move this trash to TileEntityMachineBase
|
|
||||||
//no seriously, this is dreadful
|
|
||||||
public class TileEntityMachineCentrifuge extends TileEntityMachineBase implements ISidedInventory, IEnergyUser {
|
public class TileEntityMachineCentrifuge extends TileEntityMachineBase implements ISidedInventory, IEnergyUser {
|
||||||
|
|
||||||
public int progress;
|
public int progress;
|
||||||
@ -45,6 +43,10 @@ public class TileEntityMachineCentrifuge extends TileEntityMachineBase implement
|
|||||||
return "container.centrifuge";
|
return "container.centrifuge";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int[] getAccessibleSlotsFromSide(int side) {
|
||||||
|
return side == 0 ? slots_bottom : (side == 1 ? slots_top : slots_side);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isItemValidForSlot(int i, ItemStack itemStack) {
|
public boolean isItemValidForSlot(int i, ItemStack itemStack) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user