switch to a new template as the original wasn't loading at all
This commit is contained in:
parent
86b4c5b909
commit
c2f6aba6e3
2
data/example/function/load.mcfunction
Normal file
2
data/example/function/load.mcfunction
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# load function
|
||||||
|
say This load function
|
||||||
1
data/example/function/tick.mcfunction
Normal file
1
data/example/function/tick.mcfunction
Normal file
@ -0,0 +1 @@
|
|||||||
|
# tick function
|
||||||
@ -1,23 +0,0 @@
|
|||||||
{
|
|
||||||
"display": {
|
|
||||||
"icon": {
|
|
||||||
"id": "<item-or-block>"
|
|
||||||
},
|
|
||||||
"title": "<Data Pack Name>",
|
|
||||||
"description": [
|
|
||||||
"",
|
|
||||||
{
|
|
||||||
"text": "<description>",
|
|
||||||
"color": "gold"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"show_toast": false,
|
|
||||||
"announce_to_chat": false
|
|
||||||
},
|
|
||||||
"parent": "global:root",
|
|
||||||
"criteria": {
|
|
||||||
"tick": {
|
|
||||||
"trigger": "minecraft:tick"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,34 +0,0 @@
|
|||||||
{
|
|
||||||
"display": {
|
|
||||||
"icon": {
|
|
||||||
"id": "minecraft:player_head",
|
|
||||||
"components": {
|
|
||||||
"minecraft:profile": {
|
|
||||||
"properties": [
|
|
||||||
{
|
|
||||||
"name": "textures",
|
|
||||||
"value": "<skin-here>"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"title": "<Put what you want>",
|
|
||||||
"frame": "challenge",
|
|
||||||
"description": [
|
|
||||||
"",
|
|
||||||
{
|
|
||||||
"text": "Data Pack Loaded\n",
|
|
||||||
"color": "gold"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"background": "minecraft:textures/block/black_concrete.png",
|
|
||||||
"show_toast": false,
|
|
||||||
"announce_to_chat": false
|
|
||||||
},
|
|
||||||
"criteria": {
|
|
||||||
"tick": {
|
|
||||||
"trigger": "minecraft:tick"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"values": [
|
"values": [
|
||||||
"namespace:load"
|
"example:load"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"values": [
|
"values": [
|
||||||
"namespace:tick"
|
"example:tick"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
"display": {
|
|
||||||
"title": "Data_Pack_Template",
|
|
||||||
"description": "Data Pack Template",
|
|
||||||
"icon": {
|
|
||||||
"item": "minecraft:emerald"
|
|
||||||
},
|
|
||||||
"show_toast": false,
|
|
||||||
"announce_to_chat": false
|
|
||||||
},
|
|
||||||
"parent": "global:namespace",
|
|
||||||
"criteria": {
|
|
||||||
"trigger": {
|
|
||||||
"trigger": "minecraft:tick"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1 +0,0 @@
|
|||||||
#This function will run on world loading or data pack loading
|
|
||||||
@ -1 +0,0 @@
|
|||||||
#This function runs every tick
|
|
||||||
Loading…
Reference in New Issue
Block a user