/* * Decompiled with CFR 0.152. */ package net.minecraft.client.telemetry; import java.util.function.Consumer; import net.minecraft.client.telemetry.TelemetryEventType; import net.minecraft.client.telemetry.TelemetryPropertyMap; @FunctionalInterface public interface TelemetryEventSender { public static final TelemetryEventSender DISABLED = (type, buildFunction) -> {}; default public TelemetryEventSender decorate(Consumer decorator) { return (type, buildFunction) -> this.send(type, properties -> { buildFunction.accept(properties); decorator.accept((TelemetryPropertyMap.Builder)properties); }); } public void send(TelemetryEventType var1, Consumer var2); }