Minecraft Comes Alive (MCA)

Minecraft Comes Alive (MCA)

13M Downloads

Cooking Chore - Not All Fuel Items Register As Fuel

airbreather opened this issue ยท 1 comments

commented

Tested with Minecraft 1.7.2, Forge 10.12.0.1024, MCA 4.0.1 and RadixCore 1.0.0

Repro steps:

  1. Do standard progression up to the point where you have an MCA villager that can perform the cooking chore at will.
  2. Place a Furnace next to this villager.
  3. Give this villager some reasonably high amount of cookable food items.
  4. Give this villager at least 2 of each kind of vanilla sapling: Oak, Spruce, Birch, Jungle, Acacia, Dark Oak.
  5. Tell the villager to start cooking.

Expected: villager starts cooking the food using some of the saplings (2 per cooked food item).
Actual: villager claims to be out of fuel to cook with.

commented

Also tested Oak Wood, Oak Wood Planks, Crafting Table, Wooden Pickaxe. I suspect there may be a ton more things.

See http://minecraft.gamepedia.com/Smelting#Fuel_efficiency for the items that I would expect to work as fuel. It would be nice if fuel items that other mods register with Forge would also work.

See https://github.com/MinecraftForge/FML/blob/038fa17ad33aeba276db84ab170504fce884c1e7/src/main/java/cpw/mods/fml/common/registry/GameRegistry.java#L276-L284 for a generic way to check for whether an ItemStack can be used as fuel.

(edit: updated the link to point to an unchanging version of the code)