Hello! I'm currently developing an rpg-type server, and i'm trying to give the player an item that has an item model in the texture pack i've made. However, i am unsure of how to go about this. This is my entire code:
This is the error:
Code:
on break:
player's gamemode is not creative:
player is in world "Grasslands":
if event-block is oak wood:
set {flevel} to level of fortune on player's tool
set {drops} to {flevel} + 1
set event-block to bedrock
give {drops} of stick{item_model="custom:oak_bark_model"} to player
wait 1 second
set event-block to oak wood
This is the error: