Since Skript aliases are mapped to Minecraft's IDs anyways, I think it'd be a great (yet time-consuming) enhancement to allow players to use minecraft's native IDs as a replacement for aliases.
I'm curious why you feel this should be added?
In my opinion it serves no purpose, but I would love to hear a case as to why this would be needed.
Here is why I vote no, you can easily create your own aliases within a script, ex:
aliases:
my item = minecraft:stone
command /test:
trigger:
give player 1 of my item
@ShaneBeee
Skript wouldn't have to deal with mapping arbitrary strings to IDs
Are you meaning abolish the alias system all together?
Personally I think this will never happen. If you look at the aliases, theres a lot of really weird specific things, ex: stairs, because they have many states, including up/down, direction, waterlogged. That said a user would have to know all the different block state types, ie:
set block at player to minecraft:oak_stairs[waterlogged=true,half=top,shape=inner_left]
etc...
Ps, I had to spend a few minutes going thru the aliases to figure out block data for stairs, this just goes to show it wouldnt be a very easy system to deal with for users.
IF you were suggesting the addition of this (on top of aliases), I would understand, but straight up abolishing the alias system I feel would be a no go.
At the end of the day, it would break every single script out there, plus it would make using items extremely difficult.
Abolishing the current alias system is definitely not a good idea... however if you mean adding Minecraft native IDs as an alias to Skript, e.g. using minecraft:diamond in scripts is equivalent to using diamond, then I think that's valid
@ShaneBeee I don't mean abolishing the current system. Sorry for any confusion!
@ShaneBeee I don't mean abolishing the current system. Sorry for any confusion!
No need to apologize, but thank you for the clarification.
I'm not sure if this is a good idea, because Minecraft ids change between versions.
Most helpful comment
I'm not sure if this is a good idea, because Minecraft ids change between versions.