public class DinosaurSpawnEggItem
extends net.minecraft.item.Item
| Constructor and Description |
|---|
DinosaurSpawnEggItem() |
| 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 tooltipFlag) |
int |
changeMode(net.minecraft.item.ItemStack stack) |
Dinosaur |
getDinosaur(net.minecraft.item.ItemStack stack) |
java.lang.String |
getItemStackDisplayName(net.minecraft.item.ItemStack stack) |
int |
getMode(net.minecraft.item.ItemStack stack) |
net.minecraft.nbt.NBTTagCompound |
getNBT(net.minecraft.item.ItemStack stack) |
void |
getSubItems(net.minecraft.creativetab.CreativeTabs tab,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> subtypes) |
boolean |
itemInteractionForEntity(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer playerIn,
net.minecraft.entity.EntityLivingBase target,
net.minecraft.util.EnumHand hand) |
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) |
DinosaurEntity |
spawnDinosaur(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack stack,
double x,
double y,
double z) |
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, 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, updateItemStackNBTpublic boolean itemInteractionForEntity(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer playerIn,
net.minecraft.entity.EntityLivingBase target,
net.minecraft.util.EnumHand hand)
itemInteractionForEntity in class net.minecraft.item.Itempublic DinosaurEntity spawnDinosaur(net.minecraft.world.World world, net.minecraft.entity.player.EntityPlayer player, net.minecraft.item.ItemStack stack, double x, double y, double z)
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 java.lang.String getItemStackDisplayName(net.minecraft.item.ItemStack stack)
getItemStackDisplayName in class net.minecraft.item.Itempublic 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 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 int getMode(net.minecraft.item.ItemStack stack)
public int changeMode(net.minecraft.item.ItemStack stack)
public net.minecraft.nbt.NBTTagCompound getNBT(net.minecraft.item.ItemStack stack)
public void addInformation(net.minecraft.item.ItemStack stack,
net.minecraft.world.World worldIn,
java.util.List<java.lang.String> lore,
net.minecraft.client.util.ITooltipFlag tooltipFlag)
addInformation in class net.minecraft.item.Item