public class ItemBloodExtractor extends ItemBloodContainer
BlockBloodStain.canPickUpcomponent, fluid| Constructor and Description |
|---|
ItemBloodExtractor(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) |
void |
bloodObtainEvent(net.minecraftforge.event.entity.living.LivingDeathEvent event) |
static void |
fillForAllBloodExtractors(net.minecraft.entity.player.PlayerEntity player,
int minimumMB,
int maximumMB)
Fill all the Blood Extractors on a player's hotbar for a given fluid amount.
|
boolean |
hasEffect(net.minecraft.item.ItemStack itemStack) |
void |
inventoryTick(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.Entity entity,
int itemSlot,
boolean par5) |
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) |
net.minecraft.util.ActionResultType |
onItemUseFirst(net.minecraft.item.ItemStack itemStack,
net.minecraft.item.ItemUseContext context) |
boolean |
shouldCauseReequipAnimation(net.minecraft.item.ItemStack oldStack,
net.minecraft.item.ItemStack newStack,
boolean slotChanged) |
canConsume, consume, doesSneakBypassUse, drainFromOthers, isPickupFluids, isPlaceFluids, setPlaceFluidscanDrain, fillItemGroup, getDurabilityForDisplay, getFluid, getInfo, getRGBDurabilityForDisplay, initCapabilities, provideInformation, showDurabilityBarasItem, canHarvestBlock, canPlayerBreakBlockWhileHolding, getAttributeModifiers, getContainerItem, getDefaultInstance, getDefaultTranslationKey, getDestroySpeed, getDisplayName, getDrinkSound, getEatSound, getFood, getGroup, getHarvestLevel, getIdFromItem, getIsRepairable, getItemById, getItemEnchantability, getItemFromBlock, getItemStackTileEntityRenderer, getMaxDamage, getMaxStackSize, getName, getRarity, getTags, getToolTypes, getTranslationKey, getTranslationKey, getUseAction, getUseDuration, hasContainerItem, hitEntity, isComplex, isCrossbow, isDamageable, isDamageable, isEnchantable, isFood, isImmuneToFire, isIn, isInGroup, isRepairable, itemInteractionForEntity, onBlockDestroyed, onCreated, onItemUse, onItemUseFinish, onPlayerStoppedUsing, onUse, rayTrace, shouldSyncTag, toString, updateItemStackNBTgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanApplyAtEnchantingTable, canContinueUsing, canDisableShield, canElytraFly, canEquip, canHarvestBlock, createEntity, damageItem, elytraFlightTick, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, hasCustomEntity, isBookEnchantable, isDamageable, isDamaged, isEnderMask, isPiglinCurrency, isShield, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakResetpublic ItemBloodExtractor(net.minecraft.item.Item.Properties properties)
public net.minecraft.util.ActionResultType onItemUseFirst(net.minecraft.item.ItemStack itemStack,
net.minecraft.item.ItemUseContext context)
onItemUseFirst in interface net.minecraftforge.common.extensions.IForgeItemonItemUseFirst in class ItemBloodContainerpublic boolean hasEffect(net.minecraft.item.ItemStack itemStack)
hasEffect 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 org.cyclops.cyclopscore.item.DamageIndicatedItemFluidContainerpublic 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 ItemBloodContainerpublic static void fillForAllBloodExtractors(net.minecraft.entity.player.PlayerEntity 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 inventoryTick(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.Entity entity,
int itemSlot,
boolean par5)
inventoryTick in class net.minecraft.item.Itempublic boolean shouldCauseReequipAnimation(net.minecraft.item.ItemStack oldStack,
net.minecraft.item.ItemStack newStack,
boolean slotChanged)
public void bloodObtainEvent(net.minecraftforge.event.entity.living.LivingDeathEvent event)