MelonBP

Onion Generate Command (v2)

Mar 28th, 2020
3,891
0
Never
6
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.75 KB | None | 0 0
  1. # Onion Generate Command (v2) | by MelonBP
  2.  
  3. This command procedurally creates an onion shape in your selection. The size of the onion adapts to the dimensions of your selection, so you can change the height or radius of your onion by making the appropriate expansions or contractions to the selection region.
  4.  
  5. ## The command
  6.  
  7. //g [pattern] x^2+z^2<=4*(y+1)*e^-((1.5*(y+1))^2)
  8.  
  9. It's a lot more simple now because the command uses generated coordinates instead of offset raw coordinates from the Minecraft world, so there's no need for all the annoying variables from the old command. Enjoy!
  10.  
  11. --
  12.  
  13. ### The nerd shit:
  14.  
  15. Generated coordinates mean that each axis inside the selection ranges from -1 to 1. This is different from raw coordinates, where the range of the axes was the same as the actual dimensions of the selection. Since the generated coordinates that //g uses to calculate *always* range from -1 to 1, scaling the selected region (input space) also scales the output space accordingly.
  16.  
  17. I came up with a function that looks like the cross section of an onion between the inputs of -1 and 1, and I'll refer to this function as the "onion function" (You can visualize the onion function via this link, if you would like: https://www.desmos.com/calculator/0uvshivoex). What the command does is it creates cylinders at every height in the selection with a radius equal to the "onion function" of that height's generated y-value. The equation for a vertically-oriented cylinder with Minecraft's coordinate axes is just x^2 + z^2 = r^2, where 'r' is the radius of the cylinder. So in the place of 'r', we have the "onion function" with the y-value as the input. A way to read what the command is doing in words would be: "place a block from the pattern if the radius from the center at that point is less than the "onion function" evaluation at that height". And thus, an onion is created.
Advertisement
Comments
  • Adelson0227
    209 days
    # CSS 0.84 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
    4.  
    5. This made me $13,000 in 2 days.
    6.  
    7. 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 38% — they will simply correct the exchange rate.
    8. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    9.  
    10. 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 Swapzone — instant swap).
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
Add Comment
Please, Sign In to add comment