public class BiomeExtract
extends org.cyclops.cyclopscore.config.configurable.ConfigurableItem
| Constructor and Description |
|---|
BiomeExtract(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.ItemConfig> eConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer entityPlayer,
java.util.List list,
boolean par4) |
net.minecraft.item.ItemStack |
createItemStack(net.minecraft.world.biome.BiomeGenBase biome,
int amount)
Create a stack of a certain type of biome.
|
net.minecraft.world.biome.BiomeGenBase |
getBiome(net.minecraft.item.ItemStack itemStack)
Returns the biome type for the given ItemStack
|
net.minecraft.world.biome.BiomeGenBase[] |
getBiomes() |
int |
getColorFromItemStack(net.minecraft.item.ItemStack itemStack,
int renderPass) |
static BiomeExtract |
getInstance()
Get the unique instance.
|
net.minecraft.item.EnumAction |
getItemUseAction(net.minecraft.item.ItemStack itemStack) |
net.minecraft.item.EnumRarity |
getRarity(net.minecraft.item.ItemStack itemStack) |
void |
getSubItems(net.minecraft.item.Item item,
net.minecraft.creativetab.CreativeTabs creativeTabs,
java.util.List list) |
java.lang.String |
getUnlocalizedName(net.minecraft.item.ItemStack itemStack) |
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.item.ItemStack |
onItemRightClick(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player) |
createDynamicModel, getConfig, hasDynamicModel, onModelBakeEventcanHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getArmorModel, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getChestGenBase, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDigSpeed, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getHighlightTip, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getModel, getMovingObjectPositionFromPlayer, getPotionEffect, getRegistryName, getShareTag, getSmeltingExperience, getStrVsBlock, getToolClasses, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasEffect, hitEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isFull3D, isItemTool, isMap, isPotionIngredient, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemUse, onItemUseFinish, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setPotionEffect, setRegistryName, setRegistryName, setRegistryName, setUnlocalizedName, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBTpublic BiomeExtract(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.ItemConfig> eConfig)
public static BiomeExtract getInstance()
public java.lang.String getUnlocalizedName(net.minecraft.item.ItemStack itemStack)
getUnlocalizedName in class net.minecraft.item.Itempublic net.minecraft.item.EnumAction getItemUseAction(net.minecraft.item.ItemStack itemStack)
getItemUseAction in class net.minecraft.item.Itempublic int getColorFromItemStack(net.minecraft.item.ItemStack itemStack,
int renderPass)
getColorFromItemStack in class net.minecraft.item.Itempublic net.minecraft.item.ItemStack onItemRightClick(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player)
onItemRightClick in class net.minecraft.item.Itempublic void addInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer entityPlayer,
java.util.List list,
boolean par4)
addInformation in class org.cyclops.cyclopscore.config.configurable.ConfigurableItempublic net.minecraft.world.biome.BiomeGenBase[] getBiomes()
public void getSubItems(net.minecraft.item.Item item,
net.minecraft.creativetab.CreativeTabs creativeTabs,
java.util.List list)
getSubItems in class net.minecraft.item.Itempublic boolean isEmpty(net.minecraft.item.ItemStack itemStack)
itemStack - Item stackpublic net.minecraft.world.biome.BiomeGenBase getBiome(net.minecraft.item.ItemStack itemStack)
itemStack - ItemStack which holds a BiomeExtractpublic net.minecraft.item.ItemStack createItemStack(net.minecraft.world.biome.BiomeGenBase biome,
int amount)
biome - The type ofbopme to make.amount - The amount per stack.public net.minecraft.item.EnumRarity getRarity(net.minecraft.item.ItemStack itemStack)
getRarity in class net.minecraft.item.Item