Class GameEventTagKeys
java.lang.Object
io.papermc.paper.registry.keys.tags.GameEventTagKeys
Vanilla tag keys for
RegistryKey.GAME_EVENT.- API Note:
- The fields provided here are a direct representation of what is available from the vanilla game source. They may be changed (including removals) on any Minecraft version bump, so cross-version compatibility is not provided on the same level as it is on most of the other API.
-
Field Summary
FieldsModifier and TypeFieldDescription#minecraft:allay_can_listen#minecraft:ignore_vibrations_sneaking#minecraft:shrieker_can_listen#minecraft:vibrations#minecraft:warden_can_listen -
Method Summary
-
Field Details
-
ALLAY_CAN_LISTEN
#minecraft:allay_can_listen- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
IGNORE_VIBRATIONS_SNEAKING
#minecraft:ignore_vibrations_sneaking- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
SHRIEKER_CAN_LISTEN
#minecraft:shrieker_can_listen- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
VIBRATIONS
#minecraft:vibrations- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
WARDEN_CAN_LISTEN
#minecraft:warden_can_listen- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
-
Method Details
-
create
Creates a tag key forGameEventin the registryminecraft:game_event.- Parameters:
key- the tag key's key- Returns:
- a new tag key
-