@Override public @Nonnull ItemStack getPickBlock(@Nonnull IBlockState bs, @Nonnull RayTraceResult target, @Nonnull World world, @Nonnull BlockPos pos, @Nonnull EntityPlayer player) { final ItemStack pickBlock = super.getPickBlock(bs, target, world, pos, player); if (!isDouble()) { PaintUtil.setSourceBlock(pickBlock, getPaintSource(bs, world, pos)); } else { if ((target.hitVec.y - (int) target.hitVec.y) > 0.5) { PaintUtil.setSourceBlock(pickBlock, getPaintSource2(bs, world, pos)); } else { PaintUtil.setSourceBlock(pickBlock, getPaintSource(bs, world, pos)); } } return pickBlock; }