-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
1.20.5/6 #4347
base: 1.20.4
Are you sure you want to change the base?
1.20.5/6 #4347
Conversation
.withParameter(LootContextParams.ORIGIN, Vec3.ZERO) | ||
.withParameter(LootContextParams.BLOCK_STATE, b.defaultBlockState()) | ||
.withParameter(LootContextParams.TOOL, new ItemStack(Items.NETHERITE_PICKAXE, 1)); | ||
getDrops(block, lv5).stream().map(ItemStack::getItem).forEach(items::add); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this didn't work. registry is missing LootTable entries, so needs to be re-built somehow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i put up a gist for how i've initialized these registries for client access: https://gist.github.com/rfresh2/697c3996dbfdfe595c3322f2adfaa4a6 might be possible to simplify this further
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does it work now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that appears to work. good enough for now. thanks!
just had to change one line to not deadlock with where I run it :)
Found a few issues so far:
|
As mentioned by @Edouard127 in #4354 we also have to update our dependency declarations for neo. |
Seems to work pretty good on Fabric 1.20.6 |
Co-authored-by: ZacSharp <68165024+ZacSharp@users.noreply.github.com>
No description provided.