
Gets the Size of the tank of a block at a position at X Y Z.
new Object() { public int getTankSize(LevelAccessor level, BlocksPos pos) { if (level instanceof ILevelExtension _ext) { IFluidHandler _fluidhandler = _ext.getCapability(Capabilities.FluidHandler.BLOCK, pos, null); if (_fluidhandler != null) { return _fluidhandler.getTankCapacity(0); } } return 0; } }.getTankSize(world, BlockPos.containing(${input$x},${input$y},${input$z}))
${input$x} = X-Position of the Block
${input$y} = Y-Position of the Block
${input$z} = Z-Position of the Block
Return Number