If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at
the top of the file.
import crafttweaker . api.entity.type.misc . LightningBolt;
LightningBolt extends Entity
.
LightningBolt
implements the following interfaces:
Nameable
,EntityAccess
,CommandSource
,IAttachmentHolder
Undocumented Interfaces ScoreHolder
, IEntityExtension
, INBTSerializable <CompoundTag >
// LightningBolt.acceptsFailure as bool
myLightningBolt . acceptsFailure
Return Type:
bool
// LightningBolt.acceptsFailure() as bool;
myLightningBolt . acceptsFailure();
Return Type:
bool
// LightningBolt.acceptsSuccess as bool
myLightningBolt . acceptsSuccess
Return Type:
bool
// LightningBolt.acceptsSuccess() as bool;
myLightningBolt . acceptsSuccess();
Return Type:
bool
// LightningBolt.addTag(tagName as string) as bool;
myLightningBolt . addTag(myString);
Parameters:
tagName: string
Type: string
Return Type:
bool
// LightningBolt.airSupply as int
myLightningBolt . airSupply
Return Type:
int
// LightningBolt.airSupply() as int;
myLightningBolt . airSupply();
Return Type:
int
// LightningBolt.allSlots as Iterable<ItemStack>
Return Type:
Iterable <ItemStack >
// LightningBolt.allSlots() as Iterable<ItemStack>;
myLightningBolt . allSlots();
Return Type:
Iterable <ItemStack >
// LightningBolt.alwaysAccepts as bool
myLightningBolt . alwaysAccepts
Return Type:
bool
// LightningBolt.alwaysAccepts() as bool;
myLightningBolt . alwaysAccepts();
Return Type:
bool
// LightningBolt.armorSlots as Iterable<ItemStack>
myLightningBolt . armorSlots
Return Type:
Iterable <ItemStack >
// LightningBolt.armorSlots() as Iterable<ItemStack>;
myLightningBolt . armorSlots();
Return Type:
Iterable <ItemStack >
// LightningBolt.bbHeight as float
Return Type:
float
// LightningBolt.bbHeight() as float;
myLightningBolt . bbHeight();
Return Type:
float
// LightningBolt.bbWidth as float
Return Type:
float
// LightningBolt.bbWidth() as float;
myLightningBolt . bbWidth();
Return Type:
float
// LightningBolt.blockPosiion as BlockPos
myLightningBolt . blockPosiion
Return Type:
BlockPos
// LightningBolt.blockPosiion() as BlockPos;
myLightningBolt . blockPosiion();
Return Type:
BlockPos
// LightningBolt.blockPosition as BlockPos
myLightningBolt . blockPosition
Return Type:
BlockPos
// LightningBolt.blockPosition() as BlockPos;
myLightningBolt . blockPosition();
Return Type:
BlockPos
// LightningBolt.blocksSetOnFire as int
myLightningBolt . blocksSetOnFire
Return Type:
int
// LightningBolt.blocksSetOnFire() as int;
myLightningBolt . blocksSetOnFire();
Return Type:
int
// LightningBolt.blockX as int
Return Type:
int
// LightningBolt.blockX() as int;
myLightningBolt . blockX();
Return Type:
int
// LightningBolt.blockY as int
Return Type:
int
// LightningBolt.blockY() as int;
myLightningBolt . blockY();
Return Type:
int
// LightningBolt.blockZ as int
Return Type:
int
// LightningBolt.blockZ() as int;
myLightningBolt . blockZ();
Return Type:
int
// LightningBolt.boundingBox as AABB
myLightningBolt . boundingBox
Return Type:
AABB
// LightningBolt.boundingBox() as AABB;
myLightningBolt . boundingBox();
Return Type:
AABB
// LightningBolt.boundingBoxForCulling as AABB
myLightningBolt . boundingBoxForCulling
Return Type:
AABB
// LightningBolt.boundingBoxForCulling() as AABB;
myLightningBolt . boundingBoxForCulling();
Return Type:
AABB
// LightningBolt.canBeCollidedWith as bool
myLightningBolt . canBeCollidedWith
Return Type:
bool
// LightningBolt.canBeCollidedWith() as bool;
myLightningBolt . canBeCollidedWith();
Return Type:
bool
// LightningBolt.canCollideWith(other as Entity) as bool;
myLightningBolt . canCollideWith(myEntity);
Return Type:
bool
// LightningBolt.canFreeze as bool
myLightningBolt . canFreeze
Return Type:
bool
// LightningBolt.canFreeze() as bool;
myLightningBolt . canFreeze();
Return Type:
bool
// LightningBolt.cause as ServerPlayer
Return Type:
ServerPlayer
// LightningBolt.cause() as ServerPlayer;
Return Type:
ServerPlayer
// LightningBolt.clearFire();
myLightningBolt . clearFire();
// LightningBolt.closerThan(other as Entity, distance as double) as bool;
myLightningBolt . closerThan(myEntity, myDouble);
Parameters:
distance: double
Type: double
Return Type:
bool
// LightningBolt.commandSenderWorld as Level
myLightningBolt . commandSenderWorld
Return Type:
Level
// LightningBolt.commandSenderWorld() as Level;
myLightningBolt . commandSenderWorld();
Return Type:
Level
// LightningBolt.controllingPassenger as Entity
myLightningBolt . controllingPassenger
Return Type:
Entity
// LightningBolt.controllingPassenger() as Entity;
myLightningBolt . controllingPassenger();
Return Type:
Entity
Gets the custom NBT data for this Entity. // LightningBolt.customData as MapData
myLightningBolt . customData
Return Type:
MapData
Gets the custom NBT data for this Entity. Returns : The custom data for this Entity.
// LightningBolt.customData() as MapData;
myLightningBolt . customData();
Return Type:
MapData
// LightningBolt.customName as Component
myLightningBolt . customName
Return Type:
Component
// LightningBolt.customName as Component
myLightningBolt . customName
Return Type:
Component
// LightningBolt.customName() as Component;
myLightningBolt . customName();
Return Type:
Component
// LightningBolt.customName() as Component;
myLightningBolt . customName();
Return Type:
Component
// LightningBolt.dampensVibrations as bool
myLightningBolt . dampensVibrations
Return Type:
bool
// LightningBolt.dampensVibrations() as bool;
myLightningBolt . dampensVibrations();
Return Type:
bool
Gets the NBT data of this Entity. // LightningBolt.data as MapData
Return Type:
MapData
Gets the NBT data of this Entity. Returns : The NBT data of this Entity.
// LightningBolt.data() as MapData;
Return Type:
MapData
// LightningBolt.deltaMovement as Vec3
myLightningBolt . deltaMovement
Return Type:
Vec3
// LightningBolt.deltaMovement = (deltaMovement as Vec3);
myLightningBolt . deltaMovement = myVec3;
// LightningBolt.deltaMovement() as Vec3;
myLightningBolt . deltaMovement();
Return Type:
Vec3
// LightningBolt.deltaMovement(deltaMovement as Vec3);
myLightningBolt . deltaMovement(myVec3);
// LightningBolt.dimensionChangingDelay as int
myLightningBolt . dimensionChangingDelay
Return Type:
int
// LightningBolt.dimensionChangingDelay() as int;
myLightningBolt . dimensionChangingDelay();
Return Type:
int
// LightningBolt.direction as Direction
myLightningBolt . direction
Return Type:
Direction
// LightningBolt.direction() as Direction;
myLightningBolt . direction();
Return Type:
Direction
// LightningBolt.discard();
myLightningBolt . discard();
// LightningBolt.dismountsUnderwater as bool
myLightningBolt . dismountsUnderwater
Return Type:
bool
// LightningBolt.displayName as Component
myLightningBolt . displayName
Return Type:
Component
// LightningBolt.displayName as Component
myLightningBolt . displayName
Return Type:
Component
// LightningBolt.displayName() as Component;
myLightningBolt . displayName();
Return Type:
Component
// LightningBolt.displayName() as Component;
myLightningBolt . displayName();
Return Type:
Component
// LightningBolt.distanceTo(entity as Entity) as float;
myLightningBolt . distanceTo(myEntity);
Return Type:
float
// LightningBolt.distanceToSqr(x as double, y as double, z as double) as double;
myLightningBolt . distanceToSqr(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
y: double
Type: double
z: double
Type: double
Return Type:
double
// LightningBolt.distanceToSqr(entity as Entity) as double;
myLightningBolt . distanceToSqr(myEntity);
Return Type:
double
// LightningBolt.distanceToSqr(vec as Vec3) as double;
myLightningBolt . distanceToSqr(myVec3);
Return Type:
double
// LightningBolt.ejectPassengers();
myLightningBolt . ejectPassengers();
// LightningBolt.eyeHeight as float
myLightningBolt . eyeHeight
Return Type:
float
// LightningBolt.eyeHeight() as float;
myLightningBolt . eyeHeight();
Return Type:
float
// LightningBolt.eyePosition as Vec3
myLightningBolt . eyePosition
Return Type:
Vec3
// LightningBolt.eyePosition() as Vec3;
myLightningBolt . eyePosition();
Return Type:
Vec3
// LightningBolt.eyeY as double
Return Type:
double
// LightningBolt.eyeY() as double;
Return Type:
double
// LightningBolt.feetBlockState as BlockState
myLightningBolt . feetBlockState
Return Type:
BlockState
// LightningBolt.feetBlockState() as BlockState;
myLightningBolt . feetBlockState();
Return Type:
BlockState
// LightningBolt.fireImmune as bool
myLightningBolt . fireImmune
Return Type:
bool
// LightningBolt.fireImmune() as bool;
myLightningBolt . fireImmune();
Return Type:
bool
// LightningBolt.firstPassenger as Entity
myLightningBolt . firstPassenger
Return Type:
Entity
// LightningBolt.firstPassenger() as Entity;
myLightningBolt . firstPassenger();
Return Type:
Entity
// LightningBolt.fluidJumpThreshold as double
myLightningBolt . fluidJumpThreshold
Return Type:
double
// LightningBolt.fluidJumpThreshold() as double;
myLightningBolt . fluidJumpThreshold();
Return Type:
double
// LightningBolt.forward as Vec3
Return Type:
Vec3
// LightningBolt.forward() as Vec3;
myLightningBolt . forward();
Return Type:
Vec3
// LightningBolt.getAttachmentData<T>(type as AttachmentType<T>) as T;
myLightningBolt . getAttachmentData < T>(myAttachmentType);
Return Type:
T
// LightningBolt.getAttachmentData<T>(type as Supplier<AttachmentType<T>>) as T;
myLightningBolt . getAttachmentData < T>(mySupplier);
Return Type:
T
// LightningBolt.getEyePosition(partialTicks as float) as Vec3;
myLightningBolt . getEyePosition(myFloat);
Parameters:
partialTicks: float
Type: float
Return Type:
Vec3
// LightningBolt.getPosition(partialTicks as float) as Vec3;
myLightningBolt . getPosition(myFloat);
Parameters:
partialTicks: float
Type: float
Return Type:
Vec3
// LightningBolt.getUpVector(partialTicks as float) as Vec3;
myLightningBolt . getUpVector(myFloat);
Parameters:
partialTicks: float
Type: float
Return Type:
Vec3
// LightningBolt.getViewVector(partialTicks as float) as Vec3;
myLightningBolt . getViewVector(myFloat);
Parameters:
partialTicks: float
Type: float
Return Type:
Vec3
// LightningBolt.getX(scale as double) as double;
myLightningBolt . getX(myDouble);
Parameters:
scale: double
Type: double
Return Type:
double
// LightningBolt.getY(scale as double) as double;
myLightningBolt . getY(myDouble);
Parameters:
scale: double
Type: double
Return Type:
double
// LightningBolt.getZ(scale as double) as double;
myLightningBolt . getZ(myDouble);
Parameters:
scale: double
Type: double
Return Type:
double
// LightningBolt.handSlots as Iterable<ItemStack>
myLightningBolt . handSlots
Return Type:
Iterable <ItemStack >
// LightningBolt.handSlots() as Iterable<ItemStack>;
myLightningBolt . handSlots();
Return Type:
Iterable <ItemStack >
// LightningBolt.hasAttachmentData<T>(type as AttachmentType<T>) as bool;
myLightningBolt . hasAttachmentData < T>(myAttachmentType);
Return Type:
bool
// LightningBolt.hasAttachmentData<T>(type as Supplier<AttachmentType<T>>) as bool;
myLightningBolt . hasAttachmentData < T>(mySupplier);
Return Type:
bool
// LightningBolt.hasCustomName as bool
myLightningBolt . hasCustomName
Return Type:
bool
// LightningBolt.hasCustomName as bool
myLightningBolt . hasCustomName
Return Type:
bool
// LightningBolt.hasCustomName() as bool;
myLightningBolt . hasCustomName();
Return Type:
bool
// LightningBolt.hasCustomName() as bool;
myLightningBolt . hasCustomName();
Return Type:
bool
// LightningBolt.hasExactlyOnePlayerPassenger as bool
myLightningBolt . hasExactlyOnePlayerPassenger
Return Type:
bool
// LightningBolt.hasExactlyOnePlayerPassenger() as bool;
myLightningBolt . hasExactlyOnePlayerPassenger();
Return Type:
bool
// LightningBolt.hasGlowingTag as bool
myLightningBolt . hasGlowingTag
Return Type:
bool
// LightningBolt.hasGlowingTag() as bool;
myLightningBolt . hasGlowingTag();
Return Type:
bool
// LightningBolt.hasIndirectPassenger(entity as Entity) as bool;
myLightningBolt . hasIndirectPassenger(myEntity);
Return Type:
bool
// LightningBolt.hasPassenger(entity as Entity) as bool;
myLightningBolt . hasPassenger(myEntity);
Return Type:
bool
// LightningBolt.hasPassenger(predicate as function(t as Entity) as bool) as bool;
myLightningBolt . hasPassenger(myPredicate);
Parameters:
predicate: function(t as Entity ) as bool
Type: function(t as Entity ) as bool
Return Type:
bool
// LightningBolt.hurt(source as DamageSource, amount as float) as bool;
myLightningBolt . hurt(myDamageSource, myFloat);
Parameters:
amount: float
Type: float
Return Type:
bool
// LightningBolt.id as int
Return Type:
int
// LightningBolt.id() as int;
Return Type:
int
// LightningBolt.isAlive as bool
Return Type:
bool
// LightningBolt.isAlive() as bool;
myLightningBolt . isAlive();
Return Type:
bool
// LightningBolt.isAlwaysTicking as bool
myLightningBolt . isAlwaysTicking
Return Type:
bool
// LightningBolt.isAlwaysTicking() as bool;
myLightningBolt . isAlwaysTicking();
Return Type:
bool
// LightningBolt.isAttackable as bool
myLightningBolt . isAttackable
Return Type:
bool
// LightningBolt.isAttackable() as bool;
myLightningBolt . isAttackable();
Return Type:
bool
// LightningBolt.isColliding(pos as BlockPos, state as BlockState) as bool;
myLightningBolt . isColliding(myBlockPos, myBlockState);
Return Type:
bool
// LightningBolt.isCrouching as bool
myLightningBolt . isCrouching
Return Type:
bool
// LightningBolt.isCrouching() as bool;
myLightningBolt . isCrouching();
Return Type:
bool
// LightningBolt.isCurrentlyGlowing as bool
myLightningBolt . isCurrentlyGlowing
Return Type:
bool
// LightningBolt.isCurrentlyGlowing() as bool;
myLightningBolt . isCurrentlyGlowing();
Return Type:
bool
// LightningBolt.isCustomNameVisible as bool
myLightningBolt . isCustomNameVisible
Return Type:
bool
// LightningBolt.isCustomNameVisible() as bool;
myLightningBolt . isCustomNameVisible();
Return Type:
bool
// LightningBolt.isDescending as bool
myLightningBolt . isDescending
Return Type:
bool
// LightningBolt.isDescending() as bool;
myLightningBolt . isDescending();
Return Type:
bool
// LightningBolt.isDiscrete as bool
myLightningBolt . isDiscrete
Return Type:
bool
// LightningBolt.isDiscrete() as bool;
myLightningBolt . isDiscrete();
Return Type:
bool
// LightningBolt.isFree(x as double, y as double, z as double) as bool;
myLightningBolt . isFree(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
y: double
Type: double
z: double
Type: double
Return Type:
bool
// LightningBolt.isFullyFrozen as bool
myLightningBolt . isFullyFrozen
Return Type:
bool
// LightningBolt.isFullyFrozen() as bool;
myLightningBolt . isFullyFrozen();
Return Type:
bool
// LightningBolt.isInLava as bool
Return Type:
bool
// LightningBolt.isInLava() as bool;
myLightningBolt . isInLava();
Return Type:
bool
// LightningBolt.isInvisible as bool
myLightningBolt . isInvisible
Return Type:
bool
// LightningBolt.isInvisible() as bool;
myLightningBolt . isInvisible();
Return Type:
bool
// LightningBolt.isInvisibleTo(player as Player) as bool;
myLightningBolt . isInvisibleTo(myPlayer);
Return Type:
bool
// LightningBolt.isInvulnerable as bool
myLightningBolt . isInvulnerable
Return Type:
bool
// LightningBolt.isInvulnerable() as bool;
myLightningBolt . isInvulnerable();
Return Type:
bool
// LightningBolt.isInvulnerableTo(source as DamageSource) as bool;
myLightningBolt . isInvulnerableTo(myDamageSource);
Return Type:
bool
// LightningBolt.isInWall as bool
Return Type:
bool
// LightningBolt.isInWall() as bool;
myLightningBolt . isInWall();
Return Type:
bool
// LightningBolt.isInWater as bool
myLightningBolt . isInWater
Return Type:
bool
// LightningBolt.isInWater() as bool;
myLightningBolt . isInWater();
Return Type:
bool
// LightningBolt.isInWaterOrBubble as bool
myLightningBolt . isInWaterOrBubble
Return Type:
bool
// LightningBolt.isInWaterOrBubble() as bool;
myLightningBolt . isInWaterOrBubble();
Return Type:
bool
// LightningBolt.isInWaterOrRain as bool
myLightningBolt . isInWaterOrRain
Return Type:
bool
// LightningBolt.isInWaterOrRain() as bool;
myLightningBolt . isInWaterOrRain();
Return Type:
bool
// LightningBolt.isInWaterRainOrBubble as bool
myLightningBolt . isInWaterRainOrBubble
Return Type:
bool
// LightningBolt.isInWaterRainOrBubble() as bool;
myLightningBolt . isInWaterRainOrBubble();
Return Type:
bool
// LightningBolt.isNoGravity as bool
myLightningBolt . isNoGravity
Return Type:
bool
// LightningBolt.isNoGravity() as bool;
myLightningBolt . isNoGravity();
Return Type:
bool
// LightningBolt.isOnFire as bool
Return Type:
bool
// LightningBolt.isOnFire() as bool;
myLightningBolt . isOnFire();
Return Type:
bool
// LightningBolt.isOnPortalCooldown as bool
myLightningBolt . isOnPortalCooldown
Return Type:
bool
// LightningBolt.isOnPortalCooldown() as bool;
myLightningBolt . isOnPortalCooldown();
Return Type:
bool
// LightningBolt.isPassenger as bool
myLightningBolt . isPassenger
Return Type:
bool
// LightningBolt.isPassenger() as bool;
myLightningBolt . isPassenger();
Return Type:
bool
// LightningBolt.isPassengerOfSameVehicle(entity as Entity) as bool;
myLightningBolt . isPassengerOfSameVehicle(myEntity);
Return Type:
bool
// LightningBolt.isPickable as bool
myLightningBolt . isPickable
Return Type:
bool
// LightningBolt.isPickable() as bool;
myLightningBolt . isPickable();
Return Type:
bool
// LightningBolt.isPushable as bool
myLightningBolt . isPushable
Return Type:
bool
// LightningBolt.isPushable() as bool;
myLightningBolt . isPushable();
Return Type:
bool
// LightningBolt.isPushedByFluid as bool
myLightningBolt . isPushedByFluid
Return Type:
bool
// LightningBolt.isPushedByFluid() as bool;
myLightningBolt . isPushedByFluid();
Return Type:
bool
// LightningBolt.isRemoved as bool
myLightningBolt . isRemoved
Return Type:
bool
// LightningBolt.isRemoved() as bool;
myLightningBolt . isRemoved();
Return Type:
bool
// LightningBolt.isShiftKeyDown as bool
myLightningBolt . isShiftKeyDown
Return Type:
bool
// LightningBolt.isShiftKeyDown() as bool;
myLightningBolt . isShiftKeyDown();
Return Type:
bool
// LightningBolt.isSilent as bool
Return Type:
bool
// LightningBolt.isSilent() as bool;
myLightningBolt . isSilent();
Return Type:
bool
// LightningBolt.isSpectator as bool
myLightningBolt . isSpectator
Return Type:
bool
// LightningBolt.isSpectator() as bool;
myLightningBolt . isSpectator();
Return Type:
bool
// LightningBolt.isSprinting as bool
myLightningBolt . isSprinting
Return Type:
bool
// LightningBolt.isSprinting() as bool;
myLightningBolt . isSprinting();
Return Type:
bool
// LightningBolt.isSteppingCarefully as bool
myLightningBolt . isSteppingCarefully
Return Type:
bool
// LightningBolt.isSteppingCarefully() as bool;
myLightningBolt . isSteppingCarefully();
Return Type:
bool
// LightningBolt.isSuppressingBounce as bool
myLightningBolt . isSuppressingBounce
Return Type:
bool
// LightningBolt.isSuppressingBounce() as bool;
myLightningBolt . isSuppressingBounce();
Return Type:
bool
// LightningBolt.isSwimming as bool
myLightningBolt . isSwimming
Return Type:
bool
// LightningBolt.isSwimming() as bool;
myLightningBolt . isSwimming();
Return Type:
bool
// LightningBolt.isUnderWater as bool
myLightningBolt . isUnderWater
Return Type:
bool
// LightningBolt.isUnderWater() as bool;
myLightningBolt . isUnderWater();
Return Type:
bool
// LightningBolt.isVehicle as bool
myLightningBolt . isVehicle
Return Type:
bool
// LightningBolt.isVehicle() as bool;
myLightningBolt . isVehicle();
Return Type:
bool
// LightningBolt.isVisuallyCrawling as bool
myLightningBolt . isVisuallyCrawling
Return Type:
bool
// LightningBolt.isVisuallyCrawling() as bool;
myLightningBolt . isVisuallyCrawling();
Return Type:
bool
// LightningBolt.isVisuallySwimming as bool
myLightningBolt . isVisuallySwimming
Return Type:
bool
// LightningBolt.isVisuallySwimming() as bool;
myLightningBolt . isVisuallySwimming();
Return Type:
bool
// LightningBolt.lavaHurt();
myLightningBolt . lavaHurt();
// LightningBolt.level as Level
Return Type:
Level
// LightningBolt.lookAngle as Vec3
myLightningBolt . lookAngle
Return Type:
Vec3
// LightningBolt.lookAngle() as Vec3;
myLightningBolt . lookAngle();
Return Type:
Vec3
// LightningBolt.maxAirSupply as int
myLightningBolt . maxAirSupply
Return Type:
int
// LightningBolt.maxAirSupply() as int;
myLightningBolt . maxAirSupply();
Return Type:
int
// LightningBolt.maxFallDistance as int
myLightningBolt . maxFallDistance
Return Type:
int
// LightningBolt.maxFallDistance() as int;
myLightningBolt . maxFallDistance();
Return Type:
int
// LightningBolt.motionDirection as Direction
myLightningBolt . motionDirection
Return Type:
Direction
// LightningBolt.motionDirection() as Direction;
myLightningBolt . motionDirection();
Return Type:
Direction
// LightningBolt.moveRelative(amount as float, relative as Vec3);
myLightningBolt . moveRelative(myFloat, myVec3);
Parameters:
amount: float
Type: float
// LightningBolt.moveTo(vec as Vec3);
myLightningBolt . moveTo(myVec3);
// LightningBolt.moveTo(x as double, y as double, z as double);
myLightningBolt . moveTo(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
y: double
Type: double
z: double
Type: double
// LightningBolt.moveTo(pos as BlockPos, yaw as float, pitch as float);
myLightningBolt . moveTo(myBlockPos, myFloat, myFloat);
Parameters:
yaw: float
Type: float
pitch: float
Type: float
// LightningBolt.moveTo(x as double, y as double, z as double, yaw as float, pitch as float);
myLightningBolt . moveTo(myDouble, myDouble, myDouble, myFloat, myFloat);
Parameters:
x: double
Type: double
y: double
Type: double
z: double
Type: double
yaw: float
Type: float
pitch: float
Type: float
// LightningBolt.name as Component
Return Type:
Component
// LightningBolt.name as Component
Return Type:
Component
// LightningBolt.name() as Component;
Return Type:
Component
// LightningBolt.name() as Component;
Return Type:
Component
// LightningBolt.onGround as bool
Return Type:
bool
// LightningBolt.onPos as BlockPos
Return Type:
BlockPos
// LightningBolt.onPos() as BlockPos;
Return Type:
BlockPos
// LightningBolt.passengers as List<Entity>
myLightningBolt . passengers
Return Type:
List <Entity >
// LightningBolt.passengers() as List<Entity>;
myLightningBolt . passengers();
Return Type:
List <Entity >
// LightningBolt.percentFrozen as float
myLightningBolt . percentFrozen
Return Type:
float
// LightningBolt.percentFrozen() as float;
myLightningBolt . percentFrozen();
Return Type:
float
// LightningBolt.pistonPushReaction as PushReaction
myLightningBolt . pistonPushReaction
Return Type:
PushReaction
// LightningBolt.pistonPushReaction() as PushReaction;
myLightningBolt . pistonPushReaction();
Return Type:
PushReaction
// LightningBolt.playSound(sound as SoundEvent, volume as float, pitch as float);
myLightningBolt . playSound(mySoundEvent, myFloat, myFloat);
Parameters:
volume: float
Type: float
pitch: float
Type: float
// LightningBolt.portalWaitTime as int
myLightningBolt . portalWaitTime
Return Type:
int
// LightningBolt.portalWaitTime() as int;
myLightningBolt . portalWaitTime();
Return Type:
int
// LightningBolt.position as Vec3
Return Type:
Vec3
// LightningBolt.position() as Vec3;
myLightningBolt . position();
Return Type:
Vec3
// LightningBolt.positionRider(entity as Entity);
myLightningBolt . positionRider(myEntity);
// LightningBolt.registryName as ResourceLocation
myLightningBolt . registryName
Return Type:
ResourceLocation
// LightningBolt.registryName() as ResourceLocation;
myLightningBolt . registryName();
Return Type:
ResourceLocation
// LightningBolt.remainingFireTicks as int
myLightningBolt . remainingFireTicks
Return Type:
int
// LightningBolt.remainingFireTicks() as int;
myLightningBolt . remainingFireTicks();
Return Type:
int
// LightningBolt.removeTag(tagName as string) as bool;
myLightningBolt . removeTag(myString);
Parameters:
tagName: string
Type: string
Return Type:
bool
// LightningBolt.removeVehicle();
myLightningBolt . removeVehicle();
// LightningBolt.rootVehicle as Entity
myLightningBolt . rootVehicle
Return Type:
Entity
// LightningBolt.rootVehicle() as Entity;
myLightningBolt . rootVehicle();
Return Type:
Entity
// LightningBolt.sendMessage(component as Component);
myLightningBolt . sendMessage(myComponent);
// LightningBolt.setAirSupply(air as int);
myLightningBolt . setAirSupply(myInt);
// LightningBolt.setAttachmentData<T>(type as AttachmentType<T>, data as T) as T?;
myLightningBolt . setAttachmentData < T>(myAttachmentType, myT);
Return Type:
T ?
// LightningBolt.setAttachmentData<T>(type as Supplier<AttachmentType<T>>, data as T) as T?;
myLightningBolt . setAttachmentData < T>(mySupplier, myT);
Return Type:
T ?
// LightningBolt.setCustomName(name as Component);
myLightningBolt . setCustomName(myComponent);
// LightningBolt.setCustomNameVisible(visible as bool);
myLightningBolt . setCustomNameVisible(myBool);
// LightningBolt.setDeltaMovement(xDelta as double, yDelta as double, zDelta as double);
myLightningBolt . setDeltaMovement(myDouble, myDouble, myDouble);
Parameters:
xDelta: double
Type: double
yDelta: double
Type: double
zDelta: double
Type: double
// LightningBolt.setGlowingTag(glowing as bool);
myLightningBolt . setGlowingTag(myBool);
// LightningBolt.setInvisible(invisible as bool);
myLightningBolt . setInvisible(myBool);
Parameters:
invisible: bool
Type: bool
// LightningBolt.setInvulnerable(invulnerable as bool);
myLightningBolt . setInvulnerable(myBool);
Parameters:
invulnerable: bool
Type: bool
// LightningBolt.setIsInPowderSnow(inPowderSnow as bool);
myLightningBolt . setIsInPowderSnow(myBool);
Parameters:
inPowderSnow: bool
Type: bool
// LightningBolt.setItemSlot(slot as EquipmentSlot, stack as ItemStack);
myLightningBolt . setItemSlot(myEquipmentSlot, myItemStack);
// LightningBolt.setNoGravity(noGravity as bool);
myLightningBolt . setNoGravity(myBool);
Parameters:
noGravity: bool
Type: bool
// LightningBolt.setOldPosAndRot();
myLightningBolt . setOldPosAndRot();
// LightningBolt.setOnGround(onGround as bool);
myLightningBolt . setOnGround(myBool);
Parameters:
onGround: bool
Type: bool
// LightningBolt.setPortalCooldown();
myLightningBolt . setPortalCooldown();
// LightningBolt.setPos(position as Vec3);
myLightningBolt . setPos(myVec3);
// LightningBolt.setPos(x as double, y as double, z as double);
myLightningBolt . setPos(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
y: double
Type: double
z: double
Type: double
// LightningBolt.setPosRaw(x as double, y as double, z as double);
myLightningBolt . setPosRaw(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
y: double
Type: double
z: double
Type: double
// LightningBolt.setRemainingFireTicks(ticks as int);
myLightningBolt . setRemainingFireTicks(myInt);
// LightningBolt.setRemoved(var1 as RemovalReason);
myLightningBolt . setRemoved(myRemovalReason);
// LightningBolt.setSecondsOnFire(seconds as int);
myLightningBolt . setSecondsOnFire(myInt);
// LightningBolt.setShiftKeyDown(keyDown as bool);
myLightningBolt . setShiftKeyDown(myBool);
// LightningBolt.setSilent(silent as bool);
myLightningBolt . setSilent(myBool);
// LightningBolt.setSprinting(sprinting as bool);
myLightningBolt . setSprinting(myBool);
Parameters:
sprinting: bool
Type: bool
// LightningBolt.setSwimming(swimming as bool);
myLightningBolt . setSwimming(myBool);
Parameters:
swimming: bool
Type: bool
// LightningBolt.setTicksFrozen(ticks as int);
myLightningBolt . setTicksFrozen(myInt);
// LightningBolt.shouldBeSaved as bool
myLightningBolt . shouldBeSaved
Return Type:
bool
// LightningBolt.shouldBeSaved() as bool;
myLightningBolt . shouldBeSaved();
Return Type:
bool
// LightningBolt.shouldInformAdmins as bool
myLightningBolt . shouldInformAdmins
Return Type:
bool
// LightningBolt.shouldInformAdmins() as bool;
myLightningBolt . shouldInformAdmins();
Return Type:
bool
// LightningBolt.shouldShowName as bool
myLightningBolt . shouldShowName
Return Type:
bool
// LightningBolt.shouldShowName() as bool;
myLightningBolt . shouldShowName();
Return Type:
bool
// LightningBolt.showVehicleHealth as bool
myLightningBolt . showVehicleHealth
Return Type:
bool
// LightningBolt.showVehicleHealth() as bool;
myLightningBolt . showVehicleHealth();
Return Type:
bool
// LightningBolt.soundSource as SoundSource
myLightningBolt . soundSource
Return Type:
SoundSource
// LightningBolt.soundSource() as SoundSource;
myLightningBolt . soundSource();
Return Type:
SoundSource
// LightningBolt.startRiding(entity as Entity) as bool;
myLightningBolt . startRiding(myEntity);
Return Type:
bool
// LightningBolt.startRiding(entity as Entity, force as bool) as bool;
myLightningBolt . startRiding(myEntity, myBool);
Return Type:
bool
// LightningBolt.stopRiding();
myLightningBolt . stopRiding();
// LightningBolt.stringUUID as string
myLightningBolt . stringUUID
Return Type:
string
// LightningBolt.stringUUID() as string;
myLightningBolt . stringUUID();
Return Type:
string
// LightningBolt.tags as Set<string>
Return Type:
Set <string >
// LightningBolt.tags() as Set<string>;
Return Type:
Set <string >
// LightningBolt.teamColor as int
myLightningBolt . teamColor
Return Type:
int
// LightningBolt.teamColor() as int;
myLightningBolt . teamColor();
Return Type:
int
// LightningBolt.teleportTo(x as double, y as double, z as double);
myLightningBolt . teleportTo(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
y: double
Type: double
z: double
Type: double
// LightningBolt.ticksFrozen as int
myLightningBolt . ticksFrozen
Return Type:
int
// LightningBolt.ticksFrozen() as int;
myLightningBolt . ticksFrozen();
Return Type:
int
// LightningBolt.ticksRequiredToFreeze as int
myLightningBolt . ticksRequiredToFreeze
Return Type:
int
// LightningBolt.ticksRequiredToFreeze() as int;
myLightningBolt . ticksRequiredToFreeze();
Return Type:
int
// LightningBolt.turn(yaw as double, pitch as double);
myLightningBolt . turn(myDouble, myDouble);
Parameters:
yaw: double
Type: double
pitch: double
Type: double
// LightningBolt.unRide();
myLightningBolt . unRide();
Updates the custom NBT data for this Entity. // LightningBolt.updateCustomData(data as MapData);
myLightningBolt . updateCustomData({custom: "data" });
// LightningBolt.updateCustomEntityTag(level as Level, player as Player, data as MapData);
myLightningBolt . updateCustomEntityTag(myLevel, myPlayer, myMapData);
Updates the NBT data of this Entity. // LightningBolt.updateData(data as MapData);
myLightningBolt . updateData({key: "value" });
// LightningBolt.uuid as UUID
Return Type:
UUID
// LightningBolt.uuid() as UUID;
Return Type:
UUID
// LightningBolt.vehicle as Entity
Return Type:
Entity
// LightningBolt.vehicle() as Entity;
myLightningBolt . vehicle();
Return Type:
Entity
// LightningBolt.visualOnly as bool
myLightningBolt . visualOnly
Return Type:
bool
// LightningBolt.visualOnly = (visualOnly as bool);
myLightningBolt . visualOnly = myBool;
Parameters:
visualOnly: bool
Type: bool
// LightningBolt.visualOnly(visualOnly as bool);
myLightningBolt . visualOnly(myBool);
Parameters:
visualOnly: bool
Type: bool
// LightningBolt.visualOnly() as bool;
myLightningBolt . visualOnly();
Return Type:
bool
// LightningBolt.x as double
Return Type:
double
// LightningBolt.x() as double;
Return Type:
double
// LightningBolt.y as double
Return Type:
double
// LightningBolt.y() as double;
Return Type:
double
// LightningBolt.z as double
Return Type:
double
// LightningBolt.z() as double;
Return Type:
double