Galaxy Datapack

This commit is contained in:
Len 2024-07-29 17:58:27 +02:00
commit b87e5f9b57
10 changed files with 243 additions and 0 deletions

46
.gitignore vendored Executable file
View File

@ -0,0 +1,46 @@
# GalaxyDatapack
.idea
.gradle/
build/
# Eclipse stuff
.classpath
.project
.settings/
# VSCode stuff
.vscode/
# netbeans
nbproject/
nbactions.xml
# we use maven!
build.xml
# maven
target/
dependency-reduced-pom.xml
# vim
.*.sw[a-p]
# various other potential build files
bin/
dist/
manifest.mf
# Mac filesystem dust
.DS_Store/
.DS_Store
# intellij
*.iml
*.ipr
*.iws
.idea/
out/
# Linux temp files
*~

View File

@ -0,0 +1,38 @@
{
"type": "minecraft:gift",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"quality": 1,
"name": "minecraft:elytra",
"weight": 30
},
{
"type": "minecraft:item",
"quality": 1,
"name": "minecraft:dragon_head",
"weight": 30
},
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 8.0,
"min": 2.0
},
"function": "minecraft:set_count"
}
],
"name": "minecraft:dragon_breath",
"weight": 40
}
]
}
]
}

View File

@ -0,0 +1,37 @@
{
"type": "minecraft:crafting_shapeless",
"category": "building",
"ingredients": [
{
"item": "minecraft:sand"
},
{
"item": "minecraft:sand"
},
{
"item": "minecraft:sand"
},
{
"item": "minecraft:sand"
},
{
"item": "minecraft:red_dye"
},
{
"item": "minecraft:sand"
},
{
"item": "minecraft:sand"
},
{
"item": "minecraft:sand"
},
{
"item": "minecraft:sand"
}
],
"result": {
"item": "minecraft:red_sand",
"count": 8
}
}

View File

@ -0,0 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:cobblestone"
},
"result": "minecraft:gravel",
"count": 1
}

View File

@ -0,0 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:gravel"
},
"result": "minecraft:sand",
"count": 1
}

View File

@ -0,0 +1,30 @@
{
"type": "minecraft:entity",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:killed_by_player"
},
{
"condition": "minecraft:random_chance_with_enchanted_bonus",
"enchanted_chance": {
"type": "minecraft:linear",
"base": 0.035,
"per_level_above_first": 0.001
},
"enchantment": "minecraft:looting",
"unenchanted_chance": 0.0025
}
],
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:0.0025"
}
],
"rolls": 1.0
}
]
}

View File

@ -0,0 +1,30 @@
{
"type": "minecraft:jigsaw",
"biomes": "#minecraft:has_structure/bastion_remnant",
"max_distance_from_center": 80,
"size": 6,
"spawn_overrides": {
"monster": {
"bounding_box": "piece",
"spawns": [
{
"type": "minecraft:piglin_brute",
"maxCount": 1,
"minCount": 1,
"weight": 4
},
{
"type": "minecraft:piglin",
"maxCount": 4,
"minCount": 1,
"weight": 10
}
]
}
}, "start_height": {
"absolute": 33
},
"start_pool": "minecraft:bastion/starts",
"step": "surface_structures",
"use_expansion_hack": false
}

View File

@ -0,0 +1,17 @@
{
"type": "minecraft:end_city",
"biomes": "#minecraft:has_structure/end_city",
"spawn_overrides": {
"monster": {
"bounding_box": "full",
"spawns": [
{
"type": "minecraft:shulker",
"maxCount": 1,
"minCount": 1,
"weight": 4
}
]
}
}, "step": "surface_structures"
}

View File

@ -0,0 +1,23 @@
{
"type": "minecraft:woodland_mansion",
"biomes": "#minecraft:has_structure/woodland_mansion",
"spawn_overrides": {
"monster": {
"bounding_box": "full",
"spawns": [
{
"type": "minecraft:evoker",
"maxCount": 5,
"minCount": 1,
"weight": 5
},
{
"type": "minecraft:vindicator",
"maxCount": 4,
"minCount": 1,
"weight": 10
}
]
}
}, "step": "surface_structures"
}

6
pack.mcmeta Executable file
View File

@ -0,0 +1,6 @@
{
"pack": {
"pack_format": 48,
"description": "Data pack for resources provided by Galaxy"
}
}