Compare commits

..
4 Commits
Author SHA1 Message Date
Martin Robertz 94aaeb7c4c update 2024-12-05 17:46:07 +01:00
Martin Robertz 08bf248fd3 fix 2024-12-05 17:44:44 +01:00
Martin Robertz 54c702e935 update 2024-11-13 07:12:13 +01:00
Ryan Nasers a3aa358627 Fixing Waila showing incorrect blocks for logs (#54) 2024-11-12 22:04:26 +01:00
4 changed files with 10 additions and 5 deletions

No files matched your search

+3 -3
View File
@@ -1,10 +1,10 @@
// Add your dependencies here
dependencies {
api('com.github.GTNewHorizons:ForestryMC:4.9.16:dev')
implementation('com.github.GTNewHorizons:GTNHLib:0.5.11:dev')
api('com.github.GTNewHorizons:ForestryMC:4.9.19:dev')
implementation('com.github.GTNewHorizons:GTNHLib:0.5.21:dev')
devOnlyNonPublishable('com.github.GTNewHorizons:NotEnoughItems:2.6.38-GTNH:dev')
devOnlyNonPublishable('com.github.GTNewHorizons:NotEnoughItems:2.6.49-GTNH:dev')
compileOnly('com.github.GTNewHorizons:BuildCraft:7.1.39:api')
compileOnly('net.industrial-craft:industrialcraft-2:2.2.828-experimental:dev')
+1 -1
View File
@@ -17,5 +17,5 @@ pluginManagement {
}
plugins {
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.27'
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.29'
}
@@ -33,7 +33,7 @@ public class PositionedFluidTank {
public PositionedFluidTank(FluidTank[] tanks, Rectangle position, String overlayTexture, Point overlayTexturePos) {
this.position = position;
this.tanks = tanks;
this.tank = tanks[0];
if (tanks[0] != null) this.tank = tanks[0];
this.overlayTexture = overlayTexture;
this.overlayTexturePos = overlayTexturePos;
}
@@ -176,4 +176,9 @@ public class BlockETLog extends BlockLog implements IBlockMetadata {
public ItemStack getPickBlock(MovingObjectPosition target, World world, int x, int y, int z, EntityPlayer player) {
return BlockMetadata.getPickBlock(world, x, y, z);
}
@Override
public ItemStack getPickBlock(MovingObjectPosition target, World world, int x, int y, int z) {
return this.getPickBlock(target, world, x, y, z, null);
}
}