public class PrimedPendant
extends org.cyclops.cyclopscore.config.configurable.ConfigurableDamageIndicatedItemFluidContainer
implements baubles.api.IBauble, org.cyclops.cyclopscore.inventory.IGuiContainerProviderConfigurable
canPickUp, eConfigcomponent, fluidATTACK_DAMAGE_MODIFIER, ATTACK_SPEED_MODIFIER, bFull3D, canRepair, hasSubtypes, itemRand, maxStackSize, REGISTRY| Constructor and Description |
|---|
PrimedPendant(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.ItemConfig> eConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer entityPlayer,
java.util.List list,
boolean par4) |
boolean |
canEquip(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity) |
boolean |
canUnequip(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity) |
baubles.api.BaubleType |
getBaubleType(net.minecraft.item.ItemStack itemStack) |
java.lang.Class<? extends net.minecraft.inventory.Container> |
getContainer() |
java.lang.Class<? extends net.minecraft.client.gui.GuiScreen> |
getGui() |
int |
getGuiID() |
static PrimedPendant |
getInstance()
Get the unique instance.
|
org.cyclops.cyclopscore.init.ModBase |
getModGui() |
net.minecraft.item.ItemStack |
getPotionStack(net.minecraft.item.ItemStack itemStack) |
net.minecraft.inventory.IInventory |
getSupplementaryInventory(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack itemStack,
int itemIndex)
Get the supplementary inventory of the given crafter.
|
net.minecraft.inventory.IInventory |
getSupplementaryInventory(net.minecraft.item.ItemStack itemStack)
Get the supplementary inventory of the item.
|
boolean |
hasEffect(net.minecraft.item.ItemStack itemStack) |
boolean |
hasPotionStack(net.minecraft.item.ItemStack itemStack) |
protected boolean |
isClientSideOnlyGui() |
boolean |
onDroppedByPlayer(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer player) |
void |
onEquipped(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity) |
net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> |
onItemRightClick(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand) |
void |
onUnequipped(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity) |
void |
onUpdate(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.Entity entity,
int par4,
boolean par5) |
void |
onWornTick(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity) |
void |
openGuiForItemIndex(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
int itemIndex)
Open the gui for a certain item index in the player inventory.
|
boolean |
willAutoSync(net.minecraft.item.ItemStack itemstack,
net.minecraft.entity.EntityLivingBase player) |
canConsume, canItemEditBlocks, consume, doesSneakBypassUse, drainFromOthers, getConfig, isPickupFluids, isPlaceFluids, onItemUseFirst, setPlaceFluidscanDrain, getDurabilityForDisplay, getFluid, getInfo, getRGBDurabilityForDisplay, getSubItems, initCapabilities, provideInformation, showDurabilityBaraddPropertyOverride, canApplyAtEnchantingTable, canDestroyBlockInCreative, canHarvestBlock, canHarvestBlock, createEntity, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDefaultInstance, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getHighlightTip, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getNBTShareTag, getPropertyGetter, getRarity, getShareTag, getSmeltingExperience, getStrVsBlock, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hitEntity, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isEnchantable, isFull3D, isMap, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onEntityItemUpdate, onEntitySwing, onItemUse, onItemUseFinish, onLeftClickEntity, onPlayerStoppedUsing, onUsingTick, rayTrace, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setUnlocalizedName, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, updateItemStackNBTgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNamepublic PrimedPendant(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.ItemConfig> eConfig)
public static PrimedPendant getInstance()
public void addInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer entityPlayer,
java.util.List list,
boolean par4)
addInformation in class org.cyclops.cyclopscore.config.configurable.ConfigurableDamageIndicatedItemFluidContainerpublic void onUpdate(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.Entity entity,
int par4,
boolean par5)
onUpdate in class net.minecraft.item.Itempublic boolean hasPotionStack(net.minecraft.item.ItemStack itemStack)
public net.minecraft.item.ItemStack getPotionStack(net.minecraft.item.ItemStack itemStack)
public boolean hasEffect(net.minecraft.item.ItemStack itemStack)
hasEffect in class net.minecraft.item.Itempublic boolean canEquip(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
canEquip in interface baubles.api.IBaublepublic boolean canUnequip(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
canUnequip in interface baubles.api.IBaublepublic boolean willAutoSync(net.minecraft.item.ItemStack itemstack,
net.minecraft.entity.EntityLivingBase player)
willAutoSync in interface baubles.api.IBaublepublic baubles.api.BaubleType getBaubleType(net.minecraft.item.ItemStack itemStack)
getBaubleType in interface baubles.api.IBaublepublic void onEquipped(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
onEquipped in interface baubles.api.IBaublepublic void onUnequipped(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
onUnequipped in interface baubles.api.IBaublepublic void onWornTick(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
onWornTick in interface baubles.api.IBaublepublic net.minecraft.inventory.IInventory getSupplementaryInventory(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack itemStack,
int itemIndex)
player - The player using the crafter.itemStack - The item stack.itemIndex - The item index.public net.minecraft.inventory.IInventory getSupplementaryInventory(net.minecraft.item.ItemStack itemStack)
itemStack - The item stack.public int getGuiID()
getGuiID in interface org.cyclops.cyclopscore.inventory.IGuiContainerProviderpublic java.lang.Class<? extends net.minecraft.inventory.Container> getContainer()
getContainer in interface org.cyclops.cyclopscore.inventory.IGuiContainerProviderpublic java.lang.Class<? extends net.minecraft.client.gui.GuiScreen> getGui()
getGui in interface org.cyclops.cyclopscore.inventory.IGuiContainerProviderpublic org.cyclops.cyclopscore.init.ModBase getModGui()
getModGui in interface org.cyclops.cyclopscore.inventory.IGuiContainerProviderpublic boolean onDroppedByPlayer(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer player)
onDroppedByPlayer in class net.minecraft.item.Itempublic void openGuiForItemIndex(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
int itemIndex)
world - The world.player - The player.itemIndex - The item index in the player inventory.protected boolean isClientSideOnlyGui()
public net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> onItemRightClick(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand)
onItemRightClick in class org.cyclops.cyclopscore.config.configurable.ConfigurableDamageIndicatedItemFluidContainer