Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

LTNightshade

Members
  • Joined

  • Last visited

Everything posted by LTNightshade

  1. @Mod.EventBusSubscriber(Side.CLIENT) public class ClientProxy extends CommonProxy { @Override public void preInit(FMLPreInitializationEvent e) { super.preInit(e); } @SubscribeEvent public static void registerModels(ModelRegistryEvent event) { } } You don't register a Model for your Block...
  2. You're right, but than this must be also "blocks": { "parent": "block/cube_all", "textures": { "all": "learningmod:block/fast_furnace" } }
  3. With 1.13 the subdirectory must be named "block" or "item" not "blocks" or "items"
  4. Ok. read this, i had the same problem: http://www.minecraftforge.net/forum/topic/68962-1132-blockstatemodel-extended-from-minecraftcube_all/
  5. Not read properly, as my answer would be for 1.13 { "forge_marker": 1, "defaults": { "model": "all", "textures": { "all": "learningmod:fast_furnace" } }, "variants": { "normal": [{}], "inventory": [{}] } } What is Model: "all" ? And you don't have any model files in your git. The Forge Docs - Blockstates
  6. No need for this anymore, cause Item Models are registered automaticly.
  7. Textures have to end with ".png", i figured out while creating a gui.
  8. "FileNotFoundException: angrybirdsmod:models/balloon_block.json" says everything you need to know.
  9. I do it this way: Events: private void onBlocksRegistry(final RegistryEvent.Register<Block> event) { LOGGER.info("Registering Blocks..."); ModBlocks.register(event); } private void onItemsRegistry(final RegistryEvent.Register<Item> event) { LOGGER.info("Registering Items..."); ModItems.register(event); } ModBlocks: @ObjectHolder(nimox.ModId) public class ModBlocks { public static NonNullList<BlockBase> BLOCKS = NonNullList.create(); @ObjectHolder("test") public static final BlockTest BLOCK_TEST = null; public static void register(RegistryEvent.Register<Block> blockRegistryEvent){ // Create Instances and add to BLOCKS List. BLOCKS.add(new BlockTest()); // Registering all for(Block b : BLOCKS) { blockRegistryEvent.getRegistry().register(b); } } } ModItems: @ObjectHolder(nimox.ModId) public class ModItems { public static NonNullList<Item> ITEMS = NonNullList.create(); @ObjectHolder("ocd_torcher") public static final ItemOCDTorcher ITEM_OCD_TORCHER = null; public static void register(RegistryEvent.Register<Item> itemRegistryEvent) { // Own Items ITEMS.add(new ItemOCDTorcher()); // Itemblocks for Blocks for(BlockBase b : ModBlocks.BLOCKS) { ITEMS.add(b.getItemBlock()); } // Register Items for(Item i : ITEMS) { itemRegistryEvent.getRegistry().register(i); } } } Blocks: private Item.Properties getDefaultProperties() { return new Item.Properties() .defaultMaxDamage(0) .group(nimox.ITEM_GROUP_NIMOX) .maxStackSize(64) .rarity(EnumRarity.COMMON) .setNoRepair() ; } public Item getItemBlock() { return new ItemBlock(this, getDefaultProperties()).setRegistryName(this.getRegistryName().getPath()); } Create the instances at event time, not construction time. and for the Jsons : JSONS
  10. Where's the problem ? public class ModConfig { private static final ForgeConfigSpec.Builder BUILDER = new ForgeConfigSpec.Builder(); public static final General GENERAL = new General(BUILDER); public static final Section2 SECTION_2 = new Section2(BUILDER); public static final ForgeConfigSpec spec = BUILDER.build(); public static class General { public final ForgeConfigSpec.ConfigValue<Boolean> ModEnabled; public final ForgeConfigSpec.ConfigValue<Integer> TorchDistance; public General(ForgeConfigSpec.Builder builder) { builder.push("General"); ModEnabled = builder .comment("Enables/Disables the whole Mod [false/true|default:true]") .translation("enable.ocdtorcher.config") .define("enableMod", true); TorchDistance = builder .comment("sets the Reach of the Torcher [0..50|default:20]") .translation("distance.ocdtorcher.config") .defineInRange("TorcherDistance", 20, 0,50); builder.pop(); } } public static class Section2 { public final ForgeConfigSpec.ConfigValue<Boolean> BoolVal2; public Section2(ForgeConfigSpec.Builder builder) { builder.push("section2"); BoolVal2 = builder .comment("Enables/Disables whatever [false/true|default:true]") .translation("enable.sec2.ocdtorcher.config") .define("ensec2", true); } } }
  11. All mods that were build with Forge 1.13.2. Usually the mods are named "<modname>-<forge version>-<own version>.jar" So for example "ActuallyAdditions-1.12.2-r145.jar" is for Forge 1.12.2.
  12. My modConfig: package de.madone.nimox.config; import net.minecraftforge.common.ForgeConfigSpec; public class ModConfig { private static final ForgeConfigSpec.Builder BUILDER = new ForgeConfigSpec.Builder(); public static final General GENERAL = new General(BUILDER); public static final ForgeConfigSpec spec = BUILDER.build(); public static class General { public final ForgeConfigSpec.ConfigValue<Boolean> ModEnabled; public final ForgeConfigSpec.ConfigValue<Integer> TorchDistance; public General(ForgeConfigSpec.Builder builder) { builder.push("General"); ModEnabled = builder .comment("Enables/Disables the whole Mod [false/true|default:true]") .translation("enable.ocdtorcher.config") .define("enableMod", true); TorchDistance = builder .comment("sets the Reach of the Torcher [0..50|default:20]") .translation("distance.ocdtorcher.config") .defineInRange("TorcherDistance", 20, 0,50); builder.pop(); } } } Main-Class-Constructor: // load Configfile ModLoadingContext.get().registerConfig(net.minecraftforge.fml.config.ModConfig.Type.COMMON, de.madone.nimox.config.ModConfig.spec); But it's not available at registration time. (NPE)
  13. For Example: private Item.Properties getDefaultProperties() { return new Item.Properties() .defaultMaxDamage(0) .group(nimox.ITEM_GROUP_NIMOX) .maxStackSize(64) .rarity(EnumRarity.COMMON) .setNoRepair() ; } public Item getItemBlock() { return new ItemBlock(this, getDefaultProperties()).setRegistryName(this.getRegistryName().getPath()); }
  14. Ok. Solved, but it should have work like tried above, doesn't it ? Blockstate : { "forge_marker": 1, "defaults": { "textures": { "all": "nimox:block/ore_copper" }, "model": "nimox:test" }, "variants": { "": [{}] } } models/item/test.json AND models/block/test.json : { "parent": "block/cube_all", "textures": { "all": "nimox:block/ore_copper" } }
  15. { "parent": "block/cube_all", "textures": { "all": "nimox:block/ore_copper" } } results into -> [21Feb2019 13:41:23.194] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'nimox:blockstates/test.json' in resourcepack: 'main': Neither 'variants' nor 'multipart' found Directly out of the forge-docs { "forge_marker": 1, "defaults": { "textures": { "all": "nimox:block/ore_copper" }, "model": "cube_all" }, "variants": { "normal": [{}] } } results into -> [21Feb2019 13:45:28.091] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'nimox:blockstates/test.json' in resourcepack: 'main' for variant: 'normal': Unknown blockstate property: 'normal' And again { "forge_marker": 1, "defaults": { "textures": { "all": "nimox:block/ore_copper" }, "model": "cube_all" }, "variants": { "": [{}] } } results into -> [21Feb2019 13:46:53.605] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:46:53.606] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:46:53.606] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:46:53.606] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:46:53.606] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:46:53.606] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:46:53.606] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:46:53.733] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #down in minecraft:block/cube_all [21Feb2019 13:46:53.734] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #up in minecraft:block/cube_all [21Feb2019 13:46:53.734] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #north in minecraft:block/cube_all [21Feb2019 13:46:53.734] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #south in minecraft:block/cube_all [21Feb2019 13:46:53.734] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #west in minecraft:block/cube_all [21Feb2019 13:46:53.734] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #east in minecraft:block/cube_all [21Feb2019 13:46:53.796] [Client thread/INFO] [net.minecraft.client.renderer.texture.TextureMap/]: Max texture size: 16384 [21Feb2019 13:46:55.056] [Client thread/INFO] [net.minecraft.client.renderer.texture.TextureMap/]: Created: 512x512 textures-atlas [21Feb2019 13:46:55.824] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:46:55.824] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:46:55.824] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:46:55.824] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:46:55.824] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:46:55.824] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:46:55.824] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all Update: with models/item/test.json like: { "parent": "block/cube_all", "textures": { "all": "nimox:block/ore_copper" } } the itemblock in inventory is fine, but the block in the world itself still no texture.
  16. [21Feb2019 13:18:40.780] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager/SOUNDS]: Sound engine started [21Feb2019 13:18:43.980] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:43.980] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:43.980] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:43.980] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:43.980] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:43.980] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:43.981] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:43.987] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:43.987] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:43.987] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:43.987] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:43.987] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:43.987] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:43.987] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:44.071] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #down in minecraft:block/cube_all [21Feb2019 13:18:44.071] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #up in minecraft:block/cube_all [21Feb2019 13:18:44.072] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #north in minecraft:block/cube_all [21Feb2019 13:18:44.072] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #south in minecraft:block/cube_all [21Feb2019 13:18:44.072] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #west in minecraft:block/cube_all [21Feb2019 13:18:44.072] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #east in minecraft:block/cube_all [21Feb2019 13:18:44.072] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #down in nimox:item/test [21Feb2019 13:18:44.072] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #up in nimox:item/test [21Feb2019 13:18:44.072] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #north in nimox:item/test [21Feb2019 13:18:44.072] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #south in nimox:item/test [21Feb2019 13:18:44.072] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #west in nimox:item/test [21Feb2019 13:18:44.072] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #east in nimox:item/test [21Feb2019 13:18:44.139] [Client thread/INFO] [net.minecraft.client.renderer.texture.TextureMap/]: Max texture size: 16384 [21Feb2019 13:18:45.344] [Client thread/INFO] [net.minecraft.client.renderer.texture.TextureMap/]: Created: 512x512 textures-atlas [21Feb2019 13:18:46.192] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:46.192] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:46.192] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:46.192] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:46.192] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:46.192] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:46.192] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:46.207] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:46.207] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:46.207] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:46.207] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:46.207] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:46.207] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:46.207] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 13:18:49.182] [modloading-worker-1/INFO] [de.madone.nimox.nimox/]: Got IMC blockstate: { "forge_marker": 1, "defaults": { "model": "minecraft:cube_all", "textures": { "all": "nimox:block/ore_copper" } }, "variants": { "": { "model": "minecraft:cube_all" } } } models/item: { "parent": "block/cube_all" } No more "file not found error", but still not working (pink/black texture).
  17. Block.Properties.create(Material.GLASS) .sound(SoundType.GLASS);
  18. get even worse : (same result with : "minecraft:block/cube_all" or "minecraft:cube_all" or "block/cube_all") [21Feb2019 12:50:58.671] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager/SOUNDS]: Sound engine started [21Feb2019 12:51:01.241] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to load model: 'minecraft:block/block/cube_all' referenced from: nimox:test#: java.io.FileNotFoundException: minecraft:models/block/block/cube_all.json [21Feb2019 12:51:01.927] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:51:01.927] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:51:01.927] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:51:01.927] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:51:01.927] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:51:01.927] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:51:01.927] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:51:01.992] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #down in nimox:item/test [21Feb2019 12:51:01.992] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #up in nimox:item/test [21Feb2019 12:51:01.992] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #north in nimox:item/test [21Feb2019 12:51:01.992] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #south in nimox:item/test [21Feb2019 12:51:01.992] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #west in nimox:item/test [21Feb2019 12:51:01.992] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #east in nimox:item/test [21Feb2019 12:51:02.057] [Client thread/INFO] [net.minecraft.client.renderer.texture.TextureMap/]: Max texture size: 16384 [21Feb2019 12:51:03.288] [Client thread/INFO] [net.minecraft.client.renderer.texture.TextureMap/]: Created: 512x512 textures-atlas [21Feb2019 12:51:04.141] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:51:04.141] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:51:04.141] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:51:04.141] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:51:04.142] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:51:04.142] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:51:04.142] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:53:49.765] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to load model: 'minecraft:cube_all' referenced from: nimox:test#inventory: java.io.FileNotFoundException: minecraft:models/cube_all.json <Rest is the same>
  19. All these mods are not for 1.13.2 as you can see on their filenames. There will be no mod finished yet for 1.13.2, as forge deploys the beta version just 2 days ago...
  20. Logfile: [21Feb2019 12:27:04.911] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to load model: 'minecraft:cube_all' referenced from: nimox:test#inventory: java.io.FileNotFoundException: minecraft:models/cube_all.json [21Feb2019 12:27:05.146] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:27:05.146] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:27:05.146] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:27:05.146] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:27:05.147] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:27:05.147] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:27:05.147] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:27:05.243] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #down in minecraft:block/cube_all [21Feb2019 12:27:05.244] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #up in minecraft:block/cube_all [21Feb2019 12:27:05.244] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #north in minecraft:block/cube_all [21Feb2019 12:27:05.244] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #south in minecraft:block/cube_all [21Feb2019 12:27:05.244] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #west in minecraft:block/cube_all [21Feb2019 12:27:05.244] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #east in minecraft:block/cube_all [21Feb2019 12:27:05.312] [Client thread/INFO] [net.minecraft.client.renderer.texture.TextureMap/]: Max texture size: 16384 [21Feb2019 12:27:06.542] [Client thread/INFO] [net.minecraft.client.renderer.texture.TextureMap/]: Created: 512x512 textures-atlas [21Feb2019 12:27:07.370] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:27:07.370] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:27:07.370] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:27:07.371] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:27:07.371] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:27:07.371] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all [21Feb2019 12:27:07.371] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all src\main\resources\assets\nimox\blockstates\test.json: { "forge_marker": 1, "defaults": { "model": "cube_all", "textures": { "all": "nimox:block/ore_copper" } }, "variants": { "": { "model": "cube_all" } } } src\main\resources\assets\nimox\models\item\test.json: { "parent": "cube_all" } texture is in : src\main\resources\assets\nimox\textures\block\ore_copper.png Why doesn't it find the parent file ? or what am i doing wrong ?
  21. Yes, you did, but you never use the parameter "name" in the Constructer.
  22. You never set the Registryname of the Block this.setRegistryName(name);
  23. gradle.build: runClient { args '--username=<name>' }
  24. Maybe try something like this in your main class: // Register Items FMLJavaModLoadingContext.get().getModEventBus().addGenericListener(Item.class,this::onItemsRegistry); private void onItemsRegistry(final RegistryEvent.Register<Item> itemRegistryEvent) { LOGGER.info("Registering Items..."); ModItems.register(itemRegistryEvent); }

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.