版本:1.20.1-1.4.5-beta

+ 添加了数字方块
This commit is contained in:
叁玖领域 2025-03-24 00:38:58 +08:00
parent f8908c0ea4
commit 0070000dec
30 changed files with 396 additions and 31 deletions

View File

@ -43,7 +43,7 @@ mod_name=Modern Life Patch
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=MIT
# The mod version. See https://semver.org/
mod_version=1.20.1-1.4.4-beta
mod_version=1.20.1-1.4.5-beta
# 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

View File

@ -1,2 +1,2 @@
// 1.20.1 2025-03-22T17:17:58.368858 Languages: zh_cn
9aac62625f71f21c06dd95ef1be69105fa7315c5 assets/modernlifepatch/lang/zh_cn.json
// 1.20.1 2025-03-24T00:28:40.6686164 Languages: zh_cn
38d834d9f261f188838eae0300297ba94237bb6c assets/modernlifepatch/lang/zh_cn.json

View File

@ -1,8 +1,11 @@
// 1.20.1 2025-03-22T17:17:58.3749573 Loot Tables
// 1.20.1 2025-03-24T00:28:40.6686164 Loot Tables
31db597883f9eaa6c1c8f2fe1f9ef45f26e71d62 data/modernlifepatch/loot_tables/blocks/black_concrete_barrier.json
821c7620abe5e839afd07d6d5d08623f588903b4 data/modernlifepatch/loot_tables/blocks/blue_concrete_barrier.json
b9a1d28d64a5c6890ce591b47ee6d7ff6d4e29dc data/modernlifepatch/loot_tables/blocks/brown_concrete_barrier.json
1309c36dc6e32fc0cd00efdea78b848b716914c4 data/modernlifepatch/loot_tables/blocks/cyan_concrete_barrier.json
ba6c188a65fa6e36c5ea8cf297f907c7f4b47b9a data/modernlifepatch/loot_tables/blocks/eight_block.json
ad85fab18381e96ce2415d55829d9016cb128bfb data/modernlifepatch/loot_tables/blocks/five_block.json
c3f22cccd9c03e9f6a340ad7a9e5c52533d37cd5 data/modernlifepatch/loot_tables/blocks/four_block.json
1ecc1e884951b9d16269a8a6b0b273207d42ca74 data/modernlifepatch/loot_tables/blocks/gray_concrete_barrier.json
18f69dee8c0a312bffa549f8e269a8d7fd4171fc data/modernlifepatch/loot_tables/blocks/green_concrete_barrier.json
1ee070aa7f3d869c7610d021206ae1a3d680d050 data/modernlifepatch/loot_tables/blocks/large_mirror.json
@ -12,10 +15,18 @@ aa57274d1d5d32f7a9cfd9059dc5603813b9db08 data/modernlifepatch/loot_tables/blocks
c923d1747d2cad0bfec9f6ad0a113406398e4174 data/modernlifepatch/loot_tables/blocks/magenta_concrete_barrier.json
1b5b1090f47e29526af1cd0df979d4f216abeb07 data/modernlifepatch/loot_tables/blocks/massive_mirror.json
384f868a4d71fa14dafb4bdca2fd0fd877507025 data/modernlifepatch/loot_tables/blocks/mirror.json
b27a4d6e1dfdd3a6e3220f8b191fd5ede0fe1cb1 data/modernlifepatch/loot_tables/blocks/nine_block.json
3633a55478bf8e683cfeada0b36bb0fea1f1e015 data/modernlifepatch/loot_tables/blocks/null_block.json
65bae86afbf1e256a580e49b8b8e7dab57443d51 data/modernlifepatch/loot_tables/blocks/one_block.json
f8ef8fa122ea979d871e79b040178e4cc1b8b21a data/modernlifepatch/loot_tables/blocks/orange_concrete_barrier.json
9fbc555c8b3f42dbf72a217f9ceead9cc5fb9992 data/modernlifepatch/loot_tables/blocks/pink_concrete_barrier.json
68f069c8639165a1952af61025bff350919cbad6 data/modernlifepatch/loot_tables/blocks/purple_concrete_barrier.json
0689a21f845ac71fa47d8b3efe1de28e3bc88cc9 data/modernlifepatch/loot_tables/blocks/red_concrete_barrier.json
be827424e5238e710a25dc04872885aa62dd8f5f data/modernlifepatch/loot_tables/blocks/seven_block.json
30cbba30e4344378a8449d1301fb6eafeba72a37 data/modernlifepatch/loot_tables/blocks/six_block.json
c76a70b5a42ede00cb92bdc4f5c292bb6c961071 data/modernlifepatch/loot_tables/blocks/tall_mirror.json
033961ef19f6e56e8e0c2bd9aea9c446270587f7 data/modernlifepatch/loot_tables/blocks/three_block.json
a28d8ca4f4d81a674e80be80ec2ca9ff5dc70191 data/modernlifepatch/loot_tables/blocks/two_block.json
a0005faec56eca6ecd1911aec51fbaa0447955c9 data/modernlifepatch/loot_tables/blocks/white_concrete_barrier.json
bca84922278c797a2075ec5965dbaf237b712973 data/modernlifepatch/loot_tables/blocks/yellow_concrete_barrier.json
97147fb097ae478fb56b5749b9a01ba809caada8 data/modernlifepatch/loot_tables/blocks/zero_block.json

View File

