public class ItemBiomeExtract
extends net.minecraft.item.Item
| Modifier and Type | Class and Description |
|---|---|
static class |
ItemBiomeExtract.ItemColor |
| Constructor and Description |
|---|
ItemBiomeExtract(net.minecraft.item.Item.Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
java.util.List<net.minecraft.util.text.ITextComponent> list,
net.minecraft.client.util.ITooltipFlag flag) |
net.minecraft.item.ItemStack |
createItemStack(net.minecraft.world.biome.Biome biome,
int amount)
Create a stack of a certain type of biome.
|
void |
fillItemGroup(net.minecraft.item.ItemGroup creativeTabs,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> list) |
static net.minecraft.world.biome.Biome |
getBiome(net.minecraft.item.ItemStack itemStack)
Returns the biome type for the given ItemStack
|
java.lang.Iterable<net.minecraft.world.biome.Biome> |
getBiomes() |
net.minecraft.item.Rarity |
getRarity(net.minecraft.item.ItemStack itemStack) |
java.lang.String |
getTranslationKey(net.minecraft.item.ItemStack itemStack) |
net.minecraft.item.UseAction |
getUseAction(net.minecraft.item.ItemStack stack) |
boolean |
isEmpty(net.minecraft.item.ItemStack itemStack)
Checks wether or not a BiomeExtract is empty (it does not contain any biome)
given its item damage
|
net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> |
onItemRightClick(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand) |
addPropertyOverride, asItem, canHarvestBlock, canPlayerBreakBlockWhileHolding, func_219972_a, func_225519_S__, func_225520_U__, getAttributeModifiers, getContainerItem, getDefaultInstance, getDefaultTranslationKey, getDestroySpeed, getDisplayName, getFood, getGroup, getHarvestLevel, getIdFromItem, getIsRepairable, getItemById, getItemEnchantability, getItemFromBlock, getItemStackTileEntityRenderer, getMaxDamage, getMaxStackSize, getName, getPropertyGetter, getTags, getToolTypes, getTranslationKey, getUseDuration, hasContainerItem, hasCustomProperties, hasEffect, hitEntity, inventoryTick, isComplex, isCrossbow, isDamageable, isEnchantable, isFood, isIn, isInGroup, isRepairable, itemInteractionForEntity, onBlockDestroyed, onCreated, onItemUse, onItemUseFinish, onPlayerStoppedUsing, rayTrace, shouldSyncTag, toString, updateItemStackNBTgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanApplyAtEnchantingTable, canContinueUsing, canDisableShield, canEquip, canHarvestBlock, createEntity, damageItem, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, hasCustomEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamaged, isShield, onArmorTick, onBlockStartBreak, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBarpublic ItemBiomeExtract(net.minecraft.item.Item.Properties properties)
public java.lang.String getTranslationKey(net.minecraft.item.ItemStack itemStack)
getTranslationKey in class net.minecraft.item.Itempublic net.minecraft.item.UseAction getUseAction(net.minecraft.item.ItemStack stack)
getUseAction in class net.minecraft.item.Itempublic net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> onItemRightClick(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand)
onItemRightClick in class net.minecraft.item.Itempublic void addInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
java.util.List<net.minecraft.util.text.ITextComponent> list,
net.minecraft.client.util.ITooltipFlag flag)
addInformation in class net.minecraft.item.Itempublic java.lang.Iterable<net.minecraft.world.biome.Biome> getBiomes()
public void fillItemGroup(net.minecraft.item.ItemGroup creativeTabs,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> list)
fillItemGroup in class net.minecraft.item.Itempublic boolean isEmpty(net.minecraft.item.ItemStack itemStack)
itemStack - Item stackpublic static net.minecraft.world.biome.Biome getBiome(net.minecraft.item.ItemStack itemStack)
itemStack - ItemStack which holds a BiomeExtractpublic net.minecraft.item.ItemStack createItemStack(net.minecraft.world.biome.Biome biome,
int amount)
biome - The type ofbopme to make.amount - The amount per stack.public net.minecraft.item.Rarity getRarity(net.minecraft.item.ItemStack itemStack)
getRarity in class net.minecraft.item.Item