Skip to content

Add enum or constant for ClickContainerC2s Button ids #706

Description

@maxomatic458

Describe the problem related to your feature request.

valence inventory + validation code uses numerical values for click actions. This is pretty confusing, so we might be able to add constants that represent them instead.

see https://minecraft.wiki/w/Java_Edition_protocol/Packets#Click_Container_Button

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions