This commit is contained in:
Jake Potrebic
2024-06-13 13:57:13 -07:00
parent 7bcc1a4674
commit 29e69c49da
103 changed files with 92 additions and 158 deletions

View File

@@ -304,6 +304,14 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
/**
* Jukebox songs.
*
* @see JukeboxSong
*/
@ApiStatus.Experimental
- Registry<JukeboxSong> JUKEBOX_SONG = Objects.requireNonNull(Bukkit.getRegistry(JukeboxSong.class), "No registry present for JukeboxSong. This is a bug.");
+ Registry<JukeboxSong> JUKEBOX_SONG = io.papermc.paper.registry.RegistryAccess.registryAccess().getRegistry(io.papermc.paper.registry.RegistryKey.JUKEBOX_SONG); // Paper
/**
* Villager profession.
*
@@ -0,0 +0,0 @@ public interface Registry<T extends Keyed> extends Iterable<T> {
* Wolf variants.
*