Jump to content

Palxz

Member
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Palxz

  1. If u also want the error i got there is it:

     

    %amount of dropped item% loop-value-2' can't be added to an inventory because the former is neither an item type nor an inventory (ChunkHopper.sk, line 18: add %amount of dropped item% loop-value-2 to inventory of block at loop-value-1')

  2. Well im new with Skript and wanted to do a Chunk Hopper Skript

    Here is the Skript i made

    Command /ChunkHopper:
      Aliases:/CHopper
      Trigger:
        give a hopper named "&8Chunk Hopper" to the player

    On break of Hopper:
      if {ChunkHopper::*} contains event-block's location:
        remove event-block's location from {ChunkHopper::*}

    On Place of Hopper:
      if name of player's held item is "&8Chunk Hopper":
        add event-block's location to {ChunkHopper::*} 
      
    every second:
      loop {ChunkHopper::*}:
        loop entities of chunk of loop-value:
          if "%loop-value-2%" is "dropped item":
            add %amount of dropped item% loop-value-2 to inventory of block at loop-value-1
            delete loop-value-2

    _________________________________________________________

    i have been like 3 hours doing this and still cant find the problem so i though i could ask for help here.

×
×
  • Create New...