mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
version bump and breeder fix on NTM-main
This commit is contained in:
parent
b8ea92eb2a
commit
94cbdd2555
@ -33,27 +33,30 @@ public class ContainerMachineReactorBreeding extends Container {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ItemStack transferStackInSlot(EntityPlayer player, int index) {
|
public ItemStack transferStackInSlot(EntityPlayer player, int index) {
|
||||||
|
|
||||||
ItemStack var3 = null;
|
ItemStack var3 = null;
|
||||||
Slot slot = (Slot) this.inventorySlots.get(index);
|
Slot slot = (Slot) this.inventorySlots.get(index);
|
||||||
|
|
||||||
if (slot != null && slot.getHasStack()) {
|
if(slot != null && slot.getHasStack()) {
|
||||||
|
|
||||||
ItemStack stack = slot.getStack();
|
ItemStack stack = slot.getStack();
|
||||||
var3 = stack.copy();
|
var3 = stack.copy();
|
||||||
|
|
||||||
if (index <= 2) {
|
if(index <= 2) {
|
||||||
if (!this.mergeItemStack(stack, 2, this.inventorySlots.size(), true)) {
|
if(!this.mergeItemStack(stack, 2, this.inventorySlots.size(), true)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if(stack.getItem() instanceof ItemBreedingRod)
|
} else if(stack.getItem() instanceof ItemBreedingRod) {
|
||||||
if (!this.mergeItemStack(stack, 0, 1, false)) {
|
if(!this.mergeItemStack(stack, 0, 1, false)) {
|
||||||
return null;
|
return null;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stack.stackSize == 0) {
|
if(stack.stackSize == 0) {
|
||||||
slot.putStack((ItemStack) null);
|
slot.putStack((ItemStack) null);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
@ -62,7 +65,7 @@ public class ContainerMachineReactorBreeding extends Container {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return var3;
|
return var3;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean canInteractWith(EntityPlayer player) {
|
public boolean canInteractWith(EntityPlayer player) {
|
||||||
|
|||||||
@ -3,7 +3,7 @@ package com.hbm.lib;
|
|||||||
public class RefStrings {
|
public class RefStrings {
|
||||||
public static final String MODID = "hbm";
|
public static final String MODID = "hbm";
|
||||||
public static final String NAME = "Hbm's Nuclear Tech Mod";
|
public static final String NAME = "Hbm's Nuclear Tech Mod";
|
||||||
public static final String VERSION = "1.0.27 BETA (4130)";
|
public static final String VERSION = "1.0.27 BETA (4130H1)";
|
||||||
//HBM's Beta Naming Convention:
|
//HBM's Beta Naming Convention:
|
||||||
//V T (X)
|
//V T (X)
|
||||||
//V -> next release version
|
//V -> next release version
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"modid": "hbm",
|
"modid": "hbm",
|
||||||
"name": "Hbm's Nuclear Tech",
|
"name": "Hbm's Nuclear Tech",
|
||||||
"description": "A mod that adds weapons, nuclear themed stuff and machines",
|
"description": "A mod that adds weapons, nuclear themed stuff and machines",
|
||||||
"version":"1.0.27_X4130",
|
"version":"1.0.27_X4130H1",
|
||||||
"mcversion": "1.7.10",
|
"mcversion": "1.7.10",
|
||||||
"url": "",
|
"url": "",
|
||||||
"updateUrl": "",
|
"updateUrl": "",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user