Package net.minecraft.entity.projectile
Class EntityWitherSkull
- java.lang.Object
-
- net.zxmushroom63.plugins.BaseData
-
- net.zxmushroom63.plugins.PluginData
-
- net.minecraft.entity.Entity
-
- net.minecraft.entity.projectile.EntityFireball
-
- net.minecraft.entity.projectile.EntityWitherSkull
-
- All Implemented Interfaces:
org.teavm.jso.JSObject
public class EntityWitherSkull extends EntityFireball
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.zxmushroom63.plugins.BaseData
BaseData.BooleanCallback, BaseData.BooleanCallbackArr, BaseData.DataBooleanCallback, BaseData.DataBooleanCallbackArr, BaseData.DataDoubleCallback, BaseData.DataDoubleCallbackArr, BaseData.DataFloatCallback, BaseData.DataFloatCallbackArr, BaseData.DataIntCallback, BaseData.DataIntCallbackArr, BaseData.DataObjectCallback, BaseData.DataObjectCallbackArr, BaseData.DataStringCallback, BaseData.DataStringCallbackArr, BaseData.DataVoidCallback, BaseData.DoubleCallback, BaseData.DoubleCallbackArr, BaseData.FloatCallback, BaseData.FloatCallbackArr, BaseData.IntCallback, BaseData.IntCallbackArr, BaseData.ObjectCallback, BaseData.ObjectCallbackArr, BaseData.StringCallback, BaseData.StringCallbackArr, BaseData.VoidCallback
-
-
Field Summary
-
Fields inherited from class net.minecraft.entity.projectile.EntityFireball
accelerationX, accelerationY, accelerationZ, shootingEntity
-
Fields inherited from class net.minecraft.entity.Entity
addedToChunk, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, 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 Summary
Constructors Constructor Description EntityWitherSkull(World worldIn)
EntityWitherSkull(World worldIn, double x, double y, double z, double accelX, double accelY, double accelZ)
EntityWitherSkull(World worldIn, EntityLivingBase shooter, double accelX, double accelY, double accelZ)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
attackEntityFrom(DamageSource var1, float var2)
+ Called when the entity is attacked.boolean
canBeCollidedWith()
+ Returns true if other Entities should be prevented from moving through this Entity.protected void
entityInit()
float
getExplosionResistance(Explosion explosion, World world, BlockPos blockpos, IBlockState iblockstate)
+ Explosion resistance of a block relative to this entityprotected float
getMotionFactor()
+ Return the motion factor for this projectile.boolean
isBurning()
+ Returns true if the entity is on fire.boolean
isInvulnerable()
+ Return whether this skull comes from an invulnerable (aura) wither boss.protected void
onImpact(MovingObjectPosition movingobjectposition)
+ Called when this EntityFireball hits a block or entity.void
setInvulnerable(boolean invulnerable)
+ Set whether this skull comes from an invulnerable (aura) wither boss.-
Methods inherited from class net.minecraft.entity.projectile.EntityFireball
getBrightness, getBrightnessForRender, getCollisionBorderSize, isInRangeToRenderDist, onUpdate, readEntityFromNBT, writeEntityToNBT
-
Methods inherited from class net.minecraft.entity.Entity
addChatMessage, addEntityCrashInfo, addToPlayerScore, addVelocity, applyEnchantments, applyEntityCollision, canAttackWithItem, canBePushed, canCommandSenderUseCommand, canRenderOnFire, canTriggerWalking, clientUpdateEntityNBT, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, doBlockCollisions, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, fall, fromNBT, func_181012_aH, func_181013_g, func_181014_aG, func_181015_d, getAir, getAlwaysRenderNameTag, getAlwaysRenderNameTagForRender, getCollisionBoundingBox, getCollisionBox, getCommandSenderEntity, getCustomNameTag, getDataWatcher, getDisplayName, getDistance, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getDistanceSqToEntity, getDistanceToEntity, getEntityBoundingBox, getEntityId, getEntityString, getEntityWorld, getEyeHeight, getFlag, getHorizontalFacing, getHoverEvent, getInventory, getLook, getLookVec, getMaxFallHeight, getMaxInPortalTime, getMountedYOffset, getName, getNBTTagCompound, getParts, getPortalCooldown, getPosition, getPositionEyes, getPositionVector, getRotationYawHead, getSplashSound, getSwimSound, getUniqueID, getVectorForRotation, getYOffset, handleStatusUpdate, handleWaterMovement, hasCustomName, hashCode, hitByEntity, interactAt, interactFirst, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isOutsideBorder, isPushedByWater, isRiding, isSilent, isSneaking, isSprinting, isWet, kill, loadPluginData, makePluginData, mountEntity, moveEntity, moveFlying, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onDataWatcherUpdate, onEntityUpdate, onKillCommand, onKillEntity, onStruckByLightning, performHurtAnimation, playSound, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, rayTrace, readFromNBT, replaceItemInInventory, resetHeight, sendCommandFeedback, setAir, setAlwaysRenderNameTag, setAngles, setBeenAttacked, setCurrentItemOrArmor, setCustomNameTag, setDead, setEating, setEntityBoundingBox, setEntityId, setFire, setFlag, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setOutsideBorder, setPosition, setPositionAndRotation, setPositionAndRotation2, setPositionAndUpdate, setRotation, setRotationYawHead, setSilent, setSize, setSneaking, setSprinting, setVelocity, setWorld, shouldSetPosAfterLoading, spawnRunningParticles, toNBT, toString, travelToDimension, updateFallState, updateRidden, updateRiderPosition, verifyExplosion, writeMountToNBT, writeToNBT, writeToNBTOptional
-
Methods inherited from class net.zxmushroom63.plugins.BaseData
execFuncBaseData, execFuncObject, execFuncString, getBaseData, getBaseDataArr, getBoolean, getBooleanArr, getByte, getByteArr, getChar, getCharArr, getDouble, getDoubleArr, getFloat, getFloatArr, getInt, getIntArr, getObject, getObjectArr, getShort, getShortArr, getString, getStringArr, has, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, setCallbackBoolean, setCallbackBooleanArr, setCallbackBooleanArrWithDataArg, setCallbackBooleanWithDataArg, setCallbackDouble, setCallbackDoubleArr, setCallbackDoubleArrWithDataArg, setCallbackDoubleWithDataArg, setCallbackFloat, setCallbackFloatArr, setCallbackFloatArrWithDataArg, setCallbackFloatWithDataArg, setCallbackInt, setCallbackIntArr, setCallbackIntArrWithDataArg, setCallbackIntWithDataArg, setCallbackObject, setCallbackObjectArr, setCallbackObjectArrWithDataArg, setCallbackObjectWithDataArg, setCallbackString, setCallbackStringArr, setCallbackStringArrWithDataArg, setCallbackStringWithDataArg, setCallbackVoid, setCallbackVoidWithDataArg, setNull
-
-
-
-
Constructor Detail
-
EntityWitherSkull
public EntityWitherSkull(World worldIn)
-
EntityWitherSkull
public EntityWitherSkull(World worldIn, EntityLivingBase shooter, double accelX, double accelY, double accelZ)
-
EntityWitherSkull
public EntityWitherSkull(World worldIn, double x, double y, double z, double accelX, double accelY, double accelZ)
-
-
Method Detail
-
getMotionFactor
protected float getMotionFactor()
+ Return the motion factor for this projectile. The factor is multiplied by the original motion.- Overrides:
getMotionFactor
in classEntityFireball
-
isBurning
public boolean isBurning()
+ Returns true if the entity is on fire. Used by render to add the fire effect on rendering.
-
getExplosionResistance
public float getExplosionResistance(Explosion explosion, World world, BlockPos blockpos, IBlockState iblockstate)
+ Explosion resistance of a block relative to this entity- Overrides:
getExplosionResistance
in classEntity
-
onImpact
protected void onImpact(MovingObjectPosition movingobjectposition)
+ Called when this EntityFireball hits a block or entity.- Specified by:
onImpact
in classEntityFireball
-
canBeCollidedWith
public boolean canBeCollidedWith()
+ Returns true if other Entities should be prevented from moving through this Entity.- Overrides:
canBeCollidedWith
in classEntityFireball
-
attackEntityFrom
public boolean attackEntityFrom(DamageSource var1, float var2)
+ Called when the entity is attacked.- Overrides:
attackEntityFrom
in classEntityFireball
-
entityInit
protected void entityInit()
- Overrides:
entityInit
in classEntityFireball
-
isInvulnerable
public boolean isInvulnerable()
+ Return whether this skull comes from an invulnerable (aura) wither boss.
-
setInvulnerable
public void setInvulnerable(boolean invulnerable)
+ Set whether this skull comes from an invulnerable (aura) wither boss.
-
-