Fabric API

Fabric API

106M Downloads

Could not execute entrypoint stage 'main' due to errors, provided by 'firstmod'!

Opened this issue ยท 2 comments

commented

My mod with MOD_ID "firstmod" gives this error:

51:15] [main/INFO] (FabricLoader) Loading for game Minecraft 1.16.5
[22:51:15] [main/INFO] (Fabric|Loader) [FabricLoader] Loading 48 mods: [email protected]+9354966b7d, [email protected]+ca58154a7d, [email protected], [email protected]+2868a2287d, [email protected]+ca58154a7d, [email protected]+351679a77d, [email protected], [email protected]+c045166c7d, [email protected]+8183d3957d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+9354966b7d, [email protected]+c88702897d, [email protected]+61336ba97d, java@11, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+c88702897d, [email protected]+c88702897d, [email protected]+ca58154a7d, [email protected]+9354966b7d, [email protected]+2868a2287d, [email protected]+ca58154a7d, [email protected]+2868a2287d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected], [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+2868a2287d, [email protected]+e3c9d0627d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+1.16, [email protected]+2868a2287d, [email protected]+bc7a746f7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+dc716ea17d
[22:51:15] [main/INFO] (mixin) SpongePowered MIXIN Subsystem Version=0.8.2 Source=file:/Users/adit/.gradle/caches/modules-2/files-2.1/net.fabricmc/sponge-mixin/0.9.2+mixin.0.8.2/12c437eebf031967eaa7daad861e115932772cc7/sponge-mixin-0.9.2+mixin.0.8.2.jar Service=Knot/Fabric Env=CLIENT
[22:51:16] [main/INFO] (Fabric|MixinBootstrap) Loaded Fabric development mappings for mixin remapper!
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-networking-blockentity-v0-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-screen-handler-api-v1-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-lifecycle-events-v1-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-containers-v0-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-renderer-indigo-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-rendering-data-attachment-v1-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-structure-api-v1-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-events-interaction-v0-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-item-api-v1-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-loot-tables-v1-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-object-builder-api-v1-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-screen-api-v1-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-dimensions-v1-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-renderer-registries-v1-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-textures-v0-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-registry-sync-v0-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-models-v0-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-blockrenderlayer-v1-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-renderer-api-v1-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-containers-v0-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-rendering-fluids-v1-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-biome-api-v1-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-resource-loader-v0-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-game-rule-api-v1-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-networking-api-v1-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-particles-v1-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-object-builders-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-tag-extensions-v0-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-tool-attribute-api-v1-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-rendering-v1-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-item-groups-v0-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-content-registries-v0-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-command-api-v1-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-crash-report-info-v1-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-api-lookup-api-v1-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-entity-events-v1-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-key-binding-api-v1-refmap.json using remapper chain
[22:51:16] [main/INFO] (mixin) Remapping refMap fabric-renderer-api-v1-refmap.json using remapper chain
[22:51:16] [main/WARN] (mixin) @mixin target net/minecraft/client/render/block/BlockModelRenderer$AmbientOcclusionCalculator is public in fabric-renderer-indigo.mixins.json:MixinAmbientOcclusionCalculator and should be specified in value
[22:51:16] [main/WARN] (mixin) @mixin target net/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$RebuildTask is public in fabric-renderer-indigo.mixins.json:MixinChunkRebuildTask and should be specified in value
[22:51:16] [main/WARN] (mixin) @mixin target net/minecraft/village/TradeOffers$TypeAwareBuyForOneEmeraldFactory is public in fabric-object-builder-v1.mixins.json:TypeAwareTradeMixin and should be specified in value
[22:51:16] [main/WARN] (mixin) @mixin target net/minecraft/client/font/FontManager$1 is public in fabric-resource-loader-v0.mixins.json:client.FontManagerResourceReloadListenerMixin and should be specified in value
[22:51:16] [main/WARN] (mixin) @mixin target net/minecraft/server/command/GameRuleCommand$1 is public in fabric-game-rule-api-v1.mixins.json:GameRuleCommandVisitorMixin and should be specified in value
[22:51:16] [main/WARN] (mixin) @mixin target net/minecraft/client/gui/screen/world/EditGameRulesScreen$RuleListWidget$1 is public in fabric-game-rule-api-v1.mixins.json:client.RuleListWidgetVisitorMixin and should be specified in value
[22:51:16] [main/WARN] (mixin) @mixin target net/minecraft/server/world/ThreadedAnvilChunkStorage$EntityTracker is public in fabric-networking-api-v1.mixins.json:accessor.EntityTrackerAccessor and should be specified in value
[22:51:16] [main/WARN] (mixin) @mixin target net/minecraft/client/particle/ParticleManager$SimpleSpriteProvider is public in fabric-particles-v1.mixins.json:ParticleManagerAccessor$SimpleSpriteProviderAccessor and should be specified in value
[22:51:16] [main/WARN] (mixin) @mixin target net/minecraft/tag/Tag$1 is public in fabric-tag-extensions-v0.mixins.json:MixinTagImpl and should be specified in value
[22:51:16] [main/WARN] (mixin) @mixin target net/minecraft/tag/RequiredTagList$TagWrapper is public in fabric-tag-extensions-v0.mixins.json:MixinTagImpl and should be specified in value
[22:51:22] [main/INFO] (Minecraft) Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[22:51:23] [main/ERROR] (Minecraft) Failed to verify authentication
com.mojang.authlib.exceptions.AuthenticationUnavailableException: null
at com.mojang.authlib.yggdrasil.YggdrasilSocialInteractionsService.checkPrivileges(YggdrasilSocialInteractionsService.java:97) ~[authlib-2.1.28.jar:?]
at com.mojang.authlib.yggdrasil.YggdrasilSocialInteractionsService.(YggdrasilSocialInteractionsService.java:40) ~[authlib-2.1.28.jar:?]
at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.createSocialInteractionsService(YggdrasilAuthenticationService.java:152) ~[authlib-2.1.28.jar:?]
at net.minecraft.client.MinecraftClient.method_31382(MinecraftClient.java:563) [minecraft-1.16.5-mapped-net.fabricmc.yarn-1.16.5+build.9-v2.jar:?]
at net.minecraft.client.MinecraftClient.(MinecraftClient.java:398) [minecraft-1.16.5-mapped-net.fabricmc.yarn-1.16.5+build.9-v2.jar:?]
at net.minecraft.client.main.Main.main(Main.java:149) [minecraft-1.16.5-mapped-net.fabricmc.yarn-1.16.5+build.9-v2.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226) [fabric-loader-0.11.3.jar:?]
at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:146) [fabric-loader-0.11.3.jar:?]
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28) [fabric-loader-0.11.3.jar:?]
at net.fabricmc.devlaunchinjector.Main.main(Main.java:86) [dev-launch-injector-0.2.1+build.8.jar:?]
[22:51:23] [main/INFO] (Minecraft) Setting user: Player797
---- Minecraft Crash Report ----
// Ouch. That hurt :(

