Skip to content

Comments

port to neoforge 1.21.3#673

Open
Valefungo wants to merge 2 commits intoMcJtyMods:1.21_neofrom
Valefungo:1.21_neo
Open

port to neoforge 1.21.3#673
Valefungo wants to merge 2 commits intoMcJtyMods:1.21_neofrom
Valefungo:1.21_neo

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