Started by
MamaLuigi
on
Topic category: Help with Minecraft modding (Java Edition)
I want to use the display name of the item the player is holding for something, but i want to get rid of the [ at the beginning and the ] at the end, so how would i do this?
A picture of a procedure would be nice
nvm, i figured it out
How does one do this?
you can solve the "[]" case by using the "Replace" text procedure. You replace the "[" with an empty space, "".![Replace: "]" with: "" on: [Replace: "[" with: "" on: Get display name of [Provided itemstack]]](https://cdn.discordapp.com/attachments/564603019606622228/1347457858702409730/image.png?ex=67cbe56c&is=67ca93ec&hm=342ada91a37bcfa0d982423850ba510c9b618d8b415b77811fd312d1aef1d682&)