Jump to content

[1.16.4] How do I make my ore generate thru the world?


meta

Recommended Posts

17 hours ago, ChampionAsh5357 said:

1. Create a ConfiguredFeature and register it (look at the Features class for examples).

2. Attach it via BiomeLoadingEvent (read the javadocs on the event as applicable to your situation).

I have the same questions. From what I gathered from this reply I made a ModFeatures class, where I register the ConfiguredFeatures, however how do I attach it to the BiomeLoadingEvent? I tried using the deferred registries the same way I did for blocks and items but it errors out because the block to generate isn't registered yet, even tho I am calling the register method in the Features Deferred Register after the Blocks Deferred Register

  • Like 1
Link to comment
Share on other sites

2 hours ago, kiou.23 said:

I tried using the deferred registries the same way I did for blocks and items but it errors out because the block to generate isn't registered yet, even tho I am calling the register method in the Features Deferred Register after the Blocks Deferred Register

You should post your repo so that we don't have to guess. If I had to, you're probably create static final variables without considering loading order for the configured feature. In which case, they need to be registered during common setup or at least after placements. 

2 hours ago, kiou.23 said:

From what I gathered from this reply I made a ModFeatures class, where I register the ConfiguredFeatures, however how do I attach it to the BiomeLoadingEvent?

BiomeLoadingEvent holds methods. Read the javadoc and look through the method to find which one is used to add a configured feature.

Link to comment
Share on other sites

1 hour ago, ChampionAsh5357 said:

You should post your repo so that we don't have to guess. If I had to, you're probably create static final variables without considering loading order for the configured feature. In which case, they need to be registered during common setup or at least after placements. 

BiomeLoadingEvent holds methods. Read the javadoc and look through the method to find which one is used to add a configured feature.

I managed to get it working! thanks, I want to know if this is the proper way of doing it tho

this is my ModFeatures class:

public class ModFeatures {

    public static final DeferredRegister<Feature<?>> FEATURES = DeferredRegister.create(ForgeRegistries.FEATURES, TutorialMod.MOD_ID);

    public static final ConfiguredFeature<?, ?> ORE_SILVER = register("ore_silver",
        Feature.ORE.withConfiguration(
            new OreFeatureConfig(
                OreFeatureConfig.FillerBlockType.BASE_STONE_OVERWORLD,
                ModBlocks.SILVER_ORE.get().getDefaultState(), 9
        )).range(64).square().func_242731_b(20)
    );

    private static <FC extends IFeatureConfig> ConfiguredFeature<FC, ?> register(String key, ConfiguredFeature<FC, ?> configuredFeature) {
        return Registry.register(WorldGenRegistries.CONFIGURED_FEATURE, key, configuredFeature);
    }
}

And this is the main Mod class:

@Mod(TutorialMod.MOD_ID)
public class TutorialMod
{
    public static final String MOD_ID = "tutorial";
    public static final Logger LOGGER = LogManager.getLogger();

    public TutorialMod() {
        IEventBus modEventBus = FMLJavaModLoadingContext.get().getModEventBus();

        ModEntities.ENTITY_TYPES.register(modEventBus);
        ModContainerTypes.CONTAINER_TYPES.register(modEventBus);
        ModTileEntityTypes.TILE_ENTITY_TYPES.register(modEventBus);
        ModBlocks.BLOCKS.register(modEventBus);
        ModItems.ITEMS.register(modEventBus);

        modEventBus.addListener(this::setup);
        modEventBus.addListener(this::doClientStuff);

        MinecraftForge.EVENT_BUS.register(this);
    }

    private void setup(final FMLCommonSetupEvent event) {
        IEventBus modEventBus = FMLJavaModLoadingContext.get().getModEventBus();

        ModFeatures.FEATURES.register(modEventBus);
    }

    private void doClientStuff(final FMLClientSetupEvent event) {
        DeferredWorkQueue.runLater(() -> {
            ScreenManager.registerFactory(ModContainerTypes.TRANSMUTER.get(), TransmuterScreen::new);
            ScreenManager.registerFactory(ModContainerTypes.CHARGER.get(), ChargerScreen::new);
        });
    }

