Hi, recently I wanted to make a new mod. And after I finished the code for the item itself, I came across a issue, that is after I done the item registry and the json file, the item itself was only the missing texture placeholder, and not showing up the actully texture I made. So is there any ways to solve this issue? I would be very appreciated.
Item Code:
package net.jellofish83.fariouscraft.core.init;
import net.jellofish83.fariouscraft.FariousCraft;
import net.minecraft.world.item.CreativeModeTab;
import net.minecraft.world.item.Item;
import net.minecraftforge.fmllegacy.RegistryObject;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
public final class ItemInit{
private ItemInit() {}
public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, FariousCraft.MODID);
public static final RegistryObject<Item> SILVER_INGOT = ITEMS.register("silver_ingot", () -> new Item(new Item.Properties().tab(CreativeModeTab.TAB_MISC)));
}
Hi, I am new to modding, and I recently created a forge mod set up program, but after setting everything up, it did not return me with a Minecraft window, but instead it returned me a bunch of error.
The code I've donw so far shown below.
package com.jellofish83.testmod;
import net.minecraftforge.fml.common.Mod;
@Mod(TestMod.MODID)
public class TestMod {
public static final String MODID = "testmod";
public TestMod() {
}
}
modLoader="javafml"
loaderVersion="[37,)"
license="MIT"
[[mods]]
modId="testmod"
version="1.0"
displayName="Test Mod"
logoFile="logo.png"
credits=""
authors="Jellofish83"
description='''
A Testing Mod
Testing
...
The error are shown below.
2022-04-10 09:42:21,088 main WARN Advanced terminal features are not available in this environment
[09:42:21] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeclientuserdev, --version, MOD_DEV, --assetIndex, 1.17, --assetsDir, C:\Users\13462\.gradle\caches\forge_gradle\assets, --gameDir, ., --fml.forgeVersion, 37.1.1, --fml.mcVersion, 1.17.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20210706.113038]
[09:42:21] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 9.0.24+9.0.24+main.7be9f01d starting: java version 16.0.2 by Oracle Corporation
[09:42:21] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=union:/C:/Users/13462/.gradle/caches/modules-2/files-2.1/org.spongepowered/mixin/0.8.4/4ec7d77d9ab32596ca0b78bb123956734767e3a/mixin-0.8.4.jar%2325! Service=ModLauncher Env=CLIENT
Exception in thread "main" com.electronwill.nightconfig.core.io.ParsingException: Not enough data available
at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.core.io.ParsingException.notEnoughData(ParsingException.java:22)
at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.core.io.ReaderInput.directReadChar(ReaderInput.java:36)
at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.core.io.AbstractInput.readChar(AbstractInput.java:49)
at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.toml.StringParser.parseMultiLiteral(StringParser.java:82)
at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.toml.ValueParser.parse(ValueParser.java:36)
at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.toml.ValueParser.parse(ValueParser.java:68)
at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:57)
at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:101)
at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:72)
at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37)
at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113)
at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219)
at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202)
at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.core.file.WriteAsyncFileConfig.load(WriteAsyncFileConfig.java:138)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.moddiscovery.ModFileParser.modsTomlParser(ModFileParser.java:59)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.moddiscovery.ModFileParser.readModList(ModFileParser.java:46)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.moddiscovery.ModFile.identifyMods(ModFile.java:121)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.moddiscovery.ModValidator.validateFiles(ModValidator.java:47)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.moddiscovery.ModValidator.stage1Validation(ModValidator.java:36)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer.discoverMods(ModDiscoverer.java:78)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.FMLLoader.beginModScan(FMLLoader.java:177)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.FMLServiceProvider.beginScanning(FMLServiceProvider.java:100)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformationServiceDecorator.runScan(TransformationServiceDecorator.java:112)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformationServicesHandler.lambda$runScanningTransformationServices$8(TransformationServicesHandler.java:100)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1766)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550)
at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616)
at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622)
at java.base/java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformationServicesHandler.runScanningTransformationServices(TransformationServicesHandler.java:102)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:55)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:87)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90)
I wanted to join the server that my friend created, but is shows that:
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection timed out: No further information
Anyone here got the solution for me. Btw, the server is on 1.16.5 and I am currently using 1.16.4. But the server have ViaVersion plugin on. I would be appreciated if anyone here can help me out.
I was making a modpack, but after I add some more mods, it then crashed. I have the crash report below, if someone can solve this problem for me, I will be appreciated of that. Crash report is at below.
I was developing a new modpack, which has over 100 mods in it. But it crashed after I loaded the modpack. Here is the crash report below, hope someone can solve this problem for me.
0
Thanks for your answer, I found the problem. I mistyped item/generated to Item/generated.
And currently, the code editor got a bug, which is Eclipse, I have to drag the image file into the package for it to work.
Still thank you for answering though.
0
Hi, recently I wanted to make a new mod. And after I finished the code for the item itself, I came across a issue, that is after I done the item registry and the json file, the item itself was only the missing texture placeholder, and not showing up the actully texture I made. So is there any ways to solve this issue? I would be very appreciated.
Item Code:
JSON file:
And also, in the console I saw this:
Any help would be very appreciated.
Thanks
0
I found my problem I typed the wrong thing. So problem resolved.
0
Hi, I am new to modding, and I recently created a forge mod set up program, but after setting everything up, it did not return me with a Minecraft window, but instead it returned me a bunch of error.
The code I've donw so far shown below.
This is build.gradle.
This is mods.toml.
The error are shown below.
Any help would be very appreciated, thanks.
0
I wanted to join the server that my friend created, but is shows that:
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection timed out: No further information
Anyone here got the solution for me. Btw, the server is on 1.16.5 and I am currently using 1.16.4. But the server have ViaVersion plugin on. I would be appreciated if anyone here can help me out.
0
I was making a modpack, but after I add some more mods, it then crashed. I have the crash report below, if someone can solve this problem for me, I will be appreciated of that. Crash report is at below.
Thank you.
0
Alright it is solved
0
I was developing a new modpack, which has over 100 mods in it. But it crashed after I loaded the modpack. Here is the crash report below, hope someone can solve this problem for me.
Or is there anyone know what version of CreativeCore should I install?