public class VengeanceRing
extends org.cyclops.cyclopscore.config.configurable.ConfigurableItem
implements baubles.api.IBauble
| 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.world.World world,
java.util.List<java.lang.String> list,
net.minecraft.client.util.ITooltipFlag flag) |
boolean |
canEquip(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity) |
boolean |
canUnequip(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity) |
baubles.api.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.util.ActionResult<net.minecraft.item.ItemStack> |
onItemRightClick(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand) |
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.
|
boolean |
willAutoSync(net.minecraft.item.ItemStack itemstack,
net.minecraft.entity.EntityLivingBase player) |
createDynamicModel, getConfig, getItemColorHandler, hasDynamicModel, onModelBakeEventaddPropertyOverride, canApplyAtEnchantingTable, canDestroyBlockInCreative, canDisableShield, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getCreatorModId, getDamage, getDefaultInstance, getDestroySpeed, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHarvestLevel, getHasSubtypes, getHighlightTip, getHorseArmorTexture, getHorseArmorType, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemBurnTime, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getNBTShareTag, getPropertyGetter, getRarity, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getSubItems, getTileEntityItemStackRenderer, getToolClasses, getTranslationKey, getTranslationKey, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hitEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isEnchantable, isFull3D, isInCreativeTab, isMap, isRepairable, isShield, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUse, onItemUseFinish, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUsingTick, rayTrace, readNBTShareTag, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setTileEntityItemStackRenderer, setTranslationKey, shouldCauseBlockBreakReset, 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.util.ActionResult<net.minecraft.item.ItemStack> onItemRightClick(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand)
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.world.World world,
java.util.List<java.lang.String> list,
net.minecraft.client.util.ITooltipFlag flag)
addInformation in class org.cyclops.cyclopscore.config.configurable.ConfigurableItempublic boolean canEquip(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
canEquip in interface baubles.api.IBaublepublic boolean canUnequip(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
canUnequip in interface baubles.api.IBaublepublic boolean willAutoSync(net.minecraft.item.ItemStack itemstack,
net.minecraft.entity.EntityLivingBase player)
willAutoSync in interface baubles.api.IBaublepublic baubles.api.BaubleType getBaubleType(net.minecraft.item.ItemStack itemStack)
getBaubleType in interface baubles.api.IBaublepublic void onEquipped(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
onEquipped in interface baubles.api.IBaublepublic void onUnequipped(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
onUnequipped in interface baubles.api.IBaublepublic void onWornTick(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
onWornTick in interface baubles.api.IBauble