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)
 | 
			
		||||
- 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)
 | 
			
		||||
- 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 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)
 | 
			
		||||
 
 | 
			
		||||
@@ -4,6 +4,7 @@
 | 
			
		||||
- raoulvdberge
 | 
			
		||||
- way2muchnoise
 | 
			
		||||
- tomevoll (providing small patches)
 | 
			
		||||
- InusualZ (providing small features)
 | 
			
		||||
- blay09 (Crafting Tweaks integration)
 | 
			
		||||
 | 
			
		||||
## Art
 | 
			
		||||
 
 | 
			
		||||
@@ -81,6 +81,11 @@ public class ItemBlockFluidStorage extends ItemBlockBase {
 | 
			
		||||
        initNBT(stack);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public int getEntityLifespan(ItemStack stack, World world) {
 | 
			
		||||
        return Integer.MAX_VALUE;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public static ItemStack initNBT(ItemStack stack) {
 | 
			
		||||
        NBTTagCompound tag = new NBTTagCompound();
 | 
			
		||||
        tag.setTag(TileFluidStorage.NBT_STORAGE, FluidStorageNBT.createNBT());
 | 
			
		||||
 
 | 
			
		||||
@@ -81,6 +81,11 @@ public class ItemBlockStorage extends ItemBlockBase {
 | 
			
		||||
        initNBT(stack);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public int getEntityLifespan(ItemStack stack, World world) {
 | 
			
		||||
        return Integer.MAX_VALUE;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public static ItemStack initNBT(ItemStack stack) {
 | 
			
		||||
        NBTTagCompound tag = new NBTTagCompound();
 | 
			
		||||
        tag.setTag(TileStorage.NBT_STORAGE, ItemStorageNBT.createNBT());
 | 
			
		||||
 
 | 
			
		||||
@@ -114,4 +114,9 @@ public class ItemFluidStorageDisk extends ItemBase {
 | 
			
		||||
 | 
			
		||||
        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);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public int getEntityLifespan(ItemStack stack, World world) {
 | 
			
		||||
        return Integer.MAX_VALUE;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user