@ -1,4 +1,4 @@
// 1.20.1 2025-03-22T17:26:13.9133045 Recipes
// 1.20.1 2025-03-24T00:28:40.6686164 Recipes
2f62b2d36534a48a65e8cfedc1e45ac3e0089ff9 data/minecraft/advancements/recipes/decorations/black_concrete_barrier_from_black_concrete_stonecutting.json
a888d18dbf22aa8b46a077bae7f6b717d9885572 data/minecraft/advancements/recipes/decorations/blue_concrete_barrier_from_blue_concrete_stonecutting.json
f0ed2368d1265cce94f7e843f4de55e328902ae6 data/minecraft/advancements/recipes/decorations/brown_concrete_barrier_from_brown_concrete_stonecutting.json
@ -15,27 +15,91 @@ ccdcf8117b49d5074d0140eec9159c5a134137b6 data/minecraft/advancements/recipes/dec
29bc8df14af9fa6b2de522f302bdd6a859e0d2e5 data/minecraft/advancements/recipes/decorations/red_concrete_barrier_from_red_concrete_stonecutting.json
ee261066eaa0b85e6ab2303d51bae481bedaa36e data/minecraft/advancements/recipes/decorations/white_concrete_barrier_from_white_concrete_stonecutting.json
2f17e2b2c8da515dac4945bdcaf4dd10a11bf3b2 data/minecraft/advancements/recipes/decorations/yellow_concrete_barrier_from_yellow_concrete_stonecutting.json
988414c0a5be7c371c55a2c843d61a32ab063819 data/minecraft/advancements/recipes/misc/eight_block_from_null_block_stonecutting.json
32864de09f51166fe2b22ef1bf6fb0fd4f9d294e data/minecraft/advancements/recipes/misc/five_block_from_null_block_stonecutting.json
094353c62e4e78bd7f645bff89c8c59db3af4f64 data/minecraft/advancements/recipes/misc/four_block_from_null_block_stonecutting.json
644fbc1ab8b8062cd1a8582956fc4ea1b11743b8 data/minecraft/advancements/recipes/misc/nine_block_from_null_block_stonecutting.json
f6b6d2e5bc534b6d7d136a4e69066857c6227266 data/minecraft/advancements/recipes/misc/null_block_from_eight.json
04a0c3901e4e444651529801c645506a41600ca0 data/minecraft/advancements/recipes/misc/null_block_from_eight_block_stonecutting.json
01aceacee682e62e75f60f7c79829833f1d848b3 data/minecraft/advancements/recipes/misc/null_block_from_five.json
20eb9730c0e4af93c7d19f0ac5d525acbf21fb7e data/minecraft/advancements/recipes/misc/null_block_from_five_block_stonecutting.json
89f6e704879c44ab1bc72524b389732c0a45212d data/minecraft/advancements/recipes/misc/null_block_from_four.json
80b4f46e4803d06517c33aec2e5d08e45e429ff9 data/minecraft/advancements/recipes/misc/null_block_from_four_block_stonecutting.json
7f57655bed0ca151b8c8694163dfec21168b0498 data/minecraft/advancements/recipes/misc/null_block_from_nine.json
faf258556e2dc83b0d383e25615900c39fbc6d57 data/minecraft/advancements/recipes/misc/null_block_from_nine_block_stonecutting.json
61c4d24a0b624e6a61c217bea1ab6526303514ab data/minecraft/advancements/recipes/misc/null_block_from_null.json
6d8cd613596f886a2d6bfadf3a4fe746a48865d6 data/minecraft/advancements/recipes/misc/null_block_from_one.json
7a2f43dbf866a4e009528ecb46a70dba80fc6875 data/minecraft/advancements/recipes/misc/null_block_from_one_block_stonecutting.json
dfa03f58965013d1cadd0cde8dc848fbe02a9526 data/minecraft/advancements/recipes/misc/null_block_from_seven.json
a0fc33cc60e9c74213710ed3584f4470be13ad26 data/minecraft/advancements/recipes/misc/null_block_from_seven_block_stonecutting.json
df3e777ab1cdf610b762ad19252ec99d02451d19 data/minecraft/advancements/recipes/misc/null_block_from_six.json
d1e4c786c7f0af149f511cca47062ff64300c000 data/minecraft/advancements/recipes/misc/null_block_from_six_block_stonecutting.json
70676f8bc87b64c35ef7d26b523a15555dbaa7b6 data/minecraft/advancements/recipes/misc/null_block_from_three.json
a831fd8dd94e79729638d665b8910bd6cd5bd5aa data/minecraft/advancements/recipes/misc/null_block_from_three_block_stonecutting.json
07622b3aaae1bfae8d8ee5b44e3c5b6b303e5dbd data/minecraft/advancements/recipes/misc/null_block_from_two.json
13f11c7d7e9f0a0677a5dcd2fde8b8797e8dda39 data/minecraft/advancements/recipes/misc/null_block_from_two_block_stonecutting.json
ab990b3930cfd57580a8a97f347e1070546908d1 data/minecraft/advancements/recipes/misc/null_block_from_zero.json
0d0e90d49fcbb54a16a28862242805455a78327c data/minecraft/advancements/recipes/misc/null_block_from_zero_block_stonecutting.json
db9deb52abf2efbf492e44ff14bb5acfccd1308a data/minecraft/advancements/recipes/misc/one_block_from_null_block_stonecutting.json
2bcbdcf91704e86c7a7e525aac04e049620f4fd3 data/minecraft/advancements/recipes/misc/seven_block_from_null_block_stonecutting.json
3c167e359e82b8485bf7c2ff1317a42d2b579ae3 data/minecraft/advancements/recipes/misc/six_block_from_null_block_stonecutting.json
64059807e58379223e9f18ecc233c91dfe865c7e data/minecraft/advancements/recipes/misc/three_block_from_null_block_stonecutting.json
5387372f36268279d7d70d364d44d44e027f7002 data/minecraft/advancements/recipes/misc/two_block_from_null_block_stonecutting.json
ff91a2160897fb7afdd6451927bc7bdb230dd152 data/minecraft/advancements/recipes/misc/zero_block_from_null_block_stonecutting.json
64a306dd145f33a183b9f9fed47780e2bd6e50de data/minecraft/recipes/black_concrete_barrier_from_black_concrete_stonecutting.json
a9722f24564f23327e9f7a47ef7b1b89b305de96 data/minecraft/recipes/blue_concrete_barrier_from_blue_concrete_stonecutting.json
6a768ef562363272a9bfa756514a33c124872ae1 data/minecraft/recipes/brown_concrete_barrier_from_brown_concrete_stonecutting.json
a02c991f8cc9098f2aa6f46325badfc8a8e4b1ea data/minecraft/recipes/cyan_concrete_barrier_from_cyan_concrete_stonecutting.json
df5f3709de5126ed352b330e6fe08361c0671423 data/minecraft/recipes/eight_block_from_null_block_stonecutting.json
d05a1ec64e03335ef1cdbbe3de0415bf0b789387 data/minecraft/recipes/five_block_from_null_block_stonecutting.json
ba6976e77b3f19dd535a5c663e818e84e2887ce8 data/minecraft/recipes/four_block_from_null_block_stonecutting.json
52f98c10ded4ca90a97d33a12776d96cd42d11c5 data/minecraft/recipes/gray_concrete_barrier_from_gray_concrete_stonecutting.json
8667f777866cc54160a52b00af8cc8dd57ecb345 data/minecraft/recipes/green_concrete_barrier_from_green_concrete_stonecutting.json
a43e06a168f47b4ff95d26f9d0f8aaaf773bfc72 data/minecraft/recipes/light_blue_concrete_barrier_from_light_blue_concrete_stonecutting.json
6ed761863a4e8d09bdfa6af922431c6e4365ffea data/minecraft/recipes/light_gray_concrete_barrier_from_light_gray_concrete_stonecutting.json
8ba9c95e2dd167a5492cd775bb5d6ae213122732 data/minecraft/recipes/lime_concrete_barrier_from_lime_concrete_stonecutting.json
6d088056e9f4ed7c16ac029ad62fa57c734f5e55 data/minecraft/recipes/magenta_concrete_barrier_from_magenta_concrete_stonecutting.json
b0ee7718d311f7b2b4983a8e3b943baae5e0e4f6 data/minecraft/recipes/nine_block_from_null_block_stonecutting.json
50f38b5cbde42c30375fc5e03b4236bb87d9bb43 data/minecraft/recipes/null_block_from_eight.json
8eca141b1ff65c9dc19557421ad1c7f557ab74fa data/minecraft/recipes/null_block_from_eight_block_stonecutting.json
c25ac5c0f82c651723dda7cb48342889f1fdc385 data/minecraft/recipes/null_block_from_five.json
93bf5c9398ed6c0bc2284e6e01ae2e157b5ae438 data/minecraft/recipes/null_block_from_five_block_stonecutting.json
113dfc5c2efd766958ca44fbdcaef530a43b5d64 data/minecraft/recipes/null_block_from_four.json
57951339859375a4deef4fb8e8d1a4753ed42454 data/minecraft/recipes/null_block_from_four_block_stonecutting.json
004f9f1f4bccfd92dc7e817edea73f720e069dcf data/minecraft/recipes/null_block_from_nine.json
a8a0d6da5ba1224ed49000c02c50c3b19082356c data/minecraft/recipes/null_block_from_nine_block_stonecutting.json
6cfe4508e589175ca13e623f6f2c8925ae83eae3 data/minecraft/recipes/null_block_from_null.json
fd08a480dc473953bfbf8e324ffcd56445fa1a46 data/minecraft/recipes/null_block_from_one.json
6e4373569c95eea3343b34fb90336d93dc1e4273 data/minecraft/recipes/null_block_from_one_block_stonecutting.json
8a04fc167646712ae6ca8eb37004f4305571efd5 data/minecraft/recipes/null_block_from_seven.json
fa8e42e23b88a94d855c0656617dc38d55cd76b0 data/minecraft/recipes/null_block_from_seven_block_stonecutting.json
7c19400f57a814618ad84f23fb795f3f14fe4595 data/minecraft/recipes/null_block_from_six.json
e6060bf1049bd385556c798c0222d813746eb0b9 data/minecraft/recipes/null_block_from_six_block_stonecutting.json
0f20f972196359db26b7155b5221b4bc0909aa7d data/minecraft/recipes/null_block_from_three.json
97ff5e132e030eb1dff30059ef7ce80b133f739e data/minecraft/recipes/null_block_from_three_block_stonecutting.json
9542fe256fecebf483cfe50bbf6aa214ae029a6e data/minecraft/recipes/null_block_from_two.json
3a73c04c63745805a5e28570b423aa19a56a8a08 data/minecraft/recipes/null_block_from_two_block_stonecutting.json
5c114a1375f711647e9aea42112a5c66a02c9607 data/minecraft/recipes/null_block_from_zero.json
94af1c4dc2982d1f876c791587a1d98990900d58 data/minecraft/recipes/null_block_from_zero_block_stonecutting.json
81048aa3eee0cd375a24beecee1d0d7b138bd67d data/minecraft/recipes/one_block_from_null_block_stonecutting.json
e5ea65dde85bbe8dea1a37dc76c898966cf2ceeb data/minecraft/recipes/orange_concrete_barrier_from_orange_concrete_stonecutting.json
99c0a624f0bd9b2b7b5beade985976a7f35c0454 data/minecraft/recipes/pink_concrete_barrier_from_pink_concrete_stonecutting.json
d2e0bc434ca37601f727810ff9cb7f1205ceb6b3 data/minecraft/recipes/purple_concrete_barrier_from_purple_concrete_stonecutting.json
3652ee4dd0846ef825ff7d8bc10afd62c1d2dee7 data/minecraft/recipes/red_concrete_barrier_from_red_concrete_stonecutting.json
03ea9a3b9a04c26b01c147149d847bc1ec8f91e5 data/minecraft/recipes/seven_block_from_null_block_stonecutting.json
057bc3387dba64b5220ff42b49310a50a041cc30 data/minecraft/recipes/six_block_from_null_block_stonecutting.json
fc264bf36dc4b2d7ff4c089523740904abb67cb6 data/minecraft/recipes/three_block_from_null_block_stonecutting.json
de65a15aa31006a2ff1b14d47452b410a16ccf44 data/minecraft/recipes/two_block_from_null_block_stonecutting.json
9d4629cfb681a773d0b8bd22f4b90a910db6a47c data/minecraft/recipes/white_concrete_barrier_from_white_concrete_stonecutting.json
0af5a2ba87016df6c827710204397aebb74b75fc data/minecraft/recipes/yellow_concrete_barrier_from_yellow_concrete_stonecutting.json
620c5bea1a315f4f4d84274d74b2e07d21807b0e data/minecraft/recipes/zero_block_from_null_block_stonecutting.json
829d226e46b965c74cdc812972e5e4a6feee89d3 data/modernlifepatch/advancements/recipes/decorations/large_mirror.json
9d1914bb2bddd1bbadd0b58f3f7e5eb992f984c8 data/modernlifepatch/advancements/recipes/decorations/massive_mirror.json
e31f330892c0abe33cce7f858b1e2cb23125e29c data/modernlifepatch/advancements/recipes/decorations/mirror.json
1a1423565c4e8c9d2b2a4157c61ab00ea154e474 data/modernlifepatch/advancements/recipes/decorations/tall_mirror.json
50bbd11db7daa8589f9874aef9cc5643bb22098d data/modernlifepatch/advancements/recipes/misc/null_block.json
c7af367b61d30ea781a72a6a72e86677bc5b0136 data/modernlifepatch/recipes/large_mirror.json
89bab02b61801049313724df763ab216dbf1f09c data/modernlifepatch/recipes/massive_mirror.json
28133e9320816c3ffc37e11191f19dffd41da17c data/modernlifepatch/recipes/mirror.json
f8485dfe69854d05a945a18c579664c446aff5e1 data/modernlifepatch/recipes/null_block.json
fc2a0f648922c5e671df5e33e7634c1a54c78739 data/modernlifepatch/recipes/tall_mirror.json

