Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

check if item lore is something bukkit

if(e.getPlayer().getInventory().getItemInHand().getItemMeta().getLore().contains("Wool")) {
            ItemStack hand = e.getPlayer().getInventory().getItemInHand();
            ItemMeta meta = hand.getItemMeta();
            meta.setLore(ChatColor.GREEN + "Thors Hammer");
 
        }
Comment

PREVIOUS NEXT
Code Example
Java :: snapshot for loop android java 
Java :: Java Multiple element Annotations 
Java :: why is button hover not working in java netbeans 
Java :: java delete instance of class 
Java :: How to adjust layout when soft keyboard appears 
Java :: return index using matcher java 
Java :: integer class in java 
Java :: change activity main drawer items text color android 
Java :: naming convention for selenium java automation 
Java :: recursion java 
Java :: /= java 
Java :: class in java 
Java :: comparable 
Java :: java check if class is subclass 
Java :: Can a method be abstract and final in abstract class 
Java :: constructeur java 
Java :: Java Filters 
Java :: how to be good at javasctript 
Java :: update role spring security 
Java :: sololearn bowling game 
Java :: android cella 20*20 java 
Java :: getUssd() kotlin 
Sql :: mysql create user 
Sql :: oracle see column type 
Sql :: find duplicates mysql column 
Sql :: view column data type sql 
Sql :: sql get missing id 
Sql :: sqlite alter table add column 
Sql :: mysql update field from one table to another 
Sql :: oracle select first 10 rows 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =