Skip to content

Add ocean ruin loot support for 1.13+ - #17

Open
AdverseMiller wants to merge 11 commits into
xpple:masterfrom
AdverseMiller:master
Open

Add ocean ruin loot support for 1.13+#17
AdverseMiller wants to merge 11 commits into
xpple:masterfrom
AdverseMiller:master

Conversation

@AdverseMiller

Copy link
Copy Markdown

No description provided.

@AdverseMiller AdverseMiller reopened this May 29, 2026

@xpple xpple left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thanks for the PR, and for addressing the comments I made on Discord.

The structure of the code is a bit different from other piece generation code, where piece and loot generation are separate. The same applies to the use of OceanRuinLootRng to keep track of the random calls per chunk. What is your reasoning?

Also, can the rotPos function from features/stronghold.c be used instead of getOceanRuinChestPos? If so, you could put it in a general piece.h file, as I do in #11 currently.

Comment thread features/ocean_ruin.c Outdated
Comment thread features/ocean_ruin.c Outdated
Comment thread features/ocean_ruin.c Outdated
Comment thread features/ocean_ruin.c Outdated
Comment thread loot/loot_tables.c Outdated
Comment thread loot/loot_tables.c Outdated
Comment thread finders.c Outdated
Comment thread finders.c Outdated
Comment thread features/ocean_ruin.h
Comment thread features/ocean_ruin.c Outdated
@xpple xpple changed the title Add ocean ruin loot support for 1.21.11+ Add ocean ruin loot support for 1.13+ Jun 8, 2026
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.

2 participants