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, fluidbFull3D, canRepair, delegate, field_111210_e, hasSubtypes, iconString, itemIcon, itemRand, itemRegistry, maxStackSizeBLOCK_PREFIX, INFO_PREFIX, ITEM_PREFIX| Modifier and Type | Method and Description |
|---|---|
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.
|
static MaceOfDistortion |
getInstance()
Get the unique instance.
|
static void |
initInstance(ExtendedConfig<ItemConfig> eConfig)
Initialise the configurable.
|
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, animateOutOfEnergy, getArea, getAttributeModifiers, getItemEnchantability, getItemUseAction, getMaxItemUseDuration, getPower, hitEntity, isFull3D, isUsable, onItemRightClick, onLeftClickEntity, onPlayerStoppedUsing, onUsingTick, showUsedItemTick, showUsingItemTickcanConsume, canItemEditBlocks, consume, doesSneakBypassUse, drainFromOthers, getConfig, getIconString, isPickupFluids, isPlaceFluids, onItemUseFirst, registerIcons, setPlaceFluidscanDrain, drain, fill, getDurabilityForDisplay, getFluid, getInfo, getSubItems, provideInformation, showDurabilityBargetCapacity, getFluid, setCapacitycanHarvestBlock, createEntity, doesContainerItemLeaveCraftingGrid, func_150893_a, func_150897_b, getArmorModel, getArmorTexture, getChestGenBase, getColorFromItemStack, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDigSpeed, getDisplayDamage, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getIcon, getIcon, getIconFromDamage, getIconFromDamageForRenderPass, getIconIndex, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getMaxDamage, getMaxDamage, getMetadata, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getRenderPasses, getShareTag, getSmeltingExperience, getSpriteNumber, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasEffect, hasEffect, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isItemTool, isMap, isPotionIngredient, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEaten, onEntityItemUpdate, onEntitySwing, onItemUse, onUpdate, registerItems, renderHelmetOverlay, requiresMultipleRenderPasses, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setPotionEffect, setTextureName, setUnlocalizedName, shouldRotateAroundWhenRenderingpublic static final int AOE_TICK_UPDATE
public static void initInstance(ExtendedConfig<ItemConfig> eConfig)
eConfig - The config.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 use(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
int itemUsedCount,
int power)
Mace