Uses of Class
net.minecraft.entity.LightningEntity
Package
Description
-
Uses of LightningEntity in net.minecraft.advancement.criterion
Modifier and TypeMethodDescriptionvoid
LightningStrikeCriterion.trigger
(ServerPlayerEntity player, LightningEntity lightning, List<Entity> bystanders) -
Uses of LightningEntity in net.minecraft.client.render.entity
Modifier and TypeMethodDescriptionLightningEntityRenderer.getTexture
(LightningEntity lightningEntity) void
LightningEntityRenderer.render
(LightningEntity lightningEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) -
Uses of LightningEntity in net.minecraft.entity
Modifier and TypeFieldDescriptionstatic final EntityType<LightningEntity>
EntityType.LIGHTNING_BOLT
Modifier and TypeMethodDescriptionvoid
Entity.onStruckByLightning
(ServerWorld world, LightningEntity lightning) Called when the entity is struck by lightning.ModifierConstructorDescriptionLightningEntity
(EntityType<? extends LightningEntity> type, World world) -
Uses of LightningEntity in net.minecraft.entity.decoration
Modifier and TypeMethodDescriptionvoid
AbstractDecorationEntity.onStruckByLightning
(ServerWorld world, LightningEntity lightning) Called when the entity is struck by lightning.void
ArmorStandEntity.onStruckByLightning
(ServerWorld world, LightningEntity lightning) Called when the entity is struck by lightning. -
Uses of LightningEntity in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionvoid
CreeperEntity.onStruckByLightning
(ServerWorld world, LightningEntity lightning) Called when the entity is struck by lightning. -
Uses of LightningEntity in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionvoid
MooshroomEntity.onStruckByLightning
(ServerWorld world, LightningEntity lightning) Called when the entity is struck by lightning.void
PigEntity.onStruckByLightning
(ServerWorld world, LightningEntity lightning) Called when the entity is struck by lightning.void
TurtleEntity.onStruckByLightning
(ServerWorld world, LightningEntity lightning) Called when the entity is struck by lightning.void
VillagerEntity.onStruckByLightning
(ServerWorld world, LightningEntity lightning) Called when the entity is struck by lightning.