Palxz Posted May 23, 2021 Share Posted May 23, 2021 (edited) 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. Edited May 24, 2021 by Palxz new script and still error Link to comment Share on other sites More sharing options...
Palxz Posted May 23, 2021 Author Share Posted May 23, 2021 (edited) 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') Edited May 24, 2021 by Palxz new script and still error Link to comment Share on other sites More sharing options...
Incrediboi Posted May 25, 2021 Share Posted May 25, 2021 Not completely sure what you wanna do there, but the fix to this can be set {_item} to %amount of dropped item% of loop-value-2 add {_item} to inventory of block at loop-value-1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now