Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

DavidQF555

Members
  • Posts

    88
  • Joined

  • Last visited

Everything posted by DavidQF555

  1. I realized the error but I'm not sure how I'm supposed to solve it. Some vanilla feature in the biome I'm using in my dimensions uses an absolute upper bound but relative lower bound. So when I made the min built height of my dimension greater, the lower bound increased so much that it became higher than the upper bound. I'm not sure how to fix this other than change my dimension min height, but I was trying to center my dimension at about surface level so that the correct features were carved.
  2. I'm looking into UniformHeight because that seems to be the place where the message is logged. I'm not sure how the min > max thought because just finding usages of UniformHeight.of() shows that all the heights created seem to be constant. I'm not sure what's going on.
  3. Logs. For the first case, I'm pretty sure. For the second case, it is a minecraft texture, not a modded one so I hope so.
  4. There are a lot of instances of this happening when I ported my mod from 1.16.5 to 1.17.1. One specific instance is this item. The textures somehow cannot be found and it is displayed with the purple and black squares. I'm also getting this error: [20:25:45] [Render thread/ERROR]: Error rendering overlay 'Shinsu Meters' net.minecraft.ReportedException: Registering texture at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:110) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?] at net.minecraft.client.renderer.texture.TextureManager.register(TextureManager.java:66) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?] at net.minecraft.client.renderer.texture.TextureManager.getTexture(TextureManager.java:118) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?] at com.mojang.blaze3d.systems.RenderSystem._setShaderTexture(RenderSystem.java:755) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?] at com.mojang.blaze3d.systems.RenderSystem.setShaderTexture(RenderSystem.java:747) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?] at io.github.davidqf555.minecraft.towerofgod.client.gui.ClientTextureRenderData.render(ClientTextureRenderData.java:37) ~[%2379!:?] at io.github.davidqf555.minecraft.towerofgod.client.gui.ShinsuStatsMeterOverlay.renderBar(ShinsuStatsMeterOverlay.java:55) ~[%2379!:?] at io.github.davidqf555.minecraft.towerofgod.client.gui.ShinsuStatsMeterOverlay.render(ShinsuStatsMeterOverlay.java:39) ~[%2379!:?] at net.minecraftforge.client.gui.ForgeIngameGui.lambda$render$26(ForgeIngameGui.java:363) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2374%2380!:?] at java.util.ArrayList.forEach(ArrayList.java:1511) ~[?:?] at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1087) ~[?:?] at net.minecraftforge.client.gui.ForgeIngameGui.render(ForgeIngameGui.java:357) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2374%2380!:?] at net.minecraft.client.renderer.GameRenderer.render(GameRenderer.java:865) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1039) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?] at net.minecraft.client.Minecraft.run(Minecraft.java:659) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?] at net.minecraft.client.main.Main.main(Main.java:186) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?] at net.minecraftforge.fml.loading.targets.ForgeClientUserdevLaunchHandler.lambda$launchService$0(ForgeClientUserdevLaunchHandler.java:38) ~[fmlloader-1.17.1-37.0.68.jar%233!:?] at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.0.7.jar%238!:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.0.7.jar%238!:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.0.7.jar%238!:?] at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.0.7.jar%238!:?] at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.0.7.jar%238!:?] at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.0.7.jar%238!:?] at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.0.7.jar%238!:?] at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90) [bootstraplauncher-0.1.17.jar:?] Caused by: java.lang.NullPointerException: Cannot invoke "net.minecraft.resources.ResourceLocation.getNamespace()" because "p_10895_" is null at net.minecraft.server.packs.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:58) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?] at net.minecraft.client.renderer.texture.SimpleTexture$TextureImage.load(SimpleTexture.java:84) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?] at net.minecraft.client.renderer.texture.SimpleTexture.getTextureImage(SimpleTexture.java:58) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?] at net.minecraft.client.renderer.texture.SimpleTexture.load(SimpleTexture.java:28) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?] at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:95) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?] ... 28 more Even though the texture in question is at minecraft:textures/gui/bars.png, which should be there. I'm really confused as to why this is happening.
  5. Because under certain overrides/properties, the layer I don't want to be colored is on the 0th layer, and other wise its on the 1st layer, so I'm not sure how I should restrict this in the ItemColor. Can I have like a blank 0th layer or something?
  6. Actually nevermind, I just didn't account for tints in my Item color. An issue still remains though because I'm using overrides with a custom property to define whether or not multiple layers should even be used, and in the case of the single layer, I want it to not be colored. I'm not sure if directly reading the property in the item color is the correct play though because I feel like the colors should be defined in the model instead so that changing the model would also change the color, instead of just hardcoding it within the color.
  7. I'm not sure about that... I'm using layers 0 and 1, and both of them are colored.
  8. I did, they just look like: { "parent": "item/generated", "textures": { "layer0": "item/leather_leggings", "layer1": "item/leather_leggings_overlay" } } They don't really do anything related to coloring.
  9. I'm trying to make a colored item using ItemColors, but I also only want 1 layer to be colored while the other is just normal. I'm trying to use the item/generated model, so I'm not sure how to do this because normally you'd just change the face tint index, but I can't find any elements and it seems like it is just generated.
  10. oh, that's a bit annoying but I can just copy it out then.
  11. I changed to using Suppliers so now all my items are made in the registry event. The model issue still remains though.
  12. 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.
  13. 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.
  14. 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()
  15. I think that is the problem. I changed to using ResourceKeys instead and haven't seen the log since.
  16. 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.
  17. Any idea what line prints it? I can try debugging it but I don't even know what prints it.
  18. Here, it's still very incomplete but it should all be within the common.world folder.
  19. 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
  20. 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?
  21. 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.
  22. 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.
  23. 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.
  24. oh... Seems like a strange error for that to throw though.
  25. 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.
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.