promotional bannermobile promotional banner

Astral Potion

Brewable potion effects for phasing through blocks and free flight. Spectre clips walls; Animus grants no-clip flight.
Back to Files

astralpotion-1.21.1-1.0.0-neoforge.jar

File nameastralpotion-1.21.1-1.0.0-neoforge.jar
Uploader
Jx2625Jx2625
Uploaded
Sep 2, 2026
Downloads
28
Size
33.0 KB
Mod Loaders
NeoForge
File ID
8794732
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:astral-potion-1679365:8794732"

Learn more about Curse Maven

What's new

Astral Potion 1.0.0 (NeoForge 1.21.1)

Initial release for NeoForge 1.21.1.

Ported from Forge 1.20.1

  • Full migration to NeoForge 1.21.1 with modern registry APIs (DeferredHolder, DeferredRegister.Items, etc.)
  • Replaced ForgeConfigSpec with ModConfigSpec
  • Replaced LivingEvent.LivingTickEvent with EntityTickEvent.Pre
  • Replaced BrewingRecipeRegistry.addRecipe() with RegisterBrewingRecipesEvent + builder.addMix() (auto-handles splash/lingering derivatives)

Visual System Rework

  • Removed X-Ray vision mode — streamlined to 3 modes: Vanilla, Spectator, Fade
  • Replaced FogRendererMixin (inaccessible private fields in 1.21.1) with event-driven FogEventHandler using ViewportEvent.RenderFog
  • Added built-in Mod Config Screen via IConfigScreenFactory / ConfigurationScreen

Gameplay Refinements

  • Animus effect now has true full no-clip (bypasses all collision checks, matching noPhysics = true behavior)
  • Spectre effect retains standing/crouching collision logic
  • Fixed collision detection: replaced isSolid() check with non-empty shape validation (now correctly handles chests, stairs, glass, etc.)
  • isShiftKeyDown() → isCrouching() for keybind compatibility

Misc

  • All hasEffect() calls updated to use Holder<MobEffect> (no more .get() on DeferredHolder)
  • @EventBusSubscriber no longer requires bus = Bus.MOD
  • Added Chinese localization for config screen tooltips

魂体药水 1.0.0 (NeoForge 1.21.1)

NeoForge 1.21.1 初始版本。

从 Forge 1.20.1 移植

  • 完整迁移至 NeoForge 1.21.1,采用现代注册 API(DeferredHolder、DeferredRegister.Items 等)
  • ForgeConfigSpec 替换为 ModConfigSpec
  • LivingEvent.LivingTickEvent 替换为 EntityTickEvent.Pre
  • 酿造配方注册方式替换为 RegisterBrewingRecipesEvent + builder.addMix()(自动处理喷溅/滞留衍生配方)

视觉系统重构

  • 移除 X-Ray 透视模式 — 精简为 3 种模式:原版黑屏、旁观者完全透明、淡化平衡方案
  • FogRendererMixin(1.21.1 中私有字段不可访问)替换为基于事件的 FogEventHandler,使用 ViewportEvent.RenderFog
  • 新增内置 Mod 配置界面,通过 IConfigScreenFactory / ConfigurationScreen 实现

玩法优化

  • 灵息效果 现在拥有真正的完全无视碰撞(绕过所有碰撞检测,复刻 noPhysics = true 行为)
  • 魂体效果 保留站立/潜行碰撞逻辑
  • 修复碰撞检测:isSolid() 替换为非空形状验证(现在正确处理箱子、楼梯、玻璃等方块)
  • isShiftKeyDown() 替换为 isCrouching(),支持玩家改键配置

其他

  • 所有 hasEffect() 调用更新为使用 Holder<MobEffect>(DeferredHolder 不再需要 .get())
  • @EventBusSubscriber 不再需要 bus = Bus.MOD 参数
  • 新增配置界面提示文本的中文本地化

This mod has no related projects