Package net.minecraft.entity
Class LightningBoltEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.WeatherEntity
net.minecraft.entity.LightningBoltEntity
- All Implemented Interfaces:
CommandSource
- Mappings:
Namespace Name official aciintermediary net/minecraft/class_961named net/minecraft/entity/LightningBoltEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate final booleanprivate intlongFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3223, firstUpdate, FLAGS, 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
ConstructorsConstructorDescriptionLightningBoltEntity(World world, double x, double y, double z, boolean cosmetic) -
Method Summary
Methods 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, collides, copyPosition, damage, dealDamage, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, entityDataRequiresOperator, equals, equip, equipStack, extinguish, fall, fromNbt, getAir, getArmorItems, getBlastResistance, getBlockPos, getBoundingBox, getBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEntityName, getEyeHeight, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getItemsEquipped, getItemsHand, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMinecraftServer, getMountedHeightOffset, getMovementDirection, getParts, getPassengerList, getPassengersDeep, getPassengersDeep, getPistonBehavior, getPos, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotation, getRotationClient, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getTargetingMargin, getTranslatedName, getUuid, getVehicle, getVisibilityBoundingBox, getWorld, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasMount, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, increaseTransforms, interact, interactAt, isAlive, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, kill, method_10965, method_12984, method_12985, method_12991, method_13003, method_13932, method_15051, method_15052, method_15055, method_2492, method_6344, move, onBlockCollision, 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, setNoGravity, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setStat, setUuid, setVelocityClient, setWorld, setYaw, shouldRender, shouldRender, shouldRenderName, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, startRiding, stopRiding, teleportRequested, tickFire, tickNetherPortalCooldown, tickRiding, toListNbt, toListNbt, toNbt, toString, updateKilledAchievement, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSubmergedInWaterState, updateTrackedPositionAndAngles, updateWaterState
-
Field Details
-
ambientTick
private int ambientTick- Mappings:
Namespace Name Mixin selector official bLaci;b:Iintermediary field_3875Lnet/minecraft/class_961;field_3875:Inamed ambientTickLnet/minecraft/entity/LightningBoltEntity;ambientTick:I
-
seed
public long seed- Mappings:
Namespace Name Mixin selector official aLaci;a:Jintermediary field_3874Lnet/minecraft/class_961;field_3874:Jnamed seedLnet/minecraft/entity/LightningBoltEntity;seed:J
-
remainingActions
private int remainingActions- Mappings:
Namespace Name Mixin selector official cLaci;c:Iintermediary field_3876Lnet/minecraft/class_961;field_3876:Inamed remainingActionsLnet/minecraft/entity/LightningBoltEntity;remainingActions:I
-
cosmetic
private final boolean cosmetic- Mappings:
Namespace Name Mixin selector official dLaci;d:Zintermediary field_14740Lnet/minecraft/class_961;field_14740:Znamed cosmeticLnet/minecraft/entity/LightningBoltEntity;cosmetic:Z
-
-
Constructor Details
-
LightningBoltEntity
- Mappings:
Namespace Name Mixin selector official <init>Laci;<init>(Lamu;DDDZ)Vintermediary <init>Lnet/minecraft/class_961;<init>(Lnet/minecraft/class_1150;DDDZ)Vnamed <init>Lnet/minecraft/entity/LightningBoltEntity;<init>(Lnet/minecraft/world/World;DDDZ)V
-
-
Method Details
-
getSoundCategory
- Overrides:
getSoundCategoryin classEntity- Mappings:
Namespace Name Mixin selector official bKLvg;bK()Lqg;intermediary method_12992Lnet/minecraft/class_864;method_12992()Lnet/minecraft/class_2153;named getSoundCategoryLnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/client/sound/SoundCategory;
-
tick
public void tick() -
initDataTracker
protected void initDataTracker()- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official iLvg;i()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
readCustomDataFromNbt
- Specified by:
readCustomDataFromNbtin classEntity- Mappings:
Namespace Name Mixin selector official aLvg;a(Lfy;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
writeCustomDataToNbt
- Specified by:
writeCustomDataToNbtin classEntity- Mappings:
Namespace Name Mixin selector official bLvg;b(Lfy;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-