This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
HEY there
I need Help with this:
I wanne give me items
EXP: ".give randomItemID"
@Override public void onCommand(String command, String[] args) throws Exception { ItemStack stack = new ItemStack(Item.getItemById("HERE")); }
I tried this, but not work:
@Override public void onCommand(String command, String[] args) throws Exception { int is = args[1 .equalsIgnoreCase; ItemStack stack = new ItemStack(Item.getItemById("is")); }
Thanks for helping
PS: IM NOT CODING ANYTHING FOR THE MULTIPLAYER!!!
Okey, in the version 1.8+ the Command is
Exp: /give <Player> minecraft:stone
But i want to have it with the Ids:
Exp: /give <Player> 1
And i searching a method how to make that easier->
if you type .give 1 that you get 1 Stone.
Thanks
That was just an example i want that the second arg of the command in Here:
than if you write .give 1
than it comes here:
@Override public void onCommand(String command, String[] args) throws Exception { ItemStack stack = new ItemStack(Item.getItemById("1")); }
HEY there
I need Help with this:
I wanne give me items
EXP: ".give randomItemID"
I tried this, but not work:
Thanks for helping
PS: IM NOT CODING ANYTHING FOR THE MULTIPLAYER!!!
Okey, in the version 1.8+ the Command is
Exp: /give <Player> minecraft:stone
But i want to have it with the Ids:
Exp: /give <Player> 1
And i searching a method how to make that easier->
if you type .give 1 that you get 1 Stone.
Thanks
That was just an example i want that the second arg of the command in Here:
than if you write .give 1
than it comes here: