I would think it would be the same as an enchanted sword. Like (diamond sword id):(insert random numbers and letters here). So for a Fire Aspect 1 Book I would believe it to be 403:(fire aspect id). Sorry for not knowing ID's.
If you do that, then it just gives you a book with no enchantment
The Meaning of Life, the Universe, and Everything.
Join Date:
8/4/2012
Posts:
47
Minecraft:
wiscrack
Member Details
You are only able to sell enchanted books, however with nothing written in them - use /iteminfo to tell you the ID.
Enchanted books dont use : like 403:1 but they use # 403#1! Hope this helps you guys.
108.170.5.66:25753 To see that this works
WebRep
Ukupna ocena
Ovaj sajt nema nikakvu ocenu
(nema dovoljno glasova)
easiest way to find out all the IDs for enchanted Books (not sure if it is same on every server) would be make a temporary bukkit server on your pc get the plugin that allows you to /iteminfo use Too Many Items to make one of each then saving them in a word document so you can go back to it. that would be the easiest way to do it anyway.
Enchanted Books do not have any ID besides the blank. The reason for this is because Enchantment Books are just the blank with different data values. This is also the reason why you cannot use /give to get enchanted tools and weapons.
TO ALL THE JERKS WHO ARE GONNA SAY "BUT YOU CAN SPAWN ENCHANTED ITEMS WITH /GIVE": Look at the date when this was posted.
I know this is an old post but it was one of the first ones that came up in my search so i thought id help anyone else who is looking
With the info on here i have gathered a list of the enchantments for use on bukkit/spigot servers
You can change the level of the enchant if you wish by altering the number after the ":"
For example Protection III would be "/give {player} 403 1 0:3"
These are the highest "legal" enchants
The Meaning of Life, the Universe, and Everything.
Location:
Earth
Join Date:
11/6/2012
Posts:
51
Minecraft:
Brian_Entei
Xbox:
br45entei
Member Details
I don't know if
EnchantmentStorageMeta meta = (EnchantmentStorageMeta) itemstack.getItemMeta();
was around last year(or whenever this was posted), but you can use that.
You may want to check if the "ItemStack item" is indeed an enchant book first:
if(item.getType() == Material.ENCHANTED_BOOK) {
EnchantmentStorageMeta meta = (EnchantmentStorageMeta) item.getItemMeta();
if(EnchantMeta != null) {
isEnch = EnchantMeta.getStoredEnchants();
if(isEnch.size() > 0) {
int num = 0;
for(Entry<Enchantment,Integer> ench : isEnch.entrySet()) {
num++;
DEBUG("&f[" + num + "] MetaData Book Enchantments: \"" + ench.getKey().getName() + "\"");
}
}
} else {
DEBUG("&fItem has no enchant MetaData.");
}
}
I'm trying to get an ITEM that has MULTIPLE enchantments on it, but the item is UNENCHANTABLE!!! I tried to do it in the manner above, but it DOESN'T WORK! Anyone know how to do it with multiple enchantments?
well if u have the chest shop go to the item or enchanted book that you are holding in your hand and use the command /iteminfo and that is the item ID that you use for your shop. so like 403#1,403#2 and so on.
If you do that, then it just gives you a book with no enchantment
Enchanted books dont use : like 403:1 but they use # 403#1!
Hope this helps you guys.
108.170.5.66:25753 To see that this works
WebRep
Ukupna ocena
Ovaj sajt nema nikakvu ocenu
(nema dovoljno glasova)
With this thread however, ariel13443 showed how to use the give command and Mandrigan spelled out the enchant names.
Using this information, I used ServerSigns 2.9.1 to make some very nice-looking signs for players to purchase enchanted books for a specific price.
Example:
I placed an item frame on a wall, put an enchanted book inside it and then placed a sign below it saying something to the effect of:
I then attached the following ServerSign commands to the sign:
Thanks,
LHammonds
Minecraft Server: HammondsLegacy.com
With the info on here i have gathered a list of the enchantments for use on bukkit/spigot servers
You can change the level of the enchant if you wish by altering the number after the ":"
For example Protection III would be "/give {player} 403 1 0:3"
These are the highest "legal" enchants
Protection IV
/give {player} 403 1 0:4
Fire Protection IV
/give {player} 403 1 1:4
Feather Falling IV
/give {player} 403 1 2:4
Blast Protection IV
/give {player} 403 1 3:4
Projectile Protection IV
/give {player} 403 1 4:4
Respiration III
/give {player} 403 1 5:3
Aqua Affinity I
/give {player} 403 1 6:1
Thorns III
/give {player} 403 1 7:3
Sharpness V
/give {player} 403 1 16:5
Smite V
/give {player} 403 1 17:5
Bane of Arthropods V
/give {player} 403 1 18:5
Knockback II
/give {player} 403 1 19:2
Fire Aspect II
/give {player} 403 1 20:2
Looting III
/give {player} 403 1 21:3
Efficiency V
/give {player} 403 1 32:5
Silk Touch I
/give {player} 403 1 33:1
Unbreaking III
/give {player} 403 1 34:3
Fortune III
/give {player} 403 1 35:3
Power V
/give {player} 403 1 48:5
Punch II
/give {player} 403 1 49:2
Flame I
/give {player} 403 1 50:1
Infinity I
/give {player} 403 1 51:1
Luck of the Sea III
/give {player} 403 1 61:3
Lure III
/give {player} 403 1 62:3
EnchantmentStorageMeta meta = (EnchantmentStorageMeta) itemstack.getItemMeta();
was around last year(or whenever this was posted), but you can use that.
You may want to check if the "ItemStack item" is indeed an enchant book first:
if(item.getType() == Material.ENCHANTED_BOOK) {
EnchantmentStorageMeta meta = (EnchantmentStorageMeta) item.getItemMeta();
if(EnchantMeta != null) {
isEnch = EnchantMeta.getStoredEnchants();
if(isEnch.size() > 0) {
int num = 0;
for(Entry<Enchantment,Integer> ench : isEnch.entrySet()) {
num++;
DEBUG("&f[" + num + "] MetaData Book Enchantments: \"" + ench.getKey().getName() + "\"");
}
}
} else {
DEBUG("&fItem has no enchant MetaData.");
}
}
-Brian_Entei
They Start At ,16
/give {player} 403 1 8:3