-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
36e6660
commit 68dd007
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
## Headed Rewritten | ||
A better and vanilla-compatible version of Headed. | ||
|
||
### What does Headed Rewritten do? | ||
#### Client | ||
Mainly, it changes the rendering of certain player heads to look like new blocks. Here's an example with Headed Rewritten (left) and vanilla (right): | ||
|
||
![Headed Rewritten (left) and vanilla Minecraft (right)](comparison.png) | ||
|
||
Additionally, it adds a Creative item group with all the added heads. | ||
|
||
#### Server | ||
If Headed Rewritten is installed on the server, players with Headed Rewritten installed will see more accurate hitboxes (if it isn't installed, the head hitboxes will have a minimum size of 8x8x8 to avoid glitches). | ||
|
||
Also, adding Headed Rewritten to a server will make mobs killed by a charged creeper drop their heads. | ||
|
||
### Developers | ||
#### Client | ||
To add a head to the client (for rendering), call `TextureToHeadMap.addHeadNotInGroup()`. The first parameter is the texture whose head will be replaced (the string in `Properties:{textures:[{Value:"String"}]}` is JSON encoded in Base64, so you'll have to decode that in order to get the texture). | ||
|
||
You can call `HeadedHead.toStack()` if you want a stack of the head. `TextureToHeadMap.addHeadNotInGroup()` returns a `HeadedHead`. | ||
|
||
#### Server | ||
To add a head to the server (for easier creation of a stack through `HeadedServerHead.stack()`, `HeadedServerHead.entry()` and `HeadedServerHead.entryBuilder()`), you can call `TextureToServerHeadMap.addHead()`. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.