Package net.minecraft.entity.player

Examples of net.minecraft.entity.player.InventoryPlayer


                    if(entityStack != null && entityStack.getItem() instanceof IPressurizable) {
                        chargingItems.add((IPressurizable)entityStack.getItem());
                        chargedStacks.add(entityStack);
                    }
                } else if(entity instanceof EntityPlayer) {
                    InventoryPlayer inv = ((EntityPlayer)entity).inventory;
                    for(int i = 0; i < inv.getSizeInventory(); i++) {
                        ItemStack stack = inv.getStackInSlot(i);
                        if(stack != null && stack.getItem() instanceof IPressurizable) {
                            chargingItems.add((IPressurizable)stack.getItem());
                            chargedStacks.add(stack);
                        }
                    }
View Full Code Here

TOP

Related Classes of net.minecraft.entity.player.InventoryPlayer

Copyright © 2018 www.massapicom. 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.