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
public class LightningBoltEntity extends WeatherEntity
- Mappings:
Namespace Name official uvintermediary net/minecraft/class_1890named net/minecraft/entity/LightningBoltEntity
-
Field Summary
Fields Modifier and Type Field Description longfield_8110private intfield_8111private intfield_8112Fields inherited from class net.minecraft.entity.Entity
changingDimension, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_7357, field_7362, field_7363, field_7364, field_7365, field_7370, field_7390, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inLava, isFireImmune, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
Constructors Constructor Description LightningBoltEntity(World world, double x, double y, double z) -
Method Summary
Modifier and Type Method Description protected voiddeserialize(CompoundTag tag)protected voidinitDataTracker()protected voidserialize(CompoundTag tag)voidtick()Methods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, animateDamage, attemptSprintingParticles, baseTick, burn, canAvoidTraps, canClimb, canFly, canUseCommand, checkBlockCollision, collides, copyPortalInfo, copyPosition, damage, destroy, doesNotCollide, doesRenderOnFire, equals, equip, extinguish, fall, fromClientTag, fromTag, getAir, getArmorStacks, getBlastResistance, getBlockPos, getBoundingBox, getBox, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getDistanceTo, getEntity, getEntityId, getEyeHeight, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getMaxNetherPortalTime, getMountedHeightOffset, getName, getPos, 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, isTouchingWater, kill, method_6912, method_6924, method_6926, method_6939, method_6940, method_6943, method_6944, method_6945, method_6948, method_6949, method_6968, method_6971, method_6977, method_6981, method_6984, method_6985, method_6994, method_6998, method_7008, method_7020, method_7049, method_7051, method_7058, move, onLightningStrike, onPlayerCollision, onSwimmingStart, openInventory, playSound, playStepSound, populateCrashReport, pushAwayFrom, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, saveSelfToTag, scheduleVelocityUpdate, sendCommandFeedback, sendMessage, setAir, setArmorSlot, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setHeadYaw, setInNetherPortal, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setSprinting, setStat, setSwimming, setVelocityClient, setWorld, setYaw, shouldRender, shouldRender, shouldRenderName, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, squaredDistanceToEntity, startRiding, teleportToDimension, tickFire, tickRiding, toListTag, toListTag, toString, updateKilledAdvancementCriterion, updatePosition, updatePositionAndAngles, updateTrackedPositionAndAngles, writePlayerData
-
Field Details
-
field_8111
private int field_8111- Mappings:
Namespace Name Mixin selector official bLuv;b:Iintermediary field_8111Lnet/minecraft/class_1890;field_8111:Inamed field_8111Lnet/minecraft/entity/LightningBoltEntity;field_8111:I
-
field_8110
public long field_8110- Mappings:
Namespace Name Mixin selector official aLuv;a:Jintermediary field_8110Lnet/minecraft/class_1890;field_8110:Jnamed field_8110Lnet/minecraft/entity/LightningBoltEntity;field_8110:J
-
field_8112
private int field_8112- Mappings:
Namespace Name Mixin selector official cLuv;c:Iintermediary field_8112Lnet/minecraft/class_1890;field_8112:Inamed field_8112Lnet/minecraft/entity/LightningBoltEntity;field_8112:I
-
-
Constructor Details
-
LightningBoltEntity
- Mappings:
Namespace Name Mixin selector official <init>Luv;<init>(Ladm;DDD)Vintermediary <init>Lnet/minecraft/class_1890;<init>(Lnet/minecraft/class_99;DDD)Vnamed <init>Lnet/minecraft/entity/LightningBoltEntity;<init>(Lnet/minecraft/world/World;DDD)V
-
-
Method Details
-
tick
public void tick() -
initDataTracker
protected void initDataTracker()- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official hLpk;h()Vintermediary method_7043Lnet/minecraft/class_1745;method_7043()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
deserialize
- Specified by:
deserializein classEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(Ldn;)Vintermediary method_6933Lnet/minecraft/class_1745;method_6933(Lnet/minecraft/class_1405;)Vnamed deserializeLnet/minecraft/entity/Entity;deserialize(Lnet/minecraft/nbt/CompoundTag;)V
-
serialize
-