WheatSeedsSystem
Wheat Seeds System is a mechanism to place custom models on minecraft worlds.
See all packages:
https://gyazo.com/c91279cc7e98aeeec292f3d8a5ba015e
Each chair can be rotated 45 degrees. Each chair is actually a wheat seeds item in an invisible item frame which put on an invisible barrier block. So if you use some plugin to sit on blocks (for example GSit), you can sit on a chair.
Commands for Resource Pack Users
To get custom item with ID=12345:
code:command
give @p wheat_seeds{CustomModelData:12345}
If you use EssentialX plugin, this command returns error Error: Unknown item name: .... EssentialX changes the syntax of /give, so you need to use /minecraft:give. See this Issue. If you use MyCommands plugin, you can use this:
code:mycommand
giveitem:
command: /giveitem
type: RUN_COMMAND
runcmd:
- "/minecraft:give @s wheat_seeds{CustomModelData: $arg1} 64"
To get invisible item frame:
code:command
give @p item_frame{EntityTag:{Invisible:1b}}
Or you can convert the nearest visible item frame into invisible one:
code:command
To fix the nearest item frame (so it doesn't break even the base block removed or new block placed on it)
code:command
To get invisible barrier block:
code:command
give @p barrier
Hints for those who create models
Model can be 6×6×6 size.
In the minecraft, you can make 3×3×3 model. You can set scale ×4 for displaying the model in the item frame. Model in item frame is shrinked ×0.5 by Minecraft vanilla behavior.
This is 3×2×1 size table:
https://youtu.be/1xULTM0y7DE?t=41
This is 5×3×1 size table:
https://gyazo.com/a74f1d0d8468cdf04cf50a747a5f0233
The 5×3×1 size table is not a good solution. If the actual item frame go out of sight, the table disapper. Those large model is only good if player do not get near.
Rotation
https://gyazo.com/87eb7a1e781f01756c4bc0bfdcf0b86b
The model in the minecraft has a restriction that the cuboid can rotate along only one of three axis. Because you can rotate a model in item frame, you can make a model which looks breaking the restriction.
Overlaping two models
https://gyazo.com/1643fe1deac8082bb86a51867fc57767
Overlaping on another block
For example, you can cover a chest with a custom model. The hitbox of the custom model is only in the item frame, so you can use the chest.
---
code:Memo for pack descriptions:
This resource pack includes X types, 16 colors Xs. Each X can be rotated 45 degrees.
This pack uses the Wheat Seeds System. Each X is actually a wheat seeds item in an invisible item frame which put on an invisible barrier block.
So if you use some plugin to sit on blocks (for example GSit), you can sit on a X.
IDs: ...