Jump to content

Dizzlepop12

Members
  • Posts

    41
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Dizzlepop12's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. bump? i stepped through the code and can't find the problem. Edit: The celestial angle was wrong and I was actually looking at the moon and not the sun. Oops
  2. I have a custom sun for one of my dimensions, but instead of the texture being positioned in the center, it's positioned in the corner and only shows a portion of the full texture. I'm somewhat familiar with GL11 rendering, but this is something that I can't quite figure out, and I've looked over it multiple times. Here's a screenshot: https://imgur.com/bPDuxvs SkyRenderer: https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/journey/dimension/BoilSkyRenderer.java Resource Location: https://github.com/TheSlayerMC/Journey-1.12/tree/master/main/resources/assets/journey/textures/environment Any help is greatly appreciated.
  3. I'm pretty new to using the debugger. I set it up in my SkyRenderer class where I think it should go, and I'm not sure where I go from here. In the console, I keep getting this error: [11:31:24] [main/ERROR] [minecraft/Minecraft]: ########## GL ERROR ########## [11:31:24] [main/ERROR] [minecraft/Minecraft]: @ Post render [11:31:24] [main/ERROR] [minecraft/Minecraft]: 1281: Invalid value But I'm not sure if it has any relation to the SkyRenderer class. Here's where my debugger is: debugger
  4. You use the WorldGenPumpkin class as a reference for your own worldgen class, but replace the pumpkins with the block that you want. Or, add a block to your constructor so you can use any block without creating a new class.
  5. I have a custom sun for one of my dimensions, but it appears as a gigantic purple square in the sky instead of the texture that it's bound to. Not sure what the problem is, but the resource location is correct and I can't find any reason why is shouldn't be rendering. Any suggestions? SkyRenderer: https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/journey/dimension/BoilSkyRenderer.java#L120 Resource Location: https://github.com/TheSlayerMC/Journey-1.12/tree/master/main/resources/assets/journey/textures/environment
  6. So I'm having trouble with registering the biomes for my dimensions. Each dimension only has one biome, but each of them generates in the overworld instead of only generating in their respective dimensions, which they correctly generate in. I used this method to register my biomes, but after some research I found it to be the incorrect way to register dimension biomes, but it's the proper way to register overworld biomes. I guess the proper way is to subscribe an IForgeRegistry event that registers the individual biomes like this: @SubscribeEvent public static void registerBiomes(IForgeRegistry<Biome> iForgeRegistry) { IForgeRegistry<Biome> registry = iForgeRegistry; registry.registerAll(BIOME_1, BIOME_2...) } However, when I use this instead, the biomes don't get registered at all. Any help?
  7. Ohh you right, when I use the charred knife it doesn't throw any kind of exception, it just doesn't do anything.
  8. That's because I started with the EntityCharredKnife class first as a test, the rest of the knife entity classes are older versions and don't have the same code. If you look at the EntityCharredKnife class, it's not abstract and it does contain the correct constructor, and that's the one I tested it with.
  9. I'm trying to create a throwable item that sticks in the ground and can be picked up, like an arrow. However, when I right click the item in-game, it catches an exception, saying that the constructor that I'm calling in my Item class doesn't exist in my entity class, even though it does. Any help? Log: https://pastebin.com/yw3i0wsq Entity class: https://github.com/TheSlayerMC/Journey-1.12/blob/86e5e7f2b7c3c6c7975d9e0b48e33e4a64a1c20b/main/java/net/journey/entity/projectile/EntityCharredKnife.java Item class: https://github.com/TheSlayerMC/Journey-1.12/blob/86e5e7f2b7c3c6c7975d9e0b48e33e4a64a1c20b/main/java/net/journey/items/ItemThrowableArrow.java Item registry: https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/journey/JourneyItems.java#L1462 Example of a throwable item that does work: Entity class: https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/journey/entity/projectile/EntityCorbaPiercer.java Item class: https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/journey/items/ItemPiercer.java
  10. Yep. These are the main areas where the biome is supposed to be registered and mobs are set to spawn in the specific dimension: https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/journey/dimension/terrania/WorldProviderTerrania.java#L18 https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/journey/dimension/DimensionHelper.java#L124 https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/journey/dimension/DimensionHelper.java#L218
  11. After porting from 1.8.9 to 1.12.2, it's apparent that something has changed with dimension biomes. Each of my custom dimensions only has one biome in it, but apparently it's setting the biome to plains instead of the specified dimension biome, which is causing overworld mobs to spawn and no modded mobs to spawn. Any ideas? All help is greatly appreciated. Dimension example: https://github.com/TheSlayerMC/Journey-1.12/tree/master/main/java/net/journey/dimension/terrania Dimension registry: https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/journey/dimension/DimensionHelper.java
  12. I have a pretty strange issue with rendering custom logs for my mod. I didn't have the logs orientable in the older versions of the mod because it's pretty tricky stuff to be honest, but I have it working for the most part in 1.12.2. One problem, however, is that there is no breaking sound or breaking particles for the block, which is really strange to me. When you break it, it basically just disappears. The second problem is that the block isn't rendering its texture at all, even though it renders without the log orientation. All help is appreciated. Log class: https://github.com/TheSlayerMC/Journey-1.12/blob/c09bdcb75a365e932535d1ec824ae75c5a0ebc3d/main/java/net/slayer/api/block/BlockModLog.java
  13. So now it no longer crashes, but the only log variants that generate are the eucalog and sizzlerlog types. In addition to this, the trees in the Euca dimension that are supposed to use the eucalog type are generating with the sizzerlog type, like it's completely random and it's not applying the variant specified. All variants show up in the creative inventory, though.
×
×
  • Create New...

Important Information

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