    @SubscribeEvent
    public void biomeGeneration(final BiomeLoadingEvent event) {
        event.getGeneration().getFeatures(GenerationStage.Decoration.UNDERGROUND_ORES)
            .add(() -> ModFeatures.ORE_SILVER);
    }

    public static final ItemGroup ITEM_GROUP = new ItemGroup(TutorialMod.MOD_ID) {
        @Override
        public ItemStack createIcon() {
            return new ItemStack(ModItems.SILVER_INGOT.get());
        }
    };
}

 

 

Additionally, I would like to know how this piece of code works, I have a vgue idea, but I basically just copied it from the Iron Ore Feature

Feature.ORE.withConfiguration(
            new OreFeatureConfig(
                OreFeatureConfig.FillerBlockType.BASE_STONE_OVERWORLD,
                ModBlocks.SILVER_ORE.get().getDefaultState(), 9
        )).range(64).square().func_242731_b(20)

 

Link to comment
Share on other sites

10 hours ago, kiou.23 said:

public static final ConfiguredFeature<?, ?> ORE_SILVER = register("ore_silver", Feature.ORE.withConfiguration( new OreFeatureConfig( OreFeatureConfig.FillerBlockType.BASE_STONE_OVERWORLD, ModBlocks.SILVER_ORE.get().getDefaultState(), 9 )).range(64).square().func_242731_b(20) );

The configured feature should be deferred and registered during common setup. In most cases, this would throw an NPE as the registries would not have been populated yet. You're technically cheating by lazily loading the class using a register method for a deferred registry. They should always be attached within the constructor. Just simply register normally in common setup instead of lazily loading a class in a potential error way. Since you're also not creating a feature, it makes no sense to attach the register.

11 hours ago, kiou.23 said:

Feature.ORE.withConfiguration( new OreFeatureConfig( OreFeatureConfig.FillerBlockType.BASE_STONE_OVERWORLD, ModBlocks.SILVER_ORE.get().getDefaultState(), 9 )).range(64).square().func_242731_b(20)

This creates a configured feature using the standard ore algorithm feature which replaces anything within the stone tag (BASE_STONE_OVERWORLD) with silver ore in up to veins of 9. Reading inward, the feature is placed 20 times (func_242731_b) based on a random x/z position in the chunk (square) from 0 - 64. If the block the placement lands on is not valid, it will not generate the ore in that location. 

Link to comment
Share on other sites

8 hours ago, ChampionAsh5357 said:

The configured feature should be deferred and registered during common setup. In most cases, this would throw an NPE as the registries would not have been populated yet. You're technically cheating by lazily loading the class using a register method for a deferred registry. They should always be attached within the constructor. Just simply register normally in common setup instead of lazily loading a class in a potential error way. Since you're also not creating a feature, it makes no sense to attach the register.

So instead of calling Registry.register, I should call FEATURES.register? and since I'm registering FEATURES in the setup it should be fine, right?

 

edit: I tried that, but FEATURES.register complains that Feature.ORE.withConfiguration doesn't extends Feature<?>, so how should I go about registering the feature?

Edited by kiou.23
update
Link to comment
Share on other sites

Okay, I declared a Deferred Register of type Feature<?> and registered to it like so:

    public static final DeferredRegister<Feature<?>> FEATURES = DeferredRegister.create(ForgeRegistries.FEATURES, TutorialMod.MOD_ID);

    public static final RegistryObject<Feature<?>> ORE_SILVER = FEATURES.register("ore_silver", () ->
        Feature.ORE.withConfiguration(
            new OreFeatureConfig(
                OreFeatureConfig.FillerBlockType.BASE_STONE_OVERWORLD,
                ModBlocks.SILVER_ORE.get().getDefaultState(),
                9
            )
        ).range(64).square().func_242731_b(20).feature
    );

This doesn't seem to be correct also as for adding the feature to the biome it asks for a configured feature

Link to comment
Share on other sites

like this? this doesn't look right at all

public class ModFeatures {

    public static final DeferredRegister<Feature<?>> FEATURES = DeferredRegister.create(ForgeRegistries.FEATURES, TutorialMod.MOD_ID);

    public static final ConfiguredFeature<?, ?> ORE_SILVER_CONFIG = Feature.ORE.withConfiguration(
        new OreFeatureConfig(
            OreFeatureConfig.FillerBlockType.BASE_STONE_OVERWORLD,
            ModBlocks.SILVER_ORE.get().getDefaultState(),
            9
        )
    ).range(64).square().func_242731_b(20);

    public static final RegistryObject<Feature<?>> ORE_SILVER = FEATURES.register("ore_silver", () ->
        ORE_SILVER_CONFIG.feature
    );
}
    @SubscribeEvent
    public void biomeGeneration(final BiomeLoadingEvent biome) {
        if(biome.getCategory() == Biome.Category.NETHER || biome.getCategory() == Biome.Category.THEEND) return;

        biome.getGeneration().getFeatures(GenerationStage.Decoration.UNDERGROUND_ORES)
            .add(() -> ModFeatures.ORE_SILVER_CONFIG);
    }

 

sorry for posting repeatedly, I'm just trying to undesrtand how to do this

Link to comment
Share on other sites

2 hours ago, kiou.23 said:

So instead of calling Registry.register, I should call FEATURES.register? and since I'm registering FEATURES in the setup it should be fine, right?

 

edit: I tried that, but FEATURES.register complains that Feature.ORE.withConfiguration doesn't extends Feature<?>, so how should I go about registering the feature?

No, that's not what I said. I said the feature registry is irrelevant, you're not using it. The ConfiguredFeature should be initialized and registered during common setup.

Link to comment
Share on other sites

17 minutes ago, ChampionAsh5357 said:

No, that's not what I said. I said the feature registry is irrelevant, you're not using it. The ConfiguredFeature should be initialized and registered during common setup.

OHHHHH I got it, I don't need the Feature Register at all! I commented it out to check and it still generates, I just need the ConfiguredFeatures and then add them to the biomes in a BiomeLoadingEvent Handler (right?)

I would need the Feature Register if I were to register a whole new type of feature, correct?

Edited by kiou.23
corrected spelling
Link to comment
Share on other sites

5 minutes ago, I'mBadAtModding said:

how do you get the filler block to be End Stone? I got it working in the overworld, but not in The End

I would think you need to create your own Rule Test, and match it against the End Stone Block, like so:

 new BlockMatchRuleTest(Blocks.END_STONE)

and then pass it in the place for the Filler Block Type in the Configured Feature. And in your BiomeLoadingEvent Handler you can test if the Category is equal to Biome.Category.THEEND

Link to comment
Share on other sites

3 hours ago, kiou.23 said:

OHHHHH I got it, I don't need the Feature Register at all! I commented it out to check and it still generates, I just need the ConfiguredFeatures and then add them to the biomes in a BiomeLoadingEvent Handler (right?)

I would need the Feature Register if I were to register a whole new type of feature, correct?

Yes, I would still like to verify that you deferred initialization and registry of the ConfiguredFeature to the common setup event.

Link to comment
Share on other sites

57 minutes ago, ChampionAsh5357 said:

Yes, I would still like to verify that you deferred initialization and registry of the ConfiguredFeature to the common setup event.

And how would I do that?... I think so, but I'm not sure I did because I only had the Features deferred Register in the common setup

public class ModFeatures {

    public static final ConfiguredFeature<?, ?> ORE_SILVER_CONFIG = Feature.ORE.withConfiguration(
        new OreFeatureConfig(
            OreFeatureConfig.FillerBlockType.BASE_STONE_OVERWORLD,
            ModBlocks.SILVER_ORE.get().getDefaultState(),
            9
        )
    ).range(64).square().func_242731_b(20);

}
@Mod(TutorialMod.MOD_ID)
public class TutorialMod
{
    public static final String MOD_ID = "tutorial";
    public static final Logger LOGGER = LogManager.getLogger();

    public TutorialMod() {
        IEventBus modEventBus = FMLJavaModLoadingContext.get().getModEventBus();

        ModEntities.ENTITY_TYPES.register(modEventBus);
        ModContainerTypes.CONTAINER_TYPES.register(modEventBus);
        ModTileEntityTypes.TILE_ENTITY_TYPES.register(modEventBus);
        ModBlocks.BLOCKS.register(modEventBus);
        ModItems.ITEMS.register(modEventBus);

        modEventBus.addListener(this::setup);
        modEventBus.addListener(this::clientSetup);

        MinecraftForge.EVENT_BUS.register(this);
    }

    private void setup(final FMLCommonSetupEvent event) {
        
    }

    private void clientSetup(final FMLClientSetupEvent event) {
        DeferredWorkQueue.runLater(() -> {
            ScreenManager.registerFactory(ModContainerTypes.TRANSMUTER.get(), TransmuterScreen::new);
            ScreenManager.registerFactory(ModContainerTypes.CHARGER.get(), ChargerScreen::new);
        });
    }

    @SubscribeEvent
    public void onBiomeLoading(final BiomeLoadingEvent biome) {
        if(biome.getCategory() == Biome.Category.NETHER || biome.getCategory() == Biome.Category.THEEND) return;

        biome.getGeneration().getFeatures(GenerationStage.Decoration.UNDERGROUND_ORES)
            .add(() -> ModFeatures.ORE_SILVER_CONFIG);
    }

    public static final ItemGroup ITEM_GROUP = new ItemGroup(TutorialMod.MOD_ID) {
        @Override
        public ItemStack createIcon() {
            return new ItemStack(ModItems.SILVER_INGOT.get());
        }
    };
}

 

Link to comment
Share on other sites

11 minutes ago, ChampionAsh5357 said:

Initialize the variable within the method event.

Like so?

@Mod.EventBusSubscriber(modid = TutorialMod.MOD_ID, bus = Mod.EventBusSubscriber.Bus.MOD)
public class ModFeatures {

    @SubscribeEvent
    public void onBiomeLoading(BiomeLoadingEvent biome) {
        final ConfiguredFeature<?, ?> ORE_SILVER_CONFIG = Feature.ORE.withConfiguration(
            new OreFeatureConfig(
                OreFeatureConfig.FillerBlockType.BASE_STONE_OVERWORLD,
                ModBlocks.SILVER_ORE.get().getDefaultState(),
                9
            )
        ).range(64).square().func_242731_b(20);

        if(biome.getCategory() == Biome.Category.NETHER || biome.getCategory() == Biome.Category.THEEND) return;

        biome.getGeneration().getFeatures(GenerationStage.Decoration.UNDERGROUND_ORES)
                .add(() -> ORE_SILVER_CONFIG);
        
    }
}

 

Link to comment
Share on other sites

3 minutes ago, ChampionAsh5357 said:

No, that will create the ConfiguredFeature every single time the event is called, which is too many times. This is not to mention you are no longer registering the ConfiguredFeature. Create a global field and initialize it within the common setup.

So like so?

public class ModFeatures {

    public static ConfiguredFeature<?, ?> ORE_SILVER_CONFIG;

    @SubscribeEvent
    public void setup(FMLCommonSetupEvent event) {
        ORE_SILVER_CONFIG = Feature.ORE.withConfiguration(
            new OreFeatureConfig(
                    OreFeatureConfig.FillerBlockType.BASE_STONE_OVERWORLD,
                    ModBlocks.SILVER_ORE.get().getDefaultState(),
                    9
            )
        ).range(64).square().func_242731_b(20);
    }
}

 

and then adding it to the biomes in the main Class like I was doing before

Link to comment
Share on other sites

16 minutes ago, ChampionAsh5357 said:

You still need to register it but yes, that's exactly how you would do it. Take a look at the Features class for the registry method to copy and use. Since it returns the object itself, you can just modify as needed.

Got it, so just to confirm, like this right?

@Mod.EventBusSubscriber(modid = TutorialMod.MOD_ID, bus = Mod.EventBusSubscriber.Bus.MOD)
public class ModFeatures {

    public static ConfiguredFeature<?, ?> ORE_SILVER_CONFIG;

    @SubscribeEvent
    public void setup(FMLCommonSetupEvent event) {
        ORE_SILVER_CONFIG = register("ore_silver",
            Feature.ORE.withConfiguration(
                new OreFeatureConfig(
                    OreFeatureConfig.FillerBlockType.BASE_STONE_OVERWORLD,
                    ModBlocks.SILVER_ORE.get().getDefaultState(),
                    9
                )
        ).range(64).square().func_242731_b(20));
    }

    private <FC extends IFeatureConfig> ConfiguredFeature<FC, ?> register(String key, ConfiguredFeature<FC, ?> configuredFeature) {
        return Registry.register(WorldGenRegistries.CONFIGURED_FEATURE, key, configuredFeature);
    }
}

 

