mirror of
https://github.com/GTNewHorizons/GTNHLib.git
synced 2026-11-28 07:35:51 +00:00
Create ModeledISBRH.java
This commit is contained in:
1 parent
d8923eb887
commit
75984e398c
1 file changed
+18
@@ -0,0 +1,18 @@
|
||||
package com.gtnewhorizon.gtnhlib.block;
|
||||
|
||||
import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
|
||||
import cpw.mods.fml.client.registry.RenderingRegistry;
|
||||
import net.minecraft.block.Block;
|
||||
|
||||
// TODO: integrate Roadhog's ISBRH
|
||||
public abstract class ModeledISBRH implements ISimpleBlockRenderingHandler {
|
||||
/**
|
||||
* Any blocks using a JSON model should return this for {@link Block#getRenderType()}.
|
||||
*/
|
||||
int JSON_ISBRH_ID = RenderingRegistry.getNextAvailableRenderId();
|
||||
|
||||
@Override
|
||||
public int getRenderId() {
|
||||
return JSON_ISBRH_ID;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user