Package net.minecraft.entity.projectile
Class ExplosiveProjectileEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.projectile.ProjectileEntity
net.minecraft.entity.projectile.ExplosiveProjectileEntity
- All Implemented Interfaces:
EntityLike
,CommandOutput
,Nameable
- Direct Known Subclasses:
AbstractFireballEntity
,DragonFireballEntity
,WitherSkullEntity
public abstract class ExplosiveProjectileEntity extends ProjectileEntity
- Mappings:
Namespace Name official bhq
intermediary net/minecraft/class_1668
named net/minecraft/entity/projectile/ExplosiveProjectileEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.class_5799, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Fields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_28629, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, world, yaw
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
Constructors Modifier Constructor Description ExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, double x, double y, double z, double directionX, double directionY, double directionZ, World world)
ExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, LivingEntity owner, double directionX, double directionY, double directionZ, World world)
protected
ExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, World world)
-
Method Summary
Modifier and Type Method Description protected boolean
canHit(Entity entity)
boolean
collides()
Packet<?>
createSpawnPacket()
boolean
damage(DamageSource source, float amount)
float
getBrightnessAtEyes()
protected float
getDrag()
protected ParticleEffect
getParticleType()
float
getTargetingMargin()
protected void
initDataTracker()
protected boolean
isBurning()
void
onSpawnPacket(EntitySpawnS2CPacket packet)
void
readCustomDataFromTag(CompoundTag tag)
boolean
shouldRender(double distance)
void
tick()
void
writeCustomDataToTag(CompoundTag tag)
Methods inherited from class net.minecraft.entity.projectile.ProjectileEntity
getOwner, onBlockHit, onCollision, onEntityHit, setOwner, setProperties, setVelocity, setVelocityClient, updateRotation, updateRotation
Methods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, animateDamage, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeRiddenInWater, canBeSpectated, canExplosionDestroyBlock, canFly, canFreeze, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, equipStack, extinguish, fall, fromTag, getAir, getArmorItems, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyeHeight, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHeadYaw, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getItemsHand, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPickBlockStack, getPistonBehavior, getPitch, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimSound, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getVisibilityBoundingBox, getWidth, getX, getY, getYaw, getZ, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interact, interactAt, isAlive, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, isImmuneToExplosion, isInLava, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isPlayer, isPushable, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lookAt, method_29241, method_29919, method_30330, method_30633, method_30951, method_31744, method_32318, method_32877, method_33332, method_33567, method_33568, method_33569, method_33570, method_33571, method_33573, method_33574, method_33575, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, onTrackedDataSet, playFlySound, playSound, playStepSound, playSwimSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, raycast, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, resetNetherPortalCooldown, resetPosition, saveSelfToTag, saveToTag, scheduleVelocityUpdate, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPos, setPose, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setYaw, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredHorizontalLength, startRiding, startRiding, stopRiding, streamPassengers, streamPassengersRecursively, teleport, tickInVoid, tickNetherPortal, tickNetherPortalCooldown, tickRiding, toListTag, toListTag, toString, toTag, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, wouldPoseNotCollide
-
Field Details
-
posX
public double posX- Mappings:
Namespace Name Mixin selector official b
Lbhq;b:D
intermediary field_7601
Lnet/minecraft/class_1668;field_7601:D
named posX
Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;posX:D
-
posY
public double posY- Mappings:
Namespace Name Mixin selector official c
Lbhq;c:D
intermediary field_7600
Lnet/minecraft/class_1668;field_7600:D
named posY
Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;posY:D
-
posZ
public double posZ- Mappings:
Namespace Name Mixin selector official d
Lbhq;d:D
intermediary field_7599
Lnet/minecraft/class_1668;field_7599:D
named posZ
Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;posZ:D
-
-
Constructor Details
-
ExplosiveProjectileEntity
protected ExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, World world)- Mappings:
Namespace Name Mixin selector official <init>
Laqv;<init>(Laqz;Lbtv;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
ExplosiveProjectileEntity
public ExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, double x, double y, double z, double directionX, double directionY, double directionZ, World world)- Mappings:
Namespace Name Mixin selector official <init>
Lbhq;<init>(Laqz;DDDDDDLbtv;)V
intermediary <init>
Lnet/minecraft/class_1668;<init>(Lnet/minecraft/class_1299;DDDDDDLnet/minecraft/class_1937;)V
named <init>
Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;<init>(Lnet/minecraft/entity/EntityType;DDDDDDLnet/minecraft/world/World;)V
-
ExplosiveProjectileEntity
public ExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, LivingEntity owner, double directionX, double directionY, double directionZ, World world)- Mappings:
Namespace Name Mixin selector official <init>
Lbhq;<init>(Laqz;Lari;DDDLbtv;)V
intermediary <init>
Lnet/minecraft/class_1668;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1309;DDDLnet/minecraft/class_1937;)V
named <init>
Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/entity/LivingEntity;DDDLnet/minecraft/world/World;)V
-
-
Method Details
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTracker
in classEntity
- Mappings:
Namespace Name Mixin selector official e
Laqv;e()V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693()V
named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker()V
-
shouldRender
- Overrides:
shouldRender
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(D)Z
intermediary method_5640
Lnet/minecraft/class_1297;method_5640(D)Z
named shouldRender
Lnet/minecraft/entity/Entity;shouldRender(D)Z
-
tick
public void tick()- Overrides:
tick
in classProjectileEntity
- Mappings:
Namespace Name Mixin selector official j
Laqv;j()V
intermediary method_5773
Lnet/minecraft/class_1297;method_5773()V
named tick
Lnet/minecraft/entity/Entity;tick()V
-
canHit
- Overrides:
canHit
in classProjectileEntity
- Mappings:
Namespace Name Mixin selector official a
Lbib;a(Laqv;)Z
intermediary method_26958
Lnet/minecraft/class_1676;method_26958(Lnet/minecraft/class_1297;)Z
named canHit
Lnet/minecraft/entity/projectile/ProjectileEntity;canHit(Lnet/minecraft/entity/Entity;)Z
-
isBurning
protected boolean isBurning()- Mappings:
Namespace Name Mixin selector official X_
Lbhq;X_()Z
intermediary method_7468
Lnet/minecraft/class_1668;method_7468()Z
named isBurning
Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;isBurning()Z
-
getParticleType
- Mappings:
Namespace Name Mixin selector official h
Lbhq;h()Lhj;
intermediary method_7467
Lnet/minecraft/class_1668;method_7467()Lnet/minecraft/class_2394;
named getParticleType
Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;getParticleType()Lnet/minecraft/particle/ParticleEffect;
-
getDrag
protected float getDrag()- Mappings:
Namespace Name Mixin selector official i
Lbhq;i()F
intermediary method_7466
Lnet/minecraft/class_1668;method_7466()F
named getDrag
Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;getDrag()F
-
writeCustomDataToTag
- Overrides:
writeCustomDataToTag
in classProjectileEntity
- Mappings:
Namespace Name Mixin selector official b
Laqv;b(Lmq;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToTag
Lnet/minecraft/entity/Entity;writeCustomDataToTag(Lnet/minecraft/nbt/CompoundTag;)V
-
readCustomDataFromTag
- Overrides:
readCustomDataFromTag
in classProjectileEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Lmq;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromTag
Lnet/minecraft/entity/Entity;readCustomDataFromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
collides
public boolean collides() -
getTargetingMargin
public float getTargetingMargin()- Overrides:
getTargetingMargin
in classEntity
- Mappings:
Namespace Name Mixin selector official bl
Laqv;bl()F
intermediary method_5871
Lnet/minecraft/class_1297;method_5871()F
named getTargetingMargin
Lnet/minecraft/entity/Entity;getTargetingMargin()F
-
damage
-
getBrightnessAtEyes
public float getBrightnessAtEyes()- Overrides:
getBrightnessAtEyes
in classEntity
- Mappings:
Namespace Name Mixin selector official aU
Laqv;aU()F
intermediary method_5718
Lnet/minecraft/class_1297;method_5718()F
named getBrightnessAtEyes
Lnet/minecraft/entity/Entity;getBrightnessAtEyes()F
-
createSpawnPacket
- Overrides:
createSpawnPacket
in classProjectileEntity
- Mappings:
Namespace Name Mixin selector official P
Laqv;P()Lpa;
intermediary method_18002
Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;
named createSpawnPacket
Lnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/Packet;
-
onSpawnPacket
- Overrides:
onSpawnPacket
in classProjectileEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Lpe;)V
intermediary method_31471
Lnet/minecraft/class_1297;method_31471(Lnet/minecraft/class_2604;)V
named onSpawnPacket
Lnet/minecraft/entity/Entity;onSpawnPacket(Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;)V
-