Add a "custom block"
Custom block is a block for map and datapak makers that have unique parameter - CustomData.
In depence of CustomData this block can have different states. Every state is like a diffrent block.
Every state can have their own properties like AttratRedsotne, IsNorthSideTransparent, Movable, etc.
And in commands it is like /setblock mineraft:custom_block ~ ~ ~ {CustomData:[MyDatapackName,45]}
Every blok is needed to define in special file in datapacks "CustomBlocks.json". Wich can look like this:
[{"id": 45,"DisplayName": {"name": "The Usless Block","RarityColor": 2},"BlockState": {"Transparency": ["right","left","top"],"movable": true,"atractRedstone": false,"canPlacedOnSides": ["bottom"]}}]
Please sign in to leave a comment.
0 Comments