Skip to content
Success

Changes

Summary

  1. Include boat types to `EntityTag.color` (#2539) (commit: 3d9b608) (details)
Commit 3d9b608c779660c65c35103be4c8b780cd3fee52 by noreply
Include boat types to `EntityTag.color` (#2539)

* Update `boat_type` to use new Spigot API

* Update to work on different versions

* Update meta

* Make functions `abstract`

* Deprecate `boat_type` in favor of `EntityTag.color`

* Remove unneeded version check

* Update tag link

* Add version check for deprecation notices + cleanup

* Remove unneeded version check and move enum check

* Remove `get/setBoatType` functions and move contents

* Update `switch` statements

* Use `as()` method instead of casting `getEntity()`
(commit: 3d9b608)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/utilities/BukkitImplDeprecations.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityBoatType.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/utilities/MultiVersionHelper1_19.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityColor.java (diff)