Jump to content

BlueSkyEngineer

Members
  • Posts

    5
  • Joined

  • Last visited

BlueSkyEngineer's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Finally, I have working demo, however I can't tell where the problem happened, because during some refactoring I accidentally deleted the whole project including Gradle setup and wrapper itself, so I've got no clue what was causing the problem, but I'll do some experimenting and eventually update this thread if I'll find out what was causing it. Again, thank you all for your help. ?
  2. That seems it could cause serious issues, at least with memory, right now I am working on restructuring that mod a little bit, I'll check if it works as soon as I get that done. anyway, thank you for your time. ?
  3. I have also tried that. ? But if you have any basic code setup, and you could send it me ( for example in zip ), I could try at least modify it until I find out what is causing that.
  4. Welp,. that seem'd logical to me, but no, it didn't change anything ( didn't break item's texture nor fix block's ), but at least I found out that when I place that block with /setblock it works just fine, so the problem have to be somewhere in registration of ItemBlock / adding blockstates to given block.
  5. Hello, I have spent last 5 hours of time trying to fix this, came across multiple threads with same, or similar problem but with no luck. Problem: As title says the block is acessable via creative menu and it's texture looks fine in inventory / on ground, but as soon as I place it in world, it uses minecraft's "missing texture" texture So far I have tried these things: Check "blockstates/uranium_block.json" Check "models/block/uranium_block.json" Move "uranium_block.png" from "textures/blocks/uranium_block/" to "textures/blocks/" and updated "models/block/uranium_block.json" accordingly Change "parent" key in "models/block/uranium_block.json" from "block/cube_bottom_top" to "block/cube_bottom_all" and updated "textures" object in same file accordingly - Changed only texture in inventory Change "model" value in "blockstates/uranium_block.json" from "blueshades:uranium_block" to "blueshades:block/uranium_block" - Showed error in minecraft log, that file "blueshades:models/block/block/uranium_block.json" was not found, so I guess that my path is correct Comment out "this.setLightLevel( 0.05f );" from "UraniumBlock.java", if that could cause problems - Nothing changed Change "super( Material.ANVIL );" to "super( Material.IRON );" in "UraniumBlock.java" - Nothing changed Change "inventory" in Registration.java/setCustomModelResourceLocation to "normal" - Nothing changed Additional info: I am registering my Blocks / Items / ItemBlocks / models in "Registration.java" which uses array from "REFERENCE.java" My block extends utility class "CommonBlock" defined in "CommonBlock.java" I am new to modding using forge, but I have years of experience with Java, I also know valid format for JSON files. I have also attached the minecraft log, even tough I have not found any suspicious messages there. Hope that there isn't anything totally stupid that I forgot in my code ( Like assigning blockstate file to block as I haven't found how to do that so I guess forge takes care of that automatically ) I hope this will get resolved somehow, as it really makes me mad, how simply it looks and how stupidly I fail. EDIT: also included debug.log, Even tough I haven't found any suspicious messages there. ?
×
×
  • Create New...

Important Information

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