Skip to content

Backport some stuff from the generators branch#10365

Merged
Machine-Maker merged 1 commit intoPaperMC:masterfrom
Lulu13022002:from-gen
Apr 6, 2024
Merged

Backport some stuff from the generators branch#10365
Machine-Maker merged 1 commit intoPaperMC:masterfrom
Lulu13022002:from-gen

Conversation

@Lulu13022002
Copy link
Copy Markdown
Contributor

Backport some relevant stuff from the generators branch that fit into the main branch

  • Mark the bundle item as experimental, the sounds are so there are no reason to not mark them
  • Add PinkPetals#getMinimumFlowerAmount, like MachineMaker said in the original PR any int property that doesn't start from zero should have a minimum method (exception is the composter caused by the levelled interface).
  • Deprecate MemoryKey#SNIFFER_EXPLORED_POSITIONS, this key use the wrong generic type and will (once the sniffer already have a memory key) throw an error on the getter, and corrupt the nbt data on the setter
  • Add missing breeze in the bukkitMap for the mob goal generator (the tests have been removed)

@Lulu13022002 Lulu13022002 requested a review from a team as a code owner March 28, 2024 19:04
@Owen1212055
Copy link
Copy Markdown
Member

I would deprecate MemoryKey#SNIFFER_EXPLORED_POSITIONS for removal, if it causes corruption issues.

@Machine-Maker Machine-Maker merged commit acf838f into PaperMC:master Apr 6, 2024
@Lulu13022002 Lulu13022002 deleted the from-gen branch May 26, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants