nightmare-2.1.3-neoforge-1.21.1.jar
Curse Maven Snippet
What's new
2.1.3 — NeoForge 1.21.1 Port
Minecraft 1.21.1 + NeoForge 21.1.234 · Requires Java 21
Brings the mod to MC 1.21.1 on NeoForge — the current mainstream modding baseline. No gameplay changes from 2.1.x; this is a loader/version conversion from the 2.1.2 Forge 1.20.1 build.
Loader & toolchain
- Loader → NeoForge 21.1.234 on ModDevGradle (the modern NeoForge build plugin), Java 21.
neoforge.mods.tomlreplaces the Forgemods.toml.
Loader APIs (net.minecraftforge.* → net.neoforged.*)
- Registration uses NeoForge
DeferredRegister+DeferredHolder; spawn egg usesDeferredSpawnEggItem; config usesModConfigSpec. - Mod entrypoint takes
(IEventBus, ModContainer); commands register onNeoForge.EVENT_BUS. - Events remapped to NeoForge:
LevelTickEvent.Post,FinalizeSpawnEvent,EntityJoinLevelEvent,LivingDeathEvent,BlockEvent.EntityPlaceEvent,PlayerEvent.*,@EventBusSubscriber.
Vanilla API updated 1.20.1 → 1.21.1
ResourceLocationnow built withResourceLocation.fromNamespaceAndPath(...)(the public constructor is gone in 1.21).- Attribute modifiers use a
ResourceLocationid withOperation.ADD_MULTIPLIED_BASE(the 1.21 change from UUIDs). - Mob effects and enchantments are
Holder-based: effect checks use.is(...), and Smite is resolved via the enchantment registry lookup. defineSynchedData(SynchedEntityData.Builder)replaces the no-arg override.- Persistent data uses the 1.21.1
SavedData.Factory+save/load(CompoundTag, HolderLookup.Provider). finalizeSpawn(...)drops its trailingCompoundTag(4-arg form).- Data pack folders moved back to the singular 1.21 names (
loot_table/,advancement/);pack_formatbumped to 34.
Output
nightmare-2.1.3-neoforge-1.21.1.jar
This mod has no additional files

