TerraFirmaCraft

TerraFirmaCraft

2M Downloads

Dye barrels turn into beds

AnodeCathode opened this issue ยท 1 comments

commented

Seal a barrel of dye and it will eventually turn into a bed.
Make sure to include:

  1. What did you expect to happen? A barrel of dye should do nothing when sealed
  2. What actually happened instead (i.e. what was the bug). The barrel of dye produced a bed

To Reproduce
Attention to detail is important!

  1. Do '...' Have a barrel of dye created from hot spring water and a dye. I used blue dye in my test
  2. Then... seal the barrel. After an hour, the dye is gone and a bed is in the output slot.

Meta Info

  • TFC Version: TerraFirmaCraft-MC1.12.2-1.7.2.160
  • Were any other mods included? Can you reproduce it without these other mods? Just JEI, HWYLA.
commented

Fairly sure this is the issue:

new BarrelRecipe(IIngredient.of(FluidsTFC.getFluidFromDye(dyeColor).get(), 125), IIngredient.of(new ItemStack(Blocks.BED, 1, 0)), null, new ItemStack(Items.BED, 1, dyeMeta), ICalendar.TICKS_IN_HOUR).setRegistryName("bed_" + dyeName),

should reference Items.BED and not Blocks.BED. Reason being that bed does not have a standard ItemBlock and as such Item.getItemFromBlock(Blocks.BED) returns Items.AIR