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

A-Game

Members
  • Posts

    75
  • Joined

  • Last visited

Everything posted by A-Game

  1. Your still not even registering your structure correctly, you have your deferred register commented out...
  2. Looking at your code, your structure piece does not add anything, and the chunks for your structure to spawn in is set to null. I suggest looking at vanilla structures as reference. As for your registries, the structures aren't registered in a valid way, I'd recommend looking at either event registries, deferred register, or object holder registries as a way to register your objects.
  3. I have found that others are experiencing this issue, not just you. What forge version are you using?
  4. https://github.com/TheElectronWill/night-config/blob/master/core/src/main/java/com/electronwill/nightconfig/core/io/ParsingException.java You copied code from this link, and it had an "invalid character f" in that class
  5. Do you have a custom config for your mod? (What Daemon said)
  6. https://gist.github.com/TheAGamePlayer/a621bfd50610325c42b6dc65c205040d Even if I fix the carver, I still get this error (Removing setSeed methods from custom Surface Builders have no effect)
  7. https://gist.github.com/TheAGamePlayer/7eba140d3eb131c146d32067bac4e267 The Correct Registry Format https://gist.github.com/TheAGamePlayer/c6705673efb13a9f8a8e565b32c0f068 The Carver
  8. https://gist.github.com/TheAGamePlayer/92d7cb6c3e8a968f0b8f0b0d1980eb30 Heres the Log
  9. For the Screen, have you tried to put in your constructor "this.width = super.width * 2" & "this.height = super.height * 2" to double the size instead of setSize method?
  10. https://gist.github.com/TheAGamePlayer/a45043863beb5cfcc7cdeb249cdb6dcf I was wondering if it would be possible to use Deferred Register without RegistryObjects (such as the example above) without it having any potential issues. The reason I wanted to avoid using RegistryObjects was to prevent crashes such as putting them in a list of carvable fluids for a carver and getting nullPointerException errors. Is this possible? Or should I go back to using Registry Objects?
  11. My GitHub link: (sorry if my code is kinda messy, I'm just trying to get rid of all my bugs before I clean it up) https://github.com/TheAGamePlayer/The-Visionary-Mod/tree/VisionaryMod(1.14.4) My ocean biomes spawn in as intended, though where the land biomes would normally spawn, plains biomes appear instead. Perhaps this is a slight oversight on my part, though I've had no success so far.
  12. Yes I know, I changed the #s and -s to numbers to fix that, but then it showed loot tables as problems even though they were literally just copied off of the netherrack loot table... Just to let ya know, I just updated forge again to 1.74 and it seemed to fix all these problems and prevent the data issues.
  13. All crafting recipes cease to work, you can walk through lava like air, leaves decay on trees that are just loaded into the world, and fences won't connect to each other, and breaking blocks doesn't drop anything in survival, its as if every data package didn't load or stopped working. I've been stuck with this problem for days trying to figure this out, other modders have had similar issues when I've asked around, I've updated forge to the latest version as I have been recommended to try, and it has shown no difference.
  14. Gotta love when you pull something stupid and don't even realize it lol. Figured out that this only worked in the recommended version at the cost of world corruption... Thanks for your help again as well as your patience with me
  15. VisionaryBlocks.java: package dev.theagameplayer.visionarymod.registries; import dev.theagameplayer.visionarymod.VisionaryMod; import dev.theagameplayer.visionarymod.block.DeepNetherAltar; import dev.theagameplayer.visionarymod.block.DeepNetherPortal; import dev.theagameplayer.visionarymod.block.SteamVent; import dev.theagameplayer.visionarymod.block.SteamVent2; import dev.theagameplayer.visionarymod.block.SteamVent3; import dev.theagameplayer.visionarymod.block.UnstableObsidian; import net.minecraft.block.Block; import net.minecraft.block.FenceBlock; import net.minecraft.block.SoundType; import net.minecraft.block.material.Material; import net.minecraft.block.material.MaterialColor; import net.minecraftforge.event.RegistryEvent.Register; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod.EventBusSubscriber; import net.minecraftforge.fml.common.Mod.EventBusSubscriber.Bus; import net.minecraftforge.registries.ObjectHolder; @ObjectHolder(VisionaryMod.MODID) @EventBusSubscriber(bus=Bus.MOD) public class VisionaryBlocks { public static final Block STEAM_VENT = null; public static final Block STEAM_VENT2 = null; public static final Block STEAM_VENT3 = null; public static final Block RED_NETHER_BRICK_FENCE = null; public static final Block UNSTABLE_OBSIDIAN = null; public static final Block DEEP_NETHER_ALTAR = null; public static final Block DEEP_NETHER_PORTAL = null; public static final Block DRY_NETHERRACK = null; @SubscribeEvent public static void registerBlocks(Register<Block> event) { event.getRegistry().registerAll( new SteamVent(Block.Properties.create(Material.ROCK).hardnessAndResistance(4.0f, 0.8f).lightValue(4).sound(SoundType.STONE)).setRegistryName(VisionaryMod.MODID, "steamvent"), new SteamVent2(Block.Properties.create(Material.ROCK).hardnessAndResistance(4.0f, 0.8f).lightValue(6).sound(SoundType.STONE)).setRegistryName(VisionaryMod.MODID, "steamvent2"), new SteamVent3(Block.Properties.create(Material.ROCK).hardnessAndResistance(4.0f, 0.8f).lightValue(8).sound(SoundType.STONE)).setRegistryName(VisionaryMod.MODID, "steamvent3"), new FenceBlock(Block.Properties.create(Material.ROCK, MaterialColor.NETHERRACK).hardnessAndResistance(2.0F, 6.0F).sound(SoundType.STONE)).setRegistryName(VisionaryMod.MODID, "rednetherbrickfence"), new UnstableObsidian(Block.Properties.create(Material.ROCK, MaterialColor.BLACK).hardnessAndResistance(50.0F, 1200.0F).sound(SoundType.STONE)).setRegistryName(VisionaryMod.MODID, "unstableobsidian"), new DeepNetherAltar(Block.Properties.create(Material.ROCK, MaterialColor.BLACK).hardnessAndResistance(50.0F, 1200.0F).lightValue(15).sound(SoundType.STONE)).setRegistryName(VisionaryMod.MODID, "deepnetheraltar"), new DeepNetherPortal(Block.Properties.create(Material.PORTAL, MaterialColor.RED).doesNotBlockMovement().lightValue(15).hardnessAndResistance(-1.0F, 3600000.0F).noDrops()).setRegistryName(VisionaryMod.MODID, "deepnetherportal"), new Block(Block.Properties.create(Material.ROCK, MaterialColor.GRAY).hardnessAndResistance(0.4F)).setRegistryName(VisionaryMod.MODID, "drynetherrack") ); } }
  16. package dev.theagameplayer.visionarymod.registries; import dev.theagameplayer.visionarymod.VisionaryMod; import dev.theagameplayer.visionarymod.item.KnowledgeTome; import net.minecraft.item.BlockItem; import net.minecraft.item.Item; import net.minecraft.item.Rarity; import net.minecraftforge.event.RegistryEvent.Register; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod.EventBusSubscriber; import net.minecraftforge.fml.common.Mod.EventBusSubscriber.Bus; import net.minecraftforge.registries.ObjectHolder; @ObjectHolder(VisionaryMod.MODID) @EventBusSubscriber(bus=Bus.MOD) public class VisionaryItems extends VisionaryMod { public static final Item KNOWLEDGE_TOME1 = null; public static final Item KNOWLEDGE_TOME2 = null; public static final Item KNOWLEDGE_TOME3 = null; public static final Item KNOWLEDGE_TOME4 = null; public static final Item KNOWLEDGE_TOME5 = null; public static final BlockItem STEAM_VENT = null; public static final BlockItem STEAM_VENT2 = null; public static final BlockItem STEAM_VENT3 = null; public static final BlockItem RED_NETHER_BRICK_FENCE = null; public static final BlockItem UNSTABLE_OBSIDIAN = null; public static final BlockItem DEEP_NETHER_ALTAR = null; public static final BlockItem DEEP_NETHER_PORTAL = null; public static final BlockItem DRY_NETHERRACK = null; @SubscribeEvent public static void registerItems(Register<Item> event) { event.getRegistry().registerAll( new KnowledgeTome(new Item.Properties().group(VISIONARY).maxStackSize(1)).setRegistryName(VisionaryMod.MODID, "knowledgetome1"), new Item(new Item.Properties().group(VISIONARY).maxStackSize(1)).setRegistryName(VisionaryMod.MODID, "knowledgetome2"), new Item(new Item.Properties().group(VISIONARY).maxStackSize(1)).setRegistryName(VisionaryMod.MODID, "knowledgetome3"), new Item(new Item.Properties().group(VISIONARY).maxStackSize(1)).setRegistryName(VisionaryMod.MODID, "knowledgetome4"), new Item(new Item.Properties().group(VISIONARY).maxStackSize(1)).setRegistryName(VisionaryMod.MODID, "knowledgetome5"), new BlockItem(VisionaryBlocks.STEAM_VENT, new Item.Properties().group(VISIONARY)).setRegistryName(VisionaryBlocks.STEAM_VENT.getRegistryName()), new BlockItem(VisionaryBlocks.STEAM_VENT2, new Item.Properties().group(VISIONARY)).setRegistryName(VisionaryBlocks.STEAM_VENT2.getRegistryName()), new BlockItem(VisionaryBlocks.STEAM_VENT3, new Item.Properties().group(VISIONARY)).setRegistryName(VisionaryBlocks.STEAM_VENT3.getRegistryName()), new BlockItem(VisionaryBlocks.RED_NETHER_BRICK_FENCE, new Item.Properties().group(VISIONARY)).setRegistryName(VisionaryBlocks.RED_NETHER_BRICK_FENCE.getRegistryName()), new BlockItem(VisionaryBlocks.UNSTABLE_OBSIDIAN, new Item.Properties().group(VISIONARY)).setRegistryName(VisionaryBlocks.UNSTABLE_OBSIDIAN.getRegistryName()), new BlockItem(VisionaryBlocks.DEEP_NETHER_ALTAR, new Item.Properties().rarity(Rarity.UNCOMMON).group(VISIONARY)).setRegistryName(VisionaryBlocks.DEEP_NETHER_ALTAR.getRegistryName()), new BlockItem(VisionaryBlocks.DEEP_NETHER_PORTAL, new Item.Properties().rarity(Rarity.UNCOMMON).group(VISIONARY)).setRegistryName(VisionaryBlocks.DEEP_NETHER_PORTAL.getRegistryName()), new BlockItem(VisionaryBlocks.DRY_NETHERRACK, new Item.Properties().group(VISIONARY)).setRegistryName(VisionaryBlocks.DRY_NETHERRACK.getRegistryName()) ); } } Heres my code for my VisionaryItems Class, line 41 is the first BlockItem registry.
  17. I don't have a GitHub, though I did find that the ways I'm registering BlockItems and Biomes are no longer applicable in the latest forge version compared to the recommended forge version.
  18. new BlockItem(VisionaryBlocks.STEAM_VENT, new Item.Properties().group(VISIONARY)).setRegistryName(VisionaryBlocks.STEAM_VENT.getRegistryName()), Unless there is something wrong with my registering upon switching forge versions, its not giving me any yellow or red flags (this worked perfectly fine in the recommended version of forge)
×
×
  • Create New...

Important Information

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