Let's create a program which tells us about the itemIds of Spirit shields
Code:
package random;
/**
*
* @author AYUSHARYA
*/
public class Random {
/*
* Start of variable declarement
*/
public static String[] Names = {"Divine Spirit Shield","Elysian Spirit Shield","Spectral Spirit Shield","Arcane Spirit Shield","Blessed Spirit Shield","Spirit Shield"};
public static int[] itemIDS = {13740,13742,13744,13738,13736,13734};
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
for(int i = 0; i < Names.length; i++) {
System.out.println("The item id of "+Names[i] + " is "+ itemIDS[i]+ ".");
}
}
}
This will give us the following output
Code:
The item id of Divine Spirit Shield is 13740.
The item id of Elysian Spirit Shield is 13742.
The item id of Spectral Spirit Shield is 13744.
The item id of Arcane Spirit Shield is 13738.
The item id of Blessed Spirit Shield is 13736.
The item id of Spirit Shield is 13734.
Hope you enjoyed learning.
Credits:-
FortNightAtmo/Ayush Arya/Me