diff --git a/src/main/java/org/spongepowered/api/block/entity/CommandBlock.java b/src/main/java/org/spongepowered/api/block/entity/CommandBlock.java index 1d3c9bbac8..a948f40beb 100644 --- a/src/main/java/org/spongepowered/api/block/entity/CommandBlock.java +++ b/src/main/java/org/spongepowered/api/block/entity/CommandBlock.java @@ -24,6 +24,7 @@ */ package org.spongepowered.api.block.entity; +import net.kyori.adventure.audience.Audience; import net.kyori.adventure.text.Component; import org.spongepowered.api.data.Keys; import org.spongepowered.api.data.value.Value; @@ -36,7 +37,7 @@ /** * Represents a Command Block. */ -public interface CommandBlock extends BlockEntity, Subject, LocaleSource, Nameable { +public interface CommandBlock extends BlockEntity, Subject, LocaleSource, Nameable, Audience { /** * Executes the currently stored command. diff --git a/src/main/java/org/spongepowered/api/entity/vehicle/minecart/CommandBlockMinecart.java b/src/main/java/org/spongepowered/api/entity/vehicle/minecart/CommandBlockMinecart.java index a1e2082ec0..141c136a3c 100644 --- a/src/main/java/org/spongepowered/api/entity/vehicle/minecart/CommandBlockMinecart.java +++ b/src/main/java/org/spongepowered/api/entity/vehicle/minecart/CommandBlockMinecart.java @@ -24,6 +24,7 @@ */ package org.spongepowered.api.entity.vehicle.minecart; +import net.kyori.adventure.audience.Audience; import net.kyori.adventure.text.Component; import org.spongepowered.api.block.entity.CommandBlock; import org.spongepowered.api.data.Keys; @@ -36,7 +37,7 @@ /** * Represents a {@link Minecart} with a {@link CommandBlock} inside it. */ -public interface CommandBlockMinecart extends BlockOccupiedMinecart, LocaleSource, Subject { +public interface CommandBlockMinecart extends BlockOccupiedMinecart, LocaleSource, Subject, Audience { /** * Gets the currently stored command.