Skip to content
Success

Changes

Summary

  1. #1029: Trial changing a small number of inner enums to (details)
Commit 7983b966630a4224ff7a26e321d2369444d17978 by md_5
#1029: Trial changing a small number of inner enums to classes/interfaces to better support custom values

This PR is a subset of the enum PR #660 and is designed as a low impact
trial run of the design and backwards compatibility to inform subsequent
development.

Additional plugin compatibility features may be available by setting
`settings.compatibility.enum-compatibility-mode` to `true` in
`bukkit.yml`.
The file was addedsrc/main/java/org/bukkit/util/OldEnum.java
The file was modifiedsrc/main/javadoc/overview.html
The file was modifiedsrc/main/java/org/bukkit/map/MapCursor.java
The file was modifiedsrc/main/java/org/bukkit/Registry.java
The file was modifiedsrc/main/java/org/bukkit/entity/Frog.java
The file was modifiedsrc/main/java/org/bukkit/entity/Cat.java
The file was modifiedsrc/main/java/org/bukkit/entity/Villager.java