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

port to neoforge 1.21.3 #673

Open
wants to merge 2 commits into
base: 1.21_neo
Choose a base branch
from
Open

Conversation

Valefungo
Copy link

Hi,

I updated the code to reflect the changes of NeoForged, it still seems to work :)

major changes:
LevelHeightAccessor changed two method names
getMinBuildHeight -> getMinY
getMaxBuildHeight -> getMaxY, this value is one less than the previous version, so I added +1 where it was called

ChunkDriver, line 200 from
newAdjacent = adjacent.updateShape(direction, state, region, pos, pos.relative(direction));
to
newAdjacent = adjacent.updateShape(region, region, pos, direction, pos.relative(direction), state, RandomSource.create());

Cheers,
Val

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.

1 participant