Skip to content

Update Vanilla ID List for version 26.32 - #983

Open
joeskeen wants to merge 1 commit into
MicrosoftDocs:mainfrom
joeskeen:patch-1
Open

Update Vanilla ID List for version 26.32#983
joeskeen wants to merge 1 commit into
MicrosoftDocs:mainfrom
joeskeen:patch-1

Conversation

@joeskeen

Copy link
Copy Markdown

How I came up with this list:

I created an add-on called Texture Debug Browser which tries to pass every ID from a user-defined min value to a max value into @beacon.item_renderer in JSON UI; the result allows the user to observe which texture actually appears for each numerical ID (including accounting for custom items).

image

From this I was able to manually verify what renders for each item ID and add missing items to the mapping here: https://github.com/world-class-engineers/mcbe-texture-debug/blob/main/scripts/modals/item-numerical-ids.json

I then transformed it into the format for the wiki using this command:

Get-Content scripts/modals/item-numerical-ids.json 
  | Where-Object { $_ -like '*minecraft*' } 
  | Sort-Object 
  | ForEach-Object { $parts = ($_ -split ':'); "| $($parts[1].TrimEnd('`"')) | $($parts[2].TrimEnd(',')) |" } 
  | Set-Clipboard

How I came up with this list:

I created an add-on called [Texture Debug Browser](https://www.curseforge.com/minecraft-bedrock/addons/texture-debugging-browser) which tries to pass every ID from a user-defined min value to a max value into `@beacon.item_renderer` in JSON UI; the result allows the user to observe which texture actually appears for each numerical ID (including accounting for custom items).

From this I was able to manually verify what renders for each item ID and add missing items to the mapping here: https://github.com/world-class-engineers/mcbe-texture-debug/blob/main/scripts/modals/item-numerical-ids.json

I then transformed it into the format for the wiki using this command:

```pwsh
Get-Content scripts/modals/item-numerical-ids.json 
  | Where-Object { $_ -like '*minecraft*' } 
  | Sort-Object 
  | ForEach-Object { $parts = ($_ -split ':'); "| $($parts[1].TrimEnd('`"')) | $($parts[2].TrimEnd(',')) |" } 
  | Set-Clipboard
```
@joeskeen

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree company="World-Class Engineers"

@joeskeen

Copy link
Copy Markdown
Author

See also Bedrock-OSS/bedrock-wiki#1248 (trying to get the different documentation sources to agree and be up to date)

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.

1 participant