Help me with this :)

Status
This thread has been locked.

Kinki Network

Banned
Feedback score
0
Posts
22
Reactions
1
Resources
0
Can any1 help me doing this?
I need to do /... ... MATERIAL (Bukkit)
I can set it to /... ... POTION, but I need to make it to a HealthPotion. How can I do it?
Like /... ... POTION_HEAL or something pls help

VIDEO:
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Boshns

Front-end Developer
Supreme
Feedback score
6
Posts
1,050
Reactions
550
Resources
0
Code:
Potion pot = new Potion(PotionType.INSTANT_HEAL, 2);
ItemStack item = pot.toItemStack(1);
 

Kinki Network

Banned
Feedback score
0
Posts
22
Reactions
1
Resources
0
I'll do a video[DOUBLEPOST=1454937862,1454937768][/DOUBLEPOST]Boshns Marck_Feet
 
Banned forever. Reason: Creating Multiple Account (Matth, https://builtbybit.com/members/matth.17077/)

Alehxss

from ISIS
Premium
Feedback score
0
Posts
190
Reactions
65
Resources
0
Try with the ID of the material. :p
373:16421
ex: /gametype setdisplay &aNoDebuff 373:16421
 

Kinki Network

Banned
Feedback score
0
Posts
22
Reactions
1
Resources
0
Alehxss is only with Material's Name :c
 
Banned forever. Reason: Creating Multiple Account (Matth, https://builtbybit.com/members/matth.17077/)

Throns

Java Developer
Premium
Feedback score
3
Posts
164
Reactions
107
Resources
0
I think it's POTION:subID like POTION:16421
 

Kinki Network

Banned
Feedback score
0
Posts
22
Reactions
1
Resources
0
Banned forever. Reason: Creating Multiple Account (Matth, https://builtbybit.com/members/matth.17077/)

Kinki Network

Banned
Feedback score
0
Posts
22
Reactions
1
Resources
0
Banned forever. Reason: Creating Multiple Account (Matth, https://builtbybit.com/members/matth.17077/)

Throns

Java Developer
Premium
Feedback score
3
Posts
164
Reactions
107
Resources
0
Look, if what you have to type is the material, you wont be able to type Health_Potion or anything like that, as they are not Minecraft materials.
The right material would be "POTION", so if I were you I would try using like POTION:16388 , 16388 is the identifier also known as item meta, for the splash health potion.

Try that and let me know if it works. GL

I think it's POTION:subID like POTION:16421

It's the same I said fam, also Item Meta and subID aren't the same. Try doing POTION_subID
 

Kinki Network

Banned
Feedback score
0
Posts
22
Reactions
1
Resources
0
It is not that, I think I will give up xd
 
Banned forever. Reason: Creating Multiple Account (Matth, https://builtbybit.com/members/matth.17077/)
Status
This thread has been locked.
Top