What happens if I don't register it tho? because it was generating just fine

Link to comment
Share on other sites

1 hour ago, kiou.23 said:

Got it, so just to confirm, like this right?

Yes, the method should be static though.

1 hour ago, kiou.23 said:

What happens if I don't register it tho? because it was generating just fine

You won't see any issues in a standalone, but with other mods it will bottleneck other features from generating due to how codecs are handled with unregistered objects.

  • Thanks 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • just got some awesome news from one of the mod authors I waiting on to fix an issue with there mod, and they told me that the issue I was experiencing had been fixed in the latest update. went to update the mod and several others that had apparently had updates and when I launched it, it got down to creating the overworld pipeline and then crashed and gave me an hs error report and such but Im also including the usually logs that ya'll require as well. I honestly have no idea whats causing it. using mc 1.19.2 forge version 43.2.11 Modpack: Minecolonies: Dimensional Adventure launcher_log hs_err_pid3760.log debug.log latest.log
    • Here's the crash log     [14:46:15] [main/INFO]: ModLauncher running: args [--username, Aegia, --version, forge-43.2.0, --gameDir, C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test, --assetsDir, C:\Users\nhock\Twitch\Minecraft\Install\assets, --assetIndex, 1.19, --uuid, 104402799c574480915e19487e68b040, --accessToken, ????????, --clientId, ZGYwN2RlNDYtMjI0Mi00NjhjLWE3MmUtYTdmNDg4ZTg4YzA1, --xuid, 2535417184517646, --userType, msa, --versionType, release, --width, 1024, --height, 768, --launchTarget, forgeclient, --fml.forgeVersion, 43.2.0, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853] [14:46:15] [main/INFO]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.3 by Microsoft; OS Windows 10 arch amd64 version 10.0 [14:46:16] [main/INFO]: OptiFineTransformationService.onLoad [14:46:16] [main/INFO]: OptiFine ZIP file URL: union:/C:/Users/nhock/Twitch/Minecraft/Instances/RPG%20Test/mods/OptiFine_1.19.2_HD_U_I1%20(2).jar%23231!/ [14:46:16] [main/INFO]: OptiFine ZIP file: C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods\OptiFine_1.19.2_HD_U_I1 (2).jar [14:46:16] [main/INFO]: Target.PRE_CLASS is available [14:46:16] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/nhock/Twitch/Minecraft/Install/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2397!/ Service=ModLauncher Env=CLIENT [14:46:16] [main/INFO]: OptiFineTransformationService.initialize [14:46:17] [main/INFO]: Found mod file [1.19.2-forge]-Epic-Knights-7.11.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file alcocraftplus-1.19.2-forge-1.0.1.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file Alexs+Armoury+v1.4.1-1.19.2.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file alexsmobs-1.21.1.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file Animalistic_mod_1.2.0_1.19.2.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file Aquaculture-1.19.2-2.4.8.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file archers_paradox-1.19.2-4.2.0.13.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file BetterAnimationsCollection-v4.0.5-1.19.2-Forge.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file bettercombat-forge-1.7.1+1.19.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file bettervillage-forge-1.19.2-3.1.0 (1).jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file born_in_chaos_[Forge]1.19.2_1.5.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file citadel-2.1.4-1.19.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file cloakanddagger-1.3.5 (1).jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file combatroll-forge-1.1.5+1.19.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file comforts-forge-6.0.5+1.19.2.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file CosmeticArmorReworked-1.19.2-v1a.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file curios-forge-1.19.2-5.1.4.1.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file CutAndSlash+v0.41.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file Decorative+Blocks-forge-1.19.2-3.0.0.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file DistantHorizons-1.6.9a-1.19.2.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file Divine+Weaponry+V1.2+1.19.2 (1).jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file DMC-Weapons-Reborn-1.19.2-1.3.1.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file domesticationinnovation-1.6.1-1.19.2.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file dragonmounts-1.19.2-1.1.4a.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file DungeonCrawl-1.19-2.3.12.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file dungeons-and-taverns-2.0.2+forge.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file DungeonsArise-1.19.2-2.1.55-beta.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file effective_fg-1.3.4.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file endrem_forge-5.2.1-R-1.19.X.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file EnemyExpansion1.13-1.19.2.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file Enhanced_Celestials-forge-1.19.2-2.1.0.5.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file epicsamurai-0.0.8.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file fantasyfurniture-1.19.2-6.7.0.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file footwork-2.6.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file ftb-quests-forge-1902.4.16-build.235.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file geckolib-forge-1.19-3.1.40 (1).jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file geckolib-forge-1.19-3.1.40.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file Gobber2-Forge-1.19.2-2.7.28.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file guardvillagers-1.19.2-1.5.5.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file hats-and-cosmetics-1.4-1.19.2.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file hearth_and_home-forge-1.19.2-1.0.1.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file humancompanions-1.19.2-1.7.4.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file illageandspillage-1.19.2-1.2.4.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file JetAndEliasArmors1.4.1-1.19.2 (1).jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file KnightQuest1.2.6.Patch.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file L_Enders_Cataclysm-0.84-1.19.2.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file meetyourfight-1.19.2-1.3.3.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file mmoparties-2.4.4.1.19.2.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file Monster_Hunter_MC'Legacy_mod.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file MouseTweaks-forge-mc1.19-2.23.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file Paraglider-1.19.2-1.7.0.5 (1).jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file ParCool-1.19.2-3.0.1.0-R.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file PickUpNotifier-v4.2.4-1.19.2-Forge.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file PuzzlesLib-v4.4.0-1.19.2-Forge.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file RegionsUnexploredForge-0.4.1_1+1.19.2.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file relics-1.19.2-0.4.6.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file RPG_style_more_weapons_4.7.5.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file ShoulderSurfing-Forge-1.19.2-2.3.2 (1).jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file signpost-1.19.2-2.01.0.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file simplyswords-forge-1.47.0-1.19.2.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file soundphysics-forge-1.19.2-1.0.18.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file sprout-1.4.4-forge.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file starterkit-1.19.2-5.2.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file Swashbucklers+2.5+1.19.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file tlc_forge-1.0.2-R-1.19.2.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file TravelersBackpack-1.19.2-8.2.25.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file untamedwilds-1.19.2-3.0.1.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file valhelsia_core-forge-1.19.2-0.5.0.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file valhelsia_structures-forge-1.19.2-1.0.2.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file visuality-forge-2.0+forge-mc1.19.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file VisualWorkbench-v4.2.4-1.19.2-Forge.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file Wabi-Sabi-Structures-1.1.1-Forge.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file wardance-1.1.2.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file waystones-forge-1.19.2-11.4.0.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file weaponmaster-multi-forge-1.19.x-3.0.3.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file WWOO-FORGE-3.1.9+1.19.x.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file Xaeros_Minimap_23.4.4_Forge_1.19.1.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/INFO]: Found mod file XaerosWorldMap_1.30.3_Forge_1.19.1.jar of type MOD with provider {mods folder locator at C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test\mods} [14:46:17] [main/WARN]: Mod file C:\Users\nhock\Twitch\Minecraft\Install\libraries\net\minecraftforge\fmlcore\1.19.2-43.2.0\fmlcore-1.19.2-43.2.0.jar is missing mods.toml file [14:46:17] [main/WARN]: Mod file C:\Users\nhock\Twitch\Minecraft\Install\libraries\net\minecraftforge\javafmllanguage\1.19.2-43.2.0\javafmllanguage-1.19.2-43.2.0.jar is missing mods.toml file [14:46:17] [main/WARN]: Mod file C:\Users\nhock\Twitch\Minecraft\Install\libraries\net\minecraftforge\lowcodelanguage\1.19.2-43.2.0\lowcodelanguage-1.19.2-43.2.0.jar is missing mods.toml file [14:46:17] [main/WARN]: Mod file C:\Users\nhock\Twitch\Minecraft\Install\libraries\net\minecraftforge\mclanguage\1.19.2-43.2.0\mclanguage-1.19.2-43.2.0.jar is missing mods.toml file [14:46:17] [main/INFO]: Found mod file fmlcore-1.19.2-43.2.0.jar of type LIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@5d58c727 [14:46:17] [main/INFO]: Found mod file javafmllanguage-1.19.2-43.2.0.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@5d58c727 [14:46:17] [main/INFO]: Found mod file lowcodelanguage-1.19.2-43.2.0.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@5d58c727 [14:46:17] [main/INFO]: Found mod file mclanguage-1.19.2-43.2.0.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@5d58c727 [14:46:17] [main/INFO]: Found mod file client-1.19.2-20220805.130853-srg.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@5d58c727 [14:46:17] [main/INFO]: Found mod file forge-1.19.2-43.2.0-universal.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@5d58c727 [14:46:17] [main/INFO]: Found 7 dependencies adding them to mods collection [14:46:17] [main/INFO]: Found mod file mixinextras-forge-0.2.0-beta.6.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@44de94c3 [14:46:17] [main/INFO]: Found mod file jankson-1.2.1.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@44de94c3 [14:46:17] [main/INFO]: Found mod file MixinExtras-0.2.0-beta.6.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@44de94c3 [14:46:17] [main/INFO]: Found mod file commonality-1.19.2-4.2.1.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@44de94c3 [14:46:17] [main/INFO]: Found mod file Registrate-MC1.19-1.1.5.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@44de94c3 [14:46:17] [main/INFO]: Found mod file apexcore-1.19.2-7.3.1.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@44de94c3 [14:46:17] [main/INFO]: Found mod file spectrelib-forge-0.12.4+1.19.2.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@44de94c3 [14:46:17] [main/ERROR]: Missing or unsupported mandatory dependencies:     Mod ID: 'collective', Requested by: 'starterkit', Expected range: '[6.49,)', Actual version: '[MISSING]'     Mod ID: 'terrablender', Requested by: 'regions_unexplored', Expected range: '[2.0.1.128,)', Actual version: '[MISSING]'     Mod ID: 'libraryferret', Requested by: 'bettervillage', Expected range: '[4.0.0,)', Actual version: '[MISSING]'     Mod ID: 'architectury', Requested by: 'ftbquests', Expected range: '[6.3.49,)', Actual version: '[MISSING]'     Mod ID: 'valhelsia_furniture', Requested by: 'valhelsia_structures', Expected range: '[1.19.2-1.0.0,)', Actual version: '[MISSING]'     Mod ID: 'cloth_config', Requested by: 'combatroll', Expected range: '[8.0.0,)', Actual version: '[MISSING]'     Mod ID: 'ftblibrary', Requested by: 'ftbquests', Expected range: '[1902.3.19-build.214,)', Actual version: '[MISSING]'     Mod ID: 'architectury', Requested by: 'magistuarmory', Expected range: '[6.2.43,)', Actual version: '[MISSING]'     Mod ID: 'architectury', Requested by: 'simplyswords', Expected range: '[5.12.42,)', Actual version: '[MISSING]'     Mod ID: 'ftbteams', Requested by: 'ftbquests', Expected range: '[1902.2.9-build.61,)', Actual version: '[MISSING]'     Mod ID: 'cloth_config', Requested by: 'bettercombat', Expected range: '[8.0.0,)', Actual version: '[MISSING]'     Mod ID: 'playeranimator', Requested by: 'combatroll', Expected range: '[0.3.5,)', Actual version: '[MISSING]'     Mod ID: 'cofh_core', Requested by: 'archers_paradox', Expected range: '[10.2,10.3]', Actual version: '[MISSING]'     Mod ID: 'itemfilters', Requested by: 'ftbquests', Expected range: '[1902.2.9-build.46,)', Actual version: '[MISSING]'     Mod ID: 'playeranimator', Requested by: 'bettercombat', Expected range: '[0.9.9,)', Actual version: '[MISSING]'     Mod ID: 'balm', Requested by: 'waystones', Expected range: '[4.1.0,)', Actual version: '[MISSING]'     Mod ID: 'corgilib', Requested by: 'enhancedcelestials', Expected range: '[1.0.0.22,)', Actual version: '[MISSING]'     Mod ID: 'cloth_config', Requested by: 'magistuarmory', Expected range: '[8.2.88,)', Actual version: '[MISSING]' [14:46:17] [main/INFO]: OptiFineTransformationService.transformers [14:46:17] [main/INFO]: Targets: 386 [14:46:18] [main/INFO]: additionalClassesLocator: [optifine., net.optifine.] [14:46:19] [main/INFO]: Compatibility level set to JAVA_17 [14:46:19] [main/ERROR]: Mixin config epicsamurai.mixins.json does not specify "minVersion" property [14:46:19] [main/ERROR]: Mixin config sprout.mixins.json does not specify "minVersion" property [14:46:19] [main/INFO]: Successfully loaded Mixin Connector [com.sonicether.soundphysics.MixinConnector] [14:46:19] [main/INFO]: Successfully loaded Mixin Connector [tictim.paraglider.MixinConnector] [14:46:19] [main/INFO]: Launching target 'forgeclient' with arguments [--version, forge-43.2.0, --gameDir, C:\Users\nhock\Twitch\Minecraft\Instances\RPG Test, --assetsDir, C:\Users\nhock\Twitch\Minecraft\Install\assets, --uuid, 104402799c574480915e19487e68b040, --username, Aegia, --assetIndex, 1.19, --accessToken, ????????, --clientId, ZGYwN2RlNDYtMjI0Mi00NjhjLWE3MmUtYTdmNDg4ZTg4YzA1, --xuid, 2535417184517646, --userType, msa, --versionType, release, --width, 1024, --height, 768] [14:46:19] [main/WARN]: Reference map 'arclight.mixins.refmap.json' for epicsamurai.mixins.json could not be read. If this is a development environment you can ignore this message [14:46:19] [main/WARN]: Reference map 'untamedwilds.refmap.json' for untamedwilds.mixins.json could not be read. If this is a development environment you can ignore this message [14:46:19] [main/WARN]: Reference map 'simplyswords-common-refmap.json' for simplyswords-common.mixins.json could not be read. If this is a development environment you can ignore this message [14:46:19] [main/WARN]: Reference map 'simplyswords-forge-refmap.json' for simplyswords.mixins.json could not be read. If this is a development environment you can ignore this message [14:46:19] [main/WARN]: Reference map 'tlc.refmap.json' for tlc.mixins.json could not be read. If this is a development environment you can ignore this message [14:46:20] [main/WARN]: Error loading class: dev/kosmx/playerAnim/core/data/KeyframeAnimation$AnimationBuilder (java.lang.ClassNotFoundException: dev.kosmx.playerAnim.core.data.KeyframeAnimation$AnimationBuilder) [14:46:21] [main/WARN]: @Final field f_96540_:Ljava/util/List; in relics.mixins.json:MixinScreen should be final [14:46:21] [main/WARN]: Error loading class: dev/kosmx/playerAnim/api/layered/ModifierLayer (java.lang.ClassNotFoundException: dev.kosmx.playerAnim.api.layered.ModifierLayer)  
    • https://gist.github.com/CodeSceptile/e3e5b86015f1fb192a0ba3661b89c495 I downloaded and updated some mods then FTB chunks just broke updated/downloaded mod list: FTB Quests Architectury API Supplementaries [Beachparty] Let's Do Beachparty Merchant Markers Miri's Excessive Building RPG天启进化[RPGAE] Pineapple Delight AlizarasSnails Alizaras Things Hostile Mobs and Girls (HMaG) subpocket Elytra Slot (Fabric/Forge/Quilt) Caelus API (Forge)
    • Nice question  you can use directly nbt or create a capability  whats the deal  NBT is data stored inside an internal database every time you recall data it has to create an NBT object and query the internal database to read or write data  Capability is a java object loaded in memory it recall data from the item internally uses NBT but only query  save/write data when changes are detected, capabilities keep loaded in memory until the item is stored or discarted  if you just gonna store a simple number you gonna call one every 2 or 3 ticks like the ammunition/fuel count then no problem  on using NBT directly but if you wanna doo complex thing that need to consult data every tick or worst as mi items that uses json system to display animations client side it gonna slowdown the computer  this case is better to recall the data from the capability loaded in memory and the capability will take care of read/writing nbt thing only when changes are detected    this gun was made animation in client side whit nbt in old 1.8 its choppy and skip badly frames this one was made in 1.12 whit a capability to query the data client side   
    • I have turned down all graphic settings to the smallest except fps which is 30 i can move around the world for about like 10 sec and then the world crashes and then when i log in it crashesh instanly and i have to kms using nbt explorer https://pastebin.com/B0ggsSDa
  • Topics

×
×
  • Create New...

Important Information

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