Mob spawner crafting?

Discussion in 'Plugin Development' started by SandKastle, Jul 25, 2013.

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

    SandKastle

    Code:
        if(getConfig().getBoolean("Disable Iron Horse Armor") == false){
        ShapedRecipe iha = new ShapedRecipe(new ItemStack(Material.MOB_SPAWNER, 1, (short)59));
        iha.shape(new String[] { "  I", "IBI", "III" });
        iha.setIngredient('I', Material.IRON_INGOT);
        iha.setIngredient('B', Material.WOOL, 15);
        server.addRecipe(iha);
          }
    so i basically took my code from craftable horse armor and am trying ths, it should make a cavespider spawner but it makes a normal spawner. any ideas?
     
  2. Offline

    etaxi341

    SandKastle Cheating specific Spawner is buggy. You should just make an normal Spawner with the Name "Cave Spider Spawner" and then on Place Event set the Block to a Cave Spider Spawner.
     
Thread Status:
Not open for further replies.

Share This Page