From 1b9b3aaade0ae138f07f8ee76e33ea1f9cc1b7fe Mon Sep 17 00:00:00 2001 From: BJTMastermind Date: Thu, 19 Aug 2021 13:46:40 -0400 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c08d1cf..5b66631 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ## Plan To Add / To Do -- [ ] Replace Armor Stands with Glow Item Frames in 1.17+ +- [x] Replace Armor Stands with Glow Item Frames in 1.17+ ## How To Use To use the Custom Blocks API simply include it alongside your datapack and ensure to use the following for your custom blocks. @@ -12,7 +12,7 @@ To use the Custom Blocks API simply include it alongside your datapack and ensur ### Give Command If your pack includes a custom give command this is what the function should look like with this API: ```mcfunction -give @p dropper{display:{Name:'{"text":"A Name","italic":false}',Lore:['{"text":"A Lore","italic":false,"color":"red"}']},CustomModelData:0000001,BlockEntityTag:{Lock:"CustomBlocks:Block"},BlockProperties:{CustomName:'{"text":"Block"}',SetblockCommand:"setblock ~ ~ ~ stone"}} +give @p dropper{display:{Name:'{"text":"A Name","italic":false}',Lore:['{"text":"A Lore","italic":false,"color":"red"}']},CustomModelData:0000001,CustomModelDataVertical:0000002,BlockEntityTag:{Lock:"CustomBlocks:Block"},BlockProperties:{CustomName:'{"text":"Block"}',SetblockCommand:"setblock ~ ~ ~ stone"}} ``` @@ -27,15 +27,15 @@ To set up your custom blocks with this API simple add the custom models to one o Make Sure To Include the Lock in the BlockEntityTag and set its value to "CustomBlocks:Block"
This tells the API that your block uses this Custom Blocks API system. -Then add your custom block name and an optional lore for the block. Add your custom blocks CustomModelData value
outside the display tag. +Then add your custom block name and an optional lore for the block. Outside the display tag add your custom blocks CustomModelData value and optionaly the CustomModelDataVertical value too, which is the model for when its placed facing up or down. -Finally, add any extra information about the block for when it's placed in the "BlockProperties" tag. All the information in this tag will be copied to the Armor Stand, and the "SetblockCommand" in BlockProperties says what you want your base block to be. +Finally, add any extra information about the block for when it's placed in the "BlockProperties" tag. All the information in this tag will be copied to the Glow Item Frame, and the "SetblockCommand" in BlockProperties says what you want your base block to be. For help on how to set these up see the above give command for an example. ## Minimum Minecraft Version -* 1.16.4 (May work in older versions as low as 1.15.2 but has not been tested) +* 1.17 ## About This Project