Package | Description |
---|---|
net.minecraft.block | |
net.minecraft.client.util | |
net.minecraft.item | |
net.minecraftforge.event | |
net.minecraftforge.event.entity.player |
Modifier and Type | Method and Description |
---|---|
void |
ShulkerBoxBlock.addInformation(ItemStack stack,
IBlockReader worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
Block.addInformation(ItemStack stack,
IBlockReader worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
Modifier and Type | Class and Description |
---|---|
static class |
ITooltipFlag.TooltipFlags |
Modifier and Type | Method and Description |
---|---|
void |
FireworkStarItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
MusicDiscItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
AirItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
TippedArrowItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
FireworkRocketItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
CrossbowItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
ShieldItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
WrittenBookItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
BlockItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
FilledMapItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
BannerPatternItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
FishBucketItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
EnchantedBookItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
PotionItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
LingeringPotionItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
Item.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
BannerItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
java.util.List<ITextComponent> |
ItemStack.getTooltip(PlayerEntity playerIn,
ITooltipFlag advanced) |
Modifier and Type | Method and Description |
---|---|
static ItemTooltipEvent |
ForgeEventFactory.onItemTooltip(ItemStack itemStack,
PlayerEntity entityPlayer,
java.util.List<ITextComponent> list,
ITooltipFlag flags) |
Modifier and Type | Field and Description |
---|---|
private ITooltipFlag |
ItemTooltipEvent.flags |
Modifier and Type | Method and Description |
---|---|
ITooltipFlag |
ItemTooltipEvent.getFlags()
Use to determine if the advanced information on item tooltips is being shown, toggled by F3+H.
|
Constructor and Description |
---|
ItemTooltipEvent(ItemStack itemStack,
PlayerEntity entityPlayer,
java.util.List<ITextComponent> list,
ITooltipFlag flags)
This event is fired in
ItemStack#getTooltip(EntityPlayer, ITooltipFlag) , which in turn is called from it's respective GUIContainer. |