so for some reason i can't register a new recipie for glistering melon how ever i can for a golden apple, here is the code:
and this is the error i am getting:
https://i.badlion.net/W8x8XZgqi4dQ9PmSyVvPjg.png
if anyone can please tell me how to fix this?
another thing is this code to set a player's head on fence on death wont work aswell, i am getting no errors, here is the code:
everything works up untill the fill command, its executing the fill command but the head isn't being placed, please help me fix these two, i have been trying for about a week with no success.
my server version is 1.8 and skript version is 2.2 dev36.
thx
code_language.skript:
on load:
register new shapeless recipe for golden apple item named "&6Golden Head" with lore "&5&oSome say consuming the head of a||fallen foe strengthens the blood" using gold ingot, gold ingot, gold ingot, gold ingot, player head, gold ingot, gold ingot, gold ingot, gold ingot
register new shapeless recipe for glistering melon item named "&r&6Glistering Melon" using air, air, air, block of gold, melon slice, air, air, air, air
https://i.badlion.net/W8x8XZgqi4dQ9PmSyVvPjg.png
if anyone can please tell me how to fix this?
another thing is this code to set a player's head on fence on death wont work aswell, i am getting no errors, here is the code:
code_language.skript:
on death:
victim is a player
if {dhead} is "floor":
set {_head} to skull of "%victim%" parsed as offlineplayer
drop {_head} named "%victim%'s Head" at location of victim
else if {dhead} is "fence":
set {_location} to victim's location
set {_x} to x coord of {_location}
set {_y} to y coord of {_location}
set {_y} to {_y} +1
set {_z} to z coord of {_location}
set {_location2} to location {_x}, {_y}, {_z} in world of victim
set block at {_location} to nether brick fence #That work
set {nameofvictim} to "%victim%"
message "%{nameofvictim}%" to all players
console command "/fill %{_x}% %{_y}% %{_z}% %{_x}% %{_y}% %{_z}% minecraft:skull 1 replace {SkullType:3, ExtraType:%{nameofvictim}%}"
my server version is 1.8 and skript version is 2.2 dev36.
thx