Added Quartz Tools and Quartz Knife Recipes

This commit is contained in:
Sebastian Hartte
2020-06-30 15:33:53 +02:00
parent c0a4762ffc
commit 529d03fa9e
49 changed files with 329 additions and 233 deletions
@@ -62,7 +62,7 @@ public class ItemGenBlockEntity extends AEBaseBlockEntity {
continue;
}
final DefaultedList<ItemStack> list = DefaultedList.create();
final DefaultedList<ItemStack> list = DefaultedList.of();
mi.appendStacks(mi.getGroup(), list);
POSSIBLE_ITEMS.addAll(list);
}
@@ -51,7 +51,7 @@ public class MeteoritePlacerItem extends AEBaseItem {
}
@Override
public TypedActionResult<ItemStack> onItemRightClick(World world, PlayerEntity player, Hand hand) {
public TypedActionResult<ItemStack> use(World world, PlayerEntity player, Hand hand) {
if (world.isClient()) {
return TypedActionResult.resultPass(player.getStackInHand(hand));
}
@@ -74,7 +74,7 @@ public class MeteoritePlacerItem extends AEBaseItem {
return TypedActionResult.resultSuccess(itemStack);
}
return super.onItemRightClick(world, player, hand);
return super.use(world, player, hand);
}
@Override