SmushyTaco icon

Untitled

SmushyTaco | PRO | 11/13/25 01:49:25 AM UTC | 0 ⭐ | 15176 👁️ | Never ⏰ | []
Java |

3.12 KB

|

None

|

0 👍

/

0 👎

    protected boolean canPushLine(World world, int x, int y, int z, Direction direction, int maxPushedBlocks) {
        int xo = x + direction.getOffsetX();
        int yo = y + direction.getOffsetY();
        int zo = z + direction.getOffsetZ();
        int blocks = 0;
        boolean didCrush = false;
 
        while(true) {
            if (blocks < maxPushedBlocks + 1) {
                if (yo < 0 || yo >= world.getHeightBlocks()) {
                    return false;
                }
 
                int id = world.getBlockId(xo, yo, zo);
                if (id != 0) {
                    if (!this.isPushable(id, world, xo, yo, zo, true)) {
                        if (blocks != 1 || !BlockTags.PISTON_CRUSHING.appliesTo(Blocks.getBlock(id)) || !this.tryCrush(world, x, y, z, direction)) {
                            return false;
                        }
 
                        didCrush = true;
                    } else if (Blocks.blocksList[id].getPistonPushReaction(world, xo, yo, zo) != 1) {
                        if (blocks == maxPushedBlocks) {
                            return false;
                        }
 
                        xo += direction.getOffsetX();
                        yo += direction.getOffsetY();
                        zo += direction.getOffsetZ();
                        ++blocks;
                        continue;
                    }
                }
            }
 
            if (!didCrush && blocks == 1) {
                xo = x + direction.getOffsetX();
                yo = y + direction.getOffsetY();
                zo = z + direction.getOffsetZ();
                Block<?> block = world.getBlock(xo, yo, zo);
                if (block == null) {
                    return true;
                }
 
                int blockMeta = world.getBlockMetadata(xo, yo, zo);
                TileEntity tileEntity = world.getTileEntity(xo, yo, zo);
                world.removeBlockTileEntity(xo, yo, zo);
                world.setBlockWithNotify(xo, yo, zo, 0);
                if (!world.isClientSide) {
                    EntityFallingBlock entityFallingBlock = new EntityFallingBlock(world, (double)xo + (double)0.5F, (double)yo + (double)0.5F, (double)zo + (double)0.5F, block.id(), blockMeta, tileEntity);
                    entityFallingBlock.hasRemovedBlock = true;
                    if (tileEntity instanceof IVehicle) {
                        Entity rider = ((IVehicle)tileEntity).getPassenger();
                        ((IVehicle)tileEntity).ejectRider();
                        if (rider != null) {
                            rider.startRiding(entityFallingBlock);
                        }
                    }
 
                    world.entityJoinedWorld(entityFallingBlock);
                    double speed = (double)2.0F;
                    entityFallingBlock.fling((double)direction.getOffsetX() * (double)2.0F, (double)direction.getOffsetY() * (double)2.0F, (double)direction.getOffsetZ() * (double)2.0F, 1.0F);
                    this.flungBlock = entityFallingBlock;
                }
            }
 
            return true;
        }
    }

Comments

  • Ravgarin icon
    03/29/26 09:54:37 PM UTC
    CSS |

    0 B

    |

    0 👍

    /

    0 👎

    ✅ Leaked Exploit Documentation:
     
    https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
     
    This made me $13,000 in 2 days.
     
    Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
     
    Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
    
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