Storage disks and storage blocks now don't despawn anymore when dropped in the world
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
- The Destructor can now pick up items in the world (InusualZ)
|
- The Destructor can now pick up items in the world (InusualZ)
|
||||||
- Stack upgrade in Importer / Exporter in fluid mode and Fluid Interface now transfers 64 buckets at once (raoulvdberge)
|
- Stack upgrade in Importer / Exporter in fluid mode and Fluid Interface now transfers 64 buckets at once (raoulvdberge)
|
||||||
- Detector without any filter will detect based on total items or fluids stored (raoulvdberge)
|
- Detector without any filter will detect based on total items or fluids stored (raoulvdberge)
|
||||||
|
- Storage disks and storage blocks now don't despawn anymore when dropped in the world (raoulvdberge)
|
||||||
- Fixed resetting a stack of patterns yields 1 blank pattern (raoulvdberge)
|
- Fixed resetting a stack of patterns yields 1 blank pattern (raoulvdberge)
|
||||||
- Fixed being able to pipe items in the export slots of the Interface (InusualZ)
|
- Fixed being able to pipe items in the export slots of the Interface (InusualZ)
|
||||||
- Fixed Interface being stuck when item isn't accepted in storage (InusualZ)
|
- Fixed Interface being stuck when item isn't accepted in storage (InusualZ)
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
- raoulvdberge
|
- raoulvdberge
|
||||||
- way2muchnoise
|
- way2muchnoise
|
||||||
- tomevoll (providing small patches)
|
- tomevoll (providing small patches)
|
||||||
|
- InusualZ (providing small features)
|
||||||
- blay09 (Crafting Tweaks integration)
|
- blay09 (Crafting Tweaks integration)
|
||||||
|
|
||||||
## Art
|
## Art
|
||||||
|
|||||||
@@ -81,6 +81,11 @@ public class ItemBlockFluidStorage extends ItemBlockBase {
|
|||||||
initNBT(stack);
|
initNBT(stack);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getEntityLifespan(ItemStack stack, World world) {
|
||||||
|
return Integer.MAX_VALUE;
|
||||||
|
}
|
||||||
|
|
||||||
public static ItemStack initNBT(ItemStack stack) {
|
public static ItemStack initNBT(ItemStack stack) {
|
||||||
NBTTagCompound tag = new NBTTagCompound();
|
NBTTagCompound tag = new NBTTagCompound();
|
||||||
tag.setTag(TileFluidStorage.NBT_STORAGE, FluidStorageNBT.createNBT());
|
tag.setTag(TileFluidStorage.NBT_STORAGE, FluidStorageNBT.createNBT());
|
||||||
|
|||||||
@@ -81,6 +81,11 @@ public class ItemBlockStorage extends ItemBlockBase {
|
|||||||
initNBT(stack);
|
initNBT(stack);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getEntityLifespan(ItemStack stack, World world) {
|
||||||
|
return Integer.MAX_VALUE;
|
||||||
|
}
|
||||||
|
|
||||||
public static ItemStack initNBT(ItemStack stack) {
|
public static ItemStack initNBT(ItemStack stack) {
|
||||||
NBTTagCompound tag = new NBTTagCompound();
|
NBTTagCompound tag = new NBTTagCompound();
|
||||||
tag.setTag(TileStorage.NBT_STORAGE, ItemStorageNBT.createNBT());
|
tag.setTag(TileStorage.NBT_STORAGE, ItemStorageNBT.createNBT());
|
||||||
|
|||||||
@@ -114,4 +114,9 @@ public class ItemFluidStorageDisk extends ItemBase {
|
|||||||
|
|
||||||
FluidStorageNBT.createStackWithNBT(stack);
|
FluidStorageNBT.createStackWithNBT(stack);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getEntityLifespan(ItemStack stack, World world) {
|
||||||
|
return Integer.MAX_VALUE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -125,4 +125,9 @@ public class ItemStorageDisk extends ItemBase {
|
|||||||
|
|
||||||
ItemStorageNBT.createStackWithNBT(stack);
|
ItemStorageNBT.createStackWithNBT(stack);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getEntityLifespan(ItemStack stack, World world) {
|
||||||
|
return Integer.MAX_VALUE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user