Mekanism

Mekanism

111M Downloads

Atomic Disassembler - Enderzoo khndrel keght - Compatibility Issue

tgstyle opened this issue ยท 3 comments

commented

See the following response from @HenryLoenwind

SleepyTrousers/EnderZoo#113

Anything that can be done to fix this?

commented

From that issue thread:

A khndrel keght is spawned when a dirt or grass block is broken by a player using a tool that is not effective on dirt. To determine if it is effective, we ask the tool. Only if the tool answers that it is not effective, will we potentially spawn one.

So if there's a way for the AD to register itself as effective on dirt (which it certainly is) that would fix the problem.

commented

We ask https://github.com/MinecraftForge/MinecraftForge/blob/1.7.10/src/main/java/net/minecraftforge/common/ForgeHooks.java#L142 (1.7) or https://github.com/MinecraftForge/MinecraftForge/blob/master/src/main/java/net/minecraftforge/common/ForgeHooks.java#L175 (1.8) about the tool's effectiveness. Sadly it isn't involving the tool as much as would be nice, but for a tool to say it can shovel, even if it only shovels some blocks, is better than the other way around.

BTW: Unless I misremember badly, this is the same method that determines if a stone block drops cobble (broken with a pickaxe) or nothing (broken with a stick).

commented

This functionality will likely be innately fixed with the internal changes in 1.8 I've had to complete.