This commit is contained in:
2024-08-05 10:12:32 +02:00
parent ba384d79d8
commit 61c5a0e489
20 changed files with 1035 additions and 189 deletions

View File

@@ -0,0 +1,12 @@
{
"format_version": "1.19.50",
"minecraft:camera_preset": {
"identifier": "example:custom",
"inherit_from": "minecraft:free",
"pos_x": 30,
"pos_y": 90,
"pos_z": -20,
"rot_x": 10,
"rot_y": 40
}
}

View File

@@ -0,0 +1,62 @@
{
"format_version": "1.10.0",
"minecraft:entity": {
"description": {
"identifier": "cc:floating_text",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"components": {
"minecraft:type_family": {
"family": ["floatingtext"]
},
"minecraft:health": {
"value": 999999999,
"max": 999999999
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.8
},
"minecraft:nameable": {
"alwaysShow": true,
"allowNameTagRenaming": true
},
"minecraft:fire_immune": true,
"minecraft:scale": {
"value": 0
},
"minecraft:knockback_resistance": {
"value": 1
},
"minecraft:physics": {
"has_gravity": false
},
"minecraft:pushable": {
"is_pushable": false
},
"minecraft:damage_sensor": {
"triggers": {
"cause": "all",
"deals_damage": false,
"on_damage": {
"event": "left_click"
}
}
}
},
"component_groups": {},
"events": {
"left_click": {
"run_command": {
"target": "self",
"command": [
"tag @s add edit",
"execute @s[tag=edit] ~ ~ ~ execute @e[tag=floating] ~ ~ ~ function floating_text_function/menu_edit_multi/edit"
]
}
}
}
}
}

View File

@@ -0,0 +1,3 @@
summon cc:floating_text ~ ~ ~ "§f[§aUse Name Tag§f]"
playsound lodestone_compass.link_compass_to_lodestone @s ~ ~ ~
titleraw @s actionbar {"rawtext":[{"text":"§l§7[§6Floating §bText§7]§r §a\n§2Floating text spawned template"}]}

View File

@@ -23,7 +23,7 @@
"dependencies": [
{
"module_name": "@minecraft/server",
"version": "1.4.0-beta"
"version": "1.12.0-beta"
},
{
"uuid": "3c83eb6b-d574-411e-a430-f0e0ea816a3a",