public class ItemMaceOfDistortion extends ItemMace
| Modifier and Type | Field and Description |
|---|---|
static int |
AOE_TICK_UPDATE
The amount of ticks that should go between each update of the area of effect particles.
|
canPickUpcomponent, fluid| Constructor and Description |
|---|
ItemMaceOfDistortion(net.minecraft.item.Item.Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
animateOutOfEnergy(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player) |
protected void |
distortEntities(net.minecraft.world.World world,
net.minecraft.entity.LivingEntity initiator,
int itemUsedCount,
int power) |
void |
distortEntity(net.minecraft.world.World world,
net.minecraft.entity.LivingEntity initiator,
net.minecraft.entity.Entity entity,
double x,
double y,
double z,
int itemUsedCount,
int power)
Distort an entity.
|
com.google.common.collect.Multimap |
getAttributeModifiers(net.minecraft.inventory.EquipmentSlotType slot,
net.minecraft.item.ItemStack itemStack) |
int |
getItemEnchantability() |
static void |
showEntityDistored(net.minecraft.world.World world,
net.minecraft.entity.LivingEntity initiator,
net.minecraft.entity.Entity entity,
int power) |
protected void |
use(net.minecraft.world.World world,
net.minecraft.entity.LivingEntity entity,
int itemUsedCount,
int power)
The usage action after charging the mace.
|
addInformation, animateOutOfEnergy, getArea, getPower, getUseAction, getUseDuration, hitEntity, isUsable, onItemRightClick, onLeftClickEntity, onPlayerStoppedUsing, onUsingTick, showUsedItemTick, showUsingItemTickcanConsume, consume, doesSneakBypassUse, drainFromOthers, isPickupFluids, isPlaceFluids, onItemUseFirst, setPlaceFluidscanDrain, fillItemGroup, getDurabilityForDisplay, getFluid, getInfo, getRGBDurabilityForDisplay, initCapabilities, provideInformation, showDurabilityBaraddPropertyOverride, asItem, canHarvestBlock, canPlayerBreakBlockWhileHolding, func_219972_a, func_225519_S__, func_225520_U__, getAttributeModifiers, getContainerItem, getDefaultInstance, getDefaultTranslationKey, getDestroySpeed, getDisplayName, getFood, getGroup, getHarvestLevel, getIdFromItem, getIsRepairable, getItemById, getItemFromBlock, getItemStackTileEntityRenderer, getMaxDamage, getMaxStackSize, getName, getPropertyGetter, getRarity, getTags, getToolTypes, getTranslationKey, getTranslationKey, hasContainerItem, hasCustomProperties, hasEffect, inventoryTick, isComplex, isCrossbow, isDamageable, isEnchantable, isFood, isIn, isInGroup, isRepairable, itemInteractionForEntity, onBlockDestroyed, onCreated, onItemUse, onItemUseFinish, rayTrace, shouldSyncTag, toString, updateItemStackNBTgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanApplyAtEnchantingTable, canContinueUsing, canDisableShield, canEquip, canHarvestBlock, createEntity, damageItem, getAnimationParameters, getArmorModel, getArmorTexture, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, hasCustomEntity, isBeaconPayment, isBookEnchantable, isDamaged, isShield, onArmorTick, onBlockStartBreak, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimationpublic static final int AOE_TICK_UPDATE
public ItemMaceOfDistortion(net.minecraft.item.Item.Properties properties)
protected void distortEntities(net.minecraft.world.World world,
net.minecraft.entity.LivingEntity initiator,
int itemUsedCount,
int power)
public void distortEntity(net.minecraft.world.World world,
@Nullable
net.minecraft.entity.LivingEntity initiator,
net.minecraft.entity.Entity entity,
double x,
double y,
double z,
int itemUsedCount,
int power)
world - The world.initiator - The player distoring the entity, can be null.entity - The distorted entity.x - Center X coordinate.y - Center Y coordinate.z - Center Z coordinate.itemUsedCount - The distortion usage power.power - The current power.public static void showEntityDistored(net.minecraft.world.World world,
net.minecraft.entity.LivingEntity initiator,
net.minecraft.entity.Entity entity,
int power)
protected void animateOutOfEnergy(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player)
public int getItemEnchantability()
getItemEnchantability in class ItemMacepublic com.google.common.collect.Multimap getAttributeModifiers(net.minecraft.inventory.EquipmentSlotType slot,
net.minecraft.item.ItemStack itemStack)
getAttributeModifiers in interface net.minecraftforge.common.extensions.IForgeItemgetAttributeModifiers in class ItemMaceprotected void use(net.minecraft.world.World world,
net.minecraft.entity.LivingEntity entity,
int itemUsedCount,
int power)
ItemMace