Time: 13/05/2021, 22:51
Description: Initializing game

java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'firstmod'!
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:53)
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:36)
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointClient.start(EntrypointClient.java:32)
at net.minecraft.client.MinecraftClient.(MinecraftClient.java:420)
at net.minecraft.client.main.Main.main(Main.java:149)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226)
at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:146)
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)
at net.fabricmc.devlaunchinjector.Main.main(Main.java:86)
Caused by: net.minecraft.util.InvalidIdentifierException: Non [a-z0-9_.-] character in namespace of location: FirstMod:ruby
at net.minecraft.util.Identifier.(Identifier.java:34)
at net.minecraft.util.Identifier.(Identifier.java:51)
at com.adit.firstmod.registry.ModItems.registerItems(ModItems.java:16)
at com.adit.firstmod.First.onInitialize(First.java:11)
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50)
... 12 more

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head --
Thread: Render thread
Stacktrace:
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:53)
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:36)
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointClient.start(EntrypointClient.java:32)
at net.minecraft.client.MinecraftClient.(MinecraftClient.java:420)

-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.main.Main.main(Main.java:149)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226)
at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:146)
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)
at net.fabricmc.devlaunchinjector.Main.main(Main.java:86)

-- System Details --
Details:
Minecraft Version: 1.16.5
Minecraft Version ID: 1.16.5
Operating System: Mac OS X (x86_64) version 10.16
Java Version: 11.0.5, AdoptOpenJDK
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), AdoptOpenJDK
Memory: 786429952 bytes (749 MB) / 1059061760 bytes (1010 MB) up to 4294967296 bytes (4096 MB)
CPUs: 8
JVM Flags: 0 total;
Fabric Mods:
fabric: Fabric API 0.34.2+1.16
fabric-api-base: Fabric API Base 0.3.0+c88702897d
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.0.0+dc716ea17d
fabric-biome-api-v1: Fabric Biome API (v1) 3.1.1+ca58154a7d
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.5+ca58154a7d
fabric-command-api-v1: Fabric Command API (v1) 1.1.1+351679a77d
fabric-commands-v0: Fabric Commands (v0) 0.2.2+ca58154a7d
fabric-containers-v0: Fabric Containers (v0) 0.1.11+9354966b7d
fabric-content-registries-v0: Fabric Content Registries (v0) 0.2.1+ca58154a7d
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.3+ca58154a7d
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.0.6+61336ba97d
fabric-entity-events-v1: Fabric Entity Events (v1) 1.1.0+c88702897d
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.2+ca58154a7d
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.1+ca58154a7d
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.6+ca58154a7d
fabric-item-api-v1: Fabric Item API (v1) 1.2.1+ca58154a7d
fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.7+2868a2287d
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.4+9354966b7d
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.1+ca58154a7d
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.2.1+ca58154a7d
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.2+ca58154a7d
fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.3+ca58154a7d
fabric-models-v0: Fabric Models (v0) 0.3.0+bc7a746f7d
fabric-networking-api-v1: Fabric Networking API (v1) 1.0.3+e3c9d0627d
fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.8+ca58154a7d
fabric-networking-v0: Fabric Networking (v0) 0.3.2+ca58154a7d
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.9.5+c88702897d
fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.2+ca58154a7d
fabric-particles-v1: Fabric Particles (v1) 0.2.4+ca58154a7d
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.4+ca58154a7d
fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.2+2868a2287d
fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.4+ca58154a7d
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 2.3.0+2868a2287d
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.5+ca58154a7d
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.13+ca58154a7d
fabric-rendering-v0: Fabric Rendering (v0) 1.1.2+ca58154a7d
fabric-rendering-v1: Fabric Rendering (v1) 1.6.0+2868a2287d
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.6+2868a2287d
fabric-screen-api-v1: Fabric Screen API (v1) 1.0.0+c045166c7d
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.5+9354966b7d
fabric-structure-api-v1: Fabric Structure API (v1) 1.1.4+ca58154a7d
fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.1.1+ca58154a7d
fabric-textures-v0: Fabric Textures (v0) 1.0.6+ca58154a7d
fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.7+8183d3957d
fabricloader: Fabric Loader 0.11.3
firstmod: First Mod 0.0.1
java: OpenJDK 64-Bit Server VM 11
minecraft: Minecraft 1.16.5
Launched Version: Fabric
Backend library: LWJGL version 3.2.1 build 12
Backend API: NO CONTEXT
GL Caps:
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fabric'
Type: Client (map_client.txt)
CPU:
#@!@# Game crashed! Crash report saved to: #@!@# /Users/adit/Desktop/Modding/Fabric-First-Mod/run/./crash-reports/crash-2021-05-13_22.51.24-client.txt

Process finished with exit code 255

commented

net.minecraft.util.InvalidIdentifierException: Non [a-z0-9_.-] character in namespace of location: FirstMod:ruby
this is an error you introduced. Please read the stack traces to figure out what is wrong, rather than creating issues on github. If you want more dynamic help, join the discord.

commented

The crash log shows what exception was thrown:

Caused by: net.minecraft.util.InvalidIdentifierException: Non [a-z0-9_.-] character in namespace of location: FirstMod:ruby
at net.minecraft.util.Identifier.(Identifier.java:34)
at net.minecraft.util.Identifier.(Identifier.java:51)
at com.adit.firstmod.registry.ModItems.registerItems(ModItems.java:16)
at com.adit.firstmod.First.onInitialize(First.java:11)

Note that [a-z0-9_.-] is case-sensitive.