public class PrimedPendant extends ConfigurableDamageIndicatedItemFluidContainer implements IGuiContainerProvider
canPickUp, eConfigcomponent, fluidbFull3D, canRepair, delegate, field_111210_e, hasSubtypes, iconString, itemIcon, itemRand, itemRegistry, maxStackSizeBLOCK_PREFIX, INFO_PREFIX, ITEM_PREFIX| 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) |
BaubleType |
getBaubleType(net.minecraft.item.ItemStack itemStack) |
java.lang.Class<? extends net.minecraft.inventory.Container> |
getContainer()
Get the container for this block.
|
java.lang.Class<? extends net.minecraft.client.gui.GuiScreen> |
getGUI()
Get the GUI for this block.
|
int |
getGuiID()
Get the unique ID for the GUI this block has.
|
java.lang.String |
getGuiTexture()
Get the texture path of the GUI.
|
java.lang.String |
getGuiTexture(java.lang.String suffix)
Get the texture path of the GUI.
|
static PrimedPendant |
getInstance()
Get the unique instance.
|
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,
int pass) |
boolean |
hasPotionStack(net.minecraft.item.ItemStack itemStack) |
static void |
initInstance(ExtendedConfig<ItemConfig> eConfig)
Initialise the configurable.
|
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.item.ItemStack |
onItemRightClick(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player) |
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.
|
void |
setContainer(java.lang.Class<? extends net.minecraft.inventory.Container> container)
Set the container.
|
void |
setGUI(java.lang.Class<? extends net.minecraft.client.gui.GuiScreen> gui)
Set the gui.
|
canConsume, canItemEditBlocks, consume, doesSneakBypassUse, drainFromOthers, getConfig, getIconString, isPickupFluids, isPlaceFluids, onItemUseFirst, registerIcons, setPlaceFluidscanDrain, drain, fill, getDurabilityForDisplay, getFluid, getInfo, getSubItems, provideInformation, showDurabilityBargetCapacity, getFluid, setCapacitycanHarvestBlock, createEntity, doesContainerItemLeaveCraftingGrid, func_150893_a, func_150897_b, getArmorModel, getArmorTexture, getAttributeModifiers, getChestGenBase, getColorFromItemStack, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDigSpeed, getDisplayDamage, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getIcon, getIcon, getIconFromDamage, getIconFromDamageForRenderPass, getIconIndex, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getRenderPasses, getShareTag, getSmeltingExperience, getSpriteNumber, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasEffect, hitEntity, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isFull3D, isItemTool, isMap, isPotionIngredient, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onEaten, onEntityItemUpdate, onEntitySwing, onItemUse, onLeftClickEntity, onPlayerStoppedUsing, onUsingTick, registerItems, renderHelmetOverlay, requiresMultipleRenderPasses, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setPotionEffect, setTextureName, setUnlocalizedName, shouldRotateAroundWhenRenderingpublic static void initInstance(ExtendedConfig<ItemConfig> eConfig)
eConfig - The config.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 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,
int pass)
hasEffect in class net.minecraft.item.Itempublic boolean canEquip(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
public boolean canUnequip(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
public BaubleType getBaubleType(net.minecraft.item.ItemStack itemStack)
public void onEquipped(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
public void onUnequipped(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
public void onWornTick(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
public 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()
IGuiContainerProvidergetGuiID in interface IGuiContainerProviderpublic void setGUI(java.lang.Class<? extends net.minecraft.client.gui.GuiScreen> gui)
IGuiContainerProvidersetGUI in interface IGuiContainerProvidergui - The gui.public void setContainer(java.lang.Class<? extends net.minecraft.inventory.Container> container)
IGuiContainerProvidersetContainer in interface IGuiContainerProvidercontainer - The container.public java.lang.Class<? extends net.minecraft.inventory.Container> getContainer()
IGuiContainerProvidergetContainer in interface IGuiContainerProviderpublic java.lang.Class<? extends net.minecraft.client.gui.GuiScreen> getGUI()
IGuiContainerProvidergetGUI in interface IGuiContainerProviderpublic boolean onDroppedByPlayer(net.minecraft.item.ItemStack itemstack,
net.minecraft.entity.player.EntityPlayer player)
onDroppedByPlayer in class net.minecraft.item.Itempublic java.lang.String getGuiTexture()
IGuiContainerProvidergetGuiTexture in interface IGuiContainerProviderpublic java.lang.String getGuiTexture(java.lang.String suffix)
IGuiContainerProvidergetGuiTexture in interface IGuiContainerProvidersuffix - Suffix to add to the path.public 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.item.ItemStack onItemRightClick(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player)
onItemRightClick in class ConfigurableDamageIndicatedItemFluidContainer