Compare commits

...

8 Commits

Author SHA1 Message Date
eric.rumsey
fc37caa161 add command alias and function for opening the main menu 2025-02-16 16:20:43 -06:00
eric.rumsey
f4fb8952e9 fix transfer_creative function 2025-02-16 16:20:03 -06:00
eric.rumsey
4ae184f42a add correct namespace to load and tick tags 2025-02-16 16:19:33 -06:00
eric.rumsey
3a4e6fde9a impliment custom command for tranporting to creative, doesn't work yet 2025-02-15 19:49:42 -06:00
eric.rumsey
440715feea remove old template's png 2025-02-15 19:30:12 -06:00
eric.rumsey
ec4c076efa update pack description 2025-02-15 19:29:56 -06:00
eric.rumsey
c2f6aba6e3 switch to a new template as the original wasn't loading at all 2025-02-15 19:29:38 -06:00
eric.rumsey
86b4c5b909 set "pack_format" to 48 for 1.21-1.21.1 2025-02-15 18:56:31 -06:00
15 changed files with 27 additions and 81 deletions

View File

@ -0,0 +1,2 @@
scoreboard objectives add transportCreative trigger
scoreboard objectives add menu trigger

View File

@ -0,0 +1 @@
guis open menu

View File

@ -0,0 +1 @@
transfer 10.0.0.13 25566

View File

@ -0,0 +1,7 @@
scoreboard players enable @a transportCreative
execute as @a[scores={transportCreative=1..}] run function ferdinland:command/transport_creative
scoreboard players set @a transportCreative 0
scoreboard players enable @a menu
execute as @a[scores={menu=1..}] run function ferdinland:command/menu_open
scoreboard players set @a menu 0

View File

@ -0,0 +1,3 @@
# load function
say This load function
function ferdinland:command/init

View File

@ -0,0 +1,4 @@
# tick function
#
function ferdinland:command/trigger

View File

@ -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"
}
}
}

View File

@ -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"
}
}
}

View File

@ -1,5 +1,5 @@
{ {
"values": [ "values": [
"namespace:load" "ferdinland:load"
] ]
} }

View File

@ -1,5 +1,5 @@
{ {
"values": [ "values": [
"namespace:tick" "ferdinland:tick"
] ]
} }

View File

@ -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"
}
}
}

View File

@ -1 +0,0 @@
#This function will run on world loading or data pack loading

View File

@ -1 +0,0 @@
#This function runs every tick

View File

@ -1,6 +1,10 @@
{ {
"__comment": "The datapack is assembled by Datapack Assembler",
"__link": "https://far.ddns.me",
"__patreon": "Thank you to Someone, NatNATTO, Andrew and CadeMade for the support on https://patreon.com/GalSergey",
"pack": { "pack": {
"pack_format": 61, "description": "Custom datapack for the Ferdinland Minecraft Server",
"description": "Data Pack Template" "pack_format": 48
} }
} }

BIN
pack.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB