Uses of Class
net.minecraft.entity.LightningEntity
Packages that use LightningEntity
Package
Description
-
Uses of LightningEntity in net.minecraft.advancement.criterion
Methods in net.minecraft.advancement.criterion with parameters of type LightningEntityModifier and TypeMethodDescriptionvoid
LightningStrikeCriterion.trigger
(ServerPlayerEntity player, LightningEntity lightning, List<Entity> bystanders) -
Uses of LightningEntity in net.minecraft.client.render.entity
Methods in net.minecraft.client.render.entity with parameters of type LightningEntityModifier 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
Fields in net.minecraft.entity with type parameters of type LightningEntityModifier and TypeFieldDescriptionstatic final EntityType<LightningEntity>
EntityType.LIGHTNING_BOLT
Methods in net.minecraft.entity with parameters of type LightningEntityModifier and TypeMethodDescriptionvoid
Entity.onStruckByLightning
(ServerWorld world, LightningEntity lightning) Called when the entity is struck by lightning.Constructor parameters in net.minecraft.entity with type arguments of type LightningEntityModifierConstructorDescriptionLightningEntity
(EntityType<? extends LightningEntity> type, World world) -
Uses of LightningEntity in net.minecraft.entity.decoration
Methods in net.minecraft.entity.decoration with parameters of type LightningEntityModifier 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
Methods in net.minecraft.entity.mob with parameters of type LightningEntityModifier and TypeMethodDescriptionvoid
CreeperEntity.onStruckByLightning
(ServerWorld world, LightningEntity lightning) Called when the entity is struck by lightning. -
Uses of LightningEntity in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive with parameters of type LightningEntityModifier 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.