Everything posted by LTNightshade
-
Error Trying to load Block Textures
@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...
-
Error Trying to load Block Textures
You're right, but than this must be also "blocks": { "parent": "block/cube_all", "textures": { "all": "learningmod:block/fast_furnace" } }
-
Error Trying to load Block Textures
With 1.13 the subdirectory must be named "block" or "item" not "blocks" or "items"
-
Error Trying to load Block Textures
Ok. read this, i had the same problem: http://www.minecraftforge.net/forum/topic/68962-1132-blockstatemodel-extended-from-minecraftcube_all/
-
Error Trying to load Block Textures
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
-
[1.13] How do you Register item renders ?
No need for this anymore, cause Item Models are registered automaticly.
-
[1.13.2] actual appearence of blockstates jsons?
Textures have to end with ".png", i figured out while creating a gui.
-
[1.13.2] actual appearence of blockstates jsons?
"FileNotFoundException: angrybirdsmod:models/balloon_block.json" says everything you need to know.
-
Right clicking on block with custom gui crashes game
Show your Gui Handler
-
Error with block registration
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
-
[1.13.2] Mod configuration using ForgeConfigSpec
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); } } }
-
What mod versions the latest 1.13.2 Forge supports?
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.
-
[1.13.2] Mod configuration using ForgeConfigSpec
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)
-
Error with block registration
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()); }
-
[1.13.2] Blockstate/model extended from minecraft:cube_all
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" } }
-
[1.13.2] Blockstate/model extended from minecraft:cube_all
{ "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.
-
[1.13.2] Blockstate/model extended from minecraft:cube_all
[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).
-
Set block breaking sound
Block.Properties.create(Material.GLASS) .sound(SoundType.GLASS);
-
[1.13.2] Blockstate/model extended from minecraft:cube_all
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>
-
forge doesnt notice my mods?
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...
-
[1.13.2] Blockstate/model extended from minecraft:cube_all
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 ?
-
Error with block registration
Yes, you did, but you never use the parameter "name" in the Constructer.
-
Error with block registration
You never set the Registryname of the Block this.setRegistryName(name);
-
How to launch gradlew runClient with player login?
gradle.build: runClient { args '--username=<name>' }
-
[1.13.2][SOLVED] Registries limits?
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); }
IPS spam blocked by CleanTalk.