View File

@ -1,2 +1,2 @@
// 1.20.1 2025-03-22T17:17:58.3789517 Tags for minecraft:block mod id modernlifepatch
6c0e9dd6279be17974bfd06138256cf56c74f602 data/minecraft/tags/blocks/mineable/pickaxe.json
// 1.20.1 2025-03-24T00:28:40.6686164 Tags for minecraft:block mod id modernlifepatch
1df2526d955c0973f92de75ee1b079733245d628 data/minecraft/tags/blocks/mineable/pickaxe.json

View File

@ -1,33 +1,66 @@
// 1.20.1 2025-03-22T17:17:58.3718469 Block States: modernlifepatch
// 1.20.1 2025-03-24T00:28:40.6686164 Block States: modernlifepatch
6dcfec708d429da81fb2776dda9af3023908da59 assets/modernlifepatch/blockstates/black_concrete_barrier.json
e2016906e5c3589daac72c5cb7d603e4eeb6621f assets/modernlifepatch/blockstates/blue_concrete_barrier.json
4f993c3d5452903f0c09bdd60edfb01316c52ebb assets/modernlifepatch/blockstates/brown_concrete_barrier.json
1d98d956d488daefb2b6b8631979dfae4a0273d4 assets/modernlifepatch/blockstates/cyan_concrete_barrier.json
ad9e0f04c1e224eb50ef0c0a09eed85b9545cdcf assets/modernlifepatch/blockstates/eight_block.json
089321acaa8e7253cbb447c6120162af606c5383 assets/modernlifepatch/blockstates/five_block.json
154a0005ca409e72097942f0bc36c3e74758e8d3 assets/modernlifepatch/blockstates/four_block.json
ff61b2512130e43fdad61348d4e9e5cbca0e17b0 assets/modernlifepatch/blockstates/gray_concrete_barrier.json
dd4e4b47f65b94d9180346f9790b85ec8e299524 assets/modernlifepatch/blockstates/green_concrete_barrier.json
4077fecd41e271e4ed79752ab178552e5ec674a4 assets/modernlifepatch/blockstates/light_blue_concrete_barrier.json
48052319b883a2e59d7efde11434bb09a3f24393 assets/modernlifepatch/blockstates/light_gray_concrete_barrier.json
2bdff859c4e1faaa729ac338307c7af10c3eb5b1 assets/modernlifepatch/blockstates/lime_concrete_barrier.json
2ecef4d6a4b9aa021eaddee4cce32c1f14f93f4f assets/modernlifepatch/blockstates/magenta_concrete_barrier.json
f8d90d3df38674f37803738c20c913841593f44a assets/modernlifepatch/blockstates/nine_block.json
e7dab48b71f4bcd932ba254013e58e0bec22c6c6 assets/modernlifepatch/blockstates/null_block.json
f2af69c750fc937d13177b3d0bc7db27c7680138 assets/modernlifepatch/blockstates/one_block.json
9c674b4a2db2532fe1ab23c5523d70b6cbee1902 assets/modernlifepatch/blockstates/orange_concrete_barrier.json
278c013ed5021074ef846ae8297619043e9eaf98 assets/modernlifepatch/blockstates/pink_concrete_barrier.json
a3b9c0099e3f65bfd14015a629a709f5b90bf75e assets/modernlifepatch/blockstates/purple_concrete_barrier.json
b6e93648de3ec4921410b4acd4003b1fd4baded0 assets/modernlifepatch/blockstates/red_concrete_barrier.json
3f651298532e843ffb0fbbfd3cf866bfdf0fcef5 assets/modernlifepatch/blockstates/seven_block.json
f78e6379e5cba21992fb16167c3650f8aa56bf76 assets/modernlifepatch/blockstates/six_block.json
24cd8eaef736271e6da513ee99f9da97bcbd12b2 assets/modernlifepatch/blockstates/three_block.json
8485233b180d03a927c1f39ae9896a4d5bb1d3b6 assets/modernlifepatch/blockstates/two_block.json
c4e8d556ce255d18da5a5c926bf3da963fb40f1a assets/modernlifepatch/blockstates/white_concrete_barrier.json
bea52888b9b32d9866643be4a99cd9802c1a1322 assets/modernlifepatch/blockstates/yellow_concrete_barrier.json
46e2bb42a836fa8abe826a976d00213e8497f251 assets/modernlifepatch/blockstates/zero_block.json
3f7c110f3ca64ad71c03387ece666fd09c5c28f1 assets/modernlifepatch/models/block/eight_block.json
5be6a040d6c1ee37b87b0286363f8847bec2d7d3 assets/modernlifepatch/models/block/five_block.json
095a8d390b130bb6c1103ce588fe9377cc77c804 assets/modernlifepatch/models/block/four_block.json
6d7f9714cfcc044e1eea0b2f30db1f6624f1b6e9 assets/modernlifepatch/models/block/nine_block.json
a968df7e821cd48cad613d2b4abebc4252bdb763 assets/modernlifepatch/models/block/null_block.json
25b86b0e7165dbfcbf9bfc8d7a7ef0edceee6053 assets/modernlifepatch/models/block/one_block.json
85987b934f60e11f19dc6f01f30c803a99daf1ba assets/modernlifepatch/models/block/seven_block.json
a3b73fae1741fdf8d7297c17460632cde69817e7 assets/modernlifepatch/models/block/six_block.json
37b0d19e0fdf4587857d9bbb26dde3027305c122 assets/modernlifepatch/models/block/three_block.json
8b96042da9c470fec37bbef2dc0e39f052dafe26 assets/modernlifepatch/models/block/two_block.json
203c3074c370b60b8d4d68578d7029f92c2b9801 assets/modernlifepatch/models/block/zero_block.json
507562e8509a8c83a4c2cebb4cbb682e94315ef4 assets/modernlifepatch/models/item/black_concrete_barrier.json
fd17c7f34bb615f8113659d2f2c9b8e06d3bf0a3 assets/modernlifepatch/models/item/blue_concrete_barrier.json
31968e21ff06436df0828990e3521536a2997926 assets/modernlifepatch/models/item/brown_concrete_barrier.json
b745fdc77b1c8f87e654ef81eca4e95a5672ab71 assets/modernlifepatch/models/item/cyan_concrete_barrier.json
8f29bc3a55da94cc0447981fd0f9fc2a4bf31b1c assets/modernlifepatch/models/item/eight_block.json
68a75e3443076e627278ebb32ae8f4e4d8f6dd41 assets/modernlifepatch/models/item/five_block.json
4185461b86ab61e91a508228ed03ac4b90a39086 assets/modernlifepatch/models/item/four_block.json
b3e601ef38191f0e5c23a41145c1e280244b673d assets/modernlifepatch/models/item/gray_concrete_barrier.json
84a0567e3f014560778f924f2b8d8c9fd4c7f93f assets/modernlifepatch/models/item/green_concrete_barrier.json
3c734794d9c1fcf7664bb9d3faeef5d4d1ee298e assets/modernlifepatch/models/item/light_blue_concrete_barrier.json
53d8a0955735f262b6209005567f590a716163e1 assets/modernlifepatch/models/item/light_gray_concrete_barrier.json
88adeb6343ab5e6e36658df72cc8e8e82be4dcaa assets/modernlifepatch/models/item/lime_concrete_barrier.json
0fb4649f0b6b149e79e111b2bd59e04a92ee34ac assets/modernlifepatch/models/item/magenta_concrete_barrier.json
c043971dd5e167cba09647250a66ab7eefa2a97a assets/modernlifepatch/models/item/nine_block.json
95740eec66e6a3db5e62602774c342057842591d assets/modernlifepatch/models/item/null_block.json
64679ea5f6830197b8e895618b7717d189335680 assets/modernlifepatch/models/item/one_block.json
6e55165c8604cb1fff47a9a1b5ab1af60620b274 assets/modernlifepatch/models/item/orange_concrete_barrier.json
8f8d499631adf1fb5c8344e4f9534b7309ba2c5d assets/modernlifepatch/models/item/pink_concrete_barrier.json
3cbaeb4fe8b2afa39d5abb0cc9b3ec959ac8ee16 assets/modernlifepatch/models/item/purple_concrete_barrier.json
864d1685c60fcdaca3825e7d05af6eff438cf9cb assets/modernlifepatch/models/item/red_concrete_barrier.json
1ae02ba84d6831857ea6a483fba5fb10145c795f assets/modernlifepatch/models/item/seven_block.json
9b0c86cd54cf9c0fa28ae721a646e15342521d74 assets/modernlifepatch/models/item/six_block.json
675cb937d8a7037f06d59647fb075490eb03c616 assets/modernlifepatch/models/item/three_block.json
ae1e95a89db61abc03cf8c1a3db6ba11b0f6af9e assets/modernlifepatch/models/item/two_block.json
1feb32683f4f57640577fccf962c04ab48c2ce9d assets/modernlifepatch/models/item/white_concrete_barrier.json
9c3f0791c55bc96bbb9123a1024258053ead327a assets/modernlifepatch/models/item/yellow_concrete_barrier.json
ef3b0767abf21d61065a01fc2e4e651c6e967b37 assets/modernlifepatch/models/item/zero_block.json

View File

@ -1,2 +1,2 @@
// 1.20.1 2025-03-22T17:17:58.3769694 Languages: en_us
b3129455faabbd0e9af01f161b45e3e1272d54a7 assets/modernlifepatch/lang/en_us.json
// 1.20.1 2025-03-24T00:28:40.6686164 Languages: en_us
e0718e56ec9db4a903b91654ee21cc5effbc50b3 assets/modernlifepatch/lang/en_us.json

View File

@ -3,6 +3,9 @@
"block.modernlifepatch.blue_concrete_barrier": "Blue Concrete Barrier",
"block.modernlifepatch.brown_concrete_barrier": "Brown Concrete Barrier",
"block.modernlifepatch.cyan_concrete_barrier": "Cyan Concrete Barrier",
"block.modernlifepatch.eight_block": "Eight",
"block.modernlifepatch.five_block": "Five",
"block.modernlifepatch.four_block": "Four",
"block.modernlifepatch.gray_concrete_barrier": "Gray Concrete Barrier",
"block.modernlifepatch.green_concrete_barrier": "Green Concrete Barrier",
"block.modernlifepatch.large_mirror": "Large Mirror",
@ -12,13 +15,21 @@
"block.modernlifepatch.magenta_concrete_barrier": "Magenta Concrete Barrier",
"block.modernlifepatch.massive_mirror": "Massive Mirror",
"block.modernlifepatch.mirror": "Mirror",
"block.modernlifepatch.nine_block": "Nine",
"block.modernlifepatch.null_block": "Null Block",
"block.modernlifepatch.one_block": "One",
"block.modernlifepatch.orange_concrete_barrier": "Orange Concrete Barrier",
"block.modernlifepatch.pink_concrete_barrier": "Pink Concrete Barrier",
"block.modernlifepatch.purple_concrete_barrier": "Purple Concrete Barrier",
"block.modernlifepatch.red_concrete_barrier": "Red Concrete Barrier",
"block.modernlifepatch.seven_block": "Seven",
"block.modernlifepatch.six_block": "Six",
"block.modernlifepatch.tall_mirror": "Tall Mirror",
"block.modernlifepatch.three_block": "Three",
"block.modernlifepatch.two_block": "Two",
"block.modernlifepatch.white_concrete_barrier": "White Concrete Barrier",
"block.modernlifepatch.yellow_concrete_barrier": "Yellow Concrete Barrier",
"block.modernlifepatch.zero_block": "Zero",
"gui.tag_filter.modernlifepatch.bathroom": "BathRoom",
"gui.tag_filter.modernlifepatch.bedchamber": "Bedchamber",
"gui.tag_filter.modernlifepatch.door": "Door",

