public class ItemHabitatScreen extends ItemForestry implements IColoredItem
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DIMENSION_KEY |
static java.lang.String |
POSITION_KEY |
static java.lang.String |
PREVIEW_KEY |
| Constructor and Description |
|---|
ItemHabitatScreen() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInformation(net.minecraft.item.ItemStack stack,
net.minecraft.world.World world,
java.util.List<java.lang.String> tooltip,
net.minecraft.client.util.ITooltipFlag flag) |
int |
getColorFromItemstack(net.minecraft.item.ItemStack stack,
int tintIndex) |
static int |
getDimension(net.minecraft.item.ItemStack itemStack) |
static net.minecraft.util.math.BlockPos |
getPosition(net.minecraft.item.ItemStack itemStack) |
static boolean |
isPreviewModeActive(net.minecraft.item.ItemStack itemStack) |
static boolean |
isValid(net.minecraft.item.ItemStack stack,
net.minecraft.world.World world) |
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) |
net.minecraft.util.EnumActionResult |
onItemUseFirst(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ,
net.minecraft.util.EnumHand hand) |
static void |
setPreviewMode(net.minecraft.item.ItemStack itemStack,
boolean preview) |
getItemStack, getItemStack, getWildcard, registerModeladdPropertyOverride, canApplyAtEnchantingTable, canContinueUsing, canDestroyBlockInCreative, canDisableShield, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getCreatorModId, getDamage, getDefaultInstance, getDestroySpeed, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getForgeRarity, getHarvestLevel, getHasSubtypes, getHighlightTip, getHorseArmorTexture, getHorseArmorType, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemBurnTime, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getNBTShareTag, getPropertyGetter, getRarity, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getSubItems, getTileEntityItemStackRenderer, getToolClasses, getTranslationKey, getTranslationKey, getUnlocalizedNameInefficiently, getXpRepairRatio, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hasEffect, hitEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isEnchantable, isFull3D, isInCreativeTab, isMap, isRepairable, isShield, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUse, onItemUseFinish, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, rayTrace, readNBTShareTag, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setTileEntityItemStackRenderer, setTranslationKey, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBTpublic static final java.lang.String POSITION_KEY
public static final java.lang.String DIMENSION_KEY
public static final java.lang.String PREVIEW_KEY
public static boolean isPreviewModeActive(net.minecraft.item.ItemStack itemStack)
public static void setPreviewMode(net.minecraft.item.ItemStack itemStack,
boolean preview)
@Nullable public static net.minecraft.util.math.BlockPos getPosition(net.minecraft.item.ItemStack itemStack)
public static int getDimension(net.minecraft.item.ItemStack itemStack)
public static boolean isValid(net.minecraft.item.ItemStack stack,
@Nullable
net.minecraft.world.World world)
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 net.minecraft.item.Itempublic net.minecraft.util.EnumActionResult onItemUseFirst(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ,
net.minecraft.util.EnumHand hand)
onItemUseFirst in class net.minecraft.item.Itempublic void addInformation(net.minecraft.item.ItemStack stack,
@Nullable
net.minecraft.world.World world,
java.util.List<java.lang.String> tooltip,
net.minecraft.client.util.ITooltipFlag flag)
addInformation in class ItemForestrypublic int getColorFromItemstack(net.minecraft.item.ItemStack stack,
int tintIndex)
getColorFromItemstack in interface IColoredItem