-
-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to 1.20.5 #993
Merged
Merged
Update to 1.20.5 #993
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- set_custom_data function only accepts stringified snbt - profile properties were incorrectly upgraded - written_book_content component had a typo
… crossbow cartridges
Actually we can make it little better without major refactors yay
* Fix brewing LiaB * Fix lib brewing custom potion predicate --------- Co-authored-by: Misode <misoloo64@gmail.com>
- remove extra animal custom data value - remove modifier since the loot table can now copy just the expected value - Leash to leash - loot table reference name key is now value - animal type is now lead item name
- fix turtle helmet disassembler issue - fix issues in guidebook and crafting plugins
…rous dungeons) - fix moneo netherrite update (blame Epyon) - fix bamboo mosaic stairs decrafting (blame Special) - fix unused teleportation anchors destroy (blame BPR) - fix dangerous dungeons snowy tag (blame kruthers) - fix moneo tools tag (blame Misode)
* Fix * Fixes dupe by removing foot stored enchants - Prevents duplicate enchant&level page from being absorbed - Updated run from comment that misode pointed out
* move tag storage to components * update identification loot tables * update identification loot tables * remove use of item_modifiers * honestly don't remember half of what this is... but updates? * fix up boss fight and final few modifiers * misode's review * change armor toughness vanilla UUID * Update mecha
github-actions bot
pushed a commit
that referenced
this pull request
May 28, 2024
* Apply overlays * Update version numbers and pack format for 1.20.5 * Update all tests to 1.20.5 * Temporarily disable player heads plugins * Fix location predicates * Fix nested loot tables * Fix set lore mode field * Fix block/fluid/item predicates * Fix attribute operations * Potion contents item sub predicates * Enchantment item sub predicates * Advancement icons * Sweeping edge rename * Update yellow shulker box loot table * Fix set_nbt loot functions * Fix component issues with last commit - set_custom_data function only accepts stringified snbt - profile properties were incorrectly upgraded - written_book_content component had a typo * Upgrade custom model data substitutions * Fix advancement icon components * More set_nbt fixes * Misc errors * Replace horse jump strength attribute with max_stack_size=1 * Remove lib player heads, update skin cache plugin * Fix item predicate NBT field to sub predicates * Count -> count * scute -> turtle_scute * Fix remaining issues in loot table, recipe, advancements ignoring copy_nbt * Fix attribute operations in commands * Update mecha * Update copy_nbt in better armour stands, boots of ostara, chairs, and crossbow cartridges * Update copy_nbt in arborenda and mountaineering * Metallurgy item validity + update commands * Update item nbt checks in a few places + sunken treasure * Update lib trades, DecorItem -> body_armor_item * Lib trees * A bunch of tag -> components * Fix machine block placing * More tag -> components fixes + re-add b suffix in set_custom_data * Update mecha * Update particle syntax * Display frames + lightning in a bottle * Update to java 21 and 1.20.5-pre1 * Fix int providers no long wrapped in value field * Fix remaining particle commands * Update yellow shulker box loot table * Some balloon animals updates * Update packtest to 1.20.5 * Fix some errors in the tests * Even more tag -> components fixes * Final tag -> components fixes (except combat expanded) * Temporarily disable guidebook copy_nbt functions * Fix some leftover item nbt * biome -> biomes, structure -> structures, potion * Fix some more tests - amplifier:0b is not stored - add skyaccess to some tests - replace ambient_entity_effect * Combat expanded tag -> components fixes * Replace CMD in item components * Fix particles in area effect clouds * Replace some item_used_on_block with default_block_use * Fix a few more tests * Fix auto crafting item tag predicates * Random fixes (enchantment checks, phantom scarecrows, animi) * Fix area effect cloud NBT * Fix custom GUI fonts * Update beet and support 1.20.6 * Remove non-modules from build artifact * Substitute profile data in mcfunction files * Update biome extensions to 1.20.5 * Remove debug commands in cozy campfires * Fix poses pack and bookshelf book title * Allow module aliases in beet dev * Fix boots of ostara crafting * Fix washing tanks not clearing dyed_color component * Keep boots custom name when crafting boots of ostara * Fix soul glass has_beam predicate * Fix block compressors * Fix Tunnel Bores item drops * Fix tinkering compressors *this one was Misodes fault* And since we're retiring this in 1.21, I didn't do any efficiency refactors * Remove redundant tc check Actually we can make it little better without major refactors yay * Fix bookshelf inspectors * Fix: Liquid Minecart breaking, glow ink signs, floating potion advancement * Lightning in a bottle 1.20.5 (#997) * Fix brewing LiaB * Fix lib brewing custom potion predicate --------- Co-authored-by: Misode <misoloo64@gmail.com> * Refactor supported versions and releases in beet.yaml * Disable trouble modules * Minor version bump for all modules * Fix Relocators loot function (#999) * Update Balloon Animals to 1.20.5 (#998) - remove extra animal custom data value - remove modifier since the loot table can now copy just the expected value - Leash to leash - loot table reference name key is now value - animal type is now lead item name * Fix crossbow cartridges tnt fuse * Fix typo in record crafting * Update beet to use latest vanilla assets - fix turtle helmet disassembler issue - fix issues in guidebook and crafting plugins * Various fixes (moneo, standard crafting, teleportation anchors, dangerous dungeons) - fix moneo netherrite update (blame Epyon) - fix bamboo mosaic stairs decrafting (blame Special) - fix unused teleportation anchors destroy (blame BPR) - fix dangerous dungeons snowy tag (blame kruthers) - fix moneo tools tag (blame Misode) * Book Binders: 1.20.5 update (#1000) * Fix * Fixes dupe by removing foot stored enchants - Prevents duplicate enchant&level page from being absorbed - Updated run from comment that misode pointed out * Update mecha to 0.94.2 * Combat Expanded 1.20.5 (#996) * move tag storage to components * update identification loot tables * update identification loot tables * remove use of item_modifiers * honestly don't remember half of what this is... but updates? * fix up boss fight and final few modifiers * misode's review * change armor toughness vanilla UUID * Update mecha * Disable zauber and guidebook in tests * Switch to the ubuntu-24.04 beta runner * Fix mountaineering crafting recipe * Revert debug logging * Store block compressor old components in a new field and merge old tag with custom data * Remove tnt landmines * Remove trapped signs --------- Co-authored-by: SpecialBuilder <specialbuilder32@gmail.com> Co-authored-by: Epyon <66185010+EpyonProjects@users.noreply.github.com> Co-authored-by: Thanathor <73304324+TheThanathor@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Preview download for testing:
https://github.com/Gamemode4Dev/GM4_Datapacks/actions/runs/9099290404/artifacts/1505990608
Continued from #978
Steps taken
Initial steps:
Fixing JSON resource load errors:
minecraft:scute
->minecraft:turtle_scute
"biome"
and"structure"
->"biomes"
and"structures"
("type": ?"(?:minecraft:)?loot_table",\n\s+(?:"weight": \d+,\n\s+)?)"name"
->$1"value"
gm4_end_fishing:gameplay/fish/scattered_treasure
andgm4_end_fishing:gameplay/fish/valuables
manuallyreplace
true cases in fileslore.json
,copy.json
andupdate_sips.json
,\n\s+"replace": (false|true)
-> (empty replacement)("function": "(?:minecraft:)?set_lore",(\n\s+))
->$1"mode": "append",$2
append
->replace_all
("block": \{\n\s+)"tag": "([a-z])
->$1"blocks": "#$2
("fluid": \{\n\s+)"tag": "([a-z])
->$1"fluids": "#$2
("(?:mainhand|offhand|head|chest|legs|feet)": \{\n\s+)"tag": "([a-z])
->$1"items": "#$2
"tag": "[a-z]
and manually fix the 3 item predicates in advancements + 1 in match tool predicate"tag"
->"blocks"
inhas_beam.json
"addition"
->"add_value"
"multiply_base"
->"add_multiplied_base"
"multiply" ->
"add_multiplied_total"` (doesn't appear in our repo)"potion"
and fix the 2 cases manually\n(\s+)"enchantments": \[\n(\s+)\{\n(\s+)"enchantment": "([a-z_:]+)"\n(\s+)\}\n(\s+)\]
->\n$1"predicates": {\n$2"minecraft:enchantments": [\n$2 {\n$3 "enchantment": "$4"\n$5 }\n$6 ]\n$1}
\n(\s+)"enchantments": \[\n(\s+)\{\n(\s+)"enchantment": "([a-z_:]+)",\n(\s+)"levels": (\d+)\n(\s+)\}\n(\s+)\]
->\n$1"predicates": {\n$2"minecraft:enchantments": [\n$2 {\n$3 "enchantment": "$4",\n$5 "levels": $6\n$7 }\n$8 ]\n$1}
"enchantments": \[\n\s+\{
and fix the remaining 10 cases manually"durability"
, we don't have any in our repo"icon": \{\n(\s+)"item"
->"icon": {\n$1"id"
minecraft:sweeping
->minecraft:sweeping_edge
set_nbt
set_nbt",\n(\s+)"tag": "\{StoredEnchantments:\[\{lvl:(\d+)s,id:\\"([a-z_:]+)\\"\}\]\}"
->set_components",\n$1"components": {\n$1 "minecraft:stored_enchantments": {\n$1 "$3": $2\n$1 }\n$1}
set_nbt",\n(\s+)"tag": "\{CustomModelData:'([a-z0-9_/]+)'\}"
->set_components",\n$1"components": {\n$1 "minecraft:custom_model_data": "$2"\n$1}
copy_nbt
TODOFixing mcfunction files:
(attribute .*) add$
->$1 add_value
(attribute .*) multiply_base$
->$1 add_multiplied_base
(attribute .*) multiply$
->$1 add_multiplied_total
Count:(\d+)b?
->count:$1
\.Count
->.count
(^particle| run particle) (minecraft:)?(block|block_marker|falling_dust|dust_pillar) (minecraft:)?([a-z0-9_:]+)
->$1 minecraft:$3{block_state:"minecraft:$5"}
(^particle| run particle) (minecraft:)?(dust) ([\d.]+) ([\d.]+) ([\d.]+) ([\d.]+)
->$1 minecraft:$3{color:[$4,$5,$6],scale:$7}
(^particle| run particle) (minecraft:)?(entity_effect) ([\d~^.-]+ [\d~^.-]+ [\d~^.-]+) ([\d.]+) ([\d.]+) ([\d.]+)
->$1 minecraft:$3{color:[$5,$6,$7,$8]} $4 0 0 0 $8
(^particle| run particle) (minecraft:)?(dust_color_transition|sculk_charge|vibration|shriek)
\.tag|tag\.|tag:\{
Issues found while updating
gm4_trapped_signs.json
needs to be moved into agm4_recipes
folderlingering_bottle_of_lightning.json
tried to set tagsParticle
andRadiusOnUse
, were these ever applied?spore.json
andmalachite_lump.json
use raw custom model datanew_skis
used the existing data of the first iron nugget, instead of the iron bootsplace_down
uses raw custom model dataNotes
charged_projectiles
componentshoot_crossbow
advancement no longer works with multishotPossible feature changes