Jump to content

Recommended Posts

Posted

Hello!

I saw on different posts that registering items like this i not the best way to do it

@SubscribeEvent
public static void onItemRegister(RegistryEvent.Register<Item> event)
{
	event.getRegistry().registerAll(ModItems.ITEMS.toArray(new Item[0]));
}

I saw how VoidWalker was registering his items, and it seems more complicated and to be adding more code than what i currently have

What are the downsides of doing what i do and how can i optimize it?

Posted
  On 5/25/2019 at 8:06 PM, Seynox said:

it seems more complicated and to be adding more code than what i currently have

Expand  

It isn't though.

Just instantinate your items in the registry event. Your code currently instantinates them in a static initializer which is bad.

In my case I just like to keep a reference to all my items with ObjectHolder annotation, but you don't need that.

Thus if you don't keep the references and use the correct way of instantinating items in the registry event and unlike me use an actual loop/stream to register your models you are writing less code than what you have right now.

Not to say that using static intializers will cause issues so you must instantinate your items in the registry event anyway.

  • Thanks 1
Posted

Okay so now that the Items and blocks are registered, i need to find a way to register the models, so here's what i did :

@SubscribeEvent
public static void onModelRegister(ModelRegistryEvent event)
{
	
	for(Item item : Item.REGISTRY)
	{
		if(item.getRegistryName().getResourceDomain().equals(Reference.MODID))
		ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(item.getRegistryName(), "inventory"));
	}
	
}

Is it fine if i use the Resource Domain to register the model like this? (It's working perfectly but i don't know if that's a great way to do it)

Posted
  On 5/25/2019 at 9:26 PM, Seynox said:

I just saw how Botania registered his Items and it's really close to what i already have and it's not using the ArrayList to register things, is it good?

 

Expand  

No, it still uses static initializers which is bad and you should never do this. Actually go and complain to them that they do this since it may break their mod, may break others's mods, is against forge's guidelines, prevents forge from doing things like reloadable registries and prevents other modders from overriding their items.

So yeah, if the mod is popular it doesn't mean it'w code is good.

Again, don't ever use static initializers for registry entries. Instantinate your stuff in the registry event directry.

 

  On 5/25/2019 at 10:32 PM, Seynox said:

Is it fine if i use the Resource Domain to register the model like this? (It's working perfectly but i don't know if that's a great way to do it)

Expand  

This is absolutely fine

Posted

Okay, so i registered everything like this (The string after is just to set the unlocalized name) :

	@SubscribeEvent
	public static void onItemRegister(RegistryEvent.Register<Item> event)
	{
		event.getRegistry().registerAll
		(
				
				new ItemExemple0("item_exemple0"),
				new ItemExemple1("item_exemple1"),
				new ItemExemple2("item_exemple2")
          );
    }

Everything is working, and i still have those lines

public static final Item ITEM_EXEMPLE = new ItemExemple("item_exemple");

Is it problematic if i use them? Not for the registering of course, but in general? For exemple :

ItemStack stack = new ItemStack(ITEM_EXEMPLE);

instead of

ItemStack stack = new ItemStack(new ItemExemple("item_exemple"));

 

Posted

I don't really know hpw to explain this, but basically

new ItemExemple("item_exemple") != new ItemExemple("item_exemple"). These are two separate objects.

So you are registering the items correctly, and those are the items that are in the game and are interacted with. 

Then you have these lines

  On 5/25/2019 at 11:44 PM, Seynox said:
public static final Item ITEM_EXEMPLE = new ItemExemple("item_exemple");

 

Expand  

that now define a new item that isn't registered and thus isn't actually in game.

So as a result using this

  On 5/25/2019 at 11:44 PM, Seynox said:
ItemStack stack = new ItemStack(ITEM_EXEMPLE);

 

Expand  

Will crash the game.

However since you MUST use the instance you've registered this

  On 5/25/2019 at 11:44 PM, Seynox said:
ItemStack stack = new ItemStack(new ItemExemple("item_exemple"));

 

Expand  

Will also crash the game.

 

If you need a reference to your item instances use an ObjectHolder annotation.

Posted
  On 5/26/2019 at 12:51 AM, V0idWa1k3r said:

I don't really know hpw to explain this, but basically

new ItemExemple("item_exemple") != new ItemExemple("item_exemple"). These are two separate objects.

So you are registering the items correctly, and those are the items that are in the game and are interacted with. 

Then you have these lines

that now define a new item that isn't registered and thus isn't actually in game.

So as a result using this

Will crash the game.

However since you MUST use the instance you've registered this

Will also crash the game.

 

If you need a reference to your item instances use an ObjectHolder annotation.

Expand  

So, for example, if i make an item like this, it's not gonna work?

@Override
public ActionResult<ItemStack> onItemRightClick(World world, EntityPlayer player, EnumHand hand)
{
	ItemStack itemstack = player.getHeldItem(hand);
  
	world.spawnEntity(new EntityItem(world, posX, posY, posZ, new ItemStack(new ExempleItem())));
  
	return new ActionResult<ItemStack>(EnumActionResult.SUCCESS, itemstack);
}

 

Posted (edited)

So everything is working except the blocks that are really weird

I have 2 custom blocks and both have the same problem : When i place the block, the block doesnt have any textures/sounds/particles, but still have the effects and properties i have set in their class, but if they are placed with a command or a structure, the block is working perfectly (When i try to pick the working block (With the middle click), nothing happen, but when i do it on the glitchy one, i get the item)

 

EDIT : Forgot to mention that they appear normal in hand and in inventory

Edited by Seynox
Posted
  On 5/26/2019 at 2:25 AM, V0idWa1k3r said:

Thins means that the ItemBlock holds a different instance of the Block compared to the one you've registered.

Expand  
  Reveal hidden contents

That's how i register the blocks

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.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I added an almost concerning amount of mods to my modpack, and it loaded just perfectly, no error during mod loading or anything like such. However, when I went to use my test world and try to load it, the game would crash after the rendering completed, so basically the period of time before loading in and rendering the world. https://mclo.gs/s9s2EdC
    • ---- Minecraft Crash Report ---- // Don't be sad, have a hug! ❤️ Time: 2025-04-11 21:03:05 Description: Rendering overlay java.lang.RuntimeException: null     at net.minecraftforge.fml.DeferredWorkQueue.runTasks(DeferredWorkQueue.java:58) ~[fmlcore-1.20.4-49.0.49.jar:1.0] {}     at net.minecraftforge.fml.core.ParallelTransition.lambda$finalActivityGenerator$2(ParallelTransition.java:35) ~[forge-1.20.4-49.0.49-universal.jar:?] {re:classloading}     at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[forge-1.20.4-49.0.49-client.jar:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:156) ~[forge-1.20.4-49.0.49-client.jar:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[forge-1.20.4-49.0.49-client.jar:?] {re:mixin,re:computing_frames,re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:130) ~[forge-1.20.4-49.0.49-client.jar:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.util.thread.BlockableEventLoop.m_18699_(BlockableEventLoop.java:115) ~[forge-1.20.4-49.0.49-client.jar:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1210) ~[forge-1.20.4-49.0.49-client.jar:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.forge.mixins.json:MinecraftMixin,pl:mixin:APP:carryon.mixins.json:MinecraftMixin,pl:mixin:APP:iceberg.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:801) ~[forge-1.20.4-49.0.49-client.jar:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.forge.mixins.json:MinecraftMixin,pl:mixin:APP:carryon.mixins.json:MinecraftMixin,pl:mixin:APP:iceberg.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:234) ~[forge-1.20.4-49.0.49-client.jar:?] {re:classloading,pl:runtimedistcleaner:A}     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.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:91) ~[fmlloader-1.20.4-49.0.49.jar:?] {}     at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.lambda$makeService$0(CommonLaunchHandler.java:75) ~[fmlloader-1.20.4-49.0.49.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) ~[modlauncher-10.1.2.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:74) ~[modlauncher-10.1.2.jar:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:114) ~[modlauncher-10.1.2.jar:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:73) ~[modlauncher-10.1.2.jar:?] {}     at cpw.mods.modlauncher.BootstrapEntry.main(BootstrapEntry.java:17) ~[modlauncher-10.1.2.jar:?] {}     at net.minecraftforge.bootstrap.Bootstrap.moduleMain(Bootstrap.java:188) ~[bootstrap-2.1.0.jar!/:?] {}     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.bootstrap.Bootstrap.bootstrapMain(Bootstrap.java:133) ~[bootstrap-2.1.0.jar!/:?] {}     at net.minecraftforge.bootstrap.Bootstrap.start(Bootstrap.java:53) ~[bootstrap-2.1.0.jar!/:?] {}     at net.minecraftforge.bootstrap.ForgeBootstrap.main(ForgeBootstrap.java:19) ~[bootstrap-2.1.0.jar!/:?] {}     Suppressed: java.lang.NoClassDefFoundError: com/mrcrayfish/configured/api/IConfigProvider         at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?] {}         at java.lang.ClassLoader.defineClass(ClassLoader.java:1017) ~[?:?] {}         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?] {}         at net.minecraftforge.securemodules.SecureModuleClassLoader.readerToClass(SecureModuleClassLoader.java:482) ~[securemodules-2.2.10.jar!/:?] {}         at net.minecraftforge.securemodules.SecureModuleClassLoader.findClass(SecureModuleClassLoader.java:399) ~[securemodules-2.2.10.jar!/:?] {}         at net.minecraftforge.securemodules.SecureModuleClassLoader.loadClass(SecureModuleClassLoader.java:415) ~[securemodules-2.2.10.jar!/:?] {}         at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?] {}         at java.lang.Class.forName0(Native Method) ~[?:?] {re:mixin}         at java.lang.Class.forName(Class.java:375) ~[?:?] {re:mixin}         at com.mrcrayfish.configured.platform.ForgeConfigHelper.createProviderInstance(ForgeConfigHelper.java:73) ~[configured-forge-1.20.4-2.2.3.jar!/:1.20.4-2.2.3] {re:classloading}         at com.mrcrayfish.configured.platform.ForgeConfigHelper.lambda$getProviders$0(ForgeConfigHelper.java:52) ~[configured-forge-1.20.4-2.2.3.jar!/:1.20.4-2.2.3] {re:classloading}         at java.util.HashMap.forEach(HashMap.java:1421) ~[?:?] {re:mixin}         at net.minecraftforge.fml.ModList.forEachModContainer(ModList.java:223) ~[fmlcore-1.20.4-49.0.49.jar!/:1.0] {}         at com.mrcrayfish.configured.platform.ForgeConfigHelper.getProviders(ForgeConfigHelper.java:36) ~[configured-forge-1.20.4-2.2.3.jar!/:1.20.4-2.2.3] {re:classloading}         at com.mrcrayfish.configured.client.ClientHandler.init(ClientHandler.java:39) ~[configured-forge-1.20.4-2.2.3.jar!/:1.20.4-2.2.3] {re:classloading}         at com.mrcrayfish.configured.Configured.lambda$onLoadComplete$8(Configured.java:55) ~[configured-forge-1.20.4-2.2.3.jar!/:1.20.4-2.2.3] {re:classloading}         at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] {}         at net.minecraftforge.fml.DeferredWorkQueue.lambda$makeRunnable$2(DeferredWorkQueue.java:81) ~[fmlcore-1.20.4-49.0.49.jar:1.0] {}         at net.minecraftforge.fml.DeferredWorkQueue.makeRunnable(DeferredWorkQueue.java:76) ~[fmlcore-1.20.4-49.0.49.jar:1.0] {}         at net.minecraftforge.fml.DeferredWorkQueue.lambda$runTasks$0(DeferredWorkQueue.java:60) ~[fmlcore-1.20.4-49.0.49.jar:1.0] {}         at java.util.concurrent.ConcurrentLinkedDeque.forEach(ConcurrentLinkedDeque.java:1650) ~[?:?] {}         at net.minecraftforge.fml.DeferredWorkQueue.runTasks(DeferredWorkQueue.java:60) ~[fmlcore-1.20.4-49.0.49.jar:1.0] {}         at net.minecraftforge.fml.core.ParallelTransition.lambda$finalActivityGenerator$2(ParallelTransition.java:35) ~[forge-1.20.4-49.0.49-universal.jar:?] {re:classloading}         at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646) ~[?:?] {}         at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?] {}         at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[forge-1.20.4-49.0.49-client.jar:?] {re:classloading}         at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:156) ~[forge-1.20.4-49.0.49-client.jar:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}         at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[forge-1.20.4-49.0.49-client.jar:?] {re:mixin,re:computing_frames,re:classloading}         at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:130) ~[forge-1.20.4-49.0.49-client.jar:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}         at net.minecraft.util.thread.BlockableEventLoop.m_18699_(BlockableEventLoop.java:115) ~[forge-1.20.4-49.0.49-client.jar:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}         at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1210) ~[forge-1.20.4-49.0.49-client.jar:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.forge.mixins.json:MinecraftMixin,pl:mixin:APP:carryon.mixins.json:MinecraftMixin,pl:mixin:APP:iceberg.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}         at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:801) ~[forge-1.20.4-49.0.49-client.jar:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.forge.mixins.json:MinecraftMixin,pl:mixin:APP:carryon.mixins.json:MinecraftMixin,pl:mixin:APP:iceberg.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}         at net.minecraft.client.main.Main.main(Main.java:234) ~[forge-1.20.4-49.0.49-client.jar:?] {re:classloading,pl:runtimedistcleaner:A}         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.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:91) ~[fmlloader-1.20.4-49.0.49.jar:?] {}         at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.lambda$makeService$0(CommonLaunchHandler.java:75) ~[fmlloader-1.20.4-49.0.49.jar:?] {}         at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) ~[modlauncher-10.1.2.jar:?] {}         at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:74) ~[modlauncher-10.1.2.jar:?] {}         at cpw.mods.modlauncher.Launcher.run(Launcher.java:114) ~[modlauncher-10.1.2.jar:?] {}         at cpw.mods.modlauncher.Launcher.main(Launcher.java:73) ~[modlauncher-10.1.2.jar:?] {}         at cpw.mods.modlauncher.BootstrapEntry.main(BootstrapEntry.java:17) ~[modlauncher-10.1.2.jar:?] {}         at net.minecraftforge.bootstrap.Bootstrap.moduleMain(Bootstrap.java:188) ~[bootstrap-2.1.0.jar!/:?] {}         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.bootstrap.Bootstrap.bootstrapMain(Bootstrap.java:133) ~[bootstrap-2.1.0.jar!/:?] {}         at net.minecraftforge.bootstrap.Bootstrap.start(Bootstrap.java:53) ~[bootstrap-2.1.0.jar!/:?] {}         at net.minecraftforge.bootstrap.ForgeBootstrap.main(ForgeBootstrap.java:19) ~[bootstrap-2.1.0.jar!/:?] {}     Caused by: java.lang.ClassNotFoundException: com.mrcrayfish.configured.api.IConfigProvider         at net.minecraftforge.securemodules.SecureModuleClassLoader.loadClass(SecureModuleClassLoader.java:447) ~[securemodules-2.2.10.jar!/:?] {}         at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?] {}         ... 52 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Suspected Mods: NONE Stacktrace:     at net.minecraftforge.fml.DeferredWorkQueue.runTasks(DeferredWorkQueue.java:58) ~[fmlcore-1.20.4-49.0.49.jar!/:1.0] {}     at net.minecraftforge.fml.core.ParallelTransition.lambda$finalActivityGenerator$2(ParallelTransition.java:35) ~[forge-1.20.4-49.0.49-universal.jar!/:?] {re:classloading}     at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[forge-1.20.4-49.0.49-client.jar!/:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:156) ~[forge-1.20.4-49.0.49-client.jar!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[forge-1.20.4-49.0.49-client.jar!/:?] {re:mixin,re:computing_frames,re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:130) ~[forge-1.20.4-49.0.49-client.jar!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B} -- Overlay render details -- Details:     Overlay name: net.minecraftforge.client.loading.ForgeLoadingOverlay Stacktrace:     at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:934) ~[forge-1.20.4-49.0.49-client.jar:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1250) ~[forge-1.20.4-49.0.49-client.jar:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.forge.mixins.json:MinecraftMixin,pl:mixin:APP:carryon.mixins.json:MinecraftMixin,pl:mixin:APP:iceberg.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:801) ~[forge-1.20.4-49.0.49-client.jar:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.forge.mixins.json:MinecraftMixin,pl:mixin:APP:carryon.mixins.json:MinecraftMixin,pl:mixin:APP:iceberg.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:234) ~[forge-1.20.4-49.0.49-client.jar:?] {re:classloading,pl:runtimedistcleaner:A}     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.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:91) ~[fmlloader-1.20.4-49.0.49.jar:?] {}     at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.lambda$makeService$0(CommonLaunchHandler.java:75) ~[fmlloader-1.20.4-49.0.49.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) ~[modlauncher-10.1.2.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:74) ~[modlauncher-10.1.2.jar:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:114) ~[modlauncher-10.1.2.jar:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:73) ~[modlauncher-10.1.2.jar:?] {}     at cpw.mods.modlauncher.BootstrapEntry.main(BootstrapEntry.java:17) ~[modlauncher-10.1.2.jar:?] {}     at net.minecraftforge.bootstrap.Bootstrap.moduleMain(Bootstrap.java:188) ~[bootstrap-2.1.0.jar!/:?] {}     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.bootstrap.Bootstrap.bootstrapMain(Bootstrap.java:133) ~[bootstrap-2.1.0.jar!/:?] {}     at net.minecraftforge.bootstrap.Bootstrap.start(Bootstrap.java:53) ~[bootstrap-2.1.0.jar!/:?] {}     at net.minecraftforge.bootstrap.ForgeBootstrap.main(ForgeBootstrap.java:19) ~[bootstrap-2.1.0.jar!/:?] {} -- Uptime -- Details:     JVM uptime: 26.548s     Wall uptime: 8.741s     High-res time: 22.327s     Client ticks: 85 ticks / 4.250s -- Last reload -- Details:     Reload number: 1     Reload reason: initial     Finished: No     Packs: mod_resources, vanilla -- System Details -- Details:     Minecraft Version: 1.20.4     Minecraft Version ID: 1.20.4     Operating System: Windows 11 (amd64) version 10.0     Java Version: 17.0.8, Microsoft     Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft     Memory: 780256600 bytes (744 MiB) / 1140850688 bytes (1088 MiB) up to 10737418240 bytes (10240 MiB)     CPUs: 8     Processor Vendor: AuthenticAMD     Processor Name: AMD Ryzen 5 7520U with Radeon Graphics              Identifier: AuthenticAMD Family 23 Model 160 Stepping 0     Microarchitecture: unknown     Frequency (GHz): 2.80     Number of physical packages: 1     Number of physical CPUs: 4     Number of logical CPUs: 8     Graphics card #0 name: AMD Radeon(TM) Graphics     Graphics card #0 vendor: Advanced Micro Devices, Inc. (0x1002)     Graphics card #0 VRAM (MB): 512.00     Graphics card #0 deviceId: 0x1506     Graphics card #0 versionInfo: DriverVersion=31.0.24002.92     Memory slot #0 capacity (MB): 8192.00     Memory slot #0 clockSpeed (GHz): 5.50     Memory slot #0 type: Unknown     Memory slot #1 capacity (MB): 8192.00     Memory slot #1 clockSpeed (GHz): 5.50     Memory slot #1 type: Unknown     Virtual memory max (MB): 31989.25     Virtual memory used (MB): 28632.15     Swap memory total (MB): 16384.00     Swap memory used (MB): 868.71     JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx10G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M     Launched Version: 1.20.4-forge-49.0.49     Launcher name: minecraft-launcher     Backend library: LWJGL version 3.3.2+13     Backend API: AMD Radeon(TM) Graphics GL version 4.6.0 Core Profile Context 24.1.1.240110, ATI Technologies Inc.     Window size: 1920x1080     GL Caps: Using framebuffer using OpenGL 3.2     GL debug messages:      Using VBOs: Yes     Is Modded: Definitely; Client brand changed to 'forge'     Universe: 400921fb54442d18     Type: Client (map_client.txt)     Graphics mode: fast     Render Distance: 19/19 chunks     Resource Packs: vanilla     Current Language: en_us     Locale: en_US     CPU: 8x AMD Ryzen 5 7520U with Radeon Graphics      ModLauncher: 10.1.2     ModLauncher launch target: forge_client     ModLauncher naming: srg     ModLauncher services:          / slf4jfixer PLUGINSERVICE          / runtimedistcleaner PLUGINSERVICE          / runtime_enum_extender PLUGINSERVICE          / object_holder_definalize PLUGINSERVICE          / capability_token_subclass PLUGINSERVICE          / accesstransformer PLUGINSERVICE          / eventbus PLUGINSERVICE          / mixin PLUGINSERVICE          / fml TRANSFORMATIONSERVICE          / mixin TRANSFORMATIONSERVICE      FML Language Providers:          minecraft@1.0         lowcodefml@49         javafml@49.0.49     Mod List:          YungsBetterDungeons-1.20.4-Forge-4.4.4.jar        |YUNG's Better Dungeons        |betterdungeons                |1.20.4-Forge-4.4.4  |DONE      |Manifest: NOSIGNATURE         supermartijn642configlib-1.1.8-forge-mc1.20.2.jar |SuperMartijn642's Config Libra|supermartijn642configlib      |1.1.8               |DONE      |Manifest: NOSIGNATURE         trashslot-forge-1.20.4-16.0.1.jar                 |TrashSlot                     |trashslot                     |16.0.1              |DONE      |Manifest: NOSIGNATURE         treasuredistance-1.20-1.2.jar                     |Treasure Distance mod         |treasuredistance              |1.20-1.2            |DONE      |Manifest: NOSIGNATURE         MutantMonsters-v20.4.1-1.20.4-Forge.jar           |Mutant Monsters               |mutantmonsters                |20.4.1              |DONE      |Manifest: NOSIGNATURE         jei-1.20.4-forge-17.3.1.5.jar                     |Just Enough Items             |jei                           |17.3.1.5            |DONE      |Manifest: NOSIGNATURE         IllagerInvasion-v20.4.3-1.20.4-Forge.jar          |Illager Invasion              |illagerinvasion               |20.4.3              |DONE      |Manifest: NOSIGNATURE         firstperson-forge-2.4.9-mc1.20.4.jar              |FirstPerson                   |firstperson                   |2.4.9               |DONE      |Manifest: NOSIGNATURE         goblintraders-forge-1.20.4-1.9.4.jar              |Goblin Traders                |goblintraders                 |1.9.4               |DONE      |Manifest: NOSIGNATURE         waystones-forge-1.20.4-16.0.5.jar                 |Waystones                     |waystones                     |16.0.5              |DONE      |Manifest: NOSIGNATURE         journeymap-1.20.4-5.10.0-forge.jar                |Journeymap                    |journeymap                    |5.10.0              |DONE      |Manifest: NOSIGNATURE         Controlling-forge-1.20.4-13.0.1.jar               |Controlling                   |controlling                   |13.0.1              |DONE      |Manifest: NOSIGNATURE         Prism-1.20.4-forge-1.0.6.jar                      |Prism                         |prism                         |1.0.6               |DONE      |Manifest: NOSIGNATURE         comforts-forge-7.2.2+1.20.4.jar                   |Comforts                      |comforts                      |7.2.2+1.20.4        |DONE      |Manifest: NOSIGNATURE         configured-forge-1.20.4-2.2.3.jar                 |Configured                    |configured                    |2.2.3               |DONE      |Manifest: 0d:78:5f:44:c0:47:0c:8c:e2:63:a3:04:43:d4:12:7d:b0:7c:35:37:dc:40:b1:c1:98:ec:51:eb:3b:3c:45:99         YungsApi-1.20.4-Forge-4.4.3.jar                   |YUNG's API                    |yungsapi                      |1.20.4-Forge-4.4.3  |DONE      |Manifest: NOSIGNATURE         mixinextras-forge-0.3.5.jar                       |MixinExtras                   |mixinextras                   |0.3.5               |DONE      |Manifest: NOSIGNATURE         YungsBetterDesertTemples-1.20.4-Forge-3.4.4.jar   |YUNG's Better Desert Temples  |betterdeserttemples           |1.20.4-Forge-3.4.4  |DONE      |Manifest: NOSIGNATURE         balm-forge-1.20.4-9.0.9.jar                       |Balm                          |balm                          |9.0.9               |DONE      |Manifest: NOSIGNATURE         Terralith_1.20.x_v2.5.4.jar                       |Terralith                     |terralith                     |2.5.4               |DONE      |Manifest: NOSIGNATURE         carryon-forge-1.20.4-2.1.3.13.jar                 |Carry On                      |carryon                       |2.1.3               |DONE      |Manifest: NOSIGNATURE         watut-forge-1.20.4-1.1.3.jar                      |What Are They Up To           |watut                         |1.20.4-1.1.3        |DONE      |Manifest: NOSIGNATURE         DungeonsAriseSevenSeas-1.20.x-1.0.2-forge.jar     |When Dungeons Arise: Seven Sea|dungeons_arise_seven_seas     |1.0.2               |DONE      |Manifest: NOSIGNATURE         cloth-config-13.0.138-forge.jar                   |Cloth Config v13 API          |cloth_config                  |13.0.138            |DONE      |Manifest: NOSIGNATURE         forge-1.20.4-49.0.49-universal.jar                |Forge                         |forge                         |49.0.49             |DONE      |Manifest: NOSIGNATURE         extensibleenums-forge-20.4.1.jar                  |Extensible Enums              |extensibleenums               |20.4.1              |DONE      |Manifest: NOSIGNATURE         durabilitytooltip-1.1.5-forge-mc1.20.jar          |Durability Tooltip            |durabilitytooltip             |1.1.5               |DONE      |Manifest: NOSIGNATURE         DungeonsArise-1.20.x-2.1.58-release.jar           |When Dungeons Arise           |dungeons_arise                |2.1.58-1.20.x       |DONE      |Manifest: NOSIGNATURE         forge-1.20.4-49.0.49-client.jar                   |Minecraft                     |minecraft                     |1.20.4              |DONE      |Manifest: NOSIGNATURE         voicechat-forge-1.20.4-2.5.22.jar                 |Simple Voice Chat             |voicechat                     |1.20.4-2.5.22       |DONE      |Manifest: NOSIGNATURE         TerraBlender-forge-1.20.4-3.3.0.12.jar            |TerraBlender                  |terrablender                  |3.3.0.12            |DONE      |Manifest: NOSIGNATURE         MouseTweaks-forge-mc1.20.2-2.26.jar               |Mouse Tweaks                  |mousetweaks                   |2.26                |DONE      |Manifest: NOSIGNATURE         Jade-1.20.4-forge-13.2.1.jar                      |Jade                          |jade                          |13.2.1              |DONE      |Manifest: NOSIGNATURE         From-The-Fog-1.20.3-1.20.4-v1.9.3-Forge-Fabric.jar|From The Fog                  |watching                      |1.9.3               |DONE      |Manifest: NOSIGNATURE         cleanswing-1.20-1.5.jar                           |Clean Swing Through Grass     |cleanswing                    |1.20-1.5            |DONE      |Manifest: NOSIGNATURE         spectrelib-forge-0.15.2+1.20.4.jar                |SpectreLib                    |spectrelib                    |0.15.2+1.20.4       |DONE      |Manifest: NOSIGNATURE         ForgeConfigAPIPort-v20.4.3-1.20.4-Forge.jar       |Forge Config API Port         |forgeconfigapiport            |20.4.3              |DONE      |Manifest: NOSIGNATURE         Iceberg-1.20.4-forge-1.1.20.jar                   |Iceberg                       |iceberg                       |1.1.20              |DONE      |Manifest: NOSIGNATURE         LegendaryTooltips-1.20.2-forge-1.4.5.jar          |Legendary Tooltips            |legendarytooltips             |1.4.5               |DONE      |Manifest: NOSIGNATURE         Searchables-forge-1.20.4-1.0.6.jar                |Searchables                   |searchables                   |1.0.6               |DONE      |Manifest: NOSIGNATURE         entityculling-forge-1.7.4-mc1.20.4.jar            |EntityCulling                 |entityculling                 |1.7.4               |DONE      |Manifest: NOSIGNATURE         coroutil-forge-1.20.4-1.3.7.jar                   |CoroUtil                      |coroutil                      |1.20.4-1.3.7        |DONE      |Manifest: NOSIGNATURE         appleskin-forge-mc1.20.2-2.5.1.jar                |AppleSkin                     |appleskin                     |2.5.1+mc1.20.2      |DONE      |Manifest: NOSIGNATURE         PuzzlesLib-v20.4.52-1.20.4-Forge.jar              |Puzzles Lib                   |puzzleslib                    |20.4.52             |DONE      |Manifest: NOSIGNATURE         framework-forge-1.20.4-0.7.12.jar                 |Framework                     |framework                     |0.7.12              |DONE      |Manifest: 0d:78:5f:44:c0:47:0c:8c:e2:63:a3:04:43:d4:12:7d:b0:7c:35:37:dc:40:b1:c1:98:ec:51:eb:3b:3c:45:99         t_and_t-1.12.1.1.jar                              |Towns and Towers              |t_and_t                       |1.12.1              |DONE      |Manifest: NOSIGNATURE         veinmining-forge-3.1.1+1.20.4.jar                 |Vein Mining                   |veinmining                    |3.1.1+1.20.4        |DONE      |Manifest: NOSIGNATURE         cristellib-1.2.2-forge.jar                        |Cristel Lib                   |cristellib                    |1.2.2               |DONE      |Manifest: NOSIGNATURE     Crash Report UUID: 3f69ac2e-02fd-4f9a-82e2-44f2d5c768d5     FML: 0.0     Forge: net.minecraftforge:49.0.49
    • This is my first time having to post about this but my longtime server for ATM10 is having trouble booting. I get a repeating message saying: AllTheLeaks: Listing stuck threads... Stuck thread: pool-27-thread-1 Stuck thread: pool-28-thread-1 After about 1-2 minutes of this it just crashes. Here is the crash log: https://mclo.gs/UG0FqRL I'm at a total loss, any help would be appreciated.
    • I’m playing Enigmatica 2 Expert 1.83 and running into a pretty bad issue with Advanced Rocketry. I built a satellite, linked a Biome Remote to it, and launched it. The rocket returns after the launch, but it’s empty. I can’t access the satellite through the Biome Remote or the Satellite Terminal. It’s like the satellite just never made it to orbit. Often even mousing over the Biome Remote crashes the game. This only happens after I have linked it and launched a satellite. I've tried other types of satellites and they also fail to reach orbit from either Earth or the Moon. So far I’ve tried: Reloading the modpack Starting a brand new world Updating Advanced Rocketry and LibVulpes through CurseForge Same result every time: rocket launches → satellite goes nowhere → Biome Remote causes crashes. If anyone’s seen this or knows a workaround, I’d really appreciate any help. I’m trying to avoid abandoning the save if possible. And sorry if this isn’t the right place to ask — let me know if I should post it somewhere else.
    • So im trying to set up a forge server, and I tried launching it after following all tutorial steps but i got this error it crashes after that last line. I havent added any mods, Ive repeatedly reinstalled, I have the latest version of java and my PC is up to data, does anyone know how to fix this?
  • Topics

×
×
  • Create New...

Important Information

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