Package net.aufdemrand.denizen.objects

Examples of net.aufdemrand.denizen.objects.dItem.identify()


            else if (arg.matchesPrimitive(aH.PrimitiveType.Integer))
                quantity = aH.getIntegerFrom(arg.getValue());
        }

        if (context.getPlayer().getPlayerEntity().getInventory().containsAtLeast(contains.getItemStack(), quantity)) {
            dB.echoDebug(context.getScriptContainer(), "...player has " + contains.identify() + ".");
            return true;

        } else {
            dB.echoDebug(context.getScriptContainer(), "...player doesn't have " + contains.identify() + ".");
            return false;
View Full Code Here


        if (context.getPlayer().getPlayerEntity().getInventory().containsAtLeast(contains.getItemStack(), quantity)) {
            dB.echoDebug(context.getScriptContainer(), "...player has " + contains.identify() + ".");
            return true;

        } else {
            dB.echoDebug(context.getScriptContainer(), "...player doesn't have " + contains.identify() + ".");
            return false;
        }
    }
}
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.