Package net.minecraft.entity.projectile
Class ExplosiveProjectileEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.projectile.ExplosiveProjectileEntity
- All Implemented Interfaces:
CommandSource
- Direct Known Subclasses:
DragonFireballEntity,FireballEntity,SmallFireballEntity,WitherSkullEntity
- Mappings:
Namespace Name official zpintermediary net/minecraft/class_992named net/minecraft/entity/projectile/ExplosiveProjectileEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate intprivate intprivate Blockprivate booleanprivate intdoubledoubledoubleFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3223, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, isGlowing, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, ridingCooldown, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, tracedX, tracedY, tracedZ, updateNeeded, uuidString, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
ConstructorsConstructorDescriptionExplosiveProjectileEntity(World world) ExplosiveProjectileEntity(World world, double x, double y, double z, double powerX, double powerY, double powerZ) ExplosiveProjectileEntity(World world, LivingEntity target, double directionX, double directionY, double directionZ) -
Method Summary
Modifier and TypeMethodDescriptionbooleancollides()booleandamage(DamageSource source, float amount) floatgetBrightnessAtEyes(float float2) protected floatgetDrag()intgetLightmapCoordinates(float float2) protected ParticleTypefloatprotected voidprotected booleanprotected abstract voidonEntityHit(BlockHitResult hitResult) voidbooleanshouldRender(double distance) voidtick()voidMethods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, afterSpawn, animateDamage, applyMirror, applyRotation, attemptSprintingParticles, baseTick, burn, canAddPassenger, canAvoidTraps, canClimb, canExplosionDestroyBlock, canFly, canStartRiding, canUseCommand, canUsePortals, changeDimension, checkBlockCollision, copyPosition, dealDamage, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, entityDataRequiresOperator, equals, equip, equipStack, extinguish, fall, fromNbt, getAir, getArmorItems, getBlastResistance, getBlockPos, getBoundingBox, getBox, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEntityName, getEyeHeight, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getItemsEquipped, getItemsHand, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getMaxNetherPortalTime, getMinecraftServer, getMountedHeightOffset, getMovementDirection, getParts, getPassengerList, getPassengersDeep, getPassengersDeep, getPistonBehavior, getPos, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotation, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getSoundCategory, getTranslationKey, getUuid, getVehicle, getVisibilityBoundingBox, getWorld, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasMount, hasPassenger, hasPassengerDeep, hasPassengers, increaseTransforms, isAlive, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, kill, method_10965, method_12976, method_12984, method_12985, method_12991, method_13003, method_6097, method_6100, method_6344, move, onKilledOther, onLightningStrike, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, onTrackedDataSet, playSound, playStepSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, saveToNbt, scheduleVelocityUpdate, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setGlowing, setHeadYaw, setInLava, setInNetherPortal, setInvisible, setInvulnerable, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setStat, setUuid, setVelocityClient, setWorld, setYaw, shouldRender, shouldRenderName, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, startRiding, stopRiding, teleportRequested, tickFire, tickNetherPortalCooldown, tickRiding, toListNbt, toListNbt, toNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSubmergedInWaterState, updateTrackedPositionAndAngles, updateVelocity, updateWaterState
-
Field Details
-
blockX
private int blockX- Mappings:
Namespace Name Mixin selector official eLzp;e:Iintermediary field_4045Lnet/minecraft/class_992;field_4045:Inamed blockXLnet/minecraft/entity/projectile/ExplosiveProjectileEntity;blockX:I
-
blockY
private int blockY- Mappings:
Namespace Name Mixin selector official fLzp;f:Iintermediary field_4046Lnet/minecraft/class_992;field_4046:Inamed blockYLnet/minecraft/entity/projectile/ExplosiveProjectileEntity;blockY:I
-
blockZ
private int blockZ- Mappings:
Namespace Name Mixin selector official gLzp;g:Iintermediary field_4047Lnet/minecraft/class_992;field_4047:Inamed blockZLnet/minecraft/entity/projectile/ExplosiveProjectileEntity;blockZ:I
-
inBlock
- Mappings:
Namespace Name Mixin selector official hLzp;h:Lajt;intermediary field_9142Lnet/minecraft/class_992;field_9142:Lnet/minecraft/class_197;named inBlockLnet/minecraft/entity/projectile/ExplosiveProjectileEntity;inBlock:Lnet/minecraft/block/Block;
-
inGround
private boolean inGround- Mappings:
Namespace Name Mixin selector official atLzp;at:Zintermediary field_4049Lnet/minecraft/class_992;field_4049:Znamed inGroundLnet/minecraft/entity/projectile/ExplosiveProjectileEntity;inGround:Z
-
target
- Mappings:
Namespace Name Mixin selector official aLzp;a:Lsa;intermediary field_6931Lnet/minecraft/class_992;field_6931:Lnet/minecraft/class_1699;named targetLnet/minecraft/entity/projectile/ExplosiveProjectileEntity;target:Lnet/minecraft/entity/LivingEntity;
-
life
private int life- Mappings:
Namespace Name Mixin selector official auLzp;au:Iintermediary field_4050Lnet/minecraft/class_992;field_4050:Inamed lifeLnet/minecraft/entity/projectile/ExplosiveProjectileEntity;life:I
-
field_4041
private int field_4041- Mappings:
Namespace Name Mixin selector official avLzp;av:Iintermediary field_4041Lnet/minecraft/class_992;field_4041:Inamed field_4041Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;field_4041:I
-
powerX
public double powerX- Mappings:
Namespace Name Mixin selector official bLzp;b:Dintermediary field_4042Lnet/minecraft/class_992;field_4042:Dnamed powerXLnet/minecraft/entity/projectile/ExplosiveProjectileEntity;powerX:D
-
powerY
public double powerY- Mappings:
Namespace Name Mixin selector official cLzp;c:Dintermediary field_4043Lnet/minecraft/class_992;field_4043:Dnamed powerYLnet/minecraft/entity/projectile/ExplosiveProjectileEntity;powerY:D
-
powerZ
public double powerZ- Mappings:
Namespace Name Mixin selector official dLzp;d:Dintermediary field_4044Lnet/minecraft/class_992;field_4044:Dnamed powerZLnet/minecraft/entity/projectile/ExplosiveProjectileEntity;powerZ:D
-
-
Constructor Details
-
ExplosiveProjectileEntity
- Mappings:
Namespace Name Mixin selector official <init>Lrr;<init>(Laht;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
ExplosiveProjectileEntity
public ExplosiveProjectileEntity(World world, double x, double y, double z, double powerX, double powerY, double powerZ) - Mappings:
Namespace Name Mixin selector official <init>Lzp;<init>(Laht;DDDDDD)Vintermediary <init>Lnet/minecraft/class_992;<init>(Lnet/minecraft/class_1150;DDDDDD)Vnamed <init>Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;<init>(Lnet/minecraft/world/World;DDDDDD)V
-
ExplosiveProjectileEntity
public ExplosiveProjectileEntity(World world, LivingEntity target, double directionX, double directionY, double directionZ) - Mappings:
Namespace Name Mixin selector official <init>Lzp;<init>(Laht;Lsa;DDD)Vintermediary <init>Lnet/minecraft/class_992;<init>(Lnet/minecraft/class_1150;Lnet/minecraft/class_1699;DDD)Vnamed <init>Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;DDD)V
-
-
Method Details
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official iLrr;i()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
shouldRender
- Overrides:
shouldRenderin classEntity- Mappings:
Namespace Name Mixin selector official aLrr;a(D)Zintermediary method_2486Lnet/minecraft/class_864;method_2486(D)Znamed shouldRenderLnet/minecraft/entity/Entity;shouldRender(D)Z
-
tick
public void tick() -
isBurning
protected boolean isBurning()- Mappings:
Namespace Name Mixin selector official kLzp;k()Zintermediary method_13284Lnet/minecraft/class_992;method_13284()Znamed isBurningLnet/minecraft/entity/projectile/ExplosiveProjectileEntity;isBurning()Z
-
getParticleType
- Mappings:
Namespace Name Mixin selector official jLzp;j()Lda;intermediary method_13283Lnet/minecraft/class_992;method_13283()Lnet/minecraft/class_2562;named getParticleTypeLnet/minecraft/entity/projectile/ExplosiveProjectileEntity;getParticleType()Lnet/minecraft/client/particle/ParticleType;
-
getDrag
protected float getDrag()- Mappings:
Namespace Name Mixin selector official lLzp;l()Fintermediary method_4584Lnet/minecraft/class_992;method_4584()Fnamed getDragLnet/minecraft/entity/projectile/ExplosiveProjectileEntity;getDrag()F
-
onEntityHit
- Mappings:
Namespace Name Mixin selector official aLzp;a(Lbbg;)Vintermediary method_3229Lnet/minecraft/class_992;method_3229(Lnet/minecraft/class_234;)Vnamed onEntityHitLnet/minecraft/entity/projectile/ExplosiveProjectileEntity;onEntityHit(Lnet/minecraft/util/hit/BlockHitResult;)V
-
writeCustomDataToNbt
- Specified by:
writeCustomDataToNbtin classEntity- Mappings:
Namespace Name Mixin selector official bLrr;b(Ldq;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Specified by:
readCustomDataFromNbtin classEntity- Mappings:
Namespace Name Mixin selector official aLrr;a(Ldq;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
collides
public boolean collides() -
getTargetingMargin
public float getTargetingMargin()- Overrides:
getTargetingMarginin classEntity- Mappings:
Namespace Name Mixin selector official aALrr;aA()Fintermediary method_2482Lnet/minecraft/class_864;method_2482()Fnamed getTargetingMarginLnet/minecraft/entity/Entity;getTargetingMargin()F
-
damage
-
getBrightnessAtEyes
public float getBrightnessAtEyes(float float2) - Overrides:
getBrightnessAtEyesin classEntity- Mappings:
Namespace Name Mixin selector official eLrr;e(F)Fintermediary method_2533Lnet/minecraft/class_864;method_2533(F)Fnamed getBrightnessAtEyesLnet/minecraft/entity/Entity;getBrightnessAtEyes(F)F
-
getLightmapCoordinates
- Overrides:
getLightmapCoordinatesin classEntity- Mappings:
Namespace Name Mixin selector official dLrr;d(F)Iintermediary method_2524Lnet/minecraft/class_864;method_2524(F)Inamed getLightmapCoordinatesLnet/minecraft/entity/Entity;getLightmapCoordinates(F)I
-