The Pull Request #25 on the Lanthanum GitHub repository, titled "[Lanthanum] Add Lanthanum Portal," has been merged into the master branch on November 1, 2023. This PR includes the following main changes:
Build Configuration: Adjustments were made to the build.gradle file to include the necessary dependencies for the new portal feature. Specifically, the customportalapi dependency was added to enable the creation of custom portals within the game. This API is a third-party library that provides an easy way to add such features in Minecraft mods.
Java Class Additions: A new Java class file ModPortal.java has been added to the mod's registry package. This file defines the portal's behavior, such as its frame block, which is set to ModBlocks.LANTHANUM_BLOCK. It also specifies that the portal is lit with a bucket of water and leads to the lanthanum_dimension. Additionally, the portal's appearance is customized with a tintColor method, which defines its color.
As for the specific changes, the PR makes additions to the codebase without removing any existing functionality, as indicated by the diff line changes showing 11 additions in build.gradle, 17 additions in ModPortal.java, and a change in Lanthanum.java which likely involves registering the new portal with the mod's initialization process.
Add a new portal that allows player to arrive at lanthanum_dimension. The new portal require lanthanum_block and a bucket to make portal lit.