Skip to content

Commit

Permalink
Merge pull request #443 from Gu-ZT/releases/1.20.1
Browse files Browse the repository at this point in the history
修复非怪物树脂块无法时移为对应琥珀的问题
  • Loading branch information
Gu-ZT authored Apr 28, 2024
2 parents e126a40 + 163535c commit 4f13081
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,7 @@ public class ModBlocks {
.of(ModBlocks.RESIN_BLOCK)
.withCount(MinMaxBounds.Ints.atLeast(1))
.hasNbt(tag);
tag = new CompoundTag();
tag.putBoolean("is_monster", true);
ItemPredicate.Builder monster = ItemPredicate.Builder
.item()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"items": [
"anvilcraft:resin_block"
],
"nbt": "{is_monster:1b}"
"nbt": "{is_monster:0b}"
},
"offset": [
0.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"items": [
"anvilcraft:resin_block"
],
"nbt": "{is_monster:1b}"
"nbt": "{is_monster:0b}"
},
"offset": [
0.0,
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ mod_description = The mod is an anvil-centric vanilla survival expansion
contributors = - Phoupraw\n- DancingSnow\n- NightFish\n- BOTXue\n- wdfaESfaef\n- ZhuRuoLing\n- YocyCraft\n- Bi2Nb9O3\n- LemoMew\n- Cjsah
supporters = - Fengyuan__\n- BOTXue\n- Take\n- Moe_Lobster
mod_license = LGPL-3.0 license
mod_version = 1.3.0
mod_version = 1.3.1
mod_url = https://github.com/Anvil-Dev/AnvilCraft

maven_group=dev.dubhe
Expand Down

0 comments on commit 4f13081

Please sign in to comment.