Skip to content

Banner patterns renderer#52

Merged
misode merged 13 commits intomisode:mainfrom
KKW557:banner-patterns-renderer
Apr 12, 2025
Merged

Banner patterns renderer#52
misode merged 13 commits intomisode:mainfrom
KKW557:banner-patterns-renderer

Conversation

@KKW557
Copy link
Contributor

@KKW557 KKW557 commented Mar 3, 2025

image

no shields

@KKW557 KKW557 force-pushed the banner-patterns-renderer branch from 4d25921 to 848faf9 Compare March 4, 2025 06:28
@KKW557
Copy link
Contributor Author

KKW557 commented Mar 4, 2025

obviously its going to involve item rendering, so ill just add this
image

embarrassing although the rendering of structure is right direction, but item is reversed. because #51 merged, i have to fix it on item rendering. after whether to sync game's uv is up to you guys

and i discover a problem

const item1 = ItemStack.fromString('white_banner[hide_additional_tooltip={}, banner_patterns=[]]')

and

const item2 = ItemStack.fromString('white_banner[hide_additional_tooltip={},banner_patterns=[]]')

result is different

item1s banner_patterns is

minecraft: banner_patterns

but item2 is

minecraft:banner_patterns

so ItemStack.fromString must no blanks ow the object may not be as expected
i dont use item module very much but it bothers me when i do

@misode misode merged commit 7e59afa into misode:main Apr 12, 2025
1 check passed
KokeCacao pushed a commit to KokeCacao/deepslate that referenced this pull request Jul 7, 2025
* Add colored banner

* Add colored banners

* Add banner patterns renderer

* Reduce duplicate code

* Fix https://github.com/misode/deepslate/actions/runs/13647649870/job/38149365256?pr=52

* Add banner patterns render for item

* Fix item model reverse

* Fix import

* Add inline index

* Remove hard code

* Don't use PlacedBlock in special renderer

* Simplify DyeColors

* Allow whitespace in ItemStack string parser

---------

Co-authored-by: Misode <misoloo64@gmail.com>
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.

3 participants