We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
crash-2021-05-26_22.51.54-client.txt
(Source code is in kotlin, shouldn't cause any issues though)
registration:
val MOUNT_ITEM = MountItem(false, FabricItemSettings() .maxCount(1) .rarity(Rarity.RARE)) val CONTAINER: ComponentKey<MountItemComponent> = ComponentRegistry.getOrCreate( Identifier("mole_hill", "container"), MountItemComponent::class.java ) // [...snip...] override fun registerItemComponentFactories(registry: ItemComponentFactoryRegistry) { registry.registerFor(MOUNT_ITEM, CONTAINER) { stack -> MountItemComponent(stack) } }
Line that causes the issue is a simple Main.CONTAINER.get(stack)
Main.CONTAINER.get(stack)
Don't believe the actual component code matters as its never loaded but if needed I can provide it
The text was updated successfully, but these errors were encountered:
this error isn't just to do with kotlin, im using java code and im getting the same exception
crash-2023-01-02_14.40.36-server.txt
Sorry, something went wrong.
No branches or pull requests
crash-2021-05-26_22.51.54-client.txt
(Source code is in kotlin, shouldn't cause any issues though)
registration:
Line that causes the issue is a simple
Main.CONTAINER.get(stack)
Don't believe the actual component code matters as its never loaded but if needed I can provide it
The text was updated successfully, but these errors were encountered: