Package net.minecraft.entity
Class LightningEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LightningEntity
- All Implemented Interfaces:
CommandOutput
,Nameable
,EntityLike
- Mappings:
Namespace Name official awz
intermediary net/minecraft/class_1538
named net/minecraft/entity/LightningEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private int
private @Nullable ServerPlayerEntity
private boolean
private static final int
private static final double
private static final double
private int
long
Fields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29974, field_29991, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, MAX_RIDING_COOLDOWN, MAX_SCOREBOARD_TAGS, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, VELOCITY_AFFECTING_POS_Y_OFFSET, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
cleanOxidization
(World world, BlockPos pos) cleanOxidizationAround
(World world, BlockPos pos) private static void
cleanOxidizationAround
(World world, BlockPos pos, BlockPos.Mutable mutablePos, int count) Packet<?>
private BlockPos
int
protected void
private void
protected void
void
setChanneler
(@Nullable ServerPlayerEntity channeler) void
setCosmetic
(boolean cosmetic) boolean
shouldRender
(double distance) private void
spawnFire
(int spreadAttempts) void
tick()
protected void
Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, animateDamage, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeRiddenInWater, canBeSpectated, canExplosionDestroyBlock, canFreeze, canModifyAt, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, checkWaterState, collides, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, damage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, equipStack, extinguish, fall, getAir, getArmorItems, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraBlockPos, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGameEventHandler, getHeadYaw, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getItemsHand, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPickBlockStack, getPistonBehavior, getPitch, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSplashSound, getStackReference, getStandingEyeHeight, getSwimHeight, getSwimSound, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getVisibilityBoundingBox, getWidth, getWorld, getX, getY, getYaw, 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, isGlowingLocal, isImmuneToExplosion, isInLava, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isPlayer, isPushable, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lookAt, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, onTrackedDataSet, playExtinguishSound, playSound, playStepSound, playSwimSound, populateCrashReport, positionInPortal, pushAwayFrom, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendSystemMessage, setAir, setBodyYaw, setBoundingBox, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickInVoid, tickNetherPortal, tickNetherPortalCooldown, tickRiding, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
field_30062
private static final int field_30062- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lawz;c:I
intermediary field_30062
Lnet/minecraft/class_1538;field_30062:I
named field_30062
Lnet/minecraft/entity/LightningEntity;field_30062:I
-
field_33906
private static final double field_33906- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lawz;d:D
intermediary field_33906
Lnet/minecraft/class_1538;field_33906:D
named field_33906
Lnet/minecraft/entity/LightningEntity;field_33906:D
-
field_33907
private static final double field_33907- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lawz;e:D
intermediary field_33907
Lnet/minecraft/class_1538;field_33907:D
named field_33907
Lnet/minecraft/entity/LightningEntity;field_33907:D
-
ambientTick
private int ambientTick- Mappings:
Namespace Name Mixin selector official f
Lawz;f:I
intermediary field_7185
Lnet/minecraft/class_1538;field_7185:I
named ambientTick
Lnet/minecraft/entity/LightningEntity;ambientTick:I
-
seed
public long seed- Mappings:
Namespace Name Mixin selector official b
Lawz;b:J
intermediary field_7186
Lnet/minecraft/class_1538;field_7186:J
named seed
Lnet/minecraft/entity/LightningEntity;seed:J
-
remainingActions
private int remainingActions- Mappings:
Namespace Name Mixin selector official ap
Lawz;ap:I
intermediary field_7183
Lnet/minecraft/class_1538;field_7183:I
named remainingActions
Lnet/minecraft/entity/LightningEntity;remainingActions:I
-
cosmetic
private boolean cosmetic- Mappings:
Namespace Name Mixin selector official aq
Lawz;aq:Z
intermediary field_7184
Lnet/minecraft/class_1538;field_7184:Z
named cosmetic
Lnet/minecraft/entity/LightningEntity;cosmetic:Z
-
channeler
- Mappings:
Namespace Name Mixin selector official ar
Lawz;ar:Ladd;
intermediary field_7182
Lnet/minecraft/class_1538;field_7182:Lnet/minecraft/class_3222;
named channeler
Lnet/minecraft/entity/LightningEntity;channeler:Lnet/minecraft/server/network/ServerPlayerEntity;
-
struckEntities
- Mappings:
Namespace Name Mixin selector official as
Lawz;as:Ljava/util/Set;
intermediary field_33904
Lnet/minecraft/class_1538;field_33904:Ljava/util/Set;
named struckEntities
Lnet/minecraft/entity/LightningEntity;struckEntities:Ljava/util/Set;
-
blocksSetOnFire
private int blocksSetOnFire- Mappings:
Namespace Name Mixin selector official at
Lawz;at:I
intermediary field_33905
Lnet/minecraft/class_1538;field_33905:I
named blocksSetOnFire
Lnet/minecraft/entity/LightningEntity;blocksSetOnFire:I
-
-
Constructor Details
-
LightningEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lawm;<init>(Lawq;Lbzw;)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
-
-
Method Details
-
setCosmetic
public void setCosmetic(boolean cosmetic) - Mappings:
Namespace Name Mixin selector official a
Lawz;a(Z)V
intermediary method_29498
Lnet/minecraft/class_1538;method_29498(Z)V
named setCosmetic
Lnet/minecraft/entity/LightningEntity;setCosmetic(Z)V
-
getSoundCategory
- Overrides:
getSoundCategory
in classEntity
- Mappings:
Namespace Name Mixin selector official cO
Lawm;cO()Lagq;
intermediary method_5634
Lnet/minecraft/class_1297;method_5634()Lnet/minecraft/class_3419;
named getSoundCategory
Lnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/sound/SoundCategory;
-
getChanneler
- Mappings:
Namespace Name Mixin selector official h
Lawz;h()Ladd;
intermediary method_35052
Lnet/minecraft/class_1538;method_35052()Lnet/minecraft/class_3222;
named getChanneler
Lnet/minecraft/entity/LightningEntity;getChanneler()Lnet/minecraft/server/network/ServerPlayerEntity;
-
setChanneler
- Mappings:
Namespace Name Mixin selector official b
Lawz;b(Ladd;)V
intermediary method_6961
Lnet/minecraft/class_1538;method_6961(Lnet/minecraft/class_3222;)V
named setChanneler
Lnet/minecraft/entity/LightningEntity;setChanneler(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
powerLightningRod
private void powerLightningRod()- Mappings:
Namespace Name Mixin selector official l
Lawz;l()V
intermediary method_31499
Lnet/minecraft/class_1538;method_31499()V
named powerLightningRod
Lnet/minecraft/entity/LightningEntity;powerLightningRod()V
-
tick
public void tick() -
getAffectedBlockPos
- Mappings:
Namespace Name Mixin selector official n
Lawz;n()Lgh;
intermediary method_36607
Lnet/minecraft/class_1538;method_36607()Lnet/minecraft/class_2338;
named getAffectedBlockPos
Lnet/minecraft/entity/LightningEntity;getAffectedBlockPos()Lnet/minecraft/util/math/BlockPos;
-
spawnFire
private void spawnFire(int spreadAttempts) - Mappings:
Namespace Name Mixin selector official a
Lawz;a(I)V
intermediary method_6960
Lnet/minecraft/class_1538;method_6960(I)V
named spawnFire
Lnet/minecraft/entity/LightningEntity;spawnFire(I)V
-
cleanOxidization
- Mappings:
Namespace Name Mixin selector official b
Lawz;b(Lbzw;Lgh;)V
intermediary method_34707
Lnet/minecraft/class_1538;method_34707(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
named cleanOxidization
Lnet/minecraft/entity/LightningEntity;cleanOxidization(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
cleanOxidizationAround
private static void cleanOxidizationAround(World world, BlockPos pos, BlockPos.Mutable mutablePos, int count) - Mappings:
Namespace Name Mixin selector official a
Lawz;a(Lbzw;Lgh;Lgh$a;I)V
intermediary method_34709
Lnet/minecraft/class_1538;method_34709(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338$class_2339;I)V
named cleanOxidizationAround
Lnet/minecraft/entity/LightningEntity;cleanOxidizationAround(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos$Mutable;I)V
-
cleanOxidizationAround
- Mappings:
Namespace Name Mixin selector official c
Lawz;c(Lbzw;Lgh;)Ljava/util/Optional;
intermediary method_34710
Lnet/minecraft/class_1538;method_34710(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Ljava/util/Optional;
named cleanOxidizationAround
Lnet/minecraft/entity/LightningEntity;cleanOxidizationAround(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Ljava/util/Optional;
-
shouldRender
public boolean shouldRender(double distance) - Overrides:
shouldRender
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Lawm;a(D)Z
intermediary method_5640
Lnet/minecraft/class_1297;method_5640(D)Z
named shouldRender
Lnet/minecraft/entity/Entity;shouldRender(D)Z
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTracker
in classEntity
- Mappings:
Namespace Name Mixin selector official a_
Lawm;a_()V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693()V
named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker()V
-
readCustomDataFromNbt
- Specified by:
readCustomDataFromNbt
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Lawm;a(Lob;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromNbt
Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
writeCustomDataToNbt
- Specified by:
writeCustomDataToNbt
in classEntity
- Mappings:
Namespace Name Mixin selector official b
Lawm;b(Lob;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToNbt
Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
createSpawnPacket
- Specified by:
createSpawnPacket
in classEntity
- Mappings:
Namespace Name Mixin selector official S
Lawm;S()Lql;
intermediary method_18002
Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;
named createSpawnPacket
Lnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/Packet;
-
getBlocksSetOnFire
public int getBlocksSetOnFire()- Mappings:
Namespace Name Mixin selector official i
Lawz;i()I
intermediary method_37220
Lnet/minecraft/class_1538;method_37220()I
named getBlocksSetOnFire
Lnet/minecraft/entity/LightningEntity;getBlocksSetOnFire()I
-
getStruckEntities
- Mappings:
Namespace Name Mixin selector official j
Lawz;j()Ljava/util/stream/Stream;
intermediary method_37221
Lnet/minecraft/class_1538;method_37221()Ljava/util/stream/Stream;
named getStruckEntities
Lnet/minecraft/entity/LightningEntity;getStruckEntities()Ljava/util/stream/Stream;
-