Jump to content

DavidQF555

Members
  • Posts

    102
  • Joined

  • Last visited

Everything posted by DavidQF555

  1. I have an item that I want to change the models for based on conditions, so I was trying to use overrides. However, looking into ItemRenderer.getModel() with breakpoints, there are somehow 0 overrides. I checked the BlockModel.Deserializer.deserialize() and all 3 overrides are deserialized, but I have no idea what's causing there to be no overrides when rendering.
  2. I'm not creating features. I'm working with dynamic dimensions and haven't changed any heights other than in the dimension type created within RealityCubeHelper.
  3. I'm getting the error: [14:09:53] [Worker-Main-10/WARN]: Empty height range: [0 above bottom-15 absolute] in this project. As for relevant classes, I think io.github.davidqf555.minecraft.realitycubes.common.world.ShapeChunkGenerator and RealityCubeHelper are causing issues. I think it has to do with the FlatShape's height that I created as well . I'm just unsure what the issue with the height is. Using breakpoints, I get that the error is in originates in ShapeChunkGenerator.applyBiomeDecoration() and it is caused by UniformHeight.sample()
  4. I think that is the problem. I changed to using ResourceKeys instead and haven't seen the log since.
  5. So far all I've been able to find is that ClientboundLevelChunkPacket is settings biomes to a full -1 array in the constructor, which is then causing the message client side. I traced that to ChunkGenerator.createBiomes(), where the registry does not have a plains biome which is the fixed biome, but I also checked the vanilla chunk generator and it also doesn't have a plains biome, so I'm not sure whats wrong.
  6. Any idea what line prints it? I can try debugging it but I don't even know what prints it.
  7. Here, it's still very incomplete but it should all be within the common.world folder.
  8. I'm assuming that biomes should be generated in the ChunkGenerator? I haven't added any code to generate biomes I don't think: https://pastebin.com/GYD8v4Xd
  9. I'm getting this in my console but I have no idea what prints it: [00:24:03] [Render thread/WARN]: Invalid biome data received, starting from 0: [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1] I'm not creating any biomes but I am working with dynamic dimensions. Any idea what prints this out so that I can debug?
  10. https://pastebin.com/J8EC8Za7 This is my custom chunk generator. It is just a constant generator that takes in Settings which includes a shape I want to generate. I'm working with dynamic dimensions which is why some parts might seem strange. The issue is that when I go to the dimension with that chunk generator, I am just stuck in a loading screen forever with no errors in console or anything. I tried replacing the chunk generator of the dimension to a flat, vanilla one, and that caused the loading to work, so it should be an issue with my chunk generator. I'm just not sure as to what issue it is. Edit: Nevermind, it's just an infinite loop because I used offset() wrong for blockpos.
  11. If I am not creating structures, then they are not needed? Also what are min, max, and base height and gen depth? Many of these just all seem really similar and generic to me.
  12. I was wondering if there were any guides on what each method of the chunk generator was meant to return. I'm making a fixed chunk generator with nothing random, so it should be pretty easy to create, but I don't understand what methods like getBaseColumn() are meant to return. I'm unsure what the order of the array in the NoiseColumn means.
  13. oh... Seems like a strange error for that to throw though.
  14. Yeah, its not just me either. I found out about this problem from other users of my mod that literally couldn't even make a new world because of the error.
  15. huh... let me just update my minecraft and recheck I updated to the latest recommended forge version and it still crashes with that error. Any idea what the issue on my side is?
  16. I literally just created a new world and as soon as the world ticked it crashed. towerofgod-1.16.5-1.4.0.1.jar
  17. Could I be building it incorrectly or something? I'm just running gradlew build to get the jars.
  18. [27Jul2021 21:13:19.762] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 1.8.0_51 by Oracle Corporation [27Jul2021 21:13:19.778] [main/WARN] [cpw.mods.modlauncher.SecureJarHandler/]: LEGACY JDK DETECTED, SECURED JAR HANDLING DISABLED [27Jul2021 21:13:20.328] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust [27Jul2021 21:13:20.367] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.2 Source=file:/C:/Users/david/AppData/Roaming/.minecraft/libraries/org/spongepowered/mixin/0.8.2/mixin-0.8.2.jar Service=ModLauncher Env=CLIENT [27Jul2021 21:13:22.946] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlclient' with arguments [--version, 1.16.5-forge-36.1.0, --gameDir, C:\Users\david\AppData\Roaming\.minecraft, --assetsDir, C:\Users\david\AppData\Roaming\.minecraft\assets, --uuid, c324175c270f45ea844bfb3a3165d609, --username, Teddei, --assetIndex, 1.16, --accessToken, ????????, --userType, mojang, --versionType, release] [27Jul2021 21:13:33.910] [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' [27Jul2021 21:13:35.026] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Setting user: Teddei [27Jul2021 21:13:35.519] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Backend library: LWJGL version 3.2.2 build 10 [27Jul2021 21:13:36.886] [modloading-worker-2/INFO] [net.minecraftforge.common.ForgeMod/FORGEMOD]: Forge mod loading, version 36.1.0, for MC 1.16.5 with MCP 20210115.111550 [27Jul2021 21:13:36.887] [modloading-worker-2/INFO] [net.minecraftforge.common.MinecraftForge/FORGE]: MinecraftForge v36.1.0 Initialized [27Jul2021 21:13:41.284] [Render thread/INFO] [com.mojang.text2speech.NarratorWindows/]: Narrator library for x64 successfully loaded [27Jul2021 21:13:41.370] [Render thread/INFO] [net.minecraft.resources.SimpleReloadableResourceManager/]: Reloading ResourceManager: Default, Mod Resources [27Jul2021 21:13:41.481] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Starting version check at https://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json [27Jul2021 21:13:42.900] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Found status: OUTDATED Current: 36.1.0 Target: 36.2.0 [27Jul2021 21:13:48.529] [Worker-Main-13/WARN] [net.minecraft.client.renderer.texture.AtlasTexture/]: Texture towerofgod:item/observer_item_side with size 8x8 limits mip level from 4 to 3 [27Jul2021 21:13:51.412] [Render thread/INFO] [net.minecraft.client.audio.SoundSystem/]: OpenAL initialized. [27Jul2021 21:13:51.414] [Render thread/INFO] [net.minecraft.client.audio.SoundEngine/SOUNDS]: Sound engine started [27Jul2021 21:13:52.323] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas [27Jul2021 21:13:52.800] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x128x4 minecraft:textures/atlas/signs.png-atlas [27Jul2021 21:13:52.803] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas [27Jul2021 21:13:52.813] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas [27Jul2021 21:13:52.821] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas [27Jul2021 21:13:52.824] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas [27Jul2021 21:13:52.827] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas [27Jul2021 21:13:54.514] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas [27Jul2021 21:13:54.538] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas [27Jul2021 21:13:54.543] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x128x0 minecraft:textures/atlas/mob_effects.png-atlas [27Jul2021 21:14:07.596] [Render thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498] [27Jul2021 21:14:07.597] [Render thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0] [27Jul2021 21:14:07.597] [Render thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0] [27Jul2021 21:14:07.598] [Render thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498] [27Jul2021 21:14:07.600] [Render thread/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] [27Jul2021 21:14:07.604] [Render thread/INFO] [net.minecraft.resources.SimpleReloadableResourceManager/]: Reloading ResourceManager: Default, towerofgod-1.16.5-1.4.0.1.jar, forge-1.16.5-36.1.0-universal.jar [27Jul2021 21:14:08.126] [Render thread/INFO] [net.minecraft.item.crafting.RecipeManager/]: Loaded 7 recipes [27Jul2021 21:14:08.612] [Render thread/INFO] [net.minecraft.advancements.AdvancementList/]: Loaded 927 advancements [27Jul2021 21:14:09.286] [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' [27Jul2021 21:14:09.314] [Server thread/INFO] [net.minecraft.server.integrated.IntegratedServer/]: Starting integrated minecraft server version 1.16.5 [27Jul2021 21:14:09.314] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Generating keypair [27Jul2021 21:14:09.358] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Configuration file C:\Users\david\AppData\Roaming\.minecraft\saves\New World (2)\serverconfig\forge-server.toml is not correct. Correcting [27Jul2021 21:14:09.361] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key server was corrected from null to its default, SimpleCommentedConfig:{}. [27Jul2021 21:14:09.361] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key server.removeErroringEntities was corrected from null to its default, false. [27Jul2021 21:14:09.362] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key server.removeErroringTileEntities was corrected from null to its default, false. [27Jul2021 21:14:09.362] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key server.fullBoundingBoxLadders was corrected from null to its default, false. [27Jul2021 21:14:09.363] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key server.zombieBaseSummonChance was corrected from null to its default, 0.1. [27Jul2021 21:14:09.363] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key server.zombieBabyChance was corrected from null to its default, 0.05. [27Jul2021 21:14:09.363] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key server.logCascadingWorldGeneration was corrected from null to its default, true. [27Jul2021 21:14:09.364] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key server.fixVanillaCascading was corrected from null to its default, false. [27Jul2021 21:14:09.364] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key server.dimensionUnloadQueueDelay was corrected from null to its default, 0. [27Jul2021 21:14:09.364] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key server.treatEmptyTagsAsAir was corrected from null to its default, false. [27Jul2021 21:14:09.364] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key server.fixAdvancementLoading was corrected from null to its default, true. [27Jul2021 21:14:09.669] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Unable to find spawn biome [27Jul2021 21:14:15.135] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Preparing start region for dimension minecraft:overworld [27Jul2021 21:14:15.190] [Render thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 7% [27Jul2021 21:14:15.690] [Render thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 9% [27Jul2021 21:14:16.157] [Render thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 12% [27Jul2021 21:14:16.690] [Render thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 18% [27Jul2021 21:14:17.190] [Render thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 18% [27Jul2021 21:14:17.672] [Render thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 24% [27Jul2021 21:14:18.172] [Render thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 30% [27Jul2021 21:14:18.689] [Render thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 33% [27Jul2021 21:14:19.189] [Render thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 38% [27Jul2021 21:14:19.689] [Render thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 46% [27Jul2021 21:14:20.201] [Render thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 48% [27Jul2021 21:14:20.673] [Render thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 48% [27Jul2021 21:14:21.172] [Render thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 62% [27Jul2021 21:14:21.671] [Render thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 62% [27Jul2021 21:14:22.172] [Render thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 70% [27Jul2021 21:14:23.038] [Render thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 70% [27Jul2021 21:14:23.172] [Render thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 84% [27Jul2021 21:14:23.672] [Render thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 91% [27Jul2021 21:14:24.255] [Render thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 96% [27Jul2021 21:14:24.255] [Render thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Time elapsed: 9099 ms [27Jul2021 21:14:24.657] [Server thread/INFO] [net.minecraft.server.integrated.IntegratedServer/]: Changing view distance to 11, from 10 [27Jul2021 21:14:26.519] [Netty Local Client IO #0/INFO] [net.minecraftforge.fml.network.NetworkHooks/]: Connected to a modded server. [27Jul2021 21:14:26.550] [Server thread/INFO] [net.minecraftforge.common.AdvancementLoadFix/]: Using new advancement loading for net.minecraft.advancements.PlayerAdvancements@61f48287 [27Jul2021 21:14:26.568] [Server thread/INFO] [net.minecraft.server.management.PlayerList/]: Teddei[local:E:122b2624] logged in with entity id 267 at (-29.5, 63.0, -45.5) [27Jul2021 21:14:26.603] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Teddei joined the game [27Jul2021 21:14:26.992] [Server thread/INFO] [net.minecraft.server.integrated.IntegratedServer/]: Saving and pausing game... [27Jul2021 21:14:27.007] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld [27Jul2021 21:14:27.218] [Render thread/INFO] [net.minecraft.advancements.AdvancementList/]: Loaded 0 advancements [27Jul2021 21:14:28.393] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether [27Jul2021 21:14:28.478] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end [27Jul2021 21:14:29.732] [Server thread/FATAL] [net.minecraftforge.common.ForgeMod/]: Preparing crash report with UUID bb5d36c3-faeb-4124-922a-e0a96f29f7c0 [27Jul2021 21:14:29.737] [Server thread/ERROR] [net.minecraft.server.MinecraftServer/]: Encountered an unexpected exception net.minecraft.crash.ReportedException: Exception ticking world at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:855) ~[?:?] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:787) ~[?:?] at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:78) ~[?:?] at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:642) [?:?] at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:232) [?:?] at net.minecraft.server.MinecraftServer$$Lambda$5184/1797753623.run(Unknown Source) [?:?] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51] Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.github.davidqf555.minecraft.towerofgod.common.world.FloorDimensionsHelper at io.github.davidqf555.minecraft.towerofgod.common.entities.IShinsuUser.initializeShinsuStats(IShinsuUser.java:48) ~[?:1.16.5-1.4.0.1] at io.github.davidqf555.minecraft.towerofgod.common.entities.BasicShinsuUserEntity.func_213386_a(BasicShinsuUserEntity.java:41) ~[?:1.16.5-1.4.0.1] at io.github.davidqf555.minecraft.towerofgod.common.entities.RegularEntity.func_213386_a(RegularEntity.java:52) ~[?:1.16.5-1.4.0.1] at net.minecraft.world.spawner.WorldEntitySpawner.func_234966_a_(WorldEntitySpawner.java:175) ~[?:?] at net.minecraft.world.spawner.WorldEntitySpawner.func_234967_a_(WorldEntitySpawner.java:124) ~[?:?] at net.minecraft.world.spawner.WorldEntitySpawner.func_234979_a_(WorldEntitySpawner.java:110) ~[?:?] at net.minecraft.world.server.ServerChunkProvider.func_241099_a_(ServerChunkProvider.java:359) ~[?:?] at net.minecraft.world.server.ServerChunkProvider$$Lambda$5550/2043675613.accept(Unknown Source) ~[?:?] at java.util.ArrayList.forEach(ArrayList.java:1249) ~[?:1.8.0_51] at net.minecraft.world.server.ServerChunkProvider.func_217220_m(ServerChunkProvider.java:346) ~[?:?] at net.minecraft.world.server.ServerChunkProvider.func_217207_a(ServerChunkProvider.java:321) ~[?:?] at net.minecraft.world.server.ServerWorld.func_72835_b(ServerWorld.java:333) ~[?:?] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:851) ~[?:?] ... 6 more
  19. I'm getting this error: [27Jul2021 21:14:29.737] [Server thread/ERROR] [net.minecraft.server.MinecraftServer/]: Encountered an unexpected exception net.minecraft.crash.ReportedException: Exception ticking world at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:855) ~[?:?] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:787) ~[?:?] at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:78) ~[?:?] at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:642) [?:?] at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:232) [?:?] at net.minecraft.server.MinecraftServer$$Lambda$5184/1797753623.run(Unknown Source) [?:?] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51] Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.github.davidqf555.minecraft.towerofgod.common.world.FloorDimensionsHelper at io.github.davidqf555.minecraft.towerofgod.common.entities.IShinsuUser.initializeShinsuStats(IShinsuUser.java:48) ~[?:1.16.5-1.4.0.1] at io.github.davidqf555.minecraft.towerofgod.common.entities.BasicShinsuUserEntity.func_213386_a(BasicShinsuUserEntity.java:41) ~[?:1.16.5-1.4.0.1] at io.github.davidqf555.minecraft.towerofgod.common.entities.RegularEntity.func_213386_a(RegularEntity.java:52) ~[?:1.16.5-1.4.0.1] at net.minecraft.world.spawner.WorldEntitySpawner.func_234966_a_(WorldEntitySpawner.java:175) ~[?:?] at net.minecraft.world.spawner.WorldEntitySpawner.func_234967_a_(WorldEntitySpawner.java:124) ~[?:?] at net.minecraft.world.spawner.WorldEntitySpawner.func_234979_a_(WorldEntitySpawner.java:110) ~[?:?] at net.minecraft.world.server.ServerChunkProvider.func_241099_a_(ServerChunkProvider.java:359) ~[?:?] at net.minecraft.world.server.ServerChunkProvider$$Lambda$5550/2043675613.accept(Unknown Source) ~[?:?] at java.util.ArrayList.forEach(ArrayList.java:1249) ~[?:1.8.0_51] at net.minecraft.world.server.ServerChunkProvider.func_217220_m(ServerChunkProvider.java:346) ~[?:?] at net.minecraft.world.server.ServerChunkProvider.func_217207_a(ServerChunkProvider.java:321) ~[?:?] at net.minecraft.world.server.ServerWorld.func_72835_b(ServerWorld.java:333) ~[?:?] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:851) ~[?:?] ... 6 more I don't think I modified anything class path related from the MDK, so I'm not sure where the error comes from. It happens when the world ticks and calls a static method of a helper class but only in the built jar and not in the Dev enviroment. This is the full mod.
  20. I'm trying to create a mod that allows the player/entities to equip a tool and use the tool whenever whatever they're doing seems like it needs the tool. For example, I want them to be able to equip a pickaxe and whenever they're mining without a tool, the blocks break as fast as with the pickaxe and fortune or whatever is applied. Of course I'm trying to make this work for multiple tools at the same time to make it a bit more useful. I was able to cover breaking and harvesting blocks with the PlayerEvent.BreakSpeed and PlayerEvent.HarvestCheck events, but I realized that this was not very reliable when trying to modify attack damage and with possible other modded items. I want the effects of the tool to also carry over, like with sweeping with swords and enchantments. Unless I code all the enchantments and other effects manually, I don't see how to do this. Is there any way I could basically simulate the player using a different item to attack or break blocks that would support any item?
  21. yeah that works, thanks
  22. I mean an item that tints the texture under certain conditions like dyed leather armor but I'm trying to use a block model for an item. IItemColor usually works for normal item models but it isn't working for my item with a block model. Is there some solution to this or should I be doing something else?
  23. I wanted to create a colored Item based on the item's NBT tag data, so I used an IItemColor, which worked well. However, I changed the item's model to that of a block model: { "parent": "block/cube_all", "textures": { "all": "modid:item/custom_item" } } Now, the item is not being colored. How can I color the item model with the NBT tag data? I'm storing DyeColor IDs in the NBT tag to read in the IItemColor instance.
  24. I found that looking at the JSON format in this works pretty well, but I guess both codecs and that wiki uses the JSON format so makes sense.
  25. I am working on a mod for a custom dimension and I am trying to change the DimensionSettings, but I have no idea what does what because everything is obfuscated. Specifically, the constructor of NoiseSettings and the constructor in ScalingSettings. Is there any way for me to find out about this? Theres no way I can figure out all the obfuscated fields because everything in the class is also obfuscated and I can't see where its being used without just being confused.
×
×
  • Create New...

Important Information

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