
denizen-utilities
Extending Denizen for greater capabilities
Список изменений
- ConnectionTag and PlayerTag:
-
transferMechanism (ConnectionTag):Added the
- adjust <connection> transfer:host:portmechanism (or simplytransfer:host) for direct, vanilla client redirection to any other server without BungeeCord/Velocity.Note: The destination server must have
accepts-transfers=trueenabled in itsserver.propertiesfile, otherwise the client will be disconnected.-
<PlayerTag.connection>Tag:Added the
<player.connection>tag, which returns the online player’sConnectionTag:- adjust <player.connection> transfer:modrinth.cherry.pizza-
<ConnectionTag.is_connected>Tag:Returns whether the connection is currently open and active (
true/false).
- Dialogs:
-
DialogScriptContainer(procedural:Generation):Added the ability to dynamically generate inputs, dialog bodies, and buttons via procedural scripts:
procedural: - repeat 15 as:num: - definemap button: label: <[num]> script: - adjust <context.connection> connect - define buttons.<[num]>:<[button]> - determine buttons:<[buttons]>-
player custom clickEvent:Added full cross-plugin support, allowing safe interception and reading of dialogs created by other plugins on the server.
- Switches:
button_id:,namespace:.- Contexts:
<context.connection>,<context.button_id>,<context.namespace>,<context.inputs>, and lazy-evaluated direct input retrieval via<context.[input_id]>.
- BiomeTag:
- Dynamic
attributeMechanism & Tag:Replaced hardcoded properties with a dynamic
<BiomeTag.attribute[<name>]>tag andattribute:mechanism (Minecraft Environment Attributes):- adjust <biome> attribute:[sky_color=red;fog_color=<color[green]>]```
- BetterModel Bridge:
-
bmmodelCommand (Spawn Preconfigurations):The
- bmmodelcommand now supports sub-blocks for conveniently preconfiguring model mechanisms right at the moment of its creation:- bmmodel entity:<entity> model:dragon: glow: true glow_color: red model_scale: 1.5Some mechanisms are applied only after the animation plays, so we strongly recommend using this preset feature.
-
model_rotationMechanism (BMActiveModelTag):Added the
- adjust <model> model_rotation:<QuaternionTag>mechanism to rotate the entire model as a single unit (preserving shape and bone connections).- Geometry Preservation When Changing Skins:
Fixed a bug where scale, positions, and bone offsets were reset when changing a model’s skin. Custom bone dimensions no longer break when using the
skinmechanism.
- New ViaVersion Bridge:
-
<ConnectionTag.viaversion_protocol>Tag:Returns the raw protocol number of the player’s client (e.g.,
765).-
<ConnectionTag.viaversion_version>Tag:Returns a human-readable name for the player’s client version (e.g.,
"1.20.4","1.16.5").
- Events:
-
player connection configureEvent:
- The
WAITdetermination now accepts aDurationTag(e.g.,WAIT:5sorWAIT:1m).- Fixed an issue that prevented players from joining the server when using this event.
- Compatibility:
- Minecraft 26.2 Support:
Added full support and fixed internal NMS version handlers for server version 26.2.
