Jump to content

Help needed with DeferredRegister error


airpodjoch_

Recommended Posts

I get this error, but don't know where it's coming from.

Caused by: java.lang.IllegalStateException: Cannot register new entries to DeferredRegister after RegistryEvent.Register has been fired.

 

EDIT: I fixed it myself, only now I get this error:
 

Caused by: net.minecraftforge.fml.LoadingFailedException: Loading errors encountered: [
	fml.modloading.errorduringevent
]

I don't know which event this could be, as I am not using events.

Edited by airpodjoch_
Link to comment
Share on other sites

Here is my full log:

[22Feb2022 17:26:21.054] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgedatauserdev, --assetIndex, 1.18, --assetsDir, C:\Users\niels\.gradle\caches\forge_gradle\assets, --gameDir, ., --fml.forgeVersion, 39.0.79, --fml.mcVersion, 1.18.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20211210.034407, --mod, betterfireworks, --all, --output, E:\MinecraftModsMCP\MODS\1.18.1\FireworksMod\src\generated\resources, --existing, E:\MinecraftModsMCP\MODS\1.18.1\FireworksMod\src\main\resources]
[22Feb2022 17:26:21.063] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 9.1.0+9.1.0+main.6690ee51 starting: java version 17.0.2 by Eclipse Adoptium
[22Feb2022 17:26:21.386] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/niels/.gradle/caches/modules-2/files-2.1/org.spongepowered/mixin/0.8.5/9d1c0c3a304ae6697ecd477218fa61b850bf57fc/mixin-0.8.5.jar%2327!/ Service=ModLauncher Env=CLIENT
[22Feb2022 17:26:24.501] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgedatauserdev' with arguments [--gameDir, ., --assetsDir, C:\Users\niels\.gradle\caches\forge_gradle\assets, --assetIndex, 1.18, --mod, betterfireworks, --all, --output, E:\MinecraftModsMCP\MODS\1.18.1\FireworksMod\src\generated\resources, --existing, E:\MinecraftModsMCP\MODS\1.18.1\FireworksMod\src\main\resources]
[17:26:24] [main/INFO]: Initializing Data Gatherer for mods [betterfireworks]
[17:26:33] [modloading-worker-0/INFO]: Forge mod loading, version 39.0.79, for MC 1.18.1 with MCP 20211210.034407
[17:26:33] [modloading-worker-0/INFO]: MinecraftForge v39.0.79 Initialized
[17:26:34] [modloading-worker-0/ERROR]: Null comment for config option server, this is invalid and may be disallowed in the future.
[22Feb2022 17:26:34.877] [main/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/]: Exception caught during firing event: Registry Object not present: betterfireworks:salt_water_fluid
	Index: 1
	Listeners:
		0: NORMAL
		1: ASM: net.minecraftforge.registries.DeferredRegister$EventDispatcher@83a9817 handleEvent(Lnet/minecraftforge/event/RegistryEvent$Register;)V
		2: ASM: net.minecraftforge.registries.DeferredRegister$EventDispatcher@6903cbf0 handleEvent(Lnet/minecraftforge/event/RegistryEvent$Register;)V
		3: ASM: net.minecraftforge.registries.DeferredRegister$EventDispatcher@3da2f79f handleEvent(Lnet/minecraftforge/event/RegistryEvent$Register;)V
java.lang.NullPointerException: Registry Object not present: betterfireworks:salt_water_fluid
	at java.base/java.util.Objects.requireNonNull(Objects.java:334)
	at TRANSFORMER/[email protected]/net.minecraftforge.registries.RegistryObject.get(RegistryObject.java:123)
	at TRANSFORMER/[email protected]/nl.airpodjoch.betterfireworks.setup.ModFluids.lambda$static$6(ModFluids.java:33)
	at TRANSFORMER/[email protected]/net.minecraftforge.registries.DeferredRegister.lambda$register$0(DeferredRegister.java:120)
	at TRANSFORMER/[email protected]/net.minecraftforge.registries.DeferredRegister.addEntries(DeferredRegister.java:196)
	at TRANSFORMER/[email protected]/net.minecraftforge.registries.DeferredRegister$EventDispatcher.handleEvent(DeferredRegister.java:168)
	at net.minecraftforge.eventbus.ASMEventHandler_0_EventDispatcher_handleEvent_Register.invoke(.dynamic)
	at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85)
	at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.EventBus.post(EventBus.java:302)
	at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.EventBus.post(EventBus.java:283)
	at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:120)
	at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:121)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
	at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModWorkManager$SyncExecutor.driveOne(ModWorkManager.java:56)
	at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModWorkManager$DrivenExecutor.drive(ModWorkManager.java:40)
	at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModLoader.waitForTransition(ModLoader.java:215)
	at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModLoader.lambda$dispatchAndHandleError$21(ModLoader.java:200)
	at java.base/java.util.Optional.ifPresent(Optional.java:178)
	at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:200)
	at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModLoader.lambda$gatherAndInitializeMods$11(ModLoader.java:177)
	at java.base/java.lang.Iterable.forEach(Iterable.java:75)
	at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:177)
	at TRANSFORMER/[email protected]/net.minecraftforge.data.loading.DatagenModLoader.begin(DatagenModLoader.java:52)
	at TRANSFORMER/[email protected]/net.minecraft.data.Main.main(Main.java:65)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.ForgeDataUserdevLaunchHandler.lambda$launchService$0(ForgeDataUserdevLaunchHandler.java:41)
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:106)
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
	at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149)

[22Feb2022 17:26:34.880] [main/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Caught exception during event RegistryEvent.Register<minecraft:block> dispatch for modid betterfireworks
java.lang.NullPointerException: Registry Object not present: betterfireworks:salt_water_fluid
	at java.util.Objects.requireNonNull(Objects.java:334) ~[?:?]
	at net.minecraftforge.registries.RegistryObject.get(RegistryObject.java:123) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2376%2382!/:?]
	at nl.airpodjoch.betterfireworks.setup.ModFluids.lambda$static$6(ModFluids.java:33) ~[%2381!/:?]
	at net.minecraftforge.registries.DeferredRegister.lambda$register$0(DeferredRegister.java:120) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2376%2382!/:?]
	at net.minecraftforge.registries.DeferredRegister.addEntries(DeferredRegister.java:196) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2376%2382!/:?]
	at net.minecraftforge.registries.DeferredRegister$EventDispatcher.handleEvent(DeferredRegister.java:168) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2376%2382!/:?]
	at net.minecraftforge.eventbus.ASMEventHandler_0_EventDispatcher_handleEvent_Register.invoke(.dynamic) ~[?:?]
	at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-5.0.7.jar%239!/:?]
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.7.jar%239!/:?]
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.7.jar%239!/:?]
	at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:120) ~[javafmllanguage-1.18.1-39.0.79.jar%2378!/:?]
	at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:121) ~[fmlcore-1.18.1-39.0.79.jar%2380!/:?]
	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?]
	at net.minecraftforge.fml.ModWorkManager$SyncExecutor.driveOne(ModWorkManager.java:56) ~[fmlcore-1.18.1-39.0.79.jar%2380!/:?]
	at net.minecraftforge.fml.ModWorkManager$DrivenExecutor.drive(ModWorkManager.java:40) ~[fmlcore-1.18.1-39.0.79.jar%2380!/:?]
	at net.minecraftforge.fml.ModLoader.waitForTransition(ModLoader.java:215) ~[fmlcore-1.18.1-39.0.79.jar%2380!/:?]
	at net.minecraftforge.fml.ModLoader.lambda$dispatchAndHandleError$21(ModLoader.java:200) ~[fmlcore-1.18.1-39.0.79.jar%2380!/:?]
	at java.util.Optional.ifPresent(Optional.java:178) ~[?:?]
	at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:200) ~[fmlcore-1.18.1-39.0.79.jar%2380!/:?]
	at net.minecraftforge.fml.ModLoader.lambda$gatherAndInitializeMods$11(ModLoader.java:177) ~[fmlcore-1.18.1-39.0.79.jar%2380!/:?]
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
	at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:177) ~[fmlcore-1.18.1-39.0.79.jar%2380!/:?]
	at net.minecraftforge.data.loading.DatagenModLoader.begin(DatagenModLoader.java:52) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2376%2382!/:?]
	at net.minecraft.data.Main.main(Main.java:65) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
	at net.minecraftforge.fml.loading.targets.ForgeDataUserdevLaunchHandler.lambda$launchService$0(ForgeDataUserdevLaunchHandler.java:41) ~[fmlloader-1.18.1-39.0.79.jar%230!/:?]
	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.0.jar%2310!/:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.0.jar%2310!/:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.0.jar%2310!/:?]
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.0.jar%2310!/:?]
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.0.jar%2310!/:?]
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.0.jar%2310!/:?]
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.0.jar%2310!/:?]
	at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?]
[17:26:35] [main/FATAL]: Detected errors during registry event dispatch, rolling back to VANILLA state
[17:26:37] [main/FATAL]: Detected errors during registry event dispatch, roll back to VANILLA complete
[22Feb2022 17:26:37.088] [main/FATAL] [net.minecraftforge.fml.ModLoader/LOADING]: Failed to complete lifecycle event LOAD_REGISTRIES, 1 errors found
Link to comment
Share on other sites

This is my ModFluids.java:
 

package nl.airpodjoch.betterfireworks.setup;

import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.level.block.LiquidBlock;
import net.minecraft.world.level.block.state.BlockBehaviour;
import net.minecraft.world.level.material.FlowingFluid;
import net.minecraft.world.level.material.Material;
import net.minecraftforge.fluids.FluidAttributes;
import net.minecraftforge.fluids.ForgeFlowingFluid;
import net.minecraftforge.registries.RegistryObject;

import static nl.airpodjoch.betterfireworks.setup.Registration.FLUIDS;

public class ModFluids {
    public static final ResourceLocation WATER_STILL_RL = new ResourceLocation("block/water_still");
    public static final ResourceLocation WATER_FLOWING_RL = new ResourceLocation("block/water_flow");
    public static final ResourceLocation WATER_OVERLAY_RL = new ResourceLocation("block/water_overlay");

    public static final RegistryObject<FlowingFluid> SALT_WATER_FLUID
            = FLUIDS.register("salt_water_fluid", () -> new ForgeFlowingFluid.Source(ModFluids.SALT_WATER_PROPERTIES));

    public static final RegistryObject<FlowingFluid> SALT_WATER_FOWING_FLUID
            = FLUIDS.register("salt_water_flowing_fluid", () -> new ForgeFlowingFluid.Source(ModFluids.SALT_WATER_PROPERTIES));

    public static final ForgeFlowingFluid.Properties SALT_WATER_PROPERTIES = new ForgeFlowingFluid.Properties(
            () -> SALT_WATER_FLUID.get(), () -> SALT_WATER_FOWING_FLUID.get(), FluidAttributes.builder(WATER_STILL_RL, WATER_FLOWING_RL)
            .overlay(WATER_OVERLAY_RL))
            .block(() -> ModFluids.SALT_WATER_BLOCK.get()).bucket(() -> ModItems.SALT_WATER_BUCKET.get());

    public static final RegistryObject<LiquidBlock> SALT_WATER_BLOCK = Registration.BLOCKS.register("salt_water_block", () -> new LiquidBlock(ModFluids.SALT_WATER_FLUID.get(), BlockBehaviour.Properties.of(Material.WATER).noCollission().strength(100.0F).noDrops()));

    public static void register() {}
}

 

This is my Registration.java:

package nl.airpodjoch.betterfireworks.setup;

import net.minecraft.world.item.Item;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.material.Fluid;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
import nl.airpodjoch.betterfireworks.BetterFireworksMod;
import nl.airpodjoch.betterfireworks.eventhandlers.BucketFillHandler;

public class Registration {
    public static final DeferredRegister<Block> BLOCKS = DeferredRegister.create(ForgeRegistries.BLOCKS, BetterFireworksMod.MOD_ID);
    public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, BetterFireworksMod.MOD_ID);
    public static final DeferredRegister<Fluid> FLUIDS = DeferredRegister.create(ForgeRegistries.FLUIDS, BetterFireworksMod.MOD_ID);

    public static void register() {
        IEventBus modEventBus = FMLJavaModLoadingContext.get().getModEventBus();
        BLOCKS.register(modEventBus);
        ITEMS.register(modEventBus);
        FLUIDS.register(modEventBus);

        ModItems.register();
        ModBlocks.register();
        ModFluids.register();

        MinecraftForge.EVENT_BUS.register(BucketFillHandler.class);
    }
}
Link to comment
Share on other sites

45 minutes ago, diesieben07 said:

Why? RegistryObject is already a Supplier. There is no need to wrap it again.

How would you fix this? If I remove the () -> it just tells me it suspects a Supplier, which it doesn't get.

 

47 minutes ago, diesieben07 said:

Fluids are not initialized at this point yet. The registry order is always Blocks, then Items, then everything else in unspecified order. Use the LiquidBlock constructor that is not deprecated.

What would be the new constructer?

Link to comment
Share on other sites

unknown.png

I guess I have to use the one that is not depracted.

 

6 minutes ago, diesieben07 said:

You are giving it the result of RegistryObject#get. You need to give it the RegistryObject.

Thanks, this worked.

EDIT: I changed my line to this:

public static final RegistryObject<LiquidBlock> SALT_WATER_BLOCK = Registration.BLOCKS.register("salt_water_block", () -> new LiquidBlock(() -> SALT_WATER_FLUID.get(), LiquidBlock.Properties.of(Material.WATER).noCollission().strength(100.0F).noDrops()));

 

Edited by airpodjoch_
Link to comment
Share on other sites

All errors have been resolved, thanks for the help! However, now my game crashes when I place the liquid.

This is the error it gives:

Cannot set property IntegerProperty{name=level, clazz=class java.lang.Integer, values=[1, 2, 3, 4, 5, 6, 7, 8]} as it does not exist in net.minecraftforge.fluids.ForgeFlowingFluid$Source@203e705e

Here the full log:

Spoiler
[22Feb2022 19:42:53.819] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeclientuserdev, --version, MOD_DEV, --assetIndex, 1.18, --assetsDir, C:\Users\niels\.gradle\caches\forge_gradle\assets, --gameDir, ., --fml.forgeVersion, 39.0.79, --fml.mcVersion, 1.18.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20211210.034407]
[22Feb2022 19:42:53.832] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 9.1.0+9.1.0+main.6690ee51 starting: java version 17.0.2 by Eclipse Adoptium
[22Feb2022 19:42:54.208] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/niels/.gradle/caches/modules-2/files-2.1/org.spongepowered/mixin/0.8.5/9d1c0c3a304ae6697ecd477218fa61b850bf57fc/mixin-0.8.5.jar%2327!/ Service=ModLauncher Env=CLIENT
[22Feb2022 19:42:57.696] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgeclientuserdev' with arguments [--version, MOD_DEV, --gameDir, ., --assetsDir, C:\Users\niels\.gradle\caches\forge_gradle\assets, --assetIndex, 1.18]
[19:43:10] [Render thread/WARN]: Assets URL 'union:/C:/Users/niels/.gradle/caches/forge_gradle/minecraft_user_repo/net/minecraftforge/forge/1.18.1-39.0.79_mapped_official_1.18.1/forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/assets/.mcassetsroot' uses unexpected schema
[19:43:10] [Render thread/WARN]: Assets URL 'union:/C:/Users/niels/.gradle/caches/forge_gradle/minecraft_user_repo/net/minecraftforge/forge/1.18.1-39.0.79_mapped_official_1.18.1/forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/data/.mcassetsroot' uses unexpected schema
[22Feb2022 19:43:10.680] [Render thread/INFO] [com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService/]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[19:43:10] [Render thread/INFO]: Setting user: Dev
[19:43:11] [Render thread/INFO]: Backend library: LWJGL version 3.2.2 SNAPSHOT
[19:43:12] [Render thread/ERROR]: Null comment for config option server, this is invalid and may be disallowed in the future.
[19:43:24] [modloading-worker-0/INFO]: Forge mod loading, version 39.0.79, for MC 1.18.1 with MCP 20211210.034407
[19:43:24] [modloading-worker-0/INFO]: MinecraftForge v39.0.79 Initialized
[22Feb2022 19:43:27.163] [Render thread/INFO] [com.mojang.text2speech.NarratorWindows/]: Narrator library for x64 successfully loaded
[19:43:27] [Render thread/INFO]: Reloading ResourceManager: Default, Mod Resources
[19:43:27] [Worker-Main-16/INFO]: HELLO FROM PREINIT
[19:43:27] [Worker-Main-16/INFO]: DIRT BLOCK >> minecraft:dirt
[22Feb2022 19:43:29.314] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Starting version check at https://files.minecraftforge.net/net/minecraftforge/forge/promotions_slim.json
[22Feb2022 19:43:30.377] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Found status: BETA Current: 39.0.79 Target: 39.0.79
[19:43:39] [Worker-Main-12/WARN]: Exception loading blockstate definition: betterfireworks:blockstates/mortar_and_pastle.json: java.io.FileNotFoundException: betterfireworks:blockstates/mortar_and_pastle.json
[19:43:39] [Worker-Main-12/WARN]: Exception loading blockstate definition: 'betterfireworks:blockstates/mortar_and_pastle.json' missing model for variant: 'betterfireworks:mortar_and_pastle#'
[19:43:39] [Worker-Main-12/WARN]: Exception loading blockstate definition: betterfireworks:blockstates/salt_water_block.json: java.io.FileNotFoundException: betterfireworks:blockstates/salt_water_block.json
[19:43:39] [Worker-Main-12/WARN]: Exception loading blockstate definition: 'betterfireworks:blockstates/salt_water_block.json' missing model for variant: 'betterfireworks:salt_water_block#level=9'
[19:43:39] [Worker-Main-12/WARN]: Exception loading blockstate definition: 'betterfireworks:blockstates/salt_water_block.json' missing model for variant: 'betterfireworks:salt_water_block#level=11'
[19:43:39] [Worker-Main-12/WARN]: Exception loading blockstate definition: 'betterfireworks:blockstates/salt_water_block.json' missing model for variant: 'betterfireworks:salt_water_block#level=10'
[19:43:39] [Worker-Main-12/WARN]: Exception loading blockstate definition: 'betterfireworks:blockstates/salt_water_block.json' missing model for variant: 'betterfireworks:salt_water_block#level=13'
[19:43:39] [Worker-Main-12/WARN]: Exception loading blockstate definition: 'betterfireworks:blockstates/salt_water_block.json' missing model for variant: 'betterfireworks:salt_water_block#level=12'
[19:43:39] [Worker-Main-12/WARN]: Exception loading blockstate definition: 'betterfireworks:blockstates/salt_water_block.json' missing model for variant: 'betterfireworks:salt_water_block#level=15'
[19:43:39] [Worker-Main-12/WARN]: Exception loading blockstate definition: 'betterfireworks:blockstates/salt_water_block.json' missing model for variant: 'betterfireworks:salt_water_block#level=14'
[19:43:39] [Worker-Main-12/WARN]: Exception loading blockstate definition: 'betterfireworks:blockstates/salt_water_block.json' missing model for variant: 'betterfireworks:salt_water_block#level=1'
[19:43:39] [Worker-Main-12/WARN]: Exception loading blockstate definition: 'betterfireworks:blockstates/salt_water_block.json' missing model for variant: 'betterfireworks:salt_water_block#level=2'
[19:43:39] [Worker-Main-12/WARN]: Exception loading blockstate definition: 'betterfireworks:blockstates/salt_water_block.json' missing model for variant: 'betterfireworks:salt_water_block#level=3'
[19:43:39] [Worker-Main-12/WARN]: Exception loading blockstate definition: 'betterfireworks:blockstates/salt_water_block.json' missing model for variant: 'betterfireworks:salt_water_block#level=4'
[19:43:39] [Worker-Main-12/WARN]: Exception loading blockstate definition: 'betterfireworks:blockstates/salt_water_block.json' missing model for variant: 'betterfireworks:salt_water_block#level=5'
[19:43:39] [Worker-Main-12/WARN]: Exception loading blockstate definition: 'betterfireworks:blockstates/salt_water_block.json' missing model for variant: 'betterfireworks:salt_water_block#level=6'
[19:43:39] [Worker-Main-12/WARN]: Exception loading blockstate definition: 'betterfireworks:blockstates/salt_water_block.json' missing model for variant: 'betterfireworks:salt_water_block#level=7'
[19:43:39] [Worker-Main-12/WARN]: Exception loading blockstate definition: 'betterfireworks:blockstates/salt_water_block.json' missing model for variant: 'betterfireworks:salt_water_block#level=8'
[19:43:39] [Worker-Main-12/WARN]: Exception loading blockstate definition: 'betterfireworks:blockstates/salt_water_block.json' missing model for variant: 'betterfireworks:salt_water_block#level=0'
[19:43:42] [Worker-Main-12/WARN]: Unable to load model: 'betterfireworks:raw_sodium#inventory' referenced from: betterfireworks:raw_sodium#inventory: java.io.FileNotFoundException: betterfireworks:models/item/raw_sodium.json
[19:43:42] [Worker-Main-12/WARN]: Unable to load model: 'betterfireworks:iron_container_filled_with_salt_water#inventory' referenced from: betterfireworks:iron_container_filled_with_salt_water#inventory: java.io.FileNotFoundException: betterfireworks:models/item/iron_container_filled_with_salt_water.json
[19:43:42] [Worker-Main-12/WARN]: Unable to load model: 'betterfireworks:salt_water_bucket#inventory' referenced from: betterfireworks:salt_water_bucket#inventory: java.io.FileNotFoundException: betterfireworks:models/item/salt_water_bucket.json
[19:43:42] [Worker-Main-12/WARN]: Unable to load model: 'betterfireworks:mortar_and_pastle#inventory' referenced from: betterfireworks:mortar_and_pastle#inventory: java.io.FileNotFoundException: betterfireworks:models/item/mortar_and_pastle.json
[19:43:45] [Worker-Main-12/INFO]: Hello world from the MDK
[19:43:45] [Worker-Main-12/INFO]: Got IMC [Hello world]
[19:43:46] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on VoiceMeeter Input (VB-Audio VoiceMeeter VAIO)
[19:43:46] [Render thread/INFO]: Sound engine started
[19:43:46] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas
[19:43:46] [Render thread/INFO]: Created: 256x128x4 minecraft:textures/atlas/signs.png-atlas
[19:43:46] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[19:43:46] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[19:43:46] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[19:43:46] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[19:43:46] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[19:43:48] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas
[19:43:48] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[19:43:48] [Render thread/INFO]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[19:43:48] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
[19:44:46] [Render thread/INFO]: Injecting existing registry data into this CLIENT instance
[19:44:46] [Render thread/INFO]: Registry minecraft:block: Found a missing id from the world fireworks:barium_block
[19:44:46] [Render thread/INFO]: Registry minecraft:block: Found a missing id from the world fireworks:barium_ore
[19:44:46] [Render thread/INFO]: Registry minecraft:block: Found a missing id from the world fireworks:barium_powder_block
[19:44:46] [Render thread/INFO]: Registry minecraft:block: Found a missing id from the world fireworks:calcium_block
[19:44:46] [Render thread/INFO]: Registry minecraft:block: Found a missing id from the world fireworks:calcium_ore
[19:44:46] [Render thread/INFO]: Registry minecraft:block: Found a missing id from the world fireworks:calcium_powder_block
[19:44:46] [Render thread/INFO]: Registry minecraft:block: Found a missing id from the world fireworks:copper_powder_block
[19:44:46] [Render thread/INFO]: Registry minecraft:block: Found a missing id from the world fireworks:deepslate_barium_ore
[19:44:46] [Render thread/INFO]: Registry minecraft:block: Found a missing id from the world fireworks:deepslate_calcium_ore
[19:44:46] [Render thread/INFO]: Registry minecraft:block: Found a missing id from the world fireworks:deepslate_strontium_ore
[19:44:46] [Render thread/INFO]: Registry minecraft:block: Found a missing id from the world fireworks:gunpowder_block
[19:44:46] [Render thread/INFO]: Registry minecraft:block: Found a missing id from the world fireworks:mortar_and_pastle
[19:44:46] [Render thread/INFO]: Registry minecraft:block: Found a missing id from the world fireworks:raw_barium_block
[19:44:46] [Render thread/INFO]: Registry minecraft:block: Found a missing id from the world fireworks:raw_calcium_block
[19:44:46] [Render thread/INFO]: Registry minecraft:block: Found a missing id from the world fireworks:raw_sodium_block
[19:44:46] [Render thread/INFO]: Registry minecraft:block: Found a missing id from the world fireworks:raw_strontium_block
[19:44:46] [Render thread/INFO]: Registry minecraft:block: Found a missing id from the world fireworks:sodium_block
[19:44:46] [Render thread/INFO]: Registry minecraft:block: Found a missing id from the world fireworks:sodium_powder_block
[19:44:46] [Render thread/INFO]: Registry minecraft:block: Found a missing id from the world fireworks:strontium_block
[19:44:46] [Render thread/INFO]: Registry minecraft:block: Found a missing id from the world fireworks:strontium_ore
[19:44:46] [Render thread/INFO]: Registry minecraft:block: Found a missing id from the world fireworks:strontium_powder_block
[19:44:46] [Render thread/WARN]: Registry minecraft:block: Object did not get ID it asked for. Name: betterfireworks:salt_water_block Expected: 918 Got: 939
[19:44:48] [Render thread/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[19:44:48] [Render thread/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[19:44:48] [Render thread/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[19:44:48] [Render thread/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[19:44:48] [Render thread/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[19:44:48] [Render thread/INFO]: Reloading ResourceManager: Default, , main
[19:44:51] [Render thread/ERROR]: Parsing error loading recipe betterfireworks:sodium_crystal_from_smelting_water_container
com.google.gson.JsonSyntaxException: Unknown item 'fireworks:iron_container_filled_with_water'
	at net.minecraft.world.item.crafting.ShapedRecipe.lambda$itemFromJson$2(ShapedRecipe.java:276) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at java.util.Optional.orElseThrow(Optional.java:403) ~[?:?]
	at net.minecraft.world.item.crafting.ShapedRecipe.itemFromJson(ShapedRecipe.java:275) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.world.item.crafting.Ingredient.valueFromJson(Ingredient.java:224) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraftforge.common.crafting.VanillaIngredientSerializer.parse(VanillaIngredientSerializer.java:41) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2376%2382!/:?]
	at net.minecraftforge.common.crafting.CraftingHelper.getIngredient(CraftingHelper.java:156) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2376%2382!/:?]
	at net.minecraft.world.item.crafting.Ingredient.fromJson(Ingredient.java:199) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.world.item.crafting.SimpleCookingSerializer.fromJson(SimpleCookingSerializer.java:23) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.world.item.crafting.SimpleCookingSerializer.fromJson(SimpleCookingSerializer.java:11) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.world.item.crafting.RecipeManager.fromJson(RecipeManager.java:144) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.world.item.crafting.RecipeManager.apply(RecipeManager.java:60) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.world.item.crafting.RecipeManager.apply(RecipeManager.java:35) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.server.packs.resources.SimplePreparableReloadListener.lambda$reload$1(SimplePreparableReloadListener.java:12) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718) ~[?:?]
	at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
	at net.minecraft.server.packs.resources.SimpleReloadInstance.lambda$new$3(SimpleReloadInstance.java:67) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:139) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:22) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:112) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:122) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.client.Minecraft.makeServerStem(Minecraft.java:2070) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.client.Minecraft.doLoadLevel(Minecraft.java:1906) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.client.Minecraft.loadLevel(Minecraft.java:1873) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.client.gui.screens.worldselection.WorldSelectionList$WorldListEntry.loadWorld(WorldSelectionList.java:476) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.client.gui.screens.worldselection.WorldSelectionList$WorldListEntry.joinWorld(WorldSelectionList.java:330) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.client.gui.screens.worldselection.WorldSelectionList$WorldListEntry.mouseClicked(WorldSelectionList.java:257) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.client.gui.components.AbstractSelectionList.mouseClicked(AbstractSelectionList.java:323) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.client.gui.components.events.ContainerEventHandler.mouseClicked(ContainerEventHandler.java:28) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.client.MouseHandler.lambda$onPress$0(MouseHandler.java:88) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.client.gui.screens.Screen.wrapScreenError(Screen.java:527) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.client.MouseHandler.onPress(MouseHandler.java:85) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.client.MouseHandler.lambda$setup$4(MouseHandler.java:185) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:90) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.client.MouseHandler.lambda$setup$5(MouseHandler.java:184) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36) ~[lwjgl-glfw-3.2.2.jar%2355!/:build 10]
	at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.2.2.jar%2361!/:build 10]
	at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3174) ~[lwjgl-glfw-3.2.2.jar%2355!/:build 10]
	at com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS(RenderSystem.java:185) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.client.Minecraft.runTick(Minecraft.java:1065) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.client.Minecraft.run(Minecraft.java:660) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.client.main.Main.main(Main.java:205) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
	at net.minecraftforge.fml.loading.targets.ForgeClientUserdevLaunchHandler.lambda$launchService$0(ForgeClientUserdevLaunchHandler.java:38) ~[fmlloader-1.18.1-39.0.79.jar%230!/:?]
	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.0.jar%2310!/:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.0.jar%2310!/:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.0.jar%2310!/:?]
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.0.jar%2310!/:?]
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.0.jar%2310!/:?]
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.0.jar%2310!/:?]
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.0.jar%2310!/:?]
	at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?]
