Back to mods
Avoid project artwork

Modrinth · Minecraft mod

Avoid

Mod framework that wraps whole Minecraft. Kinda like Bukkit. [#killaislop]

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Avoid release should I use?

Updated today
Latest stable file 1.17
Game version 26.2
Loader Fabric, NeoForge

Avoid 1.17 targets 26.2 with Fabric, NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Avoid required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric, NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Avoid 1.17 need?

1.17. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Avoid without breaking your instance.

Built for Avoid 1.17. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.17. It targets 26.2 with Fabric, NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.17. It opens that exact file at the source.

About this project

What does Avoid add?

🐦‍⬛ Avoid allows you to remove net.minecraft references completely from your code.


🧧 Compatibility Matrix:

Fabric NeoForge Sponge
1.21.8 ✔️ ✖️ ✖️
1.21.10 ✔️ ✖️ ✖️
1.21.11 ✔️ ✖️ ✔️ [LTS¹]
26.1.* ✔️ ✔️ ✔️ [LTS¹]
26.2 ✔️ ✔️ ✔️
26.3 ✔️ ✖️ ✖️ [TS²]

NeoForge for 1.21.11 was removed as it seems to have been not working.

¹ Long Term Support
² Temporary Support

Note: This mod does not require Fabric API!


🔌 Supported ModLoaders:

  • Fabric
  • NeoForge

🧮 API-s:

  • NBT
  • Client Chat
  • Server Chat
  • Chat Colors
  • Chat Components [BETA]
  • Identification (Identifier)
  • Item Querying       [ALPHA]
  • Item Components [BETA]
  • Editable Item Components [BETA]
  • Entity Types                         [BETA]
  • Entity Selectors                   [ALPHA]
  • Transformed Item Components [BETA]
  • Client API
  • Client Screen API
  • Client Interaction API
  • Font API
  • Render Layer API [BETA]
  • Command API
  • Command Parameter API
  • Command Permission API
  • Addon Loader (AvoidModLoader)
  • Block Creation API [ALPHA]
  • Item Creation API  [ALPHA]
  • Entity API [ALPHA]
  • Player API [ALPHA]
  • World API  [ALPHA]
  • Event API  [BETA]
  • Entity Type Creation API        [BETA]
  • Entity Model Creation API      [BETA]
  • Entity Layer API                       [BETA]
  • Entity Renderer Creation API [BETA]
  • Fluid API [BETA]
  • Fog API  [BETA]
  • Resource Overriding [ALPHA]

🌲 Events:

  • ▾ Client Chat Events
    • ClientChatCommandEvent
    • ClientChatReceivedEvent
    • ClientChatSentEvent

  • ▾ Client Keyboard Events [BETA]
    • ClientKeyPressEvent
    • ClientKeyReleaseEvent

  • ▾ Client GUI Events [ALPHA]
    • RenderTextEvent
    • RenderOutlineEvent

  • ▾ Server Chat Events
    • ServerChatReceivedEvent
    • ServerChatSendEvent
    • ServerChatSentEvent

  • ▾ Server Entity Events
    • ServerEntityCreateEvent 🧪
    • ServerEntityDropEvent
    • ServerEntityEffectAddEvent
    • ServerEntityEffectRemoveEvent
    • ServerEntityEffectUpdateEvent
    • ServerEntitySetHealthEvent
    • ServerEntityStruckByBoltEvent
    • ServerEntityVelocityEvent
    • ServerEntityInteractEvent

    • ▾ Llama
      • ServerLlamaSpitEvent 🧪

    • ▾ Block
      • ServerEntityBlockTrampleEvent 🧪

  • ▾ Server Player Events
    • ServerPlayerGameModeChangeEvent
    • ServerPlayerInputEvent
    • ServerPlayerSwingEvent
    • ServerPlayerUpdateAbilitiesEvent
    • ServerPlayerKickEvent

    • ▾ Block [BETA]
      • ServerPlayerCraftSlotEvent
      • ServerPlayerSmithingSlotEvent

      • ▾ Anvil [BETA]
        • ServerPlayerAnvilEnchantmentCompatibilityCheckEvent
        • ServerPlayerAnvilFailEvent
        • ServerPlayerAnvilNameValidationEvent
        • ServerPlayerAnvilSuccessResultEvent

        • ▾ XP40 [BETA]
          • ServerPlayerAnvilXP40ItemClearEvent
          • ServerPlayerAnvilXP40NameChangeCostClampEvent
          • ServerPlayerAnvilXP40TriggerStackedEvent

      • ▾ Bed [BETA]
        • ServerPlayerBedSleepFailEvent
        • ServerPlayerBedSleepStopEvent
        • ServerPlayerBedSleepSuccessEvent

      • ▾ Enchanting Table [BETA]
        • ServerPlayerEnchantingTableBookshelfAmountEvent
        • ServerPlayerEnchantingTableBookshelfLimitEvent
        • ServerPlayerEnchantingTableCostEvent

      • ▾ Food [BETA]
        • ServerPlayerSetFoodLevelEvent
        • ServerPlayerSetSaturationLevelEvent

  • ▾ Client Screen Events
    • ScreenInitEvent
    • ScreenOpenEvent [BETA]

  • ▾ Client Events
    • ClientTickEvent [BETA]
    • ClientScreenInPortalEvent [ALPHA]

Some events and/or API-s might've been missed in the listings above.

🐙 GitHub: https://github.com/AvoidLib/Avoid

📚 Wiki: https://github.com/AvoidLib/Avoid/wiki


❓ Why?

  1. Compatibility

    Minecraft changes API very often. This library doesn't.
  2. Takeover Prevention

    Microsoft may steal your mods for themselves when you mod Minecraft.

    When you mod Avoid, you don't mod Minecraft - but any platform Avoid supports.

👀 But there's hundreds of libraries

I know. This one is created because I don't wanna use others. And because I need full coverage of Minecraft's code.


🧽 What about SpongePowered

SpongePowered doesn't seem to support Minecraft Fabric.

Also, I don't think Sponge has client API-s.


🦘 So far, AvoidLib kept compatibility through all these changes¹:

  • [26.1] Rendering Name Refactor
  • [26.1] Item Stack Refactor
  • [26.1] Stupid World Changes
  • [26.1] Stupid Player Changes
  • [26.1] Stupid Chat Changes
  • [26.2] Entity Refactor
  • [26.2] GUI Refactor
  • [26.2] Block Item IDs
  • [26.3] Block Type Removal
  • [26.3] Increased ItemStackNative usage
  • [26.3] Entity Delta Tracking
  • [26.3] Vertex Modifications
  • [26.3] Move to SDL
  • [26.3] Move to RenderPearl
  • [26.3] PushReaction Refactor
  • [26.3] ItemStackTemplate#entrySet() removal
¹ These names may not be accurate,
   and some refactorings may be missing.

💴 Yet, no version support was dropped.

Project description from Modrinth.

Pick your setup

Avoid by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

21 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Avoid versions and loaders

100 of 100 releases match

Looking for an older file? The official Modrinth project page is in Resources.