public class Werewolf
extends net.minecraft.entity.monster.EntityMob
implements org.cyclops.cyclopscore.config.configurable.IConfigurable
FLEEING_SPEED_MODIFIER, FLEEING_SPEED_MODIFIER_UUIDequipmentDropChances, experienceValue, jumpHelper, livingSoundTime, moveHelper, navigator, targetTasks, tasksarrowHitTimer, attackedAtYaw, attackingPlayer, cameraPitch, dead, deathTime, entityAge, field_70741_aB, field_70769_ao, field_70770_ap, hurtTime, isJumping, isSwingInProgress, jumpMovementFactor, lastDamage, limbSwing, limbSwingAmount, maxHurtResistantTime, maxHurtTime, movedDistance, moveForward, moveStrafing, newPosRotationIncrements, newPosX, newPosY, newPosZ, newRotationPitch, newRotationYaw, onGroundSpeedFactor, prevCameraPitch, prevLimbSwingAmount, prevMovedDistance, prevOnGroundSpeedFactor, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomYawVelocity, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, swingProgress, swingProgressIntaddedToChunk, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, extendedProperties, fallDistance, field_181016_an, field_181017_ao, field_181018_ap, fireResistance, firstUpdate, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj| Constructor and Description |
|---|
Werewolf(net.minecraft.world.World world)
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addRandomDrop() |
protected void |
applyEntityAttributes() |
protected boolean |
canDespawn() |
float |
getBarkProgressScaled(float scale)
Get the bark progress scaled to the given parameter.
|
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<?> |
getConfig() |
net.minecraft.entity.EnumCreatureAttribute |
getCreatureAttribute() |
protected java.lang.String |
getDeathSound() |
protected net.minecraft.item.Item |
getDropItem() |
protected java.lang.String |
getHurtSound() |
protected java.lang.String |
getLivingSound() |
protected float |
getSoundPitch() |
net.minecraft.nbt.NBTTagCompound |
getVillagerNBTTagCompound()
Get the villager data.
|
boolean |
isFromVillager()
If this werewolf was created from a transforming villager.
|
static boolean |
isWerewolfTime(net.minecraft.world.World world)
If at the current time in the given world werewolves can appear.
|
void |
onLivingUpdate() |
protected void |
playStepSound(net.minecraft.util.BlockPos blockPos,
net.minecraft.block.Block block) |
void |
readEntityFromNBT(net.minecraft.nbt.NBTTagCompound NBTTagCompound) |
static void |
replaceVillager(net.minecraft.entity.passive.EntityVillager villager)
Replace the given villager with a werewolf and store the data of that villager.
|
void |
replaceWithVillager()
Replace this entity with the stored villager.
|
void |
setFromVillager(boolean fromVillager)
Set is from villager.
|
void |
writeEntityToNBT(net.minecraft.nbt.NBTTagCompound NBTTagCompound) |
attackEntityAsMob, attackEntityFrom, canDropLoot, getBlockPathWeight, getCanSpawnHere, getFallSoundString, getSplashSound, getSwimSound, isValidLightLevel, onUpdatedetachHome, func_142017_o, getHomePosition, getMaximumHomeDistance, hasHome, hasPath, isWithinHomeDistanceCurrentPosition, isWithinHomeDistanceFromPosition, setHomePosAndDistance, updateLeashedStateallowLeashing, canAttackClass, canBeSteered, canPickUpLoot, clearLeashed, despawnEntity, dropEquipment, dropFewItems, eatGrassBonus, enablePersistence, entityInit, faceEntity, func_110146_f, func_175448_a, getArmorItemForSlot, getArmorPosition, getAttackTarget, getCurrentArmor, getEntitySenses, getEquipmentInSlot, getExperiencePoints, getHeldItem, getInventory, getJumpHelper, getLeashed, getLeashedToEntity, getLookHelper, getMaxFallHeight, getMaxSpawnedInChunk, getMoveHelper, getNavigator, getNewNavigator, getRenderSizeModifier, getTalkInterval, getVerticalFaceSpeed, handleStatusUpdate, interact, interactFirst, isAIDisabled, isNoDespawnRequired, isNotColliding, isServerWorld, onEntityUpdate, onInitialSpawn, playLivingSound, replaceItemInInventory, setAIMoveSpeed, setAttackTarget, setCanPickUpLoot, setCurrentItemOrArmor, setEnchantmentBasedOnDifficulty, setEquipmentBasedOnDifficulty, setEquipmentDropChance, setLeashedToEntity, setMoveForward, setNoAI, spawnExplosionParticle, updateAITasks, updateEntityActionState, updateEquipmentIfNeededaddPotionEffect, applyArmorCalculations, applyPotionDamageCalculations, canBeCollidedWith, canBePushed, canBreatheUnderwater, canEntityBeSeen, clearActivePotions, collideWithEntity, collideWithNearbyEntities, curePotionEffects, damageArmor, damageEntity, decreaseAirSupply, dismountEntity, fall, func_181013_g, func_94060_bK, getAbsorptionAmount, getActivePotionEffect, getActivePotionEffects, getAge, getAIMoveSpeed, getAITarget, getAlwaysRenderNameTagForRender, getArrowCountInEntity, getAttributeMap, getCombatTracker, getEntityAttribute, getHealth, getJumpUpwardsMotion, getLastAttacker, getLastAttackerTime, getLook, getLookVec, getMaxHealth, getRevengeTimer, getRNG, getRotationYawHead, getSoundVolume, getSwingProgress, getTeam, getTotalArmorValue, handleJumpLava, heal, isChild, isEntityAlive, isEntityUndead, isMovementBlocked, isOnLadder, isOnSameTeam, isOnTeam, isPlayer, isPlayerSleeping, isPotionActive, isPotionActive, isPotionApplicable, jump, kill, knockBack, markPotionsDirty, mountEntity, moveEntityWithHeading, onChangedPotionEffect, onDeath, onDeathUpdate, onFinishedPotionEffect, onItemPickup, onKillCommand, onNewPotionEffect, performHurtAnimation, removePotionEffect, removePotionEffectClient, renderBrokenItemStack, resetPotionEffectMetadata, sendEndCombat, sendEnterCombat, setAbsorptionAmount, setArrowCountInEntity, setBeenAttacked, setHealth, setJumping, setLastAttacker, setPositionAndRotation2, setRevengeTarget, setRotationYawHead, setSprinting, shouldRiderFaceForward, swingItem, updateAITick, updateArmSwingProgress, updateFallState, updatePotionEffects, updatePotionMetadata, updateRiddenaddChatMessage, addEntityCrashInfo, addToPlayerScore, addVelocity, applyEnchantments, applyEntityCollision, canAttackWithItem, canCommandSenderUseCommand, canRenderOnFire, canRiderInteract, canTriggerWalking, clientUpdateEntityNBT, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, deserializeNBT, doBlockCollisions, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, func_174817_o, func_181012_aH, func_181014_aG, getAir, getAlwaysRenderNameTag, getBrightness, getBrightnessForRender, getCapability, getCollisionBorderSize, getCollisionBoundingBox, getCollisionBox, getCommandSenderEntity, getCommandStats, getCustomNameTag, getDataWatcher, getDisplayName, getDistance, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getDistanceSqToEntity, getDistanceToEntity, getEntityBoundingBox, getEntityData, getEntityId, getEntityString, getEntityWorld, getExplosionResistance, getExtendedProperties, getEyeHeight, getFlag, getHorizontalFacing, getHoverEvent, getMaxInPortalTime, getMountedYOffset, getName, getNBTTagCompound, getParts, getPersistentID, getPickedResult, getPortalCooldown, getPosition, getPositionEyes, getPositionVector, getUniqueID, getVectorForRotation, getYOffset, handleWaterMovement, hasCapability, hasCustomName, hashCode, hitByEntity, interactAt, isBurning, isCreatureType, isEating, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isOutsideBorder, isPushedByWater, isRiding, isSilent, isSneaking, isSpectatedByPlayer, isSprinting, isWet, moveEntity, moveFlying, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onDataWatcherUpdate, onKillEntity, onStruckByLightning, playSound, preparePlayerToSpawn, pushOutOfBlocks, rayTrace, readFromNBT, registerExtendedProperties, resetEntityId, resetHeight, sendCommandFeedback, serializeNBT, setAir, setAlwaysRenderNameTag, setAngles, setCommandStat, setCustomNameTag, setDead, setEating, setEntityBoundingBox, setEntityId, setFire, setFlag, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setOutsideBorder, setPortal, setPosition, setPositionAndRotation, setPositionAndUpdate, setRotation, setSilent, setSize, setSneaking, setVelocity, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, spawnRunningParticles, toString, travelToDimension, updateRiderPosition, verifyExplosion, writeMountToNBT, writeToNBT, writeToNBTOptionalpublic Werewolf(net.minecraft.world.World world)
world - The world.protected float getSoundPitch()
getSoundPitch in class net.minecraft.entity.EntityLivingBaseprotected void applyEntityAttributes()
applyEntityAttributes in class net.minecraft.entity.monster.EntityMobpublic void writeEntityToNBT(net.minecraft.nbt.NBTTagCompound NBTTagCompound)
writeEntityToNBT in class net.minecraft.entity.EntityLivingpublic void readEntityFromNBT(net.minecraft.nbt.NBTTagCompound NBTTagCompound)
readEntityFromNBT in class net.minecraft.entity.EntityLivingpublic static boolean isWerewolfTime(net.minecraft.world.World world)
world - The world.public void replaceWithVillager()
public static void replaceVillager(net.minecraft.entity.passive.EntityVillager villager)
villager - The villager to replace.public void onLivingUpdate()
onLivingUpdate in class net.minecraft.entity.monster.EntityMobpublic float getBarkProgressScaled(float scale)
scale - The scale.protected net.minecraft.item.Item getDropItem()
getDropItem in class net.minecraft.entity.EntityLivingprotected void addRandomDrop()
addRandomDrop in class net.minecraft.entity.EntityLivingBaseprotected java.lang.String getLivingSound()
getLivingSound in class net.minecraft.entity.EntityLivingprotected java.lang.String getHurtSound()
getHurtSound in class net.minecraft.entity.monster.EntityMobprotected java.lang.String getDeathSound()
getDeathSound in class net.minecraft.entity.monster.EntityMobprotected void playStepSound(net.minecraft.util.BlockPos blockPos,
net.minecraft.block.Block block)
playStepSound in class net.minecraft.entity.Entitypublic net.minecraft.entity.EnumCreatureAttribute getCreatureAttribute()
getCreatureAttribute in class net.minecraft.entity.EntityLivingBaseprotected boolean canDespawn()
canDespawn in class net.minecraft.entity.EntityLivingpublic net.minecraft.nbt.NBTTagCompound getVillagerNBTTagCompound()
public boolean isFromVillager()
public void setFromVillager(boolean fromVillager)
fromVillager - If this werewolf is a transformed villager.public org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<?> getConfig()
getConfig in interface org.cyclops.cyclopscore.config.configurable.IConfigurable