public class FossilItem extends net.minecraft.item.Item implements GrindableItem
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<java.lang.String,java.util.List<Dinosaur>> |
fossilDinosaurs |
| Constructor and Description |
|---|
FossilItem(java.lang.String type,
boolean fresh) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInformation(net.minecraft.item.ItemStack stack,
net.minecraft.world.World worldIn,
java.util.List<java.lang.String> lore,
net.minecraft.client.util.ITooltipFlag flagIn) |
static boolean |
changeStandType(net.minecraft.item.ItemStack stack) |
java.lang.String |
getBoneType() |
java.util.List<org.apache.commons.lang3.tuple.Pair<java.lang.Float,net.minecraft.item.ItemStack>> |
getChancedOutputs(net.minecraft.item.ItemStack inputItem) |
static Dinosaur |
getDinosaur(net.minecraft.item.ItemStack stack) |
net.minecraft.item.ItemStack |
getGroundItem(net.minecraft.item.ItemStack stack,
java.util.Random random) |
static boolean |
getHasStand(net.minecraft.item.ItemStack stack) |
java.lang.String |
getItemStackDisplayName(net.minecraft.item.ItemStack stack) |
java.util.List<net.minecraft.item.ItemStack> |
getJEIRecipeTypes() |
void |
getSubItems(net.minecraft.creativetab.CreativeTabs tab,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> subtypes) |
static void |
init() |
boolean |
isFresh() |
boolean |
isGrindable(net.minecraft.item.ItemStack stack) |
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 |
onItemUse(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumHand hand,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ) |
static void |
setHasStand(net.minecraft.item.ItemStack stack,
boolean hasStand) |
addPropertyOverride, canApplyAtEnchantingTable, canDestroyBlockInCreative, canDisableShield, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getCreatorModId, getDamage, getDefaultInstance, getDestroySpeed, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHarvestLevel, getHasSubtypes, getHighlightTip, getHorseArmorTexture, getHorseArmorType, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemBurnTime, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getNBTShareTag, getPropertyGetter, getRarity, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getTileEntityItemStackRenderer, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, 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, onItemUseFinish, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, rayTrace, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setTileEntityItemStackRenderer, setUnlocalizedName, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBTgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGrindableItem, isGrindableItemgetItemSubtypes, getItemSubtypespublic static java.util.Map<java.lang.String,java.util.List<Dinosaur>> fossilDinosaurs
public static void init()
public java.lang.String getItemStackDisplayName(net.minecraft.item.ItemStack stack)
getItemStackDisplayName in class net.minecraft.item.Itempublic static Dinosaur getDinosaur(net.minecraft.item.ItemStack stack)
public void getSubItems(net.minecraft.creativetab.CreativeTabs tab,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> subtypes)
getSubItems in class net.minecraft.item.Itempublic void addInformation(net.minecraft.item.ItemStack stack,
net.minecraft.world.World worldIn,
java.util.List<java.lang.String> lore,
net.minecraft.client.util.ITooltipFlag flagIn)
addInformation in class net.minecraft.item.Itempublic boolean isGrindable(net.minecraft.item.ItemStack stack)
isGrindable in interface GrindableItempublic boolean isFresh()
public java.lang.String getBoneType()
public net.minecraft.util.EnumActionResult onItemUse(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumHand hand,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ)
onItemUse in class net.minecraft.item.Itempublic static boolean getHasStand(net.minecraft.item.ItemStack stack)
public static void setHasStand(net.minecraft.item.ItemStack stack,
boolean hasStand)
public static boolean changeStandType(net.minecraft.item.ItemStack stack)
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.item.ItemStack getGroundItem(net.minecraft.item.ItemStack stack,
java.util.Random random)
getGroundItem in interface GrindableItempublic java.util.List<net.minecraft.item.ItemStack> getJEIRecipeTypes()
getJEIRecipeTypes in interface JurassicIngredientItempublic java.util.List<org.apache.commons.lang3.tuple.Pair<java.lang.Float,net.minecraft.item.ItemStack>> getChancedOutputs(net.minecraft.item.ItemStack inputItem)
getChancedOutputs in interface JurassicIngredientItem