Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/22/23 in all areas

  1. THANK YOU SOO MUCH I AM AN IDIOT ITS UI MOD TY TY TYTY
    1 point
  2. Make a test without moderUI
    1 point
  3. You have been awarded a "Superhelper" role as a thank you for consistently providing great help to the community, which should reduce and remove various restrictions that normal members have in order to combat spam. There shouldn't be any cooldowns for you, so I'll look into this issue and try resolving it. I intend on eventually automating the awarding of this role to active members but it's pretty tedious to setup properly.
    1 point
  4. It is now done with datagen, you will need to add a `DatapackBuiltinEntriesProvider` to your data generator. The `RegistrySetBuilder` argument should look something like this: private static final RegistrySetBuilder BUILDER = new RegistrySetBuilder() .add(Registries.CONFIGURED_FEATURE, ModConfiguredFeatures::bootstrap) .add(Registries.PLACED_FEATURE, ModPlacedFeatures::bootstrap); with your `ModConfiguredFeatures` class based on this rough template: public static final ResourceKey<ConfiguredFeature<?, ?>> EXAMPLE = createKey("example"); // Add more keys here public static void bootstrap(BootstapContext<ConfiguredFeature<?, ?>> context) { HolderGetter<ConfiguredFeature<?, ?>> configured = context.lookup(Registries.CONFIGURED_FEATURE); HolderGetter<PlacedFeature> placed = context.lookup(Registries.PLACED_FEATURE); register(context, EXAMPLE, Feature.EXAMPLE_FEATURE, new ExampleConfiguration(args)); // Register more features here } private static ResourceKey<ConfiguredFeature<?, ?>> createKey(String name) { return ResourceKey.create(Registries.CONFIGURED_FEATURE, new ResourceLocation("modid", name)); } private static <FC extends FeatureConfiguration, F extends Feature<FC>> void register(BootstapContext<ConfiguredFeature<?, ?>> context, ResourceKey<ConfiguredFeature<?, ?>> key, F feature, FC config) { context.register(key, new ConfiguredFeature<>(feature, config)); } Hope this helps get you started
    1 point
×
×
  • Create New...

Important Information

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