Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/friendly-banana/entity-sculptor
Turn entities into statues
https://github.com/friendly-banana/entity-sculptor
cosmetics fabric minecraft minecraft-mod statues
Last synced: 8 days ago
JSON representation
Turn entities into statues
- Host: GitHub
- URL: https://github.com/friendly-banana/entity-sculptor
- Owner: Friendly-Banana
- License: other
- Created: 2022-09-23T15:34:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-29T21:02:42.000Z (4 months ago)
- Last Synced: 2024-11-07T10:30:37.553Z (about 2 months ago)
- Topics: cosmetics, fabric, minecraft, minecraft-mod, statues
- Language: Java
- Homepage: https://www.curseforge.com/minecraft/mc-mods/entity-sculptor
- Size: 2.53 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Entity Sculptor
Ever wanted to capture the moment your dog sits down and looks at you?
Now you can. Use this mod and build a statue.
No matter where you take your dog, the blocks stay where they are.## Installation
1. Install Fabric
2. Put [Fabric API](https://www.curseforge.com/minecraft/mc-mods/fabric-api)
and [this mod](https://www.curseforge.com/minecraft/mc-mods/entity-sculptor) in the mods folder (both server and client)
3. Optional: Install WorldEdit## Usage
### Statue Command
`/statue [position] [scale]`
Example: dog/wolf statue above you
`/statue @e[limit=1,type=minecraft:wolf] ~ ~2 ~`
### Match Color Command
`/matchcolor r g b [a|directions | limit]`
Example: best fitting block for yellow (255, 255, 0)
`/matchcolor 255 255 0 all 1`
## Images
![living dog looking at you](images/cute_dog.png)
![dog statue built out of blocks](images/dog_statue.png)
![player in front of dog statue](images/player_with_dog_statue.png)## Technical
This mod renders the entity with a custom VertexConsumer, collecting all vertices. Then we interpolate between the vertices, take the
pixel from the entity's texture and map it to a block state. All those block states are then sent to the server together with their
position.