Repository navigation
feat: add potion effects, attributes, sounds and particles - #13
Merged
Merged
Conversation
This was referenced Nov 14, 2026
Merged
NaySurGithub
force-pushed
the
feat/effects-attributes-sounds
branch
from
November 14, 2026 20:22
c5c1258 to
eca5dea
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Batch 1 of the plugin API additions: potion effects, attributes, sounds and particles.
What it adds
player.entity()):entityAddEffect,entityRemoveEffect,entityEffect,entityEffectCount/entityEffectAt,entityClearEffects, withFALCON_EFFECT_*ids (the game's effect ids) andFALCON_EFFECT_INFINITE. A weaker or shorter effect than the running one is refused, as in the game.entityAttributeCount/entityAttributeName,entityAttribute(value, minimum, maximum, default) andentitySetAttribute, which refuses a value outside the attribute's range.playerPlaySound,levelPlaySound,playerStopSound.playerSpawnParticle,levelSpawnParticle.Effects.hpp,Entity,Player,Level), Java (EffectType,Effect,Attribute,Entity,Player,Level) and Wasm (falcon.wit) bindings, README section, and the native and Java examples use them on join.Compatibility
Every function is appended at the end of
FalconServerApi; nothing existing moves or changes. The API version goes to 1.0.6 (header,falcon.witpackage, Java artifact, examples), since the patch marks functions added at the end of the table. The server keeps accepting Wasm modules built against@1.0.5(Falcon side).The .NET binding is deprecated and not extended; its interop is generated from the header, so it keeps building.
Not added
Order
First of the stacked batches. Falcon side: the matching Falcon PR pins this branch.
Checks
CI of this branch: Linux, Windows (MSVC and MinGW), .NET and Java jobs green; the macOS jobs were cancelled by the runner, as on
main.