GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [FR] Implement Custom Item Stacks for Plugin Mode · Issue #280 · Animated-Java/animated-java

[FR] Implement Custom Item Stacks for Plugin Mode #280

New issue
Copy link
New issue
Copy link
Open
Open
[FR] Implement Custom Item Stacks for Plugin Mode#280
Copy link
Assignees
SnaveSutit

Description

@Dearliet
Dearliet
opened on Aug 22, 2024
Issue body actions

Implement custom item stacks for plugin mode only, without adding component parsing. Invalid item name and format should still be marked as such.

Marked as valid:

minecraft:wooden_axe
minecraft:wooden_axe[]
wooden_axe
wooden_axe[]
wooden_axe[hide_tooltip={},custom_model_data=12,tool={default_mining_speed:2.0,damage_per_block:0}]
wooden_axe[blabladujdejduied!!!?:::@@@] // no component parsing

Marked as invalid:

emerald_axe[hide_tooltip={}] // invalid item
wooden_axe[ // invalid format
wooden_axe] // invalid format

Activity

  1. Dearliet
    assigned
    SnaveSutit
    on Aug 22, 2024
  2. Dearliet commented on Aug 22, 2024

    @Dearliet
    Dearliet
    on Aug 22, 2024
    CollaboratorAuthor
    More actions

    Alternatively, we could implement more robust component format validation. However, I'm not sure whether this is worth the trouble. Let me know what you think.

    Marked as valid:

    minecraft:wooden_axe
    minecraft:wooden_axe[]
    wooden_axe
    wooden_axe[]
    wooden_axe[hide_tooltip={},custom_model_data=12,tool={default_mining_speed:2.0,damage_per_block:0}]
    wooden_axe[hide_tooltip=3] // no concrete component parsing; valid as long as the format is correct
    wooden_axe[this_field_is_made_up=3] // same as above

    Marked as invalid:

    emerald_axe[hide_tooltip={}] // invalid item
    wooden_axe[ // invalid format
    wooden_axe] // invalid format
    wooden_axe[blabla===bl==ablabla] // invalid component key-value format
    wooden_axe[{}=12] // invalid component key
    wooden_axe[test={] // invalid component value
    wooden_axe[test={dddddd=12}] // invalid nbt compound format
    wooden_axe[test={{}:12}] // invalid nbt compound key
    wooden_axe[test={test:{{}] // invalid nbt compound value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @SnaveSutit
    SnaveSutit

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.