View File

@ -3,6 +3,9 @@
"block.modernlifepatch.blue_concrete_barrier": "蓝色混凝土栅栏",
"block.modernlifepatch.brown_concrete_barrier": "棕色混凝土栅栏",
"block.modernlifepatch.cyan_concrete_barrier": "青色混凝土栅栏",
"block.modernlifepatch.eight_block": "八",
"block.modernlifepatch.five_block": "五",
"block.modernlifepatch.four_block": "四",
"block.modernlifepatch.gray_concrete_barrier": "灰色混凝土栅栏",
"block.modernlifepatch.green_concrete_barrier": "绿色混凝土栅栏",
"block.modernlifepatch.large_mirror": "大型镜子",
@ -12,13 +15,21 @@
"block.modernlifepatch.magenta_concrete_barrier": "品红色混凝土栅栏",
"block.modernlifepatch.massive_mirror": "超大型镜子",
"block.modernlifepatch.mirror": "镜子",
"block.modernlifepatch.nine_block": "九",
"block.modernlifepatch.null_block": "空值",
"block.modernlifepatch.one_block": "一",
"block.modernlifepatch.orange_concrete_barrier": "橙色混凝土栅栏",
"block.modernlifepatch.pink_concrete_barrier": "粉红色混凝土栅栏",
"block.modernlifepatch.purple_concrete_barrier": "紫色混凝土栅栏",
"block.modernlifepatch.red_concrete_barrier": "红色混凝土栅栏",
"block.modernlifepatch.seven_block": "七",
"block.modernlifepatch.six_block": "六",
"block.modernlifepatch.tall_mirror": "高镜子",
"block.modernlifepatch.three_block": "三",
"block.modernlifepatch.two_block": "二",
"block.modernlifepatch.white_concrete_barrier": "白色混凝土栅栏",
"block.modernlifepatch.yellow_concrete_barrier": "黄色混凝土栅栏",
"block.modernlifepatch.zero_block": "零",
"gui.tag_filter.modernlifepatch.bathroom": "卫生间",
"gui.tag_filter.modernlifepatch.bedchamber": "寝室",
"gui.tag_filter.modernlifepatch.door": "门",

View File

@ -15,6 +15,17 @@
"modernlifepatch:brown_concrete_barrier",
"modernlifepatch:green_concrete_barrier",
"modernlifepatch:red_concrete_barrier",
"modernlifepatch:black_concrete_barrier"
"modernlifepatch:black_concrete_barrier",
"modernlifepatch:null_block",
"modernlifepatch:one_block",
"modernlifepatch:two_block",
"modernlifepatch:three_block",
"modernlifepatch:four_block",
"modernlifepatch:five_block",
"modernlifepatch:six_block",
"modernlifepatch:seven_block",
"modernlifepatch:eight_block",
"modernlifepatch:nine_block",
"modernlifepatch:zero_block"
]
}

View File

@ -2,6 +2,7 @@ package com.r3944realms.modernlifepatch.content.blocks;
import com.dairymoose.modernlife.blocks.BarrierBlock;
import com.r3944realms.modernlifepatch.ModernLifePatch;
import com.r3944realms.modernlifepatch.content.blocks.type.NumberBlock;
import com.r3944realms.modernlifepatch.content.blocks.type.mirror.MirrorBlock;
import com.r3944realms.modernlifepatch.content.blocks.type.mirror.MirrorPart;
import com.r3944realms.modernlifepatch.content.item.ModItems;
@ -61,7 +62,29 @@ public class ModBlocks {
() -> new BarrierBlock(BlockBehaviour.Properties.copy(Blocks.RED_CONCRETE)));
public static final RegistryObject<Block> BLACK_CONCRETE_BARRIER = BLOCKS.register("black_concrete_barrier",
() -> new BarrierBlock(BlockBehaviour.Properties.copy(Blocks.BLACK_CONCRETE)));
//NUMBER
public static final RegistryObject<Block> NULL_BLOCK = BLOCKS.register("null_block",
() -> new NumberBlock(BlockBehaviour.Properties.copy(Blocks.STONE)));
public static final RegistryObject<Block> ONE_BLOCK = BLOCKS.register("one_block",
() -> new NumberBlock(BlockBehaviour.Properties.copy(Blocks.STONE)));
public static final RegistryObject<Block> TWO_BLOCK = BLOCKS.register("two_block",
() -> new NumberBlock(BlockBehaviour.Properties.copy(Blocks.STONE)));
public static final RegistryObject<Block> THREE_BLOCK = BLOCKS.register("three_block",
() -> new NumberBlock(BlockBehaviour.Properties.copy(Blocks.STONE)));
public static final RegistryObject<Block> FOUR_BLOCK = BLOCKS.register("four_block",
() -> new NumberBlock(BlockBehaviour.Properties.copy(Blocks.STONE)));
public static final RegistryObject<Block> FIVE_BLOCK = BLOCKS.register("five_block",
() -> new NumberBlock(BlockBehaviour.Properties.copy(Blocks.STONE)));
public static final RegistryObject<Block> SIX_BLOCK = BLOCKS.register("six_block",
() -> new NumberBlock(BlockBehaviour.Properties.copy(Blocks.STONE)));
public static final RegistryObject<Block> SEVEN_BLOCK = BLOCKS.register("seven_block",
() -> new NumberBlock(BlockBehaviour.Properties.copy(Blocks.STONE)));
public static final RegistryObject<Block> EIGHT_BLOCK = BLOCKS.register("eight_block",
() -> new NumberBlock(BlockBehaviour.Properties.copy(Blocks.STONE)));
public static final RegistryObject<Block> NINE_BLOCK = BLOCKS.register("nine_block",
() -> new NumberBlock(BlockBehaviour.Properties.copy(Blocks.STONE)));
public static final RegistryObject<Block> ZERO_BLOCK = BLOCKS.register("zero_block",
() -> new NumberBlock(BlockBehaviour.Properties.copy(Blocks.STONE)));
@SuppressWarnings("UnusedReturnValue")
public static <T extends Block> RegistryObject<BlockItem> registerBlockItem(String name , RegistryObject<T> block){
return ModItems.register(name,() -> new BlockItem(block.get(),new Item.Properties()));

View File

@ -0,0 +1,23 @@
package com.r3944realms.modernlifepatch.content.blocks.type;
import net.minecraft.world.item.context.BlockPlaceContext;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.HorizontalDirectionalBlock;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.level.block.state.StateDefinition;
public class NumberBlock extends HorizontalDirectionalBlock {
public NumberBlock(Properties pProperties) {
super(pProperties);
}
public BlockState getStateForPlacement(BlockPlaceContext pContext) {
return this.defaultBlockState().setValue(FACING, pContext.getHorizontalDirection());
}
@Override
protected void createBlockStateDefinition(StateDefinition.Builder<Block, BlockState> pBuilder) {
pBuilder.add(FACING);
}
}

View File

@ -36,6 +36,18 @@ public class ModItems {
public static final RegistryObject<BlockItem> GREEN_CONCRETE_BARRIER_ITEM = ModBlocks.registerBlockItem("green_concrete_barrier", ModBlocks.GREEN_CONCRETE_BARRIER);
public static final RegistryObject<BlockItem> RED_CONCRETE_BARRIER_ITEM = ModBlocks.registerBlockItem("red_concrete_barrier", ModBlocks.RED_CONCRETE_BARRIER);
public static final RegistryObject<BlockItem> BLACK_CONCRETE_BARRIER_ITEM = ModBlocks.registerBlockItem("black_concrete_barrier", ModBlocks.BLACK_CONCRETE_BARRIER);
//NUMBER
public static final RegistryObject<BlockItem> NULL_BLOCK_ITEM = ModBlocks.registerBlockItem("null_block", ModBlocks.NULL_BLOCK);
public static final RegistryObject<BlockItem> ONE_BLOCK_ITEM = ModBlocks.registerBlockItem("one_block", ModBlocks.ONE_BLOCK);
public static final RegistryObject<BlockItem> TWO_BLOCK_ITEM = ModBlocks.registerBlockItem("two_block", ModBlocks.TWO_BLOCK);
public static final RegistryObject<BlockItem> THREE_BLOCK_ITEM = ModBlocks.registerBlockItem("three_block", ModBlocks.THREE_BLOCK);
public static final RegistryObject<BlockItem> FOUR_BLOCK_ITEM = ModBlocks.registerBlockItem("four_block", ModBlocks.FOUR_BLOCK);
public static final RegistryObject<BlockItem> FIVE_BLOCK_ITEM = ModBlocks.registerBlockItem("five_block", ModBlocks.FIVE_BLOCK);
public static final RegistryObject<BlockItem> SIX_BLOCK_ITEM = ModBlocks.registerBlockItem("six_block", ModBlocks.SIX_BLOCK);
public static final RegistryObject<BlockItem> SEVEN_BLOCK_ITEM = ModBlocks.registerBlockItem("seven_block", ModBlocks.SEVEN_BLOCK);
public static final RegistryObject<BlockItem> EIGHT_BLOCK_ITEM = ModBlocks.registerBlockItem("eight_block", ModBlocks.EIGHT_BLOCK);
public static final RegistryObject<BlockItem> NINE_BLOCK_ITEM = ModBlocks.registerBlockItem("nine_block", ModBlocks.NINE_BLOCK);
public static final RegistryObject<BlockItem> ZERO_BLOCK_ITEM = ModBlocks.registerBlockItem("zero_block", ModBlocks.ZERO_BLOCK);
public static RegistryObject<BlockItem> register(String name, Supplier<? extends BlockItem> sup) {
return ITEMS.register(name, sup);
}

View File

@ -169,6 +169,28 @@ public enum ModLangKeyValue {
RED_CONCRETE_BARRIER(getBlockKey(ModBlocks.RED_CONCRETE_BARRIER.get()), copyEnglish(RED_CONCRETE_BARRIER_ITEM), copySimpleChinese(RED_CONCRETE_BARRIER_ITEM)),
BLACK_CONCRETE_BARRIER_ITEM(getItemKey(ModItems.BLACK_CONCRETE_BARRIER_ITEM.get()), "Black Concrete Barrier", "黑色混凝土栅栏"),
BLACK_CONCRETE_BARRIER(getBlockKey(ModBlocks.BLACK_CONCRETE_BARRIER.get()), copyEnglish(BLACK_CONCRETE_BARRIER_ITEM), copySimpleChinese(BLACK_CONCRETE_BARRIER_ITEM)),
NULL_BLOCK(getBlockKey(ModBlocks.NULL_BLOCK), "Null Block", "空值"),
NULL_BLOCK_ITEM(getItemKey(ModItems.NULL_BLOCK_ITEM.get()), getEnglish(NULL_BLOCK), getSimpleChinese(NULL_BLOCK)),
ONE_BLOCK_ITEM(getItemKey(ModItems.ONE_BLOCK_ITEM.get()), "One", ""),
ONE_BLOCK(getBlockKey(ModBlocks.ONE_BLOCK.get()), copyEnglish(ONE_BLOCK_ITEM), copySimpleChinese(ONE_BLOCK_ITEM)),
TWO_BLOCK_ITEM(getItemKey(ModItems.TWO_BLOCK_ITEM.get()), "Two", ""),
TWO_BLOCK(getBlockKey(ModBlocks.TWO_BLOCK.get()), copyEnglish(TWO_BLOCK_ITEM), copySimpleChinese(TWO_BLOCK_ITEM)),
THREE_BLOCK_ITEM(getItemKey(ModItems.THREE_BLOCK_ITEM.get()), "Three", ""),
THREE_BLOCK(getBlockKey(ModBlocks.THREE_BLOCK.get()), copyEnglish(THREE_BLOCK_ITEM), copySimpleChinese(THREE_BLOCK_ITEM)),
FOUR_BLOCK_ITEM(getItemKey(ModItems.FOUR_BLOCK_ITEM.get()), "Four", ""),
FOUR_BLOCK(getBlockKey(ModBlocks.FOUR_BLOCK.get()), copyEnglish(FOUR_BLOCK_ITEM), copySimpleChinese(FOUR_BLOCK_ITEM)),
FIVE_BLOCK_ITEM(getItemKey(ModItems.FIVE_BLOCK_ITEM.get()), "Five", ""),
FIVE_BLOCK(getBlockKey(ModBlocks.FIVE_BLOCK.get()), copyEnglish(FIVE_BLOCK_ITEM), copySimpleChinese(FIVE_BLOCK_ITEM)),
SIX_BLOCK_ITEM(getItemKey(ModItems.SIX_BLOCK_ITEM.get()), "Six", ""),
SIX_BLOCK(getBlockKey(ModBlocks.SIX_BLOCK.get()), copyEnglish(SIX_BLOCK_ITEM), copySimpleChinese(SIX_BLOCK_ITEM)),
SEVEN_BLOCK_ITEM(getItemKey(ModItems.SEVEN_BLOCK_ITEM.get()), "Seven", ""),
SEVEN_BLOCK(getBlockKey(ModBlocks.SEVEN_BLOCK.get()), copyEnglish(SEVEN_BLOCK_ITEM), copySimpleChinese(SEVEN_BLOCK_ITEM)),
EIGHT_BLOCK_ITEM(getItemKey(ModItems.EIGHT_BLOCK_ITEM.get()), "Eight", ""),
EIGHT_BLOCK(getBlockKey(ModBlocks.EIGHT_BLOCK.get()), copyEnglish(EIGHT_BLOCK_ITEM), copySimpleChinese(EIGHT_BLOCK_ITEM)),
NINE_BLOCK_ITEM(getItemKey(ModItems.NINE_BLOCK_ITEM.get()), "Nine", ""),
NINE_BLOCK(getBlockKey(ModBlocks.NINE_BLOCK.get()), copyEnglish(NINE_BLOCK_ITEM), copySimpleChinese(NINE_BLOCK_ITEM)),
ZERO_BLOCK_ITEM(getItemKey(ModItems.ZERO_BLOCK_ITEM.get()), "Zero", ""),
ZERO_BLOCK(getBlockKey(ModBlocks.ZERO_BLOCK.get()), copyEnglish(ZERO_BLOCK_ITEM), copySimpleChinese(ZERO_BLOCK_ITEM))
;

View File

@ -39,6 +39,22 @@ public class ModBlockStatesProvider extends BlockStateProvider {
registerBarrierStates(ModBlocks.GREEN_CONCRETE_BARRIER.get(), new ResourceLocation(ModernLifePatch.MOD_ID, "block/green_concrete_barrier"));
registerBarrierStates(ModBlocks.RED_CONCRETE_BARRIER.get(), new ResourceLocation(ModernLifePatch.MOD_ID, "block/red_concrete_barrier"));
registerBarrierStates(ModBlocks.BLACK_CONCRETE_BARRIER.get(), new ResourceLocation(ModernLifePatch.MOD_ID, "block/black_concrete_barrier"));
registerNumberStates(ModBlocks.NULL_BLOCK.get(), "null");
registerNumberStates(ModBlocks.ONE_BLOCK.get(), "one");
registerNumberStates(ModBlocks.TWO_BLOCK.get(), "two");
registerNumberStates(ModBlocks.THREE_BLOCK.get(), "three");
registerNumberStates(ModBlocks.FOUR_BLOCK.get(), "four");
registerNumberStates(ModBlocks.FIVE_BLOCK.get(), "five");
registerNumberStates(ModBlocks.SIX_BLOCK.get(), "six");
registerNumberStates(ModBlocks.SEVEN_BLOCK.get(), "seven");
registerNumberStates(ModBlocks.EIGHT_BLOCK.get(), "eight");
registerNumberStates(ModBlocks.NINE_BLOCK.get(), "nine");
registerNumberStates(ModBlocks.ZERO_BLOCK.get(), "zero");
}
public void registerNumberStates(Block block, String number) {
BlockModelBuilder numberBlock = models().cubeAll(number + "_block", new ResourceLocation(ModernLifePatch.MOD_ID, "block/" + number + "_block"));
horizontalBlock(block, numberBlock);
simpleBlockItem(block, numberBlock);
}
public void registerBarrierStates(Block block, ResourceLocation location) {
ModelFile.ExistingModelFile existingFile = models().getExistingFile(location);

View File

@ -38,7 +38,18 @@ public class ModBlockTagProvider extends BlockTagsProvider {
ModBlocks.BROWN_CONCRETE_BARRIER.get(),
ModBlocks.GREEN_CONCRETE_BARRIER.get(),
ModBlocks.RED_CONCRETE_BARRIER.get(),
ModBlocks.BLACK_CONCRETE_BARRIER.get()
ModBlocks.BLACK_CONCRETE_BARRIER.get(),
ModBlocks.NULL_BLOCK.get(),
ModBlocks.ONE_BLOCK.get(),
ModBlocks.TWO_BLOCK.get(),
ModBlocks.THREE_BLOCK.get(),
ModBlocks.FOUR_BLOCK.get(),
ModBlocks.FIVE_BLOCK.get(),
ModBlocks.SIX_BLOCK.get(),
ModBlocks.SEVEN_BLOCK.get(),
ModBlocks.EIGHT_BLOCK.get(),
ModBlocks.NINE_BLOCK.get(),
ModBlocks.ZERO_BLOCK.get()
);
}
}

View File

@ -5,6 +5,7 @@ import net.minecraft.data.PackOutput;
import net.minecraft.data.recipes.*;
import net.minecraft.tags.ItemTags;
import net.minecraft.world.item.Items;
import net.minecraft.world.item.crafting.Ingredient;
import net.minecraftforge.common.Tags;
import org.jetbrains.annotations.NotNull;
@ -41,22 +42,117 @@ public class ModRecipeProvider extends RecipeProvider {
.pattern("@@@")
.unlockedBy("has_item_mirror", has(ModItems.MIRROR_ITEM.get()))
.save(pWriter);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.LIGHT_GRAY_CONCRETE_BARRIER_ITEM.get(), Items.LIGHT_GRAY_CONCRETE,2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.WHITE_CONCRETE_BARRIER_ITEM.get(), Items.WHITE_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.ORANGE_CONCRETE_BARRIER_ITEM.get(), Items.ORANGE_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.MAGENTA_CONCRETE_BARRIER_ITEM.get(), Items.MAGENTA_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.LIGHT_BLUE_CONCRETE_BARRIER_ITEM.get(), Items.LIGHT_BLUE_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.YELLOW_CONCRETE_BARRIER_ITEM.get(), Items.YELLOW_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.LIME_CONCRETE_BARRIER_ITEM.get(), Items.LIME_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.PINK_CONCRETE_BARRIER_ITEM.get(), Items.PINK_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.GRAY_CONCRETE_BARRIER_ITEM.get(), Items.GRAY_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.CYAN_CONCRETE_BARRIER_ITEM.get(), Items.CYAN_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.PURPLE_CONCRETE_BARRIER_ITEM.get(), Items.PURPLE_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.BLUE_CONCRETE_BARRIER_ITEM.get(), Items.BLUE_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.BROWN_CONCRETE_BARRIER_ITEM.get(), Items.BROWN_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.GREEN_CONCRETE_BARRIER_ITEM.get(), Items.GREEN_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.RED_CONCRETE_BARRIER_ITEM.get(), Items.RED_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.BLACK_CONCRETE_BARRIER_ITEM.get(), Items.BLACK_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.LIGHT_GRAY_CONCRETE_BARRIER_ITEM.get(), Items.LIGHT_GRAY_CONCRETE,2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.WHITE_CONCRETE_BARRIER_ITEM.get(), Items.WHITE_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.ORANGE_CONCRETE_BARRIER_ITEM.get(), Items.ORANGE_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.MAGENTA_CONCRETE_BARRIER_ITEM.get(), Items.MAGENTA_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.LIGHT_BLUE_CONCRETE_BARRIER_ITEM.get(), Items.LIGHT_BLUE_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.YELLOW_CONCRETE_BARRIER_ITEM.get(), Items.YELLOW_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.LIME_CONCRETE_BARRIER_ITEM.get(), Items.LIME_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.PINK_CONCRETE_BARRIER_ITEM.get(), Items.PINK_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.GRAY_CONCRETE_BARRIER_ITEM.get(), Items.GRAY_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.CYAN_CONCRETE_BARRIER_ITEM.get(), Items.CYAN_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.PURPLE_CONCRETE_BARRIER_ITEM.get(), Items.PURPLE_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.BLUE_CONCRETE_BARRIER_ITEM.get(), Items.BLUE_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.BROWN_CONCRETE_BARRIER_ITEM.get(), Items.BROWN_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.GREEN_CONCRETE_BARRIER_ITEM.get(), Items.GREEN_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.RED_CONCRETE_BARRIER_ITEM.get(), Items.RED_CONCRETE, 2);
stonecutterResultFromBase(pWriter, RecipeCategory.DECORATIONS, ModItems.BLACK_CONCRETE_BARRIER_ITEM.get(), Items.BLACK_CONCRETE, 2);
ShapedRecipeBuilder.shaped(RecipeCategory.MISC, ModItems.NULL_BLOCK_ITEM.get(), 2)
.define('#', Items.WHITE_DYE)
.define('$', Items.RED_DYE)
.define('@', Ingredient.of(Items.STONE, Items.GRANITE, Items.DIORITE, Items.ANDESITE, Items.DEEPSLATE, Items.CALCITE, Items.TUFF))
.pattern("#$#")
.pattern("$@$")
.pattern("#$#")
.unlockedBy("has_red_dye",has(Items.RED_DYE))
.save(pWriter);
ShapelessRecipeBuilder.shapeless(RecipeCategory.MISC, ModItems.NULL_BLOCK_ITEM.get())
.requires(ModItems.NULL_BLOCK_ITEM.get())
.unlockedBy("has_null_block", has(ModItems.NULL_BLOCK_ITEM.get()))
.save(pWriter, "null_block_from_null");
// 其他数字方块还原为 NULL_BLOCK
ShapelessRecipeBuilder.shapeless(RecipeCategory.MISC, ModItems.NULL_BLOCK_ITEM.get())
.requires(ModItems.ZERO_BLOCK_ITEM.get())
.unlockedBy("has_zero_block", has(ModItems.ZERO_BLOCK_ITEM.get()))
.save(pWriter, "null_block_from_zero");
ShapelessRecipeBuilder.shapeless(RecipeCategory.MISC, ModItems.NULL_BLOCK_ITEM.get())
.requires(ModItems.ONE_BLOCK_ITEM.get())
.unlockedBy("has_one_block", has(ModItems.ONE_BLOCK_ITEM.get()))
.save(pWriter, "null_block_from_one");
ShapelessRecipeBuilder.shapeless(RecipeCategory.MISC, ModItems.NULL_BLOCK_ITEM.get())
.requires(ModItems.TWO_BLOCK_ITEM.get())
.unlockedBy("has_two_block", has(ModItems.TWO_BLOCK_ITEM.get()))
.save(pWriter, "null_block_from_two");
ShapelessRecipeBuilder.shapeless(RecipeCategory.MISC, ModItems.NULL_BLOCK_ITEM.get())
.requires(ModItems.THREE_BLOCK_ITEM.get())
.unlockedBy("has_three_block", has(ModItems.THREE_BLOCK_ITEM.get()))
.save(pWriter, "null_block_from_three");
ShapelessRecipeBuilder.shapeless(RecipeCategory.MISC, ModItems.NULL_BLOCK_ITEM.get())
.requires(ModItems.FOUR_BLOCK_ITEM.get())
.unlockedBy("has_four_block", has(ModItems.FOUR_BLOCK_ITEM.get()))
.save(pWriter, "null_block_from_four");
ShapelessRecipeBuilder.shapeless(RecipeCategory.MISC, ModItems.NULL_BLOCK_ITEM.get())
.requires(ModItems.FIVE_BLOCK_ITEM.get())
.unlockedBy("has_five_block", has(ModItems.FIVE_BLOCK_ITEM.get()))
.save(pWriter, "null_block_from_five");
ShapelessRecipeBuilder.shapeless(RecipeCategory.MISC, ModItems.NULL_BLOCK_ITEM.get())
.requires(ModItems.SIX_BLOCK_ITEM.get())
.unlockedBy("has_six_block", has(ModItems.SIX_BLOCK_ITEM.get()))
.save(pWriter, "null_block_from_six");
ShapelessRecipeBuilder.shapeless(RecipeCategory.MISC, ModItems.NULL_BLOCK_ITEM.get())
.requires(ModItems.SEVEN_BLOCK_ITEM.get())
.unlockedBy("has_seven_block", has(ModItems.SEVEN_BLOCK_ITEM.get()))
.save(pWriter, "null_block_from_seven");
ShapelessRecipeBuilder.shapeless(RecipeCategory.MISC, ModItems.NULL_BLOCK_ITEM.get())
.requires(ModItems.EIGHT_BLOCK_ITEM.get())
.unlockedBy("has_eight_block", has(ModItems.EIGHT_BLOCK_ITEM.get()))
.save(pWriter, "null_block_from_eight");
ShapelessRecipeBuilder.shapeless(RecipeCategory.MISC, ModItems.NULL_BLOCK_ITEM.get())
.requires(ModItems.NINE_BLOCK_ITEM.get())
.unlockedBy("has_nine_block", has(ModItems.NINE_BLOCK_ITEM.get()))
.save(pWriter, "null_block_from_nine");
// 切石机支持双向转换
stonecutterResultFromBase(pWriter, RecipeCategory.MISC, ModItems.NULL_BLOCK_ITEM.get(), ModItems.ZERO_BLOCK_ITEM.get());
stonecutterResultFromBase(pWriter, RecipeCategory.MISC, ModItems.ZERO_BLOCK_ITEM.get(), ModItems.NULL_BLOCK_ITEM.get());
stonecutterResultFromBase(pWriter, RecipeCategory.MISC, ModItems.NULL_BLOCK_ITEM.get(), ModItems.ONE_BLOCK_ITEM.get());
stonecutterResultFromBase(pWriter, RecipeCategory.MISC, ModItems.ONE_BLOCK_ITEM.get(), ModItems.NULL_BLOCK_ITEM.get());
stonecutterResultFromBase(pWriter, RecipeCategory.MISC, ModItems.NULL_BLOCK_ITEM.get(), ModItems.TWO_BLOCK_ITEM.get());
stonecutterResultFromBase(pWriter, RecipeCategory.MISC, ModItems.TWO_BLOCK_ITEM.get(), ModItems.NULL_BLOCK_ITEM.get());
stonecutterResultFromBase(pWriter, RecipeCategory.MISC, ModItems.NULL_BLOCK_ITEM.get(), ModItems.THREE_BLOCK_ITEM.get());
stonecutterResultFromBase(pWriter, RecipeCategory.MISC, ModItems.THREE_BLOCK_ITEM.get(), ModItems.NULL_BLOCK_ITEM.get());
stonecutterResultFromBase(pWriter, RecipeCategory.MISC, ModItems.NULL_BLOCK_ITEM.get(), ModItems.FOUR_BLOCK_ITEM.get());
stonecutterResultFromBase(pWriter, RecipeCategory.MISC, ModItems.FOUR_BLOCK_ITEM.get(), ModItems.NULL_BLOCK_ITEM.get());
stonecutterResultFromBase(pWriter, RecipeCategory.MISC, ModItems.NULL_BLOCK_ITEM.get(), ModItems.FIVE_BLOCK_ITEM.get());
stonecutterResultFromBase(pWriter, RecipeCategory.MISC, ModItems.FIVE_BLOCK_ITEM.get(), ModItems.NULL_BLOCK_ITEM.get());
stonecutterResultFromBase(pWriter, RecipeCategory.MISC, ModItems.NULL_BLOCK_ITEM.get(), ModItems.SIX_BLOCK_ITEM.get());
stonecutterResultFromBase(pWriter, RecipeCategory.MISC, ModItems.SIX_BLOCK_ITEM.get(), ModItems.NULL_BLOCK_ITEM.get());
stonecutterResultFromBase(pWriter, RecipeCategory.MISC, ModItems.NULL_BLOCK_ITEM.get(), ModItems.SEVEN_BLOCK_ITEM.get());
stonecutterResultFromBase(pWriter, RecipeCategory.MISC, ModItems.SEVEN_BLOCK_ITEM.get(), ModItems.NULL_BLOCK_ITEM.get());
stonecutterResultFromBase(pWriter, RecipeCategory.MISC, ModItems.NULL_BLOCK_ITEM.get(), ModItems.EIGHT_BLOCK_ITEM.get());
stonecutterResultFromBase(pWriter, RecipeCategory.MISC, ModItems.EIGHT_BLOCK_ITEM.get(), ModItems.NULL_BLOCK_ITEM.get());
stonecutterResultFromBase(pWriter, RecipeCategory.MISC, ModItems.NULL_BLOCK_ITEM.get(), ModItems.NINE_BLOCK_ITEM.get());
stonecutterResultFromBase(pWriter, RecipeCategory.MISC, ModItems.NINE_BLOCK_ITEM.get(), ModItems.NULL_BLOCK_ITEM.get());
}
}

View File

@ -38,6 +38,17 @@ public class ModBlockLootTables extends BlockLootSubProvider {
this.dropSelf(ModBlocks.GREEN_CONCRETE_BARRIER.get());
this.dropSelf(ModBlocks.RED_CONCRETE_BARRIER.get());
this.dropSelf(ModBlocks.BLACK_CONCRETE_BARRIER.get());
this.dropSelf(ModBlocks.NULL_BLOCK.get());
this.dropSelf(ModBlocks.ONE_BLOCK.get());
this.dropSelf(ModBlocks.TWO_BLOCK.get());
this.dropSelf(ModBlocks.THREE_BLOCK.get());
this.dropSelf(ModBlocks.FOUR_BLOCK.get());
this.dropSelf(ModBlocks.FIVE_BLOCK.get());
this.dropSelf(ModBlocks.SIX_BLOCK.get());
this.dropSelf(ModBlocks.SEVEN_BLOCK.get());
this.dropSelf(ModBlocks.EIGHT_BLOCK.get());
this.dropSelf(ModBlocks.NINE_BLOCK.get());
this.dropSelf(ModBlocks.ZERO_BLOCK.get());
}
@Override

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 788 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 400 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 989 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -81,8 +81,18 @@
"modernlife:road_marker_white_corner_left",
"modernlife:road_marker_white_corner_left_incline",
"modernlife:road_marker_white_corner_right",
"modernlife:road_marker_white_corner_right_incline"
"modernlife:road_marker_white_corner_right_incline",
"modernlifepatch:null_block",
"modernlifepatch:one_block",
"modernlifepatch:two_block",
"modernlifepatch:three_block",
"modernlifepatch:four_block",
"modernlifepatch:five_block",
"modernlifepatch:six_block",
"modernlifepatch:seven_block",
"modernlifepatch:eight_block",
"modernlifepatch:nine_block",
"modernlifepatch:zero_block"
]
}