Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Forge 1.20.1] Crash on startup with Forestry installed #190

Open
thedarkcolour opened this issue Jan 18, 2025 · 0 comments
Open

[Forge 1.20.1] Crash on startup with Forestry installed #190

thedarkcolour opened this issue Jan 18, 2025 · 0 comments

Comments

@thedarkcolour
Copy link

Apparently, this mod changes the way Hanging Signs work and it breaks Forestry.

The lines 52-54 of BlockForestryHangingSign in the stacktrace:

@Override
public BlockEntity newBlockEntity(BlockPos pos, BlockState state) {
    return new HangingSignBlockEntity(ArboricultureTiles.HANGING_SIGN.tileType(), pos, state);
}

Mods used:

  • Moonlight Library 1.20-2.13.49
  • Amendments 1.20-1.2.14
  • Forestry: Community Edition 2.3.2
`java.lang.NoSuchMethodError: net.minecraft.world.level.block.entity.HangingSignBlockEntity: method 'void <init>(net.minecraft.world.level.block.entity.BlockEntityType, net.minecraft.core.BlockPos, net.minecraft.world.level.block.state.BlockState)' not found
	at forestry.arboriculture.blocks.BlockForestryHangingSign.m_142194_(BlockForestryHangingSign.java:53) ~[forestry-1.20.1-2.3.2.jar%23729!/:2.3.2] {re:classloading}
	at net.mehvahdjukaar.amendments.client.ClientResourceGenerator.generateHangingSignAssets(ClientResourceGenerator.java:129) ~[amendments-1.20-1.2.14.jar%23579!/:?] {re:classloading}
	at net.mehvahdjukaar.amendments.client.ClientResourceGenerator.regenerateDynamicAssets(ClientResourceGenerator.java:68) ~[amendments-1.20-1.2.14.jar%23579!/:?] {re:classloading}
	at net.mehvahdjukaar.moonlight.api.resources.pack.DynResourceGenerator.reloadResources(DynResourceGenerator.java:129) ~[moonlight-1.20-2.13.49-forge.jar%23810!/:?] {re:classloading}
	at net.mehvahdjukaar.moonlight.api.resources.pack.DynResourceGenerator.onEarlyReload(DynResourceGenerator.java:82) ~[moonlight-1.20-2.13.49-forge.jar%23810!/:?] {re:classloading}
	at net.mehvahdjukaar.moonlight.api.events.forge.MoonlightEventsHelperImpl.lambda$postEvent$5(MoonlightEventsHelperImpl.java:43) ~[moonlight-1.20-2.13.49-forge.jar%23810!/:?] {re:classloading}
	at java.util.concurrent.ConcurrentLinkedDeque.forEach(ConcurrentLinkedDeque.java:1650) ~[?:?] {}
	at net.mehvahdjukaar.moonlight.api.events.forge.MoonlightEventsHelperImpl.postEvent(MoonlightEventsHelperImpl.java:43) ~[moonlight-1.20-2.13.49-forge.jar%23810!/:?] {re:classloading}
	at net.mehvahdjukaar.moonlight.api.events.MoonlightEventsHelper.postEvent(MoonlightEventsHelper.java) ~[moonlight-1.20-2.13.49-forge.jar%23810!/:?] {re:mixin,re:classloading}
	at net.minecraft.server.packs.resources.MultiPackResourceManager.handler$gnn000$moonlight$dynamicPackEarlyReload(MultiPackResourceManager.java:1044) ~[client-1.20.1-20230612.114412-srg.jar%23974!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:arsdelight.mixins.json:MultiPackResourceManagerMixin,pl:mixin:APP:moonlight-common.mixins.json:MultiPackResourceManagerMixin,pl:mixin:A}
	at net.minecraft.server.packs.resources.MultiPackResourceManager.<init>(MultiPackResourceManager.java:60) ~[client-1.20.1-20230612.114412-srg.jar%23974!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:arsdelight.mixins.json:MultiPackResourceManagerMixin,pl:mixin:APP:moonlight-common.mixins.json:MultiPackResourceManagerMixin,pl:mixin:A}
	at net.minecraft.server.packs.resources.ReloadableResourceManager.m_142463_(ReloadableResourceManager.java:44) ~[client-1.20.1-20230612.114412-srg.jar%23974!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:blueprint.mixins.json:client.ReloadableResourceManagerMixin,pl:mixin:A}
	at net.minecraft.client.Minecraft.<init>(Minecraft.java:561) ~[client-1.20.1-20230612.114412-srg.jar%23974!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:alexscaves.mixins.json:client.MinecraftMixin,pl:mixin:APP:combatroll.mixins.json:MinecraftClientMixin,pl:mixin:APP:fluffy_fur.mixins.json:client.MinecraftMixin,pl:mixin:APP:mixins.hammerlib.json:client.MinecraftMixin,pl:mixin:APP:pickupnotifier.common.mixins.json:client.MinecraftMixin,pl:mixin:APP:botania_xplat.mixins.json:client.MinecraftAccessor,pl:mixin:APP:mixins.oculus.json:MixinMinecraft_PipelineManagement,pl:mixin:APP:champions.mixins.json:MinecraftMixin,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:bookshelf.common.mixins.json:accessors.client.AccessorMinecraft,pl:mixin:APP:azurelib.forge.mixins.json:MinecraftMixin,pl:mixin:APP:just_enough_beacons.mixins.json:test.TestMixin,pl:mixin:APP:just_enough_beacons-common.mixins.json:test.TestMixin,pl:mixin:APP:mixins.irons_spellbooks.json:MinecraftMixin,pl:mixin:APP:balm.mixins.json:MinecraftMixin,pl:mixin:APP:mixins.codechickenlib.json:MinecraftMixin,pl:mixin:APP:glitchcore.mixins.json:client.MixinMinecraft,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:APP:ars_nouveau.mixins.json:light.ClientMixin,pl:mixin:APP:railways-common.mixins.json:conductor_possession.MixinMinecraft,pl:mixin:APP:mixins.sodiumdynamiclights.json:MinecraftClientMixin,pl:mixin:APP:architectury.mixins.json:MixinMinecraft,pl:mixin:APP:the_bumblezone-common.mixins.json:client.MinecraftMixin,pl:mixin:APP:blueprint.mixins.json:client.MinecraftMixin,pl:mixin:APP:moonlight-common.mixins.json:MinecraftMixin,pl:mixin:APP:ae2.mixins.json:PickColorMixin,pl:mixin:APP:quark.mixins.json:client.MinecraftMixin,pl:mixin:APP:supplementaries-common.mixins.json:MinecraftMixin,pl:mixin:APP:yacl.mixins.json:MinecraftMixin,pl:mixin:APP:create.mixins.json:client.WindowResizeMixin,pl:mixin:APP:embeddium.mixins.json:core.render.MinecraftAccessor,pl:mixin:APP:embeddium.mixins.json:core.MinecraftClientMixin,pl:mixin:APP:ars_nouveau.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.client.main.Main.main(Main.java:182) ~[forge-47.3.0.jar:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:flywheel.mixins.json:ClientMainMixin,pl:mixin:A,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:111) ~[fmlloader-1.20.1-47.3.0.jar:?] {}
	at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:99) ~[fmlloader-1.20.1-47.3.0.jar:?] {}
	at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$makeService$0(CommonClientLaunchHandler.java:25) ~[fmlloader-1.20.1-47.3.0.jar:?] {}
	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar:?] {}
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar:?] {}
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar:?] {}
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar:?] {}
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar:?] {}
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar:?] {}
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar:?] {}
	at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?] {}


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Render thread
Suspected Mods: 
	Amendments (amendments), Version: 1.20-1.2.14
		Issue tracker URL: https://github.com/MehVahdJukaar/amendments/issues
		at TRANSFORMER/[email protected]/net.mehvahdjukaar.amendments.client.ClientResourceGenerator.generateHangingSignAssets(ClientResourceGenerator.java:129)

	Forestry (forestry), Version: 2.3.2
		Issue tracker URL: https://github.com/thedarkcolour/ForestryCE/issues
		at TRANSFORMER/[email protected]/forestry.arboriculture.blocks.BlockForestryHangingSign.m_142194_(BlockForestryHangingSign.java:53)

	Moonlight Library (moonlight), Version: 1.20-2.13.49
		Issue tracker URL: https://github.com/MehVahdJukaar/Moonlight/issues
		at TRANSFORMER/[email protected]/net.mehvahdjukaar.moonlight.api.resources.pack.DynResourceGenerator.reloadResources(DynResourceGenerator.java:129)
Stacktrace:
	at forestry.arboriculture.blocks.BlockForestryHangingSign.m_142194_(BlockForestryHangingSign.java:53) ~[forestry-1.20.1-2.3.2.jar%23729!/:2.3.2] {re:classloading}
	at net.mehvahdjukaar.amendments.client.ClientResourceGenerator.generateHangingSignAssets(ClientResourceGenerator.java:129) ~[amendments-1.20-1.2.14.jar%23579!/:?] {re:classloading}
	at net.mehvahdjukaar.amendments.client.ClientResourceGenerator.regenerateDynamicAssets(ClientResourceGenerator.java:68) ~[amendments-1.20-1.2.14.jar%23579!/:?] {re:classloading}
	at net.mehvahdjukaar.moonlight.api.resources.pack.DynResourceGenerator.reloadResources(DynResourceGenerator.java:129) ~[moonlight-1.20-2.13.49-forge.jar%23810!/:?] {re:classloading}
	at net.mehvahdjukaar.moonlight.api.resources.pack.DynResourceGenerator.onEarlyReload(DynResourceGenerator.java:82) ~[moonlight-1.20-2.13.49-forge.jar%23810!/:?] {re:classloading}
	at net.mehvahdjukaar.moonlight.api.events.forge.MoonlightEventsHelperImpl.lambda$postEvent$5(MoonlightEventsHelperImpl.java:43) ~[moonlight-1.20-2.13.49-forge.jar%23810!/:?] {re:classloading}
	at java.util.concurrent.ConcurrentLinkedDeque.forEach(ConcurrentLinkedDeque.java:1650) ~[?:?] {}
	at net.mehvahdjukaar.moonlight.api.events.forge.MoonlightEventsHelperImpl.postEvent(MoonlightEventsHelperImpl.java:43) ~[moonlight-1.20-2.13.49-forge.jar%23810!/:?] {re:classloading}
	at net.mehvahdjukaar.moonlight.api.events.MoonlightEventsHelper.postEvent(MoonlightEventsHelper.java) ~[moonlight-1.20-2.13.49-forge.jar%23810!/:?] {re:mixin,re:classloading}
	at net.minecraft.server.packs.resources.MultiPackResourceManager.handler$gnn000$moonlight$dynamicPackEarlyReload(MultiPackResourceManager.java:1044) ~[client-1.20.1-20230612.114412-srg.jar%23974!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:arsdelight.mixins.json:MultiPackResourceManagerMixin,pl:mixin:APP:moonlight-common.mixins.json:MultiPackResourceManagerMixin,pl:mixin:A}
	at net.minecraft.server.packs.resources.MultiPackResourceManager.<init>(MultiPackResourceManager.java:60) ~[client-1.20.1-20230612.114412-srg.jar%23974!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:arsdelight.mixins.json:MultiPackResourceManagerMixin,pl:mixin:APP:moonlight-common.mixins.json:MultiPackResourceManagerMixin,pl:mixin:A}
	at net.minecraft.server.packs.resources.ReloadableResourceManager.m_142463_(ReloadableResourceManager.java:44) ~[client-1.20.1-20230612.114412-srg.jar%23974!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:blueprint.mixins.json:client.ReloadableResourceManagerMixin,pl:mixin:A}
	at net.minecraft.client.Minecraft.<init>(Minecraft.java:561) ~[client-1.20.1-20230612.114412-srg.jar%23974!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:alexscaves.mixins.json:client.MinecraftMixin,pl:mixin:APP:combatroll.mixins.json:MinecraftClientMixin,pl:mixin:APP:fluffy_fur.mixins.json:client.MinecraftMixin,pl:mixin:APP:mixins.hammerlib.json:client.MinecraftMixin,pl:mixin:APP:pickupnotifier.common.mixins.json:client.MinecraftMixin,pl:mixin:APP:botania_xplat.mixins.json:client.MinecraftAccessor,pl:mixin:APP:mixins.oculus.json:MixinMinecraft_PipelineManagement,pl:mixin:APP:champions.mixins.json:MinecraftMixin,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:bookshelf.common.mixins.json:accessors.client.AccessorMinecraft,pl:mixin:APP:azurelib.forge.mixins.json:MinecraftMixin,pl:mixin:APP:just_enough_beacons.mixins.json:test.TestMixin,pl:mixin:APP:just_enough_beacons-common.mixins.json:test.TestMixin,pl:mixin:APP:mixins.irons_spellbooks.json:MinecraftMixin,pl:mixin:APP:balm.mixins.json:MinecraftMixin,pl:mixin:APP:mixins.codechickenlib.json:MinecraftMixin,pl:mixin:APP:glitchcore.mixins.json:client.MixinMinecraft,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:APP:ars_nouveau.mixins.json:light.ClientMixin,pl:mixin:APP:railways-common.mixins.json:conductor_possession.MixinMinecraft,pl:mixin:APP:mixins.sodiumdynamiclights.json:MinecraftClientMixin,pl:mixin:APP:architectury.mixins.json:MixinMinecraft,pl:mixin:APP:the_bumblezone-common.mixins.json:client.MinecraftMixin,pl:mixin:APP:blueprint.mixins.json:client.MinecraftMixin,pl:mixin:APP:moonlight-common.mixins.json:MinecraftMixin,pl:mixin:APP:ae2.mixins.json:PickColorMixin,pl:mixin:APP:quark.mixins.json:client.MinecraftMixin,pl:mixin:APP:supplementaries-common.mixins.json:MinecraftMixin,pl:mixin:APP:yacl.mixins.json:MinecraftMixin,pl:mixin:APP:create.mixins.json:client.WindowResizeMixin,pl:mixin:APP:embeddium.mixins.json:core.render.MinecraftAccessor,pl:mixin:APP:embeddium.mixins.json:core.MinecraftClientMixin,pl:mixin:APP:ars_nouveau.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant