#bro i cant loop
1 messages · Page 1 of 1 (latest)
most of your issues will probably relate to aliases
Phill suggests that you read this embed
For more info read SkriptLang's statement
Aliases were a way to add new names for blocks and items within Minecraft. They were mainly added for convenience back when items used numerical ids so that you could use dirt instead of item 3. This is no longer necessary so this system is being phased out starting with Skript 2.10
By default aliases will not be included meaning you will have to use the default minecraft names for blocks and items. Additionally, categories like any log or is a sword and blockdata aliases like waterlogged oak slab will no longer work. To fix these issues you can switch to using blockdata and the minecraft tag system
To replace category aliases like is a sword you can use the new is tagged condition.
if player's tool is a sword: becomes if player's tool is tagged as item tag "swords":
This doesn't work in events yet so you can check the tag inside the event:
on click with any pickaxe: becomes vb on click: player's tool is tagged as item tag "pickaxes"
You can also create custom tags
on load:
register an item tag named "my_favorite_blocks" using oak log, stone, and podzol```
You can see a full list of default tags on the [Minecraft Wiki](https://minecraft.wiki/w/Tag#Java_Edition_2)
nvm its "gold nugget" not "golden nugget"
mb gang
loop all dropped items in radius 1 of the victim:
if type of loop-entity is golden nugget:
its gold nugget
how should work
"loop all dropped gold nuggets in radius 1 around victim:" this should work
may to
nah
try that
2.11.2 skript dont have "golden nugget"
still the same
but still