Zenith

Zenith

3M Downloads

Silk touch not dropping the spawner - Zenith 1.1.7 [Fabric]

Alysscendre opened this issue · 4 comments

commented

**Modpack Version / Modpack : Latest beta of this pack
** Mods version
: Zenith-1.1.7-1.20.1.jar / Zenith_attributes-0.2.2.jar

Issue Description:
Spawners don't drop with silk touch

Reproduction Steps:
Step 1. get a silk touch pickaxe ( We tried vanilla [Diamond & Netherite] and modded ones )
Step 2. mine a spawner ( Natural or creative spawned + egg ones )

**What did we check / test **:

  • We tested with basic Zenith spawner module configuration ( At 1 server & client side ).

The module is enabled in zenith.cfg ; Server was rebooted and client have the same configs.

  • We tested to mine 2x100 spawners

One player with non OP, and me as an OP player, same result : 0 spawners.

  • No errors in the logs of the server, nor any indication a conflic arise at loading.

image
image

Don't hesitate to let me know if you need anything else !

commented

public List<ItemStack> getDrops(BlockState state, LootParams.Builder params) {

It's because that block of code isn't getting called at all. So there's a starting point, at least.

commented

Im having this issue as well. If the code isnt getting called that seems like the issue, dead and done. Do we know if and when it will be patched?

commented

I looked into submitting a PR a couple weeks ago but I just couldn't find where in the code it was supposed to be called but wasn't. Asked in the Fabric modding Discord and didn't get a great answer either. 🤷

commented

This is still a problem in 1.20.1