hey i was wondering if someone could make a 1.3.2 plugin for craftable spawners, and so if u break a spawner that you could get that kind of egg, if you could do this and would be willing to, and have any question, plz post here. the craftable spawner would be 8 iron bars around the egg in the middle
This is possible without client mods - check out SilkSpawners. It lets you craft spawners with iron bars surrounding their egg, which can optionally be dropped when you break the spawner. There is a 1.3+ update in the thread.
Do people not know how to make custom crafting recipes? Or even remove current ones? Why do you think it says the recipe count at the top of your terminal when you start a server?
But a spawner is not a custom item, i guess people thought you meant a new item, which has never been made on minecraft.
if i were to make a item called chopsticks which is 2 sticks next to each other would i be able to do that?
Not really, you could make a recipe so that people could craft an item out of 2 sticks but the item crafted would have to already exist. eg crafting 2 sticks could give you a fence, you couldnt combine 2 existing items to make a new item which doesnt exist
You could do this.. in a way. You would output a "special stick" of sorts. Add an enchantment to it that will be hidden like bow_infinity or something. Doing this makes it not stack with others and then you can use that stick in a plugin as if it were a whole new item.
NBT is a language made up for minecraft that's sort of like YAML, XML or similar. It has a series of keys of different types. Compound Tags store other tags, Integer tags are integers, Short tags are shorts, Float tags are floats, Double tags are doubles, String tags are strings and Lists are a list of several of one type of tag (tag's in a list have no name). It is used to store lots of data such as item id's, player inventory, and yes, as of 1.4, custom names. Eventually, there will be easy bukkit API for changing names, but until then you have to build against craftbukkit. Here's some code that will change an item's name and give it a description: PHP: ItemStack iss = new ItemStack(Material.WOOD_AXE); CraftItemStack css = new CraftItemStack(iss); //Turn iss into a CraftItemStack net.minecraft.server.ItemStack nms = css.getHandle(); //Get the handle of the CraftItemStack NBTTagCompound tag = nms.tag; //Make a new NBTTagCompound variable, for getting stuff from nms's tag. tag = new NBTTagCompound(); //Clear the item's tag. tag.setCompound("display", new NBTTagCompound()); //Add a display compound, in case one already doesn't exist. nms.tag = tag; //Set nms's tag to tag. tag = nms.tag.getCompound("display"); //Change the tag variable to the 'display' compound. NBTTagList lore = new NBTTagList("Lore"); //Creates the lore variable. It is a list because an item's lore field has to be a list of strings. lore.add(new NBTTagString("", "§r§5Right click to strike someone with lightning!")); //Adds an unnamed string to the lore list. tag.setString("Name", "§eThor's Hammer"); //Adds the string 'Name' to the tag variable compound (display). tag.set("Lore", lore); //Adds the list 'Lore' to the tag variable compound (display). nms.tag.setCompound("display", tag); //Set's the compound 'display' in the item's 'tag' compound to the tag variable. player.getInventory().addItem(css); //Add the CraftItemStack to the player's inv