generated from neoforged/MDK
-
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
19eb838
commit 94882d9
Showing
5 changed files
with
82 additions
and
136 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 |
---|---|---|
@@ -1,2 +1,68 @@ | ||
# Regilite (Registrate at home) | ||
A light libary helping with registratrion and data generation | ||
A light library helping with registration and data generation | ||
|
||
## Content | ||
This library provides helper functions and wrappers around for various Objects. Below we provide a list of all | ||
functions provided. | ||
|
||
### Translations | ||
We provide automatic translations for objects where the `ResourceLocation` gives enough context. This can always | ||
be changed using the `setTranslation` method. | ||
|
||
Besides the translation of objects like blocks and items, we also provide helpers for adding automatic translations for `Components`. | ||
|
||
### Blocks | ||
Besides the block itself, there are also functions to automatically register the following: | ||
- Loot tables | ||
- Blockstates and model | ||
- Block color (tint) | ||
- Block Tags | ||
- Translation | ||
- Block item | ||
- See `Items` | ||
|
||
### Items | ||
Besides the item itself, there are also functions to automatically register the following: | ||
- Item model | ||
- Item color (tint) | ||
- Item Tags | ||
- Creative tabs | ||
- Translation | ||
|
||
### Fluid(type)s | ||
Besides the fluid(type) itself, there are also functions to automatically register the following: | ||
- Flowing fluid | ||
- Source fluid | ||
- Fluid tag | ||
- Translation | ||
- Liquid block | ||
- See `Block` | ||
- Bucket Item | ||
- See `Item` | ||
|
||
### Block Entity(type)s | ||
Besides the block entity(type) itself, it automatically registers the following: | ||
|
||
- Block entity renderer (should we?) | ||
- Block entity tags | ||
|
||
This helper meanly helps by removing a lot of (constant) generic bounds from the code, and provides a shortcut to | ||
create a block entity directly from the holder. | ||
|
||
### Entity(type)s | ||
Besides the entity(type) itself, it automatically registers the following: | ||
|
||
- Entity model (should we?) | ||
- Model layer (should we?) | ||
- Entity tags | ||
- Translation | ||
|
||
This helper also removes a lot of (constant) generic bounds from the code. | ||
|
||
### Menu(type)s | ||
Besides the menu(type) itself, it automatically registers the following: | ||
|
||
- Screen factory (should we?) | ||
- Translation (should we, as we don't use it?) | ||
|
||
This helper also removes a lot of (constant) generic bounds from the code. |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"block.examplemod.example_block": "Example block", | ||
"item.examplemod.example_item": "Example item" | ||
"block.examplemod.example_block": "Test Example Block", | ||
"item.examplemod.example_item": "Test Example Item" | ||
} |
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,5 @@ | ||
{ | ||
"values": [ | ||
"examplemod:example_item" | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
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