From 7a52f59cd21f3ef64f96438ecf70f9ee62977996 Mon Sep 17 00:00:00 2001 From: ImMorpheus Date: Sun, 8 May 2022 21:36:45 +0200 Subject: [PATCH] fix javadoc warnings --- src/main/java/org/spongepowered/api/entity/Entity.java | 3 +++ .../java/org/spongepowered/api/event/EventContextKeys.java | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/src/main/java/org/spongepowered/api/entity/Entity.java b/src/main/java/org/spongepowered/api/entity/Entity.java index 218e4b155..3a6d54941 100644 --- a/src/main/java/org/spongepowered/api/entity/Entity.java +++ b/src/main/java/org/spongepowered/api/entity/Entity.java @@ -623,6 +623,7 @@ public interface Entity extends Identifiable, HoverEventSource vanish() { return this.requireValue(Keys.VANISH).asMutable(); } @@ -633,6 +634,7 @@ public interface Entity extends Identifiable, HoverEventSource vanishIgnoresCollision() { return this.requireValue(Keys.VANISH_IGNORES_COLLISION).asMutable(); } @@ -643,6 +645,7 @@ public interface Entity extends Identifiable, HoverEventSource vanishPreventsTargeting() { return this.requireValue(Keys.VANISH_PREVENTS_TARGETING).asMutable(); } diff --git a/src/main/java/org/spongepowered/api/event/EventContextKeys.java b/src/main/java/org/spongepowered/api/event/EventContextKeys.java index 390295781..20ec07e69 100644 --- a/src/main/java/org/spongepowered/api/event/EventContextKeys.java +++ b/src/main/java/org/spongepowered/api/event/EventContextKeys.java @@ -168,24 +168,28 @@ public final class EventContextKeys { * Used when leaves decay. * @deprecated Use {@link BlockTransaction#operation()} instead. */ + @Deprecated public static final EventContextKey LEAVES_DECAY = EventContextKeys.key(ResourceKey.sponge("leaves_decay"), ServerWorld.class); /** * Used when flowing liquid causing another block to break. * @deprecated Use {@link BlockTransaction#operation()} instead. */ + @Deprecated public static final EventContextKey LIQUID_BREAK = EventContextKeys.key(ResourceKey.sponge("liquid_break"), ServerWorld.class); /** * Used when flowing liquid moves to another location. * @deprecated Use {@link BlockTransaction#operation()} instead. */ + @Deprecated public static final EventContextKey LIQUID_FLOW = EventContextKeys.key(ResourceKey.sponge("liquid_flow"), ServerWorld.class); /** * Used when liquid changes state. * @deprecated Use {@link BlockTransaction#operation()} instead. */ + @Deprecated public static final EventContextKey LIQUID_MIX = EventContextKeys.key(ResourceKey.sponge("liquid_mix"), ServerWorld.class); /**