Fixed hopper & dropper pedestal iteraction, added comparator ouytput for pedestals

This commit is contained in:
Aleksey 2020-11-22 22:24:36 +03:00
parent d9aa50fe1c
commit 0180fcf11e
3 changed files with 33 additions and 9 deletions

View file

@ -107,7 +107,7 @@ public class InfusionRitual implements Inventory {
if (progress == time) {
BlockState inputState = world.getBlockState(input.getPos());
this.input.removeStack(world, inputState);
this.input.setStack(world, inputState, activeRecipe.craft(this));
this.input.setStack(0, activeRecipe.craft(this));
for (PedestalBlockEntity catalyst : catalysts) {
catalyst.removeStack(world, world.getBlockState(catalyst.getPos()));
}