Skip to content
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

Revise boots of ostara functionality #563

Merged
merged 2 commits into from Apr 29, 2021

Conversation

Luexa
Copy link
Contributor

@Luexa Luexa commented Apr 24, 2021

  • As discussed in the Gamemode 4 Discord, the Boots of Ostara's ability to place crops was never really useful as the module ticks too slowly to be better than placing by hand, and pig tractors exists for automated usage. Hence, that functionality was removed. The ability for players and armor stands to spread grass blocks remains.

  • The custom crafting recipe for Boots of Ostara now preserves the NBT of the leather boots used in the recipe, such as CustomModelData, enchantments, and shamirs. The Lore tag is prepended to instead of overriden, as well, to preserve existing lore when present.

  • Instead of checking whether the Boots of Ostara are equipped separately from the player holding a grass block, there is now a predicate that checks for both at once, since holding a grass block while wearing Boots of Ostara is the only remaining feature other than block_desire_lines (which isn't part of the main function).

 * As discussed in the Gamemode 4 Discord, the Boots of Ostara's ability
   to place crops was never really useful as the module ticks too slowly
   to be better than placing by hand, and pig tractors exists for
   automated usage. Hence, that functionality was removed. The ability
   for players and armor stands to spread grass blocks remains.

 * The custom crafting recipe for Boots of Ostara now preserves the NBT
   of the leather boots used in the recipe, such as CustomModelData,
   enchantments, and shamirs. The Lore tag is prepended to instead of
   overriden, as well, to preserve existing lore when present.

 * Instead of checking whether the Boots of Ostara are equipped
   separately from the player holding a grass block, there is now a
   predicate that checks for both at once, since holding a grass block
   while wearing boots of ostara is the only remaining feature other
   than block_desire_lines (which isn't part of the 'main' function).
Copy link
Member

@Bloo-dev Bloo-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A very clean implementation. We might end up implementing a lib_lore to manage lore in the future, however, that can still be changed later.

@Bloo-dev Bloo-dev added feature-update An additional feature has been added to a module tested Has passed in-game testing labels Apr 26, 2021
Copy link
Member

@Bloo-dev Bloo-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and reviewed.

@Bloo-dev Bloo-dev added the server-testing This is undergoing testing on the Public GM4 Server label Apr 26, 2021
@Bloo-dev Bloo-dev merged commit e90329a into Gamemode4Dev:master Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-update An additional feature has been added to a module server-testing This is undergoing testing on the Public GM4 Server tested Has passed in-game testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants