I have IBakedModel, but item for it renders like flat item with emo-texture. I see getOverrides method in IBakedModel and i see that this method need ItemOverrideList. I create class that extends ItemOverrideList and return Collections.<ItemOverride>emptyList() in constuctor and override handleItemState in it, but i don't know how to return my IBakedModel in it, so instead of flat emo-textured item i get my block with IBakedModel.
I want to create a block that not emmiting light but glow in the dark without using TESR, i ty to create this effect in TESR (to see if it's possible) and its works, but i don't want TESR, it's decorative block, i want to use IBakedModel and it's works too, but compared to TESR it's has strange "brown" shade and i don't know how to fix this...
Hi. I have a problem, i want to create a block that not emmiting light but glow in the dark and this works:
Left block: IBakedModel, Right block: TESR. And you can see difference between this, IBakedModel has strange "brown" shade compared to TESR. Color of this shade also changes depending on day/night time:
Day:
Night:
Anyone know how to fix this?
All my code here: https://github.com/nikita488/TestMod
I need to make fancy laser. I think the best way to do that is a create quad, then rotate it based on camera position and direction along only one axis. How to do it?
Hi =) I made block, which should store energy, but i have problem. Energy arrives in storage, but if I want to extract energy from storage, the energy doesn't extract. Help me please =)
TileEntity:
P.S. I wanted to put the code in the spoiler, but for some reason the spoiler does not work, and everything else too