The Meaning of Life, the Universe, and Everything.
Join Date:
10/3/2012
Posts:
56
Minecraft:
ChargerMc
Member Details
I extracted a part of old WE by KsyMC, beacuse i need a ItemID.js for World Edit but works that script modified by me... but i need a complete BlockID, example: "25:1 or 25:2" but the ID that gives me is "25" without ":1 or :2"
Somebody help me? :3
Here is the code:
var selection1 = [0, 0, 0];
var selection2 = [0, 0, 0];
var saveItemId = 0;
function useItem(x, y, z, item, block)
{
if(item == 292)
{
saveItemId = block;
clientMessage("Item ID : "+block);
preventDefault();
}
}
function procCmd(cmd){
}
Somebody help me? :3
Here is the code:
var selection1 = [0, 0, 0]; var selection2 = [0, 0, 0]; var saveItemId = 0; function useItem(x, y, z, item, block) { if(item == 292) { saveItemId = block; clientMessage("Item ID : "+block); preventDefault(); } } function procCmd(cmd){ }Thanks... I will try... Im sorry i dont know much of scripts...