Jump to content

Dragon9815

Members
  • Posts

    14
  • Joined

  • Last visited

Everything posted by Dragon9815

  1. And there lies the problem again, the texture atlas is only constructed if the whole texture manager is reloaded. I think it is basically not possible to render a changing player skin on an item. It would have to be a specific skin that will not change, which is not what I want. I will work on another neat effect, that isn't as complicated as this.
  2. I got the model now, but is there even any way I could render the player skin on the item, because I would need a TextureAtlasSprite for it.
  3. Thanks for the link. But I basically want to be able to change that texture at runtime, aren't models only loaded at the start of the game, or can they change during runtime? If not, could I reload a single model?
  4. I want to make an Item the binds to a player on right-click. So far so good, I got that but now I want to render the face of the bound player on it. Is it possible in 1.10 to render an item like this, since there is no IItemRenderer anymore?
  5. No, the one I posted when I opened the thread.
  6. The log is still the same as the one I posted at the beginning.
  7. The error is still the same, Minecraft is telling me that it cannot resolve the texture, but it renders the texture perfectly.
  8. I hope you ment like this: { "forge_marker": 1, "defaults": { "model": "cube_all", "transform": "forge:default-block" }, "variants": { "inventory": [ { "textures": { "all": "playerutils:blocks/ores/copper" } } ], "material": { "copper": { "textures": { "all": "playerutils:blocks/ores/copper" } }, "tin": { "textures": { "all": "playerutils:blocks/ores/tin" } }, "lead": { "textures": { "all": "playerutils:blocks/ores/lead" } }, "silver": { "textures": { "all": "playerutils:blocks/ores/silver" } }, "aluminium": { "textures": { "all": "playerutils:blocks/ores/aluminium" } }, "playorium": { "textures": { "all": "playerutils:blocks/ores/playorium" } }, "iron": { "textures": { "all": "playerutils:blocks/ores/copper" } }, "gold": { "textures": { "all": "playerutils:blocks/ores/copper" } } } } } And nothing changed...
  9. Yeah, I don't know how I did that. Also, as I said a few posts ago, the rendering is working fine with the blockstate file of the first post. I was just wondering about these warnings that say it couldn't resolve the texture although they are rendering perfectly ingame.
  10. BlockState { "forge_marker": 1, "defaults": { "model": "cube_all", "transform": "forge:default-block" }, "variants": { "inventory": { "textures": { "all": "playerutils:blocks/ores/copper" } }, "material": { "copper": { "textures": { "all": "playerutils:blocks/ores/copper" } }, "tin": { "textures": { "all": "playerutils:blocks/ores/tin" } }, "lead": { "textures": { "all": "playerutils:blocks/ores/lead" } }, "silver": { "textures": { "all": "playerutils:blocks/ores/silver" } }, "aluminium": { "textures": { "all": "playerutils:blocks/ores/aluminium" } }, "playorium": { "textures": { "all": "playerutils:blocks/ores/playorium" } }, "iron": { "textures": { "all": "playerutils:blocks/ores/copper" } }, "gold": { "textures": { "all": "playerutils:blocks/ores/copper" } } } } }
  11. I know these ones, they are because I didn't add an inventory variant: But I very certainly don't know what that is all about: I just added the texture to the inventory variant and suddenly it throws a MissingVariantException on the gold variant although it is clearly there.
  12. I don't know, but there is the log:
  13. Okay, but if I add a texture to the inventory variant I just throws Exceptions like crazy. I also discovered that although it says it cannot resolve the texture, everything seems to be fine, every block is textured like it should be. Is it possible that I ran into a bug with the model loading system? Thanks!
  14. Hi there, I have a problem with the mod I am developing. I tried to tidy up my code, so I wanted to get rid of all the model files and do the blockstate like this: I basically removed all the model definition files and hoped that I could define the textures directly in the blockstate file. However now I have my log spammed with Unable to resolve texture due to upward reference: #all in minecraft:models/block/cube_all My question now is, is it possible to do it this way and if yes what am I doing wrong? Complete Sourcecode: https://bitbucket.org/Dragon9815/playerutils/src Complete Log: http://pastebin.com/K4JFJThA Thanks!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.