Common API for multi-version functions.
iCommonLib is my library of common functions made to be independent of the game version.
Here's a short list of some of the features:
- Ability to get ChestBlockEntity view count for 1.16 & 1.17
- GamemodeChangeEvent compatible with 1.16 and the gamemode changes in 1.17.
- Events for BlockEntity saving and loading NBT for 1.17 & 1.18
- WorldInitEvent compatible with 1.18's constructor change.
- Retrieve a
PalettedContainerfor 1.17 & 1.18
- Get biome from noise gen for 1.17 - 1.18.2
- And more.
The "Featured Versions" section on the right contains the downloads for 1.17.1 & 1.18