Skip to content
Success

Changes

Summary

  1. `Glow` command rewrite (#2466) (commit: 8976f3f) (details)
Commit 8976f3fab6b9d80dfc48877633136aa2d362c942 by noreply
`Glow` command rewrite (#2466)

* WIP rewrite, add helper for `glow` and `invisible`

* `perPlayerMap` -> `packetOverrides`

* Prefix isn't required for enum args (`state:`)

* Update meta

* Remove `state:` tab-complete

* `applyByteFlag` -> `applyEntityDataFlag`, imports

* Slight cleanup/opti

* Optimize `setForPlayers` modification checking

* Minor code cleanup

* Use `Predicate` instead of `Function<X, Boolean>`

* Fix `isGlowing` (only need the bukkit method)

* Move `EntityMetadataCommandHelper` to `utilities`

* Move `GlowCommand` to `entity` package + group

* Lowercase `state` argument default value

* Fix `invisible` command syntax meta
(commit: 8976f3f)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/utilities/packets/DenizenPacketHandler.java
The file was modifiedv1_19/src/main/java/com/denizenscript/denizen/nms/v1_19/impl/network/handlers/DenizenNetworkManagerImpl.java
The file was removedv1_19/src/main/java/com/denizenscript/denizen/nms/v1_19/impl/network/packets/PacketOutEntityMetadataImpl.java
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/scripts/commands/entity/InvisibleCommand.java
The file was removedv1_18/src/main/java/com/denizenscript/denizen/nms/v1_18/impl/network/packets/PacketOutEntityMetadataImpl.java
The file was removedplugin/src/main/java/com/denizenscript/denizen/nms/interfaces/packets/PacketOutEntityMetadata.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/utilities/entity/EntityMetadataCommandHelper.java
The file was removedv1_17/src/main/java/com/denizenscript/denizen/nms/v1_17/impl/network/packets/PacketOutEntityMetadataImpl.java
The file was removedplugin/src/main/java/com/denizenscript/denizen/scripts/commands/player/GlowCommand.java
The file was modifiedv1_17/src/main/java/com/denizenscript/denizen/nms/v1_17/impl/network/handlers/DenizenNetworkManagerImpl.java
The file was modifiedv1_18/src/main/java/com/denizenscript/denizen/nms/v1_18/impl/network/handlers/DenizenNetworkManagerImpl.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/scripts/commands/entity/GlowCommand.java