Furnace doesn't cook

Discussion in 'Plugin Development' started by leimekiller, Jan 20, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    leimekiller

    Hello,

    I am trying to make a virtual furnace, but it doesn't cook.

    Code I used:
    Code:java
    1. PacketPlayOutOpenWindow packet = new PacketPlayOutOpenWindow(1, 2, "Furnace", 3, true);
    2. ((CraftPlayer)player).getHandle().playerConnection.sendPacket(packet);


    I also tried using bukkit inventory creating method but that one didn't cook too..
     
  2. Offline

    clienthax

    You need a tileentityfurnace to process the actual smelting.
     
  3. Offline

    leimekiller

  4. Offline

    SuperOmegaCow

  5. Offline

    Shayana

    You have to spawn an actual furnace in the world, and open it using it's inventoryview. Then you can put items on it
     
    bennie3211 likes this.
  6. Offline

    RawCode

    be very carefull with custom TEs, if any exception thrown inside TE code server will crash and chunk hosting furnace will reset.
     
Thread Status:
Not open for further replies.

Share This Page