Custom Entity Effects in Hytale

TutorialEffectsJavaDeep Dive
TL;DR

Place effect JSON in Server/Entity/Effects/. Use HorizontalSpeedMultiplier > 1 for speed boosts (vanilla only has Slow at 0.5). Apply effects via LivingEntityInventoryChangeEvent + EffectControllerComponent.addEffect() since JSON Pickup interactions have a latent NPE. Defer inventory modifications with world.execute().

Comments

No comments yet. Be the first to share your thoughts!