Home›Java›Mods›EranoAPI
ModsJava

EranoAPI

Java mod listed for Minecraft 1.8–1.19. Download on the author's site.

⬇ Download on Spigot
EranoAPI
One API, every version: 1.8 - 26.x
Open source (MIT) · Spigot & Paper · Forge & Fabric​

What is it?
EranoAPI lets plugins run on every Minecraft version from 1.8 to 26.x with one jar. Names that Bukkit changed between versions (materials, sounds, particles, potions, enchantments) are written once, by today's name, and EranoAPI turns them into what each server calls them.

For server owners

For developers

Code (Java):
EranoSound. ENTITY_PLAYER_LEVELUP. play (player, 1f, 1f ) ;         // LEVEL_UP on 1.8
  ItemStack wool = EranoMaterial. RED_WOOL. parseItem ( 16 ) ;         // WOOL:14 on 1.8
  EranoParticle. DUST. spawn (location, 1, 0, 0, 0, 0, Color. RED ) ;   // packet on 1.8
  GameBar bar = EranoServices. bossBars ( ). create ( "Starting in 30s", "YELLOW" ) ;
Links

This is an alpha release: the API may still change before 1.0.
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

EranoAPI is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 15 times (via Spigot). Download it and open it directly in the game.

Explore more