Jump to content

MBektic

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by MBektic

  1. Thank you, that was all i was missing. You also replied so fast, I wish I saw this 2 hours earlier because I would have not wasted more time lol!
  2. Hey maybe you can help me out. I'm learning how to mod Minecraft, and the guides are written for older versions which has mostly been fine, since I've been able to figure out what needs to get changed by checking the forge api blog post for 1,.19.3 and looking over the code but this has stumped me. I created two files src/main/resources/data/mod/worldgen/configured_feature/myore_ore.json and src/main/resources/data/mod/worldgen/placed_feature/myore_ore_lower.json (which are essentially clones of the coal ore ones) But I cannot for the life figure out how to actually register the features. I assumed it would be something like this but maybe I'm way off. public static Feature MYORE_ORE_BURIED = registerConfiguredFeature(MYORE_ORE_BURIED_KEY) public static final RegistryKey<ConfiguredFeature<?, ?>> MYORE_ORE_BURIED_KEY = ConfiguredFeatures.of("myore_ore_buried"); private static Feature registerConfiguredFeature(String name, RegistryKey registryKey) { return Registry.register(Registries.FEATURE, registryKey, {no clue what this third parameter is supposed to be}); }
×
×
  • Create New...

Important Information

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