CraftBook 3

CraftBook 3

139k Downloads

`nether_bricks` and `red_sand` don't get recognized as smeltable items, although they can be smelted to `cracked_nether_bricks` and `glass`

ANRAR4 opened this issue ยท 0 comments

commented

CraftBook Version

3.10.8

Platform Version

Paper

Confirmations

  • I am using the most recent Minecraft release.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using a version of CraftBook compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.
  • I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

nether_bricks and red_sand don't get recognized as a smeltable item, although they can be smelted to cracked_nether_bricks and glass. As a result pipes can't put them into furnaces.

Expected Behavior

Pipes should be able to put nether_bricks and red_sand into funaces.

Reproduction Steps

  1. Try to input a stack of nether_bricks into an empty furnace using pipes.
  2. Try to input a stack of red_sand into an empty furnace using pipes.

Anything Else?

case NETHER_BRICKS:
  return new ItemStack(Material.CRACKED_NETHER_BRICKS);
case RED_SAND:
  return new ItemStack(Material.GLASS);

would need to be added to getSmeltedResult in https://github.com/EngineHub/CraftBook/blob/master/src/main/java/com/sk89q/craftbook/util/ItemUtil.java#L500