public class VengeanceRing
extends org.cyclops.cyclopscore.config.configurable.ConfigurableItem
| Constructor and Description |
|---|
VengeanceRing(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.ItemConfig> eConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer entityPlayer,
java.util.List list,
boolean par4) |
boolean |
canEquip(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity) |
boolean |
canUnequip(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity) |
BaubleType |
getBaubleType(net.minecraft.item.ItemStack itemStack) |
static VengeanceRing |
getInstance()
Get the unique instance.
|
boolean |
hasEffect(net.minecraft.item.ItemStack itemStack) |
void |
onEquipped(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity) |
net.minecraft.item.ItemStack |
onItemRightClick(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player) |
void |
onUnequipped(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity) |
void |
onUpdate(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.Entity entity,
int par4,
boolean par5) |
void |
onWornTick(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity) |
static void |
toggleVengeanceArea(net.minecraft.world.World world,
net.minecraft.entity.Entity entity,
int area,
boolean enableVengeance,
boolean spawnRandom,
boolean forceGlobal)
Toggle vengeance around the given entity within the given area of effect.
|
static void |
updateRingPowers(net.minecraft.entity.player.EntityPlayer player)
Give bonus abilities to the given player.
|
createDynamicModel, getConfig, hasDynamicModel, onModelBakeEventcanHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getChestGenBase, getColorFromItemStack, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDigSpeed, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getModel, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getShareTag, getSmeltingExperience, getStrVsBlock, getSubItems, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hitEntity, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isFull3D, isItemTool, isMap, isPotionIngredient, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemUse, onItemUseFinish, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUsingTick, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setPotionEffect, setUnlocalizedName, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBTpublic VengeanceRing(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.ItemConfig> eConfig)
public static VengeanceRing getInstance()
public net.minecraft.item.ItemStack onItemRightClick(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player)
onItemRightClick in class net.minecraft.item.Itempublic boolean hasEffect(net.minecraft.item.ItemStack itemStack)
hasEffect in class net.minecraft.item.Itempublic static void toggleVengeanceArea(net.minecraft.world.World world,
net.minecraft.entity.Entity entity,
int area,
boolean enableVengeance,
boolean spawnRandom,
boolean forceGlobal)
world - The world.entity - The entity to activate vengeance around.area - The area size.enableVengeance - If vengeance should be enabled (if false, will be disabled)spawnRandom - If a random spirit should be spawned when no spirits where in the area.forceGlobal - If global vengeance should be enabled for newly spawned spirits. This
is of no use of spawnRandom is not true.public static void updateRingPowers(net.minecraft.entity.player.EntityPlayer player)
player - The player to receive the powers.public void onUpdate(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.Entity entity,
int par4,
boolean par5)
onUpdate in class net.minecraft.item.Itempublic void addInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer entityPlayer,
java.util.List list,
boolean par4)
addInformation in class org.cyclops.cyclopscore.config.configurable.ConfigurableItempublic boolean canEquip(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
public boolean canUnequip(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
public BaubleType getBaubleType(net.minecraft.item.ItemStack itemStack)
public void onEquipped(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
public void onUnequipped(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
public void onWornTick(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)