Jump to content

FenrisFox86

Members
  • Posts

    28
  • Joined

  • Last visited

Converted

  • Personal Text
    Just Donuts!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

FenrisFox86's Achievements

Tree Puncher

Tree Puncher (2/8)

2

Reputation

  1. After rewriting the fromNetwork method, it now works. I must have forgotten to update it when I changed the recipe type Structure.
  2. Here's the server: [07Aug2021 17:23:38.617] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.2.2, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge] [07Aug2021 17:23:38.622] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 1.8.0_51 by Oracle Corporation [07Aug2021 17:23:38.649] [main/WARN] [cpw.mods.modlauncher.SecureJarHandler/]: LEGACY JDK DETECTED, SECURED JAR HANDLING DISABLED [07Aug2021 17:23:39.375] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust [07Aug2021 17:23:39.423] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.2 Source=file:/C:/Users/jonas/Documents/001_SERVERS/RpGuild_3/libraries/org/spongepowered/mixin/0.8.2/mixin-0.8.2.jar Service=ModLauncher Env=SERVER [07Aug2021 17:23:41.638] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlserver' with arguments [--gameDir, .] [07Aug2021 17:23:54.065] [modloading-worker-2/INFO] [net.minecraftforge.common.ForgeMod/FORGEMOD]: Forge mod loading, version 36.2.2, for MC 1.16.5 with MCP 20210115.111550 [07Aug2021 17:23:54.069] [modloading-worker-2/INFO] [net.minecraftforge.common.MinecraftForge/FORGE]: MinecraftForge v36.2.2 Initialized [07Aug2021 17:23:56.686] [main/WARN] [net.minecraftforge.registries.ForgeRegistry/REGISTRIES]: Registry minecraft:recipe_serializer: The object com.FenrisFox86.fenris_rpg.common.recipes.AbstractConversionRecipe$Serializer@5a95090a has been registered twice for the same name fenris_rpg:crushing. [07Aug2021 17:23:56.753] [main/WARN] [net.minecraftforge.registries.ForgeRegistry/REGISTRIES]: Registry minecraft:recipe_serializer: The object com.FenrisFox86.fenris_rpg.common.recipes.AbstractConversionRecipe$Serializer@5a95090a has been registered twice for the same name fenris_rpg:crushing. [07Aug2021 17:23:58.062] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Starting version check at https://files.minecraftforge.net/net/minecraftforge/forge/promotions_slim.json [07Aug2021 17:23:59.950] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Found status: AHEAD Current: 36.2.2 Target: null [07Aug2021 17:24:00.917] [main/INFO] [com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService/]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' [07Aug2021 17:24:02.214] [main/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498] [07Aug2021 17:24:02.366] [main/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0] [07Aug2021 17:24:02.430] [main/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0] [07Aug2021 17:24:02.465] [main/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498] [07Aug2021 17:24:02.500] [main/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0] [07Aug2021 17:24:02.528] [main/INFO] [net.minecraft.resources.SimpleReloadableResourceManager/]: Reloading ResourceManager: Default, forge-1.16.5-36.2.2-universal.jar, fenris-rpg-1.16.5-1.1.7.jar [07Aug2021 17:24:03.808] [Worker-Main-10/ERROR] [net.minecraft.item.crafting.RecipeManager/]: Parsing error loading recipe fenris_rpg:bronze_ingot_from_nugget com.google.gson.JsonSyntaxException: Unknown item tag 'forge:nuggets/bronze' at net.minecraft.item.crafting.Ingredient.func_199803_a(Ingredient.java:223) ~[?:?] at net.minecraftforge.common.crafting.VanillaIngredientSerializer.parse(VanillaIngredientSerializer.java:41) ~[?:?] at net.minecraftforge.common.crafting.CraftingHelper.getIngredient(CraftingHelper.java:155) ~[?:?] at net.minecraft.item.crafting.Ingredient.func_199802_a(Ingredient.java:189) ~[?:?] at net.minecraft.item.crafting.ShapedRecipe.func_192408_a(ShapedRecipe.java:252) ~[?:?] at net.minecraft.item.crafting.ShapedRecipe.access$000(ShapedRecipe.java:24) ~[?:?] at net.minecraft.item.crafting.ShapedRecipe$Serializer.func_199425_a_(ShapedRecipe.java:276) ~[?:?] at net.minecraft.item.crafting.ShapedRecipe$Serializer.func_199425_a_(ShapedRecipe.java:272) ~[?:?] at net.minecraft.item.crafting.RecipeManager.func_215377_a(RecipeManager.java:141) ~[?:?] at net.minecraft.item.crafting.RecipeManager.func_212853_a_(RecipeManager.java:61) [?:?] at net.minecraft.item.crafting.RecipeManager.func_212853_a_(RecipeManager.java:38) [?:?] at net.minecraft.client.resources.ReloadListener.func_215269_a(SourceFile:13) [?:?] at net.minecraft.client.resources.ReloadListener$$Lambda$4000/86796021.accept(Unknown Source) [?:?] at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:656) [?:1.8.0_51] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:632) [?:1.8.0_51] at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) [?:1.8.0_51] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) [?:?] at net.minecraft.resources.AsyncReloader$$Lambda$4033/2110088465.run(Unknown Source) [?:?] at net.minecraft.server.Main$$Lambda$3348/1225909483.execute(Unknown Source) [?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) [?:?] at net.minecraft.resources.AsyncReloader$$Lambda$3993/1113045110.execute(Unknown Source) [?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:529) [?:1.8.0_51] at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:653) [?:1.8.0_51] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:632) [?:1.8.0_51] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) [?:1.8.0_51] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1587) [?:1.8.0_51] at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1574) [?:1.8.0_51] at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_51] at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_51] at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689) [?:1.8.0_51] at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) [?:1.8.0_51] [07Aug2021 17:24:04.059] [Worker-Main-10/ERROR] [net.minecraft.item.crafting.RecipeManager/]: Parsing error loading recipe fenris_rpg:slashing_iron com.google.gson.JsonSyntaxException: Invalid or unsupported recipe type 'fenris_rpg:slashing' at net.minecraft.item.crafting.RecipeManager.func_241449_a_(RecipeManager.java:140) ~[?:?] at net.minecraft.item.crafting.RecipeManager$$Lambda$4063/1809017477.get(Unknown Source) ~[?:?] at java.util.Optional.orElseThrow(Optional.java:290) ~[?:1.8.0_51] at net.minecraft.item.crafting.RecipeManager.func_215377_a(RecipeManager.java:139) ~[?:?] at net.minecraft.item.crafting.RecipeManager.func_212853_a_(RecipeManager.java:61) [?:?] at net.minecraft.item.crafting.RecipeManager.func_212853_a_(RecipeManager.java:38) [?:?] at net.minecraft.client.resources.ReloadListener.func_215269_a(SourceFile:13) [?:?] at net.minecraft.client.resources.ReloadListener$$Lambda$4000/86796021.accept(Unknown Source) [?:?] at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:656) [?:1.8.0_51] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:632) [?:1.8.0_51] at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) [?:1.8.0_51] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) [?:?] at net.minecraft.resources.AsyncReloader$$Lambda$4033/2110088465.run(Unknown Source) [?:?] at net.minecraft.server.Main$$Lambda$3348/1225909483.execute(Unknown Source) [?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) [?:?] at net.minecraft.resources.AsyncReloader$$Lambda$3993/1113045110.execute(Unknown Source) [?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:529) [?:1.8.0_51] at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:653) [?:1.8.0_51] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:632) [?:1.8.0_51] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) [?:1.8.0_51] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1587) [?:1.8.0_51] at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1574) [?:1.8.0_51] at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_51] at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_51] at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689) [?:1.8.0_51] at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) [?:1.8.0_51] [07Aug2021 17:24:04.224] [Worker-Main-10/INFO] [net.minecraft.item.crafting.RecipeManager/]: Loaded 8 recipes [07Aug2021 17:24:05.089] [Worker-Main-10/INFO] [net.minecraft.advancements.AdvancementList/]: Loaded 927 advancements [07Aug2021 17:24:07.485] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: Starting minecraft server version 1.16.5 [07Aug2021 17:24:07.487] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: Loading properties [07Aug2021 17:24:07.499] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: Default game type: SURVIVAL [07Aug2021 17:24:07.501] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Generating keypair [07Aug2021 17:24:07.560] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: Starting Minecraft server on *:25565 [07Aug2021 17:24:07.568] [Server thread/INFO] [net.minecraft.network.NetworkSystem/]: Using default channel type [07Aug2021 17:24:07.823] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: Preparing level "world" [07Aug2021 17:24:07.981] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Preparing start region for dimension minecraft:overworld [07Aug2021 17:24:09.125] [Server thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 0% [07Aug2021 17:24:09.126] [Server thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 0% [07Aug2021 17:24:09.126] [Server thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 0% [07Aug2021 17:24:10.703] [Worker-Main-9/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 83% [07Aug2021 17:24:10.706] [Worker-Main-8/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 83% [07Aug2021 17:24:10.707] [Worker-Main-8/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 83% [07Aug2021 17:24:10.988] [Worker-Main-8/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 83% [07Aug2021 17:24:11.638] [Worker-Main-9/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 83% [07Aug2021 17:24:11.987] [Worker-Main-6/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 84% [07Aug2021 17:24:12.483] [Worker-Main-7/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 92% [07Aug2021 17:24:12.757] [Server thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Time elapsed: 4773 ms [07Aug2021 17:24:12.837] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: Done (4.955s)! For help, type "help" [07Aug2021 17:24:32.237] [User Authenticator #1/INFO] [net.minecraft.network.login.ServerLoginNetHandler/]: UUID of player Ambjorg is 72a4c192-8f7c-4469-97e3-62e1c14840ec [07Aug2021 17:24:33.528] [Server thread/INFO] [net.minecraftforge.common.AdvancementLoadFix/]: Using new advancement loading for net.minecraft.advancements.PlayerAdvancements@39044e6c [07Aug2021 17:24:33.545] [Server thread/INFO] [net.minecraft.server.management.PlayerList/]: Ambjorg[/127.0.0.1:63958] logged in with entity id 144 at (-55.5, 76.0, -188.5) [07Aug2021 17:24:33.569] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: Ambjorg joined the game [07Aug2021 17:24:34.122] [Server thread/INFO] [net.minecraft.network.play.ServerPlayNetHandler/]: Ambjorg lost connection: Disconnected [07Aug2021 17:24:34.124] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: Ambjorg left the game [07Aug2021 17:26:16.654] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: Stopping the server [07Aug2021 17:26:16.702] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Stopping server [07Aug2021 17:26:16.703] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving players [07Aug2021 17:26:16.703] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving worlds [07Aug2021 17:26:16.703] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld [07Aug2021 17:26:17.367] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (world): All chunks are saved [07Aug2021 17:26:17.367] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether [07Aug2021 17:26:17.368] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved [07Aug2021 17:26:17.369] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end [07Aug2021 17:26:17.370] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved [07Aug2021 17:26:17.387] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (world): All chunks are saved [07Aug2021 17:26:17.397] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved [07Aug2021 17:26:17.397] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved And that's the client: [07Aug2021 17:23:24.910] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, Ambjorg, --version, 1.16.5-forge-36.2.0, --gameDir, C:\Users\jonas\Documents\002_CLIENTS\1.16.5, --assetsDir, C:\Users\jonas\AppData\Roaming\.minecraft\assets, --assetIndex, 1.16, --uuid, 72a4c1928f7c446997e362e1c14840ec, --accessToken, ????????, --userType, mojang, --versionType, release, --launchTarget, fmlclient, --fml.forgeVersion, 36.2.0, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20210115.111550] [07Aug2021 17:23:24.913] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 1.8.0_51 by Oracle Corporation [07Aug2021 17:23:24.923] [main/WARN] [cpw.mods.modlauncher.SecureJarHandler/]: LEGACY JDK DETECTED, SECURED JAR HANDLING DISABLED [07Aug2021 17:23:25.104] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust [07Aug2021 17:23:25.133] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.2 Source=file:/C:/Users/jonas/AppData/Roaming/.minecraft/libraries/org/spongepowered/mixin/0.8.2/mixin-0.8.2.jar Service=ModLauncher Env=CLIENT [07Aug2021 17:23:26.598] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlclient' with arguments [--version, 1.16.5-forge-36.2.0, --gameDir, C:\Users\jonas\Documents\002_CLIENTS\1.16.5, --assetsDir, C:\Users\jonas\AppData\Roaming\.minecraft\assets, --uuid, 72a4c1928f7c446997e362e1c14840ec, --username, Ambjorg, --assetIndex, 1.16, --accessToken, ????????, --userType, mojang, --versionType, release] [07Aug2021 17:23:31.961] [Render thread/INFO] [com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService/]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' [07Aug2021 17:23:32.819] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Setting user: Ambjorg [07Aug2021 17:23:32.962] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Backend library: LWJGL version 3.2.2 build 10 [07Aug2021 17:23:47.884] [modloading-worker-3/INFO] [net.minecraftforge.common.ForgeMod/FORGEMOD]: Forge mod loading, version 36.2.0, for MC 1.16.5 with MCP 20210115.111550 [07Aug2021 17:23:47.885] [modloading-worker-3/INFO] [net.minecraftforge.common.MinecraftForge/FORGE]: MinecraftForge v36.2.0 Initialized [07Aug2021 17:23:50.330] [Render thread/WARN] [net.minecraftforge.registries.ForgeRegistry/REGISTRIES]: Registry minecraft:recipe_serializer: The object com.FenrisFox86.fenris_rpg.common.recipes.AbstractConversionRecipe$Serializer@41a374be has been registered twice for the same name fenris_rpg:crushing. [07Aug2021 17:23:50.331] [Render thread/WARN] [net.minecraftforge.registries.ForgeRegistry/REGISTRIES]: Registry minecraft:recipe_serializer: The object com.FenrisFox86.fenris_rpg.common.recipes.AbstractConversionRecipe$Serializer@41a374be has been registered twice for the same name fenris_rpg:crushing. [07Aug2021 17:23:53.816] [Render thread/INFO] [com.mojang.text2speech.NarratorWindows/]: Narrator library for x64 successfully loaded [07Aug2021 17:23:54.070] [Render thread/INFO] [net.minecraft.resources.SimpleReloadableResourceManager/]: Reloading ResourceManager: Default, Mod Resources [07Aug2021 17:23:54.329] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Starting version check at https://files.minecraftforge.net/net/minecraftforge/forge/promotions_slim.json [07Aug2021 17:23:54.867] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Found status: UP_TO_DATE Current: 36.2.0 Target: null [07Aug2021 17:23:55.059] [Worker-Main-9/WARN] [net.minecraft.client.audio.SoundHandler/]: File fenris_rpg:sounds/block/crusher_crush.ogg does not exist, cannot add it to event fenris_rpg:crusher_crush [07Aug2021 17:24:05.736] [Render thread/WARN] [net.minecraft.client.audio.SoundEngine/]: Missing sound for event: fenris_rpg:blocks/crusher_crush [07Aug2021 17:24:05.994] [Render thread/INFO] [net.minecraft.client.audio.SoundSystem/]: OpenAL initialized. [07Aug2021 17:24:05.996] [Render thread/INFO] [net.minecraft.client.audio.SoundEngine/SOUNDS]: Sound engine started [07Aug2021 17:24:06.277] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas [07Aug2021 17:24:06.307] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x128x4 minecraft:textures/atlas/signs.png-atlas [07Aug2021 17:24:06.308] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas [07Aug2021 17:24:06.309] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas [07Aug2021 17:24:06.309] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas [07Aug2021 17:24:06.311] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas [07Aug2021 17:24:06.311] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas [07Aug2021 17:24:07.211] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas [07Aug2021 17:24:07.213] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas [07Aug2021 17:24:07.214] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas [07Aug2021 17:24:31.227] [Render thread/INFO] [net.minecraft.client.gui.screen.ConnectingScreen/]: Connecting to localhost, 25565 [07Aug2021 17:24:33.505] [Netty Client IO #1/INFO] [net.minecraftforge.fml.network.NetworkHooks/]: Connected to a modded server. [07Aug2021 17:24:34.401] [Render thread/INFO] [com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService/]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' [07Aug2021 17:24:34.453] [Render thread/FATAL] [net.minecraft.util.concurrent.ThreadTaskExecutor/]: Error executing task on Client java.util.NoSuchElementException: packet_handler at io.netty.channel.DefaultChannelPipeline.getContextOrDie(DefaultChannelPipeline.java:1119) ~[netty-all-4.1.25.Final.jar:4.1.25.Final] at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:260) ~[netty-all-4.1.25.Final.jar:4.1.25.Final] at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:249) ~[netty-all-4.1.25.Final.jar:4.1.25.Final] at net.minecraftforge.network.NetworkFilters.lambda$injectIfNecessary$1(NetworkFilters.java:48) ~[?:?] at net.minecraftforge.network.NetworkFilters$$Lambda$4615/46767245.accept(Unknown Source) ~[?:?] at com.google.common.collect.RegularImmutableMap.forEach(RegularImmutableMap.java:146) ~[guava-21.0.jar:?] at net.minecraftforge.network.NetworkFilters.injectIfNecessary(NetworkFilters.java:44) ~[?:?] at net.minecraftforge.fml.network.NetworkHooks.sendMCRegistryPackets(NetworkHooks.java:121) ~[?:?] at net.minecraft.client.network.play.ClientPlayNetHandler.func_147282_a(ClientPlayNetHandler.java:399) ~[?:?] at net.minecraft.network.play.server.SJoinGamePacket.func_148833_a(SourceFile:110) ~[?:?] at net.minecraft.network.play.server.SJoinGamePacket.func_148833_a(SourceFile:18) ~[?:?] at net.minecraft.network.PacketThreadUtil.func_225383_a(SourceFile:21) ~[?:?] at net.minecraft.network.PacketThreadUtil$$Lambda$4516/309282572.run(Unknown Source) ~[?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(SourceFile:144) [?:?] at net.minecraft.util.concurrent.RecursiveEventLoop.func_213166_h(SourceFile:23) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(SourceFile:118) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213160_bf(SourceFile:103) [?:?] at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:947) [?:?] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607) [?:?] at net.minecraft.client.main.Main.main(Main.java:184) [?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.5-36.2.0.jar:36.2] at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$437/1472036907.call(Unknown Source) [forge-1.16.5-36.2.0.jar:36.2] at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] [07Aug2021 17:24:55.575] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Stopping!
  3. I've been working on my Mod for quite some time now and lately, as I tried to add it to a Forge Server. It seems to work on the server and the client separately but if I try to join the server, It says "root tag must be a named compound tag". I know as much as the mistake is on client side, so here's the error message on the client: [07Aug2021 17:00:43.755] [Render thread/FATAL] [net.minecraft.util.concurrent.ThreadTaskExecutor/]: Error executing task on Client java.util.NoSuchElementException: packet_handler at io.netty.channel.DefaultChannelPipeline.getContextOrDie(DefaultChannelPipeline.java:1119) ~[netty-all-4.1.25.Final.jar:4.1.25.Final] at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:260) ~[netty-all-4.1.25.Final.jar:4.1.25.Final] at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:249) ~[netty-all-4.1.25.Final.jar:4.1.25.Final] at net.minecraftforge.network.NetworkFilters.lambda$injectIfNecessary$1(NetworkFilters.java:48) ~[?:?] at net.minecraftforge.network.NetworkFilters$$Lambda$4593/1929955360.accept(Unknown Source) ~[?:?] at com.google.common.collect.RegularImmutableMap.forEach(RegularImmutableMap.java:146) ~[guava-21.0.jar:?] at net.minecraftforge.network.NetworkFilters.injectIfNecessary(NetworkFilters.java:44) ~[?:?] at net.minecraftforge.fml.network.NetworkHooks.sendMCRegistryPackets(NetworkHooks.java:121) ~[?:?] at net.minecraft.client.network.play.ClientPlayNetHandler.func_147282_a(ClientPlayNetHandler.java:399) ~[?:?] at net.minecraft.network.play.server.SJoinGamePacket.func_148833_a(SourceFile:110) ~[?:?] at net.minecraft.network.play.server.SJoinGamePacket.func_148833_a(SourceFile:18) ~[?:?] at net.minecraft.network.PacketThreadUtil.func_225383_a(SourceFile:21) ~[?:?] at net.minecraft.network.PacketThreadUtil$$Lambda$4495/1138844038.run(Unknown Source) ~[?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(SourceFile:144) [?:?] at net.minecraft.util.concurrent.RecursiveEventLoop.func_213166_h(SourceFile:23) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(SourceFile:118) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213160_bf(SourceFile:103) [?:?] at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:947) [?:?] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607) [?:?] at net.minecraft.client.main.Main.main(Main.java:184) [?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.5-36.2.0.jar:36.2] at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$437/1472036907.call(Unknown Source) [forge-1.16.5-36.2.0.jar:36.2] at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] Probably I've made a mistake in Client-Server communication but I don't have a Clue where. It'd be very helpful if you could find any more informations in the log or give me a clue about where such mistakes are commonly made. If you need code Snippets, here's my github repository: https://github.com/FenrisFox/FenrisRPG
  4. To get an Item's burn time, call ForgeHooks.getBurnTime(stack) You could check if an item has burn time and if it doesn't, you can prevent it from being placed in the Fuel slot. I recommend checking the AbstractFurnaceTileEntity class fore more information. Also, creating Recipes is pretty difficult to explain in a short text. I recommend you taking a closer look at abstractCookingRecipe as well as CookingRecipe since they work pretty much the way you need. Maybe it'll even be possible to simply create another instance of abstractCookingRecipe and use it in another instance of AbstractFurnaceBlock.
  5. EntityTypeTags uses bind() to create new tags. I don't find any way to get a tag out of my previously created json file.
  6. So I'm creating a silver Set that is supposed to deal more damage to undead. I want to do this using an entity Tag so that modded undead entities also work. So I created a json in data/forge/entities/undead.json: { "replace": false, "values": [ "minecraft:zombie", "minecraft:skeleton", "minecraft:wither_skeleton", "minecraft:husk", "minecraft:stray" ] } Here's the Code that should check if the Target is undead. (Don't mind that my Event's called differently, it does nearly the same as LivingHurtEvent) @Mod.EventBusSubscriber public class ItemTierHandlers { @SubscribeEvent public static void itemHitTierCheck(ItemDamageEvent event) { if (event.getItem().getItem() instanceof TieredItem) { IItemTier tier = ((TieredItem) event.getItem().getItem()).getTier(); if (tier == ModItemTier.SILVER) { //Check for Tag and deal additional damage } } } } Now how do I use the Tag that I created above?
  7. Cy4 made a good video on this topic: I hope this helps you.
  8. Ah thanks! That's even more useful simple customisation options than I expected.
  9. I'm creating a Mod that contains a Lot of new Enchantments, some of which are treasure enchantments. And as everybody knows, Villagers also trade with treasure enchants and that is one of the fastest ways to get your hands on a mending book. Since enchantment generation in the Enchanting Table is automatically done by the game without having to create something like a "enchantment recipe", I started asking myself if my Enchantments are also automatically applied to dungeon loot, Villager Trades and Fishing outputs. That would save me a lot of work.
  10. I now solved it using Attribute Modifiers as Luis_ST suggested. this is my implementation: @SubscribeEvent public static void onLivingArmorEquip(LivingEquipmentChangeEvent event) { if (!event.getEntityLiving().getEntityWorld().isRemote()) { LivingEntity living = event.getEntityLiving(); living.getAttributeManager().createInstanceIfAbsent(Attributes.MOVEMENT_SPEED); ModifiableAttributeInstance attribute = living.getAttribute(Attributes.MOVEMENT_SPEED); for (AttributeModifier modifier : attribute.getModifierListCopy()) { if (modifier.getName().equals("dynamo_speed")) { attribute.removeModifier(modifier); } } for (ItemStack stack : living.getArmorInventoryList()) { if (stack.getItem() instanceof DynamoCoreArmorItem) { attribute.applyNonPersistentModifier( new AttributeModifier("dynamo_speed", 0.2f, AttributeModifier.Operation.MULTIPLY_TOTAL)); } } } } The PlayerEntity#abilities method could've also interferred with other mods so I'm glad that it worked this way.
  11. @OnlyIn(Dist.CLIENT) @SubscribeEvent public static void onPlayerTick(TickEvent.PlayerTickEvent event) { if (event.side == LogicalSide.CLIENT) { event.player.abilities.setWalkSpeed(1f); event.player.sendPlayerAbilities(); } } I already tried this. Just as in the code shown in my second example, the setWalkSpeed method call doesn't work when I add this line of code.
  12. Uhmm... Sorry, but I can't find any method like that. Am I just bein' stupid right now?
  13. I'm trying to make a set of armor that makes the player 50% faster for every armor piece they're wearing. But first I needed to be able to change the player's speed in general. So I made a simple event handler that speeds the player up every tick: @OnlyIn(Dist.CLIENT) @SubscribeEvent public static void onPlayerTick(TickEvent.PlayerTickEvent event) { if (event.side == LogicalSide.CLIENT) { event.player.abilities.setWalkSpeed(1f); } } This works and it gives the player an insane speed boost without any conditions. What's confusing me is that PlayerEntity#abilities#setWalkSpeed() doesn't work anymore as soon as I add any logic to the handler. It doesn't even need to influence the method call. here's an example that doesn't work anymore: @OnlyIn(Dist.CLIENT) @SubscribeEvent public static void onPlayerTick(TickEvent.PlayerTickEvent event) { if (event.side == LogicalSide.CLIENT) { PlayerEntity player = (PlayerEntity) event.player; float walk_speed = player.abilities.getWalkSpeed(); float speed_bonus = 0.1f; for (ItemStack stack : player.getArmorInventoryList()) { if (stack.getItem() instanceof DynamoCoreArmorItem) { speed_bonus += 0.05f; } } System.out.println(speed_bonus); event.player.abilities.setWalkSpeed(1f); } } As you see all I did was add some code before calling PlayerEntity#abilities#setWalkSpeed(). The call itsself is exactly the same as before. But for some reason the second example doesn't work. There are no errors. Can anyone explain this to me?
  14. Solved: Thank you for your patient help. It works now and believe me, the satisfaction of having a diamond pop out of a grass block after hours of making stupid mistakes is way greater than the satisfaction of just finding a Diamond in survival . This is the final class for registry: package com.FenrisFox86.fenriscore.common.events; import ... @Mod.EventBusSubscriber(modid = FenrisCore.MOD_ID, bus = Mod.EventBusSubscriber.Bus.MOD) public class LootModifierEvents { @SubscribeEvent public static void registerModifierSerializers(@Nonnull final RegistryEvent.Register<GlobalLootModifierSerializer<?>> event) { System.out.println("registered"); event.getRegistry().register(new CrusherModifier.Serializer().setRegistryName( new ResourceLocation(FenrisCore.MOD_ID,"crush_drop"))); } }
  15. So I moved that to a new class that is registered to the event bus. The error stays the same. package com.FenrisFox86.fenriscore.common.events; import ... @Mod.EventBusSubscriber public class LootModifierEvents { @SubscribeEvent public void registerModifierSerializers(@Nonnull final RegistryEvent.Register<GlobalLootModifierSerializer<?>> event) { event.getRegistry().register(new CrusherModifier.Serializer().setRegistryName( new ResourceLocation(FenrisCore.MOD_ID,"crush_drop"))); } }
×
×
  • Create New...

Important Information

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