The BlockPrecipitationInteractionsComponent class in @minecraft/server.
Class in @minecraft/server
Extends BlockComponent
import { BlockPrecipitationInteractionsComponent } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”componentId
Section titled “componentId”static read-only
static readonly componentId = 'minecraft:precipitation_interactions';Methods
Section titled “Methods”accumulatesSnow
Section titled “accumulatesSnow”accumulatesSnow(): boolean;Returns
booleanisSnowLoggable
Section titled “isSnowLoggable”isSnowLoggable(): boolean;Returns
booleanobstructsRain
Section titled “obstructsRain”obstructsRain(): boolean;Returns
booleanInherited
Section titled “Inherited”From BlockComponent: block