Additional ISBRH compat + JSONModel Compat from GTNHLib (#54)

This commit is contained in:
Ryan Nasers authored and GitHub committed 2026-09-06 23:45:06 +02:00
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();
}