[19:44:51] [Render thread/INFO]: Loaded 7 recipes
[19:44:53] [Render thread/INFO]: Loaded 1161 advancements
[22Feb2022 19:44:54.451] [Render thread/INFO] [com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService/]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[19:44:54] [Server thread/INFO]: Starting integrated minecraft server version 1.18.1
[19:44:54] [Server thread/INFO]: Generating keypair
[19:44:54] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[19:44:55] [Render thread/INFO]: Preparing spawn area: 0%
[19:44:55] [Render thread/INFO]: Preparing spawn area: 0%
[19:44:55] [Render thread/INFO]: Preparing spawn area: 0%
[19:44:56] [Render thread/INFO]: Preparing spawn area: 0%
[19:44:56] [Render thread/INFO]: Preparing spawn area: 0%
[19:44:57] [Render thread/INFO]: Preparing spawn area: 0%
[19:44:58] [Render thread/INFO]: Preparing spawn area: 0%
[19:44:58] [Render thread/INFO]: Preparing spawn area: 0%
[19:44:59] [Render thread/INFO]: Preparing spawn area: 4%
[19:44:59] [Render thread/INFO]: Preparing spawn area: 4%
[19:45:00] [Render thread/INFO]: Preparing spawn area: 13%
[19:45:00] [Render thread/INFO]: Preparing spawn area: 17%
[19:45:02] [Render thread/INFO]: Preparing spawn area: 18%
[19:45:02] [Render thread/INFO]: Preparing spawn area: 18%
[19:45:02] [Render thread/INFO]: Preparing spawn area: 18%
[19:45:02] [Render thread/INFO]: Preparing spawn area: 18%
[19:45:02] [Render thread/INFO]: Preparing spawn area: 26%
[19:45:03] [Render thread/INFO]: Preparing spawn area: 48%
[19:45:04] [Render thread/INFO]: Preparing spawn area: 69%
[19:45:04] [Render thread/INFO]: Preparing spawn area: 87%
[19:45:04] [Server thread/INFO]: Successfully initialized permission handler forge:default_handler
[19:45:04] [Server thread/INFO]: HELLO from server starting
[19:45:04] [Render thread/INFO]: Time elapsed: 9826 ms
[19:45:04] [Server thread/INFO]: Changing view distance to 6, from 10
[19:45:04] [Server thread/INFO]: Changing simulation distance to 32, from 0
[19:45:06] [Netty Local Client IO #0/INFO]: Connected to a modded server.
[19:45:06] [Server thread/INFO]: Using new advancement loading for net.minecraft.server.PlayerAdvancements@48150091
[19:45:06] [Server thread/INFO]: Dev[local:E:e8a933f9] logged in with entity id 69 at (1048.0250586433508, 70.0, 208.29615770383379)
[19:45:06] [Server thread/INFO]: Dev joined the game
[19:45:08] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 2081ms or 41 ticks behind
[19:45:08] [Render thread/INFO]: Loaded 108 advancements
[19:45:15] [Server thread/INFO]: [Dev: Set own game mode to Creative Mode]
[19:45:15] [Render thread/INFO]: [CHAT] Set own game mode to Creative Mode
[19:45:21] [Server thread/FATAL]: Error executing task on Server
java.lang.IllegalArgumentException: Cannot set property IntegerProperty{name=level, clazz=class java.lang.Integer, values=[1, 2, 3, 4, 5, 6, 7, 8]} as it does not exist in net.minecraftforge.fluids.ForgeFlowingFluid$Source@203e705e
	at net.minecraft.world.level.block.state.StateHolder.setValue(StateHolder.java:106) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.world.level.material.FlowingFluid.getFlowing(FlowingFluid.java:225) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.world.level.block.LiquidBlock.initFluidStateCache(LiquidBlock.java:184) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.world.level.block.LiquidBlock.getFluidState(LiquidBlock.java:89) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.getFluidState(BlockBehaviour.java:761) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.world.level.chunk.LevelChunkSection.setBlockState(LevelChunkSection.java:74) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.world.level.chunk.LevelChunkSection.setBlockState(LevelChunkSection.java:62) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.world.level.chunk.LevelChunk.setBlockState(LevelChunk.java:220) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.world.level.Level.setBlock(Level.java:202) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.world.level.Level.setBlock(Level.java:179) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.world.item.BucketItem.emptyContents(BucketItem.java:146) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.world.item.BucketItem.use(BucketItem.java:90) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.world.item.ItemStack.use(ItemStack.java:242) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.server.level.ServerPlayerGameMode.useItem(ServerPlayerGameMode.java:284) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.handleUseItem(ServerGamePacketListenerImpl.java:999) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.network.protocol.game.ServerboundUseItemPacket.handle(ServerboundUseItemPacket.java:23) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.network.protocol.game.ServerboundUseItemPacket.handle(ServerboundUseItemPacket.java:7) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:21) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.server.TickTask.run(TickTask.java:17) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:139) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:22) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:765) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:161) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:112) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:748) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:742) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:122) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:728) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:672) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:258) ~[forge-1.18.1-39.0.79_mapped_official_1.18.1-recomp.jar%2377!/:?]
	at java.lang.Thread.run(Thread.java:833) [?:?]

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • rp.crazyheal.xyz mods  
    • I'm developing a dimension, but it's kinda resource intensive so some times during player teleporting it lags behind making the player phase down into the void, so im trying to implement some kind of pregeneration to force the game loading a small set of chunks in the are the player will teleport to. Some of the things i've tried like using ServerLevel and ServerChunkCache methods like getChunk() dont actually trigger chunk generation if the chunk isn't already on persistent storage (already generated) or placing tickets, but that doesn't work either. Ideally i should be able to check when the task has ended too. I've peeked around some pregen engines, but they're too complex for my current understanding of the system of which I have just a basic understanding (how ServerLevel ,ServerChunkCache  and ChunkMap work) of. Any tips or other classes I should be looking into to understand how to do this correctly?
    • https://mclo.gs/4UC49Ao
    • Way back in the Forge 1.17 days, work started for adding JPMS (Java Platform Module Support) to ModLauncher and ForgeModLoader. This has been used internally by Forge and some libraries for a while now, but mods (those with mods.toml specifically) have not been able to take advantage of it. As of Forge 1.21.1 and 1.21.3, this is now possible!   What is JPMS and what does it mean for modders? JPMS is the Java Platform Module System, introduced in Java 9. It allows you to define modules, which are collections of packages and resources that can be exported or hidden from other modules. This allows for much more fine-tuned control over visibility, cleaner syntax for service declarations and support for sealed types across packages. For example, you might have a mod with a module called `com.example.mod` that exports `com.example.mod.api` and `com.example.mod.impl` to other mods, but hides `com.example.mod.internal` from them. This would allow you to have a clean API for other mods to use, while keeping your internal implementation details hidden from IDE hints, helping prevent accidental usage of internals that might break without prior notice. This is particularly useful if you'd like to use public records with module-private constructors or partially module-private record components, as you can create a sealed interface that only your record implements, having the interface be exported and the record hidden. It's also nice for declaring and using services, as you'll get compile-time errors from the Java compiler for typos and the like, rather than deferring to runtime errors. In more advanced cases, you can also have public methods that are only accessible to specific other modules -- handy if you want internal interactions between multiple of your own mods.   How do I bypass it? We understand there may be drama in implementing a system that prevents mods from accessing each other's internals when necessary (like when a mod is abandoned or you need to fix a compat issue) -- after all, we are already modding a game that doesn't have explicit support for Java mods yet. We have already thought of this and are offering APIs from day one to selectively bypass module restrictions. Let me be clear: Forge mods are not required to use JPMS. If you don't want to use it, you don't have to. The default behaviour is to have fully open, fully exported automatic modules. In Java, you can use the `Add-Opens` and `Add-Exports` manifest attributes to selectively bypass module restrictions of other mods at launch time, and we've added explicit support for these when loading your Forge mods. At compile-time, you can use existing solutions such as the extra-java-module-info Gradle plugin to deal with non-modular dependencies and add extra opens and exports to other modules. Here's an example on how to make the internal package `com.example.examplemod.internal` open to your mod in your build.gradle: tasks.named('jar', Jar) { manifest { attributes([ 'Add-Opens' : 'com.example.examplemod/com.example.examplemod.internal' 'Specification-Title' : mod_id, 'Specification-Vendor' : mod_authors // (...) ]) } } With the above in your mod's jar manifest, you can now reflectively access the classes inside that internal package. Multiple entries are separated with a space, as per Java's official spec. You can also use Add-Exports to directly call without reflection, however you'd need to use the Gradle plugin mentioned earlier to be able to compile. The syntax for Add-Exports is the same as Add-Opens, and instructions for the compile-time step with the Gradle plugin are detailed later in this post. Remember to prefer the opens and exports keywords inside module-info.java for sources you control. The Add-Opens/Add-Exports attributes are only intended for forcing open other mods.   What else is new with module support? Previously, the runtime module name was always forced to the first mod ID in your `mods.toml` file and all packages were forced fully open and exported. Module names are now distinguished from mod IDs, meaning the module name in your module-info.java can be different from the mod ID in your `mods.toml`. This allows you to have a more descriptive module name that doesn't have to be the same as your mod ID, however we strongly recommend including your mod ID as part of your module name to aid troubleshooting. The `Automatic-Module-Name` manifest attribute is now also honoured, allowing you to specify a module name for your mod without needing to create a `module-info.java` file. This is particularly useful for mods that don't care about JPMS features but want to have a more descriptive module name and easier integration with other mods that do use JPMS.   How do I use it? The first step is to create a `module-info.java` file in your mod's source directory. This file should be in the same package as your main mod class, and should look something like this: open module com.example.examplemod { requires net.minecraftforge.eventbus; requires net.minecraftforge.fmlcore; requires net.minecraftforge.forge; requires net.minecraftforge.javafmlmod; requires net.minecraftforge.mergetool.api; requires org.slf4j; requires logging; } For now, we're leaving the whole module open to reflection, which is a good starting point. When we know we want to close something off, we can remove the open modifier from the module and open or export individual packages instead. Remember that you need to be open to Forge (module name net.minecraftforge.forge), otherwise it can't call your mod's constructor. Next is fixing modules in Gradle. While Forge and Java support modules properly, Gradle does not put automatic modules on the module path by default, meaning that the logging module (from com.mojang:logging) is not found. To fix this, add the Gradle plugin and add a compile-time module definition for that Mojang library: plugins { // (...) id 'org.gradlex.extra-java-module-info' version "1.9" } // (...) extraJavaModuleInfo { failOnMissingModuleInfo = false automaticModule("com.mojang:logging", "logging") } The automatic module override specified in your build.gradle should match the runtime one to avoid errors. You can do the same for any library or mod dependency that is missing either a module-info or explicit Automatic-Module-Name, however be aware that you may need to update your mod once said library adds one. That's all you need to get started with module support in your mods. You can learn more about modules and how to use them at dev.java.
    • Faire la mise à jour grâce à ce lien m'a aider personnellement, merci à @Paint_Ninja. https://www.amd.com/en/support 
  • Topics

×
×
  • Create New...

Important Information

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