Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NOTE: I have not tested any of this; It should work though as very similar code works for itemblocks.
- Transforms and model may be able to be placed into "default", allowing for texture only changes per meta.
- Clientside preInit:
- ModelLoader.setCustomModelResourceLocation(--ITEM--, --META1--, new ModelResourceLocation(--MODID:FILENAME--, --SUBTYPE1--));
- ModelLoader.setCustomModelResourceLocation(--ITEM--, --META2--, new ModelResourceLocation(--MODID:FILENAME--, --SUBTYPE2--));
- blockstates\--FILENAME--.json
- {
- "forge_marker": 1,
- "variants": {
- --SUBTYPE1--: [{
- "model": "",
- "textures": {},
- "transform": {}
- }],
- --SUBTYPE2--: [{
- "model": "",
- "textures": {},
- "transform": {}
- }]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment