Casino and Trade Center structures added to the game.
This commit is contained in:
@@ -60,7 +60,7 @@ mod_name=Gambling Plus Mod
|
|||||||
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
|
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
|
||||||
mod_license=All Rights Reserved
|
mod_license=All Rights Reserved
|
||||||
# The mod version. See https://semver.org/
|
# The mod version. See https://semver.org/
|
||||||
mod_version=1.0.0
|
mod_version=1.0.1
|
||||||
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
|
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
|
||||||
# This should match the base package used for the mod sources.
|
# This should match the base package used for the mod sources.
|
||||||
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||||
|
|||||||
@@ -0,0 +1,118 @@
|
|||||||
|
{
|
||||||
|
"type": "minecraft:chest",
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"rolls": {
|
||||||
|
"min": 3,
|
||||||
|
"max": 8
|
||||||
|
},
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "minecraft:diamond",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 5,
|
||||||
|
"max": 20
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"weight": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "minecraft:emerald",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 10,
|
||||||
|
"max": 30
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"weight": 9
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "minecraft:gold_ingot",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 20,
|
||||||
|
"max": 40
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"weight": 9
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "ikgamblingplusmod:ruby",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 30,
|
||||||
|
"max": 50
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"weight": 7
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "minecraft:shulker_shell",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 1,
|
||||||
|
"max": 4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"weight": 5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "minecraft:totem_of_undying",
|
||||||
|
"weight": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "minecraft:enchanted_golden_apple",
|
||||||
|
"weight": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:enchant_randomly"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:book",
|
||||||
|
"weight": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "minecraft:evoker_spawn_egg",
|
||||||
|
"weight": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "ikgamblingplusmod:catching_egg",
|
||||||
|
"weight": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "minecraft:zombie_horse_spawn_egg",
|
||||||
|
"weight": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,113 @@
|
|||||||
|
{
|
||||||
|
"type": "minecraft:chest",
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"rolls": {
|
||||||
|
"min": 5,
|
||||||
|
"max": 10
|
||||||
|
},
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "minecraft:diamond",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 1,
|
||||||
|
"max": 5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"weight": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "minecraft:emerald",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 4,
|
||||||
|
"max": 15
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"weight": 7
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "minecraft:gold_ingot",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 5,
|
||||||
|
"max": 10
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"weight": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "minecraft:iron_ingot",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 10,
|
||||||
|
"max": 15
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"weight": 8
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "ikgamblingplusmod:ruby",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 15,
|
||||||
|
"max": 40
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"weight": 7
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:enchant_randomly"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:book",
|
||||||
|
"weight": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "ikgamblingplusmod:catching_egg",
|
||||||
|
"weight": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "minecraft:cherry_sapling",
|
||||||
|
"weight": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "minecraft:mangrove_propagule",
|
||||||
|
"weight": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "minecraft:pale_oak_sapling",
|
||||||
|
"weight": 2
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
BIN
src/main/resources/data/ikgamblingplusmod/structure/casino.nbt
Normal file
BIN
src/main/resources/data/ikgamblingplusmod/structure/casino.nbt
Normal file
Binary file not shown.
Binary file not shown.
@@ -1,27 +0,0 @@
|
|||||||
{
|
|
||||||
"feature": "ikgamblingplusmod:ruby_ore",
|
|
||||||
"placement": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:count",
|
|
||||||
"count": 10
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "minecraft:in_square"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "minecraft:height_range",
|
|
||||||
"height": {
|
|
||||||
"type": "minecraft:trapezoid",
|
|
||||||
"max_inclusive": {
|
|
||||||
"absolute": 56
|
|
||||||
},
|
|
||||||
"min_inclusive": {
|
|
||||||
"absolute": -24
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "minecraft:biome"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
{
|
|
||||||
"feature": "ikgamblingplusmod:ruby_ore",
|
|
||||||
"placement": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:count",
|
|
||||||
"count": 10
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "minecraft:in_square"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "minecraft:height_range",
|
|
||||||
"height": {
|
|
||||||
"type": "minecraft:uniform",
|
|
||||||
"max_inclusive": {
|
|
||||||
"absolute": 72
|
|
||||||
},
|
|
||||||
"min_inclusive": {
|
|
||||||
"above_bottom": 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "minecraft:biome"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
{
|
|
||||||
"feature": "ikgamblingplusmod:ruby_ore",
|
|
||||||
"placement": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:count",
|
|
||||||
"count": 90
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "minecraft:in_square"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "minecraft:height_range",
|
|
||||||
"height": {
|
|
||||||
"type": "minecraft:trapezoid",
|
|
||||||
"max_inclusive": {
|
|
||||||
"absolute": 384
|
|
||||||
},
|
|
||||||
"min_inclusive": {
|
|
||||||
"absolute": 80
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "minecraft:biome"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"type": "minecraft:jigsaw",
|
||||||
|
"start_pool": "ikgamblingplusmod:casino/start_pool",
|
||||||
|
"size": 1,
|
||||||
|
"step": "surface_structures",
|
||||||
|
"biomes": "#minecraft:is_overworld",
|
||||||
|
"terrain_adaptation": "none",
|
||||||
|
"start_height": {
|
||||||
|
"absolute": 0
|
||||||
|
},
|
||||||
|
"use_expansion_hack": false,
|
||||||
|
"adapt_noise": false,
|
||||||
|
"project_start_to_heightmap": "WORLD_SURFACE_WG",
|
||||||
|
"max_distance_from_center": 80,
|
||||||
|
"spawn_overrides": {}
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"type": "minecraft:jigsaw",
|
||||||
|
"start_pool": "ikgamblingplusmod:trade_center/start_pool",
|
||||||
|
"size": 1,
|
||||||
|
"step": "surface_structures",
|
||||||
|
"biomes": "#minecraft:is_overworld",
|
||||||
|
"terrain_adaptation": "none",
|
||||||
|
"start_height": {
|
||||||
|
"absolute": 0
|
||||||
|
},
|
||||||
|
"use_expansion_hack": false,
|
||||||
|
"adapt_noise": false,
|
||||||
|
"project_start_to_heightmap": "WORLD_SURFACE_WG",
|
||||||
|
"max_distance_from_center": 80,
|
||||||
|
"spawn_overrides": {}
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"structures": [
|
||||||
|
{
|
||||||
|
"structure": "ikgamblingplusmod:casino",
|
||||||
|
"weight": 1
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"placement": {
|
||||||
|
"type": "minecraft:random_spread",
|
||||||
|
"spacing": 50,
|
||||||
|
"separation": 20,
|
||||||
|
"salt": 589176981756
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"structures": [
|
||||||
|
{
|
||||||
|
"structure": "ikgamblingplusmod:trade_center",
|
||||||
|
"weight": 1
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"placement": {
|
||||||
|
"type": "minecraft:random_spread",
|
||||||
|
"spacing": 40,
|
||||||
|
"separation": 10,
|
||||||
|
"salt": 589176981753
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"name": "ikgamblingplusmod:casino/start_pool",
|
||||||
|
"fallback": "minecraft:empty",
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"element": {
|
||||||
|
"location": "ikgamblingplusmod:casino",
|
||||||
|
"processors": "minecraft:empty",
|
||||||
|
"element_type": "minecraft:single_pool_element",
|
||||||
|
"projection": "rigid"
|
||||||
|
},
|
||||||
|
"weight": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"name": "ikgamblingplusmod:trade_center/start_pool",
|
||||||
|
"fallback": "minecraft:empty",
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"element": {
|
||||||
|
"location": "ikgamblingplusmod:trade_center",
|
||||||
|
"processors": "minecraft:empty",
|
||||||
|
"element_type": "minecraft:single_pool_element",
|
||||||
|
"projection": "rigid"
|
||||||
|
},
|
||||||
|
"weight": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user