public class ItemKineticator extends ItemBloodContainer
canPickUpcomponent, fluid| Constructor and Description |
|---|
ItemKineticator(net.minecraft.item.Item.Properties properties,
boolean repelling) |
| 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) |
protected boolean |
canKineticateItem(net.minecraft.item.ItemStack entityItem) |
net.minecraft.entity.Entity |
createEntity(net.minecraft.world.World world,
net.minecraft.entity.Entity location,
net.minecraft.item.ItemStack itemStack) |
int |
getPower(net.minecraft.item.ItemStack itemStack)
Get the power level of the given ItemStack.
|
boolean |
hasCustomEntity(net.minecraft.item.ItemStack itemStack) |
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 par4,
boolean par5) |
boolean |
isRepelling(net.minecraft.item.ItemStack itemStack) |
boolean |
onEntityItemUpdate(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.item.ItemEntity entityItem) |
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) |
void |
setPower(net.minecraft.item.ItemStack itemStack,
int power)
Set the power level of the given ItemStack.
|
protected void |
showEntityMoved(net.minecraft.world.World world,
net.minecraft.entity.Entity player,
net.minecraft.entity.Entity entity,
double dx,
double dy,
double dz) |
canConsume, consume, doesSneakBypassUse, drainFromOthers, isPickupFluids, isPlaceFluids, onItemUseFirst, 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, damageItem, elytraFlightTick, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, isBookEnchantable, isDamageable, isDamaged, isEnderMask, isPiglinCurrency, isShield, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onDroppedByPlayer, onEntitySwing, onHorseArmorTick, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimationpublic ItemKineticator(net.minecraft.item.Item.Properties properties,
boolean repelling)
public boolean isRepelling(net.minecraft.item.ItemStack itemStack)
public 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 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 int getPower(net.minecraft.item.ItemStack itemStack)
itemStack - The item to check.public void setPower(net.minecraft.item.ItemStack itemStack,
int power)
itemStack - The item to change.power - The new power level.public void inventoryTick(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.Entity entity,
int par4,
boolean par5)
inventoryTick in class net.minecraft.item.Itempublic boolean onEntityItemUpdate(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.item.ItemEntity entityItem)
protected boolean canKineticateItem(net.minecraft.item.ItemStack entityItem)
protected void showEntityMoved(net.minecraft.world.World world,
net.minecraft.entity.Entity player,
net.minecraft.entity.Entity entity,
double dx,
double dy,
double dz)
public boolean hasCustomEntity(net.minecraft.item.ItemStack itemStack)
public net.minecraft.entity.Entity createEntity(net.minecraft.world.World world,
net.minecraft.entity.Entity location,
net.minecraft.item.ItemStack itemStack)