Package org.bukkit.potion

Examples of org.bukkit.potion.Potion.apply()


                Potion pot = new Potion(type);
                pot.setLevel(data1.asInt());
                if (!pot.getType().isInstant())
                    pot.setHasExtendedDuration(data2.asBoolean());
                pot.setSplash(data3.asBoolean());
                pot.apply(item.getItemStack());
            }
        }

    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.