#MERGE EVENT

1 messages · Page 1 of 1 (latest)

low lark
#

Start with on drop, then loop the dropped items in a small radius

#

If theres the items you need, kill them and drop new one

cobalt tapir
#

People here won't/shouldn't make a script for you. Try by yourself first, read the docs and experiment. Get a script done, and when you have a base, then we can help you perfect it.

wispy tartan
# cobalt tapir People here won't/shouldn't make a script for you. Try by yourself first, read t...

sure i try hard to made this but it still does'not works and because my english verry bad so i have a big hard to read document bro on drop of torch:
set {_torches::} to all dropped items
if size of {_torches::
} is 3:
set {_locations::} to {}
loop {_torches::
}:
add location of loop-value to {_locations::}
create explosion at {_locations::
} with power 5
create a diamond pickaxe at {_locations::1} with efficiency 5

merry pike
#

```
code
```

wispy tartan
#

...

#
 set {_torches::} to all dropped items
    if size of {_torches::} is 3:
        set {_locations::} to {}
        loop {_torches::}:
            add location of loop-value to {_locations::}
        create explosion at {_locations::} with power 5
        create a diamond pickaxe at {_locations::1} with efficiency 5
#

thanks i get it

low lark
#

You dont have the asterisk in the lists

#

{_list::*}

low lark
wispy tartan
low lark
#
  loop all blocks in radius 50 around event-block:
    if loop-block is diamond block:
      add 1 to {_diamondCount}
    if {_diamondCount} > 9:
      send “there are too many diamond here! Place this farther away!” to player
      cancel event
      stop```
wispy tartan
low lark
#

Youre looping blocks not items

#

Loop dropped items

#

And maybe drop the pickaxe at event-location instead of giving

#

And you dont need the cancel event here

wispy tartan
#

i want when i drop 9 diamond it fuse and turn to pickaxe

wispy tartan
low lark
#

On drop, check if the item that was dropped was a diamond, then if there are 8 nearby

wispy tartan
low lark
#
  if event-item is a sponge:
    wait 1 tick
    wait 1 second
    loop all dropped items in radius 2 around event-item:
      if type event-item is sugar:
        kill loop-item
        drop 1 x at event-items location
        kill event-item
        stop```
low lark
#

Maybe just items