diff --git a/patches/api/0490-New-and-Improved-Lidded-API.patch b/patches/api/0490-New-and-Improved-Lidded-API.patch index 419b831b04..3c26fbdaa0 100644 --- a/patches/api/0490-New-and-Improved-Lidded-API.patch +++ b/patches/api/0490-New-and-Improved-Lidded-API.patch @@ -12,7 +12,7 @@ This also deprecates Bukkits api because of the confusing and outright incorrect diff --git a/src/main/java/io/papermc/paper/block/LidMode.java b/src/main/java/io/papermc/paper/block/LidMode.java new file mode 100644 -index 0000000000000000000000000000000000000000..0b1a6c09fefb5150bf3536f68a18504ed2b43beb +index 0000000000000000000000000000000000000000..fb7eea1ddda3cded5c4416d32bb48ef71aa25343 --- /dev/null +++ b/src/main/java/io/papermc/paper/block/LidMode.java @@ -0,0 +1,47 @@ @@ -24,30 +24,30 @@ index 0000000000000000000000000000000000000000..0b1a6c09fefb5150bf3536f68a18504e +public enum LidMode { + /** + * The default lid mode, the lid will open and close based on player interaction. -+ *

++ *

+ * the state used for this is provided with {@link Lidded#getTrueLidState()} + */ + DEFAULT, + + /** + * The lid will be forced open, regardless of player interaction. -+ *

++ *

+ * This needs to be manually unset with another call to {@link Lidded#setLidMode(LidMode)}. + */ + FORCED_OPEN, + + /** + * The lid will be forced closed, regardless of player interaction. -+ *

++ *

+ * This needs to be manually unset with another call to {@link Lidded#setLidMode(LidMode)}. + */ + FORCED_CLOSED, + + /** + * The lid will be forced open until at least one player has opened it. -+ *

++ *

+ * It will then revert to {@link #DEFAULT}. -+ *

++ *

+ * If at least one player is viewing it when this is set, it will immediately revert to + * {@link #DEFAULT}. + */ @@ -55,9 +55,9 @@ index 0000000000000000000000000000000000000000..0b1a6c09fefb5150bf3536f68a18504e + + /** + * The lid will be forced closed until all players currently viewing it have closed it. -+ *

++ *

+ * It will then revert to {@link #DEFAULT}. -+ *

++ *

+ * If no players are viewing it when this is set, it will immediately revert to + * {@link #DEFAULT}. + */