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:
FireballEntity,SmallFireballEntity,WitherSkullEntity
- Mappings:
Namespace Name official ahlintermediary 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_22434, field_3223, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, updateNeeded, vehicle, 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) floatprotected voidprotected abstract voidonEntityHit(BlockHitResult hitResult) voidbooleanshouldRender(double distance) voidtick()voidMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, animateDamage, attemptSprintingParticles, baseTick, burn, canAvoidTraps, canClimb, canExplosionDestroyBlock, canFly, canUseCommand, checkBlockCollision, copyPortalInfo, copyPosition, dealDamage, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, equals, equip, extinguish, fall, fromClientNbt, fromNbt, getAir, getArmorStacks, getBlastResistance, getBlockPos, getBoundingBox, getBox, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEyeHeight, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getMaxNetherPortalTime, getMountedHeightOffset, getParts, getPos, getRotation, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getSplashSound, getSwimSound, getTranslationKey, getUuid, getWorld, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasVehicle, increaseTransforms, interactAt, isAlive, isAttackable, isCustomNameVisible, isFireImmune, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isSwimming, isTouchingLava, isTouchingWater, kill, method_10786, method_10941, method_10948, method_10957, method_10965, method_6097, method_6344, method_8364, move, onKilledOther, onLightningStrike, onPlayerCollision, onSwimmingStart, openInventory, playSound, playStepSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, saveSelfToNbt, saveToNbt, scheduleVelocityUpdate, sendCommandFeedback, sendMessage, setAir, setArmorSlot, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setHeadYaw, setInLava, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setVelocityClient, setWorld, shouldRender, shouldRenderName, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, startRiding, teleportToDimension, tickFire, tickRiding, toListNbt, toListNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writePlayerData
-
Field Details
-
blockX
private int blockX- Mappings:
Namespace Name Mixin selector official eLahl;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 fLahl;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 gLahl;g:Iintermediary field_4047Lnet/minecraft/class_992;field_4047:Inamed blockZLnet/minecraft/entity/projectile/ExplosiveProjectileEntity;blockZ:I
-
inBlock
- Mappings:
Namespace Name Mixin selector official hLahl;h:Latr;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 iLahl;i:Zintermediary field_4049Lnet/minecraft/class_992;field_4049:Znamed inGroundLnet/minecraft/entity/projectile/ExplosiveProjectileEntity;inGround:Z
-
target
- Mappings:
Namespace Name Mixin selector official aLahl;a:Lxm;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 apLahl;ap: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 aqLahl;aq: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 bLahl;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 cLahl;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 dLahl;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>Lwv;<init>(Laqu;)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>Lahl;<init>(Laqu;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>Lahl;<init>(Laqu;Lxm;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 hLwv;h()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 aLwv;a(D)Zintermediary method_2486Lnet/minecraft/class_864;method_2486(D)Znamed shouldRenderLnet/minecraft/entity/Entity;shouldRender(D)Z
-
tick
public void tick() -
getDrag
protected float getDrag()- Mappings:
Namespace Name Mixin selector official jLahl;j()Fintermediary method_4584Lnet/minecraft/class_992;method_4584()Fnamed getDragLnet/minecraft/entity/projectile/ExplosiveProjectileEntity;getDrag()F
-
onEntityHit
- Mappings:
Namespace Name Mixin selector official aLahl;a(Lbru;)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 bLwv;b(Lfn;)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 aLwv;a(Lfn;)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 aoLwv;ao()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 cLwv;c(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 bLwv;b(F)Iintermediary method_2524Lnet/minecraft/class_864;method_2524(F)Inamed getLightmapCoordinatesLnet/minecraft/entity/Entity;getLightmapCoordinates(F)I
-