mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-26 23:13:07 +00:00
Additional ISBRH compat + JSONModel Compat from GTNHLib (#54)
This commit is contained in:
1 parent
f10595d062
commit
2d050bdd08
15 files changed
+307
-28
No files matched your search
@@ -0,0 +1,18 @@
|
||||
package codechicken.multipart;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
|
||||
public interface JsonModeledPart {
|
||||
|
||||
Block getBlock();
|
||||
|
||||
/**
|
||||
* Use to give your part a world that can be used to define properties for rendering. For example having your world
|
||||
* returning your block with some specific state such as meta you can override the getMeta for the input location to
|
||||
* be the meta you desire
|
||||
*
|
||||
* @return The world to use
|
||||
*/
|
||||
IBlockAccess getRenderWorld();
|
||||
}
|
||||
Reference in new issue
Block a user