public class Werewolf extends net.minecraft.entity.monster.EntityMob implements IConfigurable
entityToAttack, field_110179_h, field_110181_i, fleeingTick, hasAttackeddefaultPitch, equipmentDropChances, experienceValue, livingSoundTime, numTicksToChaseTarget, targetTasks, tasksarrowHitTimer, attackedAtYaw, attackingPlayer, attackTime, cameraPitch, dead, deathTime, entityAge, field_110154_aX, field_70741_aB, field_70763_ax, field_70764_aw, field_70768_au, field_70769_ao, field_70770_ap, hurtTime, isJumping, isSwingInProgress, jumpMovementFactor, lastDamage, limbSwing, limbSwingAmount, maxHurtResistantTime, maxHurtTime, moveForward, moveStrafing, newPosRotationIncrements, newPosX, newPosY, newPosZ, newRotationPitch, newRotationYaw, prevCameraPitch, prevHealth, prevLimbSwingAmount, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomYawVelocity, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, swingProgress, swingProgressIntaddedToChunk, boundingBox, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, extendedProperties, fallDistance, field_70135_K, fireResistance, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, myEntitySize, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj, yOffset, ySize| Constructor and Description |
|---|
Werewolf(net.minecraft.world.World world)
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyEntityAttributes() |
protected boolean |
canDespawn() |
protected void |
dropRareDrop(int chance) |
protected void |
func_145780_a(int x,
int y,
int z,
net.minecraft.block.Block block) |
float |
getBarkProgressScaled(float scale)
Get the bark progress scaled to the given parameter.
|
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() |
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) |
attackEntity, attackEntityAsMob, attackEntityFrom, findPlayerToAttack, func_146066_aG, func_146067_o, getBlockPathWeight, getCanSpawnHere, getSplashSound, getSwimSound, isValidLightLevel, onUpdatedetachHome, func_110174_bM, func_142017_o, getEntityToAttack, getHomePosition, hasHome, hasPath, isMovementCeased, isWithinHomeDistance, isWithinHomeDistanceCurrentPosition, setHomeArea, setPathToEntity, setTarget, updateEntityActionState, updateLeashedState, updateWanderPathaddRandomArmor, allowLeashing, canAttackClass, canBeSteered, canPickUpLoot, clearLeashed, despawnEntity, dropEquipment, dropFewItems, eatGrassBonus, enchantEquipment, entityInit, faceEntity, func_110146_f, func_110163_bv, func_130225_q, getAlwaysRenderNameTag, getAlwaysRenderNameTagForRender, getArmorItemForSlot, getArmorPosition, getAttackTarget, getCommandSenderName, getCustomNameTag, getEntitySenses, getEquipmentInSlot, getExperiencePoints, getHeldItem, getJumpHelper, getLastActiveItems, getLeashed, getLeashedToEntity, getLookHelper, getMaxSafePointTries, getMaxSpawnedInChunk, getMoveHelper, getNavigator, getRenderSizeModifier, getTalkInterval, getVerticalFaceSpeed, hasCustomNameTag, interact, interactFirst, isAIEnabled, isNoDespawnRequired, onEntityUpdate, onSpawnWithEgg, playLivingSound, setAIMoveSpeed, setAlwaysRenderNameTag, setAttackTarget, setCanPickUpLoot, setCurrentItemOrArmor, setCustomNameTag, setEquipmentDropChance, setLeashedToEntity, setMoveForward, spawnExplosionParticle, updateAITasksaddPotionEffect, applyArmorCalculations, applyPotionDamageCalculations, canBeCollidedWith, canBePushed, canBreatheUnderwater, canEntityBeSeen, clearActivePotions, collideWithEntity, collideWithNearbyEntities, curePotionEffects, damageArmor, damageEntity, decreaseAirSupply, dismountEntity, fall, func_110142_aN, func_142015_aE, func_152111_bt, func_152112_bu, func_94060_bK, getAbsorptionAmount, getActivePotionEffect, getActivePotionEffects, getAge, getAIMoveSpeed, getAITarget, getArrowCountInEntity, getAttributeMap, getEntityAttribute, getEyeHeight, getHealth, getItemIcon, getLastAttacker, getLastAttackerTime, getLook, getLookVec, getMaxHealth, getPosition, getRNG, getRotationYawHead, getSoundVolume, getSwingProgress, getTeam, getTotalArmorValue, handleHealthUpdate, heal, isChild, isClientWorld, isEntityAlive, isEntityUndead, isMovementBlocked, isOnLadder, isOnSameTeam, isOnTeam, isPlayer, isPlayerSleeping, isPotionActive, isPotionActive, isPotionApplicable, jump, kill, knockBack, moveEntityWithHeading, onChangedPotionEffect, onDeath, onDeathUpdate, onFinishedPotionEffect, onItemPickup, onNewPotionEffect, performHurtAnimation, rayTrace, removePotionEffect, removePotionEffectClient, renderBrokenItemStack, setAbsorptionAmount, setArrowCountInEntity, setBeenAttacked, setHealth, setJumping, setLastAttacker, setPositionAndRotation2, setPositionAndUpdate, setRevengeTarget, setRotationYawHead, setSprinting, shouldRiderFaceForward, swingItem, updateAITick, updateArmSwingProgress, updateFallState, updatePotionEffects, updateRiddenaddEntityCrashInfo, addToPlayerScore, addVelocity, applyEntityCollision, canAttackWithItem, canRenderOnFire, canRiderInteract, canTriggerWalking, copyDataFrom, copyLocationAndAnglesFrom, dealFireDamage, doesEntityNotTriggerPressurePlate, dropItem, entityDropItem, equals, extinguish, func_145748_c_, func_145771_j, func_145772_a, func_145774_a, func_145775_I, func_145778_a, func_145781_i, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getEntityId, getEntityString, getExtendedProperties, getFlag, getMaxInPortalTime, getMountedYOffset, getParts, getPersistentID, getPickedResult, getPortalCooldown, getShadowSize, getTeleportDirection, getUniqueID, getYOffset, handleLavaMovement, handleWaterMovement, hashCode, hitByEntity, isBurning, isCreatureType, isEating, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isPushedByWater, isRiding, isSneaking, isSprinting, isWet, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onKillEntity, onStruckByLightning, playSound, preparePlayerToSpawn, readFromNBT, registerExtendedProperties, resetEntityId, setAir, setAngles, setDead, setEating, setEntityId, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setSize, setSneaking, setVelocity, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, toString, travelToDimension, updateRiderPosition, 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 dropRareDrop(int chance)
dropRareDrop 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 func_145780_a(int x,
int y,
int z,
net.minecraft.block.Block block)
func_145780_a 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 ExtendedConfig<?> getConfig()
getConfig in interface IConfigurable