From 692042d5b9eee835d94fba1c750a16aada73b15c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0smail?= Date: Tue, 29 Jul 2025 14:31:50 +0300 Subject: [PATCH] Casino and Trade Center structures added to the game. --- gradle.properties | 2 +- .../loot_table/chests/casino_loot.json | 118 ++++++++++++++++++ .../loot_table/chests/trade_center_loot.json | 113 +++++++++++++++++ .../ikgamblingplusmod/structure/casino.nbt | Bin 0 -> 8709 bytes .../structure/trade_center.nbt | Bin 0 -> 4926 bytes .../worldgen/_tmo/ruby_ore_middle.json | 27 ---- .../worldgen/_tmo/ruby_ore_small.json | 27 ---- .../worldgen/_tmo/ruby_ore_upper.json | 27 ---- .../worldgen/structure/casino.json | 16 +++ .../worldgen/structure/trade_center.json | 16 +++ .../worldgen/structure_set/casino.json | 14 +++ .../worldgen/structure_set/trade_center.json | 14 +++ .../template_pool/casino/start_pool.json | 15 +++ .../trade_center/start_pool.json | 15 +++ 14 files changed, 322 insertions(+), 82 deletions(-) create mode 100644 src/main/resources/data/ikgamblingplusmod/loot_table/chests/casino_loot.json create mode 100644 src/main/resources/data/ikgamblingplusmod/loot_table/chests/trade_center_loot.json create mode 100644 src/main/resources/data/ikgamblingplusmod/structure/casino.nbt create mode 100644 src/main/resources/data/ikgamblingplusmod/structure/trade_center.nbt delete mode 100644 src/main/resources/data/ikgamblingplusmod/worldgen/_tmo/ruby_ore_middle.json delete mode 100644 src/main/resources/data/ikgamblingplusmod/worldgen/_tmo/ruby_ore_small.json delete mode 100644 src/main/resources/data/ikgamblingplusmod/worldgen/_tmo/ruby_ore_upper.json create mode 100644 src/main/resources/data/ikgamblingplusmod/worldgen/structure/casino.json create mode 100644 src/main/resources/data/ikgamblingplusmod/worldgen/structure/trade_center.json create mode 100644 src/main/resources/data/ikgamblingplusmod/worldgen/structure_set/casino.json create mode 100644 src/main/resources/data/ikgamblingplusmod/worldgen/structure_set/trade_center.json create mode 100644 src/main/resources/data/ikgamblingplusmod/worldgen/template_pool/casino/start_pool.json create mode 100644 src/main/resources/data/ikgamblingplusmod/worldgen/template_pool/trade_center/start_pool.json diff --git a/gradle.properties b/gradle.properties index 17315d0..bd78065 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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. mod_license=All Rights Reserved # 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. # This should match the base package used for the mod sources. # See https://maven.apache.org/guides/mini/guide-naming-conventions.html diff --git a/src/main/resources/data/ikgamblingplusmod/loot_table/chests/casino_loot.json b/src/main/resources/data/ikgamblingplusmod/loot_table/chests/casino_loot.json new file mode 100644 index 0000000..7bdff8a --- /dev/null +++ b/src/main/resources/data/ikgamblingplusmod/loot_table/chests/casino_loot.json @@ -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 + } + ] + } + ] +} diff --git a/src/main/resources/data/ikgamblingplusmod/loot_table/chests/trade_center_loot.json b/src/main/resources/data/ikgamblingplusmod/loot_table/chests/trade_center_loot.json new file mode 100644 index 0000000..b842c3a --- /dev/null +++ b/src/main/resources/data/ikgamblingplusmod/loot_table/chests/trade_center_loot.json @@ -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 + } + ] + } + ] +} diff --git a/src/main/resources/data/ikgamblingplusmod/structure/casino.nbt b/src/main/resources/data/ikgamblingplusmod/structure/casino.nbt new file mode 100644 index 0000000000000000000000000000000000000000..1f0e9c2aaeda126fa811e94b5248b678055b16bc GIT binary patch literal 8709 zcmd5>dstIfwx6n$sVMYX1(a7icf|Sx28BX^)Z2UOjh8};@=zc=(hCYfMKBZs$siqR z3rMG_8pRM>P}Be+jU*t1K#`;>Ar=Gz5rRd@gai>n63BzxeNK4!C@|kQe_a0fvCrOX zueJ7ioqblE^8WY-_|GWl6Bd?e_VUN#eOP?8{?RJ!%HDNX-hJ=ArmsJ8`J{Ju($!mQ zlY%~Yx1b);e<;yc{ZQ@PSN!d_17W56_1}K*Zl(Q)r&oGzyA#zI_16!7``Ijc;LN?j zi|N7)Dn+WC_SlX3_lou;w5~Ou%I3QFOqILeycyFO`3cvvr{ZRUa`38_e`PxPc-UHJ zr7G2zQvR_@nD%k!GyQbNK~+PQeW0`?;e=al*bX`I_S7kURQgX5#K$smN8a58--eoU z5AKhf8W>@hIbP{$f1wdiKJT2W3yf3VJ()@LxIy&G!1xq#-0bw@xRECn6 zMl*QwX(~^-1~WF0d`cN=Xvj?VAxg)w^~H+Rn~&wBG3~EIoW6*9W!;5t?)VqV?R3d= zImvvmER=hTsWecApR%3rccxYsw>tSZculpDWG7FCApI$_L#pekj(rzrMErOy*djw=vW3i(|h}5RGjU-|aM3)ti;b zxSc^KOd6c@{N{bZs$oxpakw3+9|_GMYRX0}5y6@Q?R%p7eYvVZZP!H8VA?K8#E!00 zo6RK+>Fd!>bbd}kYHfti<%d?XShRyL{`yc}Iwj&bZo|GT%HGaMB~txCTc_dE#O5U#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Bw;cqtJ)paFNVB`GtHs;arED&RgKJHd%PUClt=o`itY`HzDG^)`WR7hLVV z0=#I9T5w9_C2)IL(y?a1eS9zse#&y#qk~wUs}4ShG5ioMUZfM5Mfwp*5bj zS~uK2XrZ9p+V^~B>jl40#liRly??E4bSEpiKdCK0+j}mtw`Sjw551g{%HlK9>joL@ z3kL7r{qm75Ebp*PO`*T+rAX^VMtH3101& zkYScA^!5Kxl`XPW&<_MB-ayYE? ztJhsGIHRahn&Xe{V`CE+2BwlvuoV+(g*u{gjdJy9+)7AoOuJT+(3T&Y6Lq$3RB~wk zU{fBaRQ3cGHMk?VTzmNbRLgUA);0B;?-bPD9|}N)6iyERnmpFfF(9fer6k4*vj2w| zpq?csBEZE*cpL7e*8D`L-YmWw@7(N4=&_11vnDW%A5oHApS&8j?WR(aHEJn4`^DfL;DdO9egEJ6;)i0InGHa4X5G)%|h2 z656NMYMo~2TW86ECRldc_{8YRhl2Lu(8&TA+619C6#meqvUkA!H_gXWm3Dz{Xm>gdkk3tZ0w!Jz|JencU+V!~SJ=d8zuyV{u3%<*{l;eokP6{0=%wI*iEGhUJh zYTlzpi6mlG+LuiYU;SyJetQr#kF%g5o~wL4m(dR~o4o6KT10<3Ha{^B@muk7=2Fu5 zL524slnvh_j3WmI6lQIz7%+PuYH>A7$(ZH2%k`Vv{_F3fuafMuSxkRUDtREPEf7r& z9!cE>pDdbcSP~a+e?0%vdchP-Mb4HIiJ097dD}-mMi=38xAP&*O_>+I)o> z3Vi9={AM(S5w9h%k}S>drDh&&0r9@Ull^5N)g{$PGYR8nYJ=5D8W;&aQXc$Vv{Jw5_`u7tU}Per5Vn{WOXa2w?g literal 0 HcmV?d00001 diff --git a/src/main/resources/data/ikgamblingplusmod/worldgen/_tmo/ruby_ore_middle.json b/src/main/resources/data/ikgamblingplusmod/worldgen/_tmo/ruby_ore_middle.json deleted file mode 100644 index 1faaf83..0000000 --- a/src/main/resources/data/ikgamblingplusmod/worldgen/_tmo/ruby_ore_middle.json +++ /dev/null @@ -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" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/ikgamblingplusmod/worldgen/_tmo/ruby_ore_small.json b/src/main/resources/data/ikgamblingplusmod/worldgen/_tmo/ruby_ore_small.json deleted file mode 100644 index a564ab9..0000000 --- a/src/main/resources/data/ikgamblingplusmod/worldgen/_tmo/ruby_ore_small.json +++ /dev/null @@ -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" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/ikgamblingplusmod/worldgen/_tmo/ruby_ore_upper.json b/src/main/resources/data/ikgamblingplusmod/worldgen/_tmo/ruby_ore_upper.json deleted file mode 100644 index ae2a8b7..0000000 --- a/src/main/resources/data/ikgamblingplusmod/worldgen/_tmo/ruby_ore_upper.json +++ /dev/null @@ -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" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/ikgamblingplusmod/worldgen/structure/casino.json b/src/main/resources/data/ikgamblingplusmod/worldgen/structure/casino.json new file mode 100644 index 0000000..dfeff22 --- /dev/null +++ b/src/main/resources/data/ikgamblingplusmod/worldgen/structure/casino.json @@ -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": {} +} \ No newline at end of file diff --git a/src/main/resources/data/ikgamblingplusmod/worldgen/structure/trade_center.json b/src/main/resources/data/ikgamblingplusmod/worldgen/structure/trade_center.json new file mode 100644 index 0000000..357d6fa --- /dev/null +++ b/src/main/resources/data/ikgamblingplusmod/worldgen/structure/trade_center.json @@ -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": {} +} \ No newline at end of file diff --git a/src/main/resources/data/ikgamblingplusmod/worldgen/structure_set/casino.json b/src/main/resources/data/ikgamblingplusmod/worldgen/structure_set/casino.json new file mode 100644 index 0000000..878d796 --- /dev/null +++ b/src/main/resources/data/ikgamblingplusmod/worldgen/structure_set/casino.json @@ -0,0 +1,14 @@ +{ + "structures": [ + { + "structure": "ikgamblingplusmod:casino", + "weight": 1 + } + ], + "placement": { + "type": "minecraft:random_spread", + "spacing": 50, + "separation": 20, + "salt": 589176981756 + } +} diff --git a/src/main/resources/data/ikgamblingplusmod/worldgen/structure_set/trade_center.json b/src/main/resources/data/ikgamblingplusmod/worldgen/structure_set/trade_center.json new file mode 100644 index 0000000..f20854e --- /dev/null +++ b/src/main/resources/data/ikgamblingplusmod/worldgen/structure_set/trade_center.json @@ -0,0 +1,14 @@ +{ + "structures": [ + { + "structure": "ikgamblingplusmod:trade_center", + "weight": 1 + } + ], + "placement": { + "type": "minecraft:random_spread", + "spacing": 40, + "separation": 10, + "salt": 589176981753 + } +} diff --git a/src/main/resources/data/ikgamblingplusmod/worldgen/template_pool/casino/start_pool.json b/src/main/resources/data/ikgamblingplusmod/worldgen/template_pool/casino/start_pool.json new file mode 100644 index 0000000..d123669 --- /dev/null +++ b/src/main/resources/data/ikgamblingplusmod/worldgen/template_pool/casino/start_pool.json @@ -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 + } + ] +} diff --git a/src/main/resources/data/ikgamblingplusmod/worldgen/template_pool/trade_center/start_pool.json b/src/main/resources/data/ikgamblingplusmod/worldgen/template_pool/trade_center/start_pool.json new file mode 100644 index 0000000..fa74aed --- /dev/null +++ b/src/main/resources/data/ikgamblingplusmod/worldgen/template_pool/trade_center/start_pool.json @@ -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 + } + ] +}