Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

How to summon an item in bukkit

public void onPlayerJoin(final PlayerJoinEvent e) {
Player p  = e.getPlayer();
p.getWorld().dropItemNaturally(p.getLocation(), new ItemStack(Material.LEVER)); // drops a lever at his location..
}
Comment

PREVIOUS NEXT
Code Example
Java :: practical1_answer 
Java :: java fields 
Java :: mongodb check if field exists java 
Java :: how to send http post create request using curl command 
Java :: jframe maximized at startup 
Java :: horizontal rule in android studio 
Java :: max int array java 
Java :: Error: Could not find or load main class Main Caused by: java.lang.ClassNotFoundException: Main 
Java :: hasNext for scanner class java 
Java :: transformer un string en Biginteger java 
Java :: how to use enumUtils in java 
Java :: exceptions in java 
Java :: video compression with java 
Java :: dowload htpasswd file java 
Java :: transparent card background android 
Java :: convert pdf to word in java 
Java :: Print Text Using Java 
Java :: treeset java descending order using comparator 
Java :: How to output error in java 
Java :: create a border java 
Java :: what is arraylist 
Java :: java stack verification failed 
Java :: jpql spring boot 
Java :: jdk jre jvm 
Java :: seek bar 
Java :: how to make a rest api in spring 
Java :: swapping two numbers using third variable 
Java :: how to find a word in a statement java 
Java :: random suffling java 
Java :: parameterized constructor java 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =