Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add options for NBT Short and Byte tags #153

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MemencioPerez
Copy link

@MemencioPerez MemencioPerez commented Nov 24, 2024

This PR adds options for NBT short tags. I know it's not something that has common usage on Spigot or Paper servers, but I think some people who have hybrid Forge/Bukkit servers with the Pixelmon mod would like to see this feature added.

Example (uses PixelmonExtension PlaceholderAPI expansion):

items:
  'slot_1':
    material: PIXELMON_PIXELMON_SPRITE
    nbt_strings:
    - 'form:%pixelmon_party_1_form_unlocalized%'
    - 'palette:%pixelmon_party_1_palette_unlocalized%'
    nbt_short: 'ndex:%pixelmon_party_1_dex_number%'
    slot: 11
    priority: 1
    display_name: "&e(&b%pixelmon_party_1_name%&e) &7| &bNivel %pixelmon_party_1_level%"
    lore:
    - ""
    - "&7Género: &b%pixelmon_party_1_gender%"
    - "&7Habilidad: &b%pixelmon_party_1_ability%"
    - "&7Naturaleza: &b%pixelmon_party_1_nature%"
    - "&7Tamaño: &b%pixelmon_party_1_growth%"
    - "&7Forma: &b%pixelmon_party_1_form%"
    - "&7Paleta: &b%pixelmon_party_1_palette%"

image

@MemencioPerez
Copy link
Author

I have also added options for NBT byte tags.

@MemencioPerez MemencioPerez changed the title feat: add options for NBT Short tags feat: add options for NBT Short and Byte tags Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants