Minecraft 1.21.6-pre1 support

This commit is contained in:
md_5
2025-05-29 21:50:45 +10:00
parent d8f9d81b30
commit 89e66ed648
28 changed files with 324 additions and 416 deletions

View File

@@ -1,6 +1,6 @@
package net.md_5.bungee.api.event;
import java.util.Map;
import com.google.gson.JsonElement;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
@@ -34,19 +34,9 @@ public class CustomClickEvent extends Event implements Cancellable
*/
private final String id;
/**
* The raw data as submitted.
* The data as submitted.
*/
private final String rawData;
/**
* The parsed form data.
* <br>
* If a form submission, usually contains a
* {@code CustomClickEvent.ACTION_KEY} key with the ID of the relevant
* submission action.
* <br>
* If not a form submission, then may be null.
*/
private final Map<String, String> parsedData;
private final JsonElement data;
/**
* Cancelled state.
*/