import { Block, Dimension, Direction, Player } from "@minecraft/server";
import { weatherControlView } from "../../../views/blocks/weatherControlView";

/**
 * Evento onPlayerInteract del componente weatherControlComponent
 * Addon: Electrical Creativity BP
 * @param {{face: Direction, faceLocation: {}, player: Player, block: Block, dimension: Dimension}} event
 */
export const weatherControlOnPlayerInteractEvent = ({face, faceLocation, player, block, dimension}) => {
    weatherControlView(player, block, dimension)
}