public class ResurgenceEgg
extends org.cyclops.cyclopscore.config.configurable.ConfigurableItem
| Constructor and Description |
|---|
ResurgenceEgg(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) |
java.lang.String |
getEntityString(net.minecraft.item.ItemStack itemStack)
Get the ID of an inner entity, can be null.
|
static ResurgenceEgg |
getInstance()
Get the unique instance.
|
boolean |
hasEffect(net.minecraft.item.ItemStack itemStack) |
boolean |
isEmpty(net.minecraft.item.ItemStack itemStack)
Check if the given egg is empty.
|
net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> |
onItemRightClick(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand) |
void |
setEntity(net.minecraft.item.ItemStack itemStack,
java.lang.String entityString)
Put an entity in this egg.
|
static net.minecraft.entity.Entity |
spawnCreature(net.minecraft.world.World world,
java.lang.String entityString,
double x,
double y,
double z)
Spawn a creature.
|
createDynamicModel, getConfig, getItemColorHandler, hasDynamicModel, onModelBakeEventaddPropertyOverride, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHarvestLevel, getHasSubtypes, getHighlightTip, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getPropertyGetter, getRarity, getShareTag, getSmeltingExperience, getStrVsBlock, getSubItems, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hitEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isFull3D, isItemTool, isMap, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemUse, onItemUseFinish, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, rayTrace, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setUnlocalizedName, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBTpublic ResurgenceEgg(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.ItemConfig> eConfig)
public static ResurgenceEgg getInstance()
public boolean hasEffect(net.minecraft.item.ItemStack itemStack)
hasEffect in class net.minecraft.item.Itempublic java.lang.String getEntityString(net.minecraft.item.ItemStack itemStack)
itemStack - The item stack.public boolean isEmpty(net.minecraft.item.ItemStack itemStack)
itemStack - itemStack The item stack.public void setEntity(net.minecraft.item.ItemStack itemStack,
java.lang.String entityString)
itemStack - The box.entityString - The unique string of the entity to set.public 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 net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> onItemRightClick(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand)
onItemRightClick in class net.minecraft.item.Itempublic static net.minecraft.entity.Entity spawnCreature(net.minecraft.world.World world,
java.lang.String entityString,
double x,
double y,
double z)
world - The world.entityString - The unique entity string.x - Xy - Yz - Z