diff --git a/system-config/services/minecraft/default.nix b/system-config/services/minecraft/default.nix index 129d7b3..4cfa176 100644 --- a/system-config/services/minecraft/default.nix +++ b/system-config/services/minecraft/default.nix @@ -58,7 +58,8 @@ }; autoStart = true; symlinks = { - mods = ./mods; + "mods" = ./mods; + #"world/datapacks/portals_dp" = ./portals_dp; }; }; }; diff --git a/system-config/services/minecraft/portals_dp/data/portalseverywhere/custom_portal_generation/ip_custom_portals.json b/system-config/services/minecraft/portals_dp/data/portalseverywhere/custom_portal_generation/ip_custom_portals.json new file mode 100644 index 0000000..df838be --- /dev/null +++ b/system-config/services/minecraft/portals_dp/data/portalseverywhere/custom_portal_generation/ip_custom_portals.json @@ -0,0 +1,12 @@ +{ + "schema_version": "imm_ptl:v1", + "from": ["imm_ptl:any_dimension"], + "to": "imm_ptl:the_same_dimension", + "reversible": false, + "form": { + "type": "imm_ptl:try_hard_to_match", + "from_frame_block": "minecraft:quartz_block", "area_block": "minecraft:air", + "to_frame_block": "minecraft:quartz_block", "generate_frame_if_not_found": false + }, + "trigger": { "type": "imm_ptl:use_item", "item": "minecraft:flint_and_steel" } +} diff --git a/system-config/services/minecraft/portals_dp/pack.mcmeta b/system-config/services/minecraft/portals_dp/pack.mcmeta new file mode 100644 index 0000000..da5c4de --- /dev/null +++ b/system-config/services/minecraft/portals_dp/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 48, + "description": "datapack i guess?" + } +}