public class MaceOfDistortion extends Mace
| 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.
|
canPickUp, eConfigcomponent, fluidATTACK_DAMAGE_MODIFIER, ATTACK_SPEED_MODIFIER, bFull3D, canRepair, hasSubtypes, itemRand, maxStackSize, REGISTRY| Constructor and Description |
|---|
MaceOfDistortion(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.ItemConfig> eConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
animateOutOfEnergy(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player) |
protected void |
distortEntities(net.minecraft.world.World world,
net.minecraft.entity.EntityLivingBase initiator,
int itemUsedCount,
int power) |
void |
distortEntity(net.minecraft.world.World world,
net.minecraft.entity.EntityLivingBase 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.EntityEquipmentSlot slot,
net.minecraft.item.ItemStack itemStack) |
static MaceOfDistortion |
getInstance()
Get the unique instance.
|
int |
getItemEnchantability() |
static void |
showEntityDistored(net.minecraft.world.World world,
net.minecraft.entity.EntityLivingBase initiator,
net.minecraft.entity.Entity entity,
int power) |
protected void |
use(net.minecraft.world.World world,
net.minecraft.entity.EntityLivingBase entity,
int itemUsedCount,
int power)
The usage action after charging the mace.
|
addInformation, animateOutOfEnergy, getArea, getItemUseAction, getMaxItemUseDuration, getPower, hitEntity, isFull3D, isUsable, isValidArmor, onItemRightClick, onLeftClickEntity, onPlayerStoppedUsing, onUsingTick, showUsedItemTick, showUsingItemTickcanConsume, canItemEditBlocks, consume, doesSneakBypassUse, drainFromOthers, getConfig, isPickupFluids, isPlaceFluids, onItemUseFirst, setPlaceFluidscanDrain, drain, fill, getDurabilityForDisplay, getFluid, getInfo, getSubItems, provideInformation, showDurabilityBargetCapacity, getFluid, initCapabilities, setCapacityaddPropertyOverride, canHarvestBlock, canHarvestBlock, createEntity, getAnimationParameters, getArmorModel, getArmorTexture, getByNameOrId, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getHighlightTip, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getMaxDamage, getMaxDamage, getMetadata, getMetadata, getPropertyGetter, getRarity, getShareTag, getSmeltingExperience, getStrVsBlock, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hasEffect, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isItemTool, isMap, isRepairable, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemUse, onItemUseFinish, onUpdate, rayTrace, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setUnlocalizedName, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, updateItemStackNBTpublic static final int AOE_TICK_UPDATE
public MaceOfDistortion(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.ItemConfig> eConfig)
public static MaceOfDistortion getInstance()
protected void distortEntities(net.minecraft.world.World world,
net.minecraft.entity.EntityLivingBase initiator,
int itemUsedCount,
int power)
public void distortEntity(net.minecraft.world.World world,
net.minecraft.entity.EntityLivingBase 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.EntityLivingBase initiator,
net.minecraft.entity.Entity entity,
int power)
protected void animateOutOfEnergy(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player)
public int getItemEnchantability()
getItemEnchantability in class Macepublic com.google.common.collect.Multimap getAttributeModifiers(net.minecraft.inventory.EntityEquipmentSlot slot,
net.minecraft.item.ItemStack itemStack)
getAttributeModifiers in class Maceprotected void use(net.minecraft.world.World world,
net.minecraft.entity.EntityLivingBase entity,
int itemUsedCount,
int power)
Mace