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, fluid| 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.player.EntityPlayer player,
int itemUsedCount,
int power) |
void |
distortEntity(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
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.item.ItemStack itemStack) |
static MaceOfDistortion |
getInstance()
Get the unique instance.
|
int |
getItemEnchantability() |
protected static void |
showEntityDistored(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.entity.Entity entity,
int power) |
protected void |
use(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
int itemUsedCount,
int power)
The usage action after charging the mace.
|
addInformation, getArea, getItemUseAction, getMaxItemUseDuration, getPower, hitEntity, isFull3D, isUsable, onItemRightClick, onLeftClickEntity, onPlayerStoppedUsing, onUsingTick, showUsedItemTick, showUsingItemTickcanConsume, canItemEditBlocks, consume, doesSneakBypassUse, drainFromOthers, getConfig, isPickupFluids, isPlaceFluids, onItemUseFirst, setPlaceFluidscanDrain, drain, fill, getDurabilityForDisplay, getFluid, getInfo, getSubItems, provideInformation, showDurabilityBargetCapacity, getFluid, setCapacitycanHarvestBlock, canHarvestBlock, createEntity, getArmorModel, getArmorTexture, getByNameOrId, getChestGenBase, getColorFromItemStack, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDigSpeed, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getMaxDamage, getMaxDamage, getMetadata, getMetadata, getModel, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getShareTag, getSmeltingExperience, getStrVsBlock, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasEffect, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isItemTool, isMap, isPotionIngredient, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemUse, onItemUseFinish, onUpdate, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setPotionEffect, 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.player.EntityPlayer player,
int itemUsedCount,
int power)
public void distortEntity(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.entity.Entity entity,
double x,
double y,
double z,
int itemUsedCount,
int power)
world - The world.player - 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.protected static void showEntityDistored(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.entity.Entity entity,
int power)
protected void animateOutOfEnergy(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player)
animateOutOfEnergy in class Macepublic int getItemEnchantability()
getItemEnchantability in class Macepublic com.google.common.collect.Multimap getAttributeModifiers(net.minecraft.item.ItemStack itemStack)
getAttributeModifiers in class Maceprotected void use(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
int itemUsedCount,
int power)
Mace