public class BloodExtractor
extends org.cyclops.cyclopscore.config.configurable.ConfigurableDamageIndicatedItemFluidContainer
BloodStainedBlock.canPickUp, eConfigcomponent, fluid| Constructor and Description |
|---|
BloodExtractor(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) |
int |
fillBloodExtractor(net.minecraft.item.ItemStack itemStack,
int amount,
boolean doFill)
Fill a given Blood Extractor with a given amount of blood.
|
void |
fillForAllBloodExtractors(net.minecraft.entity.player.EntityPlayer player,
int minimumMB,
int maximumMB)
Fill all the Blood Extractors on a player's hotbar for a given fluid amount.
|
static BloodExtractor |
getInstance()
Get the unique instance.
|
boolean |
hasEffect(net.minecraft.item.ItemStack itemStack) |
net.minecraft.item.ItemStack |
onItemRightClick(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player) |
boolean |
onItemUseFirst(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ) |
void |
onUpdate(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.Entity entity,
int par4,
boolean par5) |
canConsume, canItemEditBlocks, consume, doesSneakBypassUse, drainFromOthers, getConfig, isPickupFluids, isPlaceFluids, setPlaceFluidscanDrain, drain, fill, getDurabilityForDisplay, getFluid, getInfo, getSubItems, provideInformation, showDurabilityBargetCapacity, getFluid, setCapacitycanHarvestBlock, canHarvestBlock, createEntity, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getChestGenBase, getColorFromItemStack, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDigSpeed, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getModel, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getShareTag, getSmeltingExperience, getStrVsBlock, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hitEntity, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isFull3D, isItemTool, isMap, isPotionIngredient, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemUse, onItemUseFinish, onLeftClickEntity, onPlayerStoppedUsing, onUsingTick, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setPotionEffect, setUnlocalizedName, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, updateItemStackNBTpublic BloodExtractor(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.ItemConfig> eConfig)
public static BloodExtractor getInstance()
public boolean onItemUseFirst(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ)
onItemUseFirst in class org.cyclops.cyclopscore.config.configurable.ConfigurableDamageIndicatedItemFluidContainerpublic boolean hasEffect(net.minecraft.item.ItemStack itemStack)
hasEffect 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.ConfigurableDamageIndicatedItemFluidContainerpublic net.minecraft.item.ItemStack onItemRightClick(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player)
onItemRightClick in class org.cyclops.cyclopscore.config.configurable.ConfigurableDamageIndicatedItemFluidContainerpublic int fillBloodExtractor(net.minecraft.item.ItemStack itemStack,
int amount,
boolean doFill)
itemStack - The ItemStack that is a Blood Extractor to fill.amount - The amount to fill.doFill - If the container really has to be filled, otherwise just simulated.public void fillForAllBloodExtractors(net.minecraft.entity.player.EntityPlayer player,
int minimumMB,
int maximumMB)
player - The player to the the Blood Extractors for.minimumMB - The minimum amount to fill. (inclusive)maximumMB - The maximum amount to fill. (exclusive)public void onUpdate(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.Entity entity,
int par4,
boolean par5)
onUpdate in class net.minecraft.item.Item