astralpotion-1.21.1-1.0.0-neoforge.jar
Curse Maven Snippet
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
ForgeConfigSpecwithModConfigSpec - Replaced
LivingEvent.LivingTickEventwithEntityTickEvent.Pre - Replaced
BrewingRecipeRegistry.addRecipe()withRegisterBrewingRecipesEvent+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-drivenFogEventHandlerusingViewportEvent.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 = truebehavior) - 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 useHolder<MobEffect>(no more.get()onDeferredHolder) @EventBusSubscriberno longer requiresbus = 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替换为ModConfigSpecLivingEvent.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参数- 新增配置界面提示文本的中文本地化
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

