CustomStack stack =CustomStack.getInstance("your_item")if(stack !=null){ItemStack itemStack =stack.getItemStack();}else{//no custom item found with that id}
CustomMob customMob =CustomMob.spawn("your_item", location)if(customMob !=null){//spawned the custom mob//example, print the display name in consoleSystem.out.println(customMob.getName());}else{//no custom mob found with that id}
CustomMob customMob =CustomMob.byAlreadySpawned(entity)if(customMob !=null){//it's a custom mob//example, print the display name in consoleSystem.out.println(customMob.getName());}else{//this mob is not a custom mob}
API של נוזלים
Please also install IALiquids addon to have some test liquids