Skip to content

Commit 7a52f59

Browse files
committed
fix javadoc warnings
1 parent 44f1788 commit 7a52f59

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/main/java/org/spongepowered/api/entity/Entity.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,7 @@ default Value.Mutable<VanishState> vanishState() {
623623
* @return Whether the entity is vanished
624624
* @deprecated Use {@link #vanishState() VanishState} instead
625625
*/
626+
@Deprecated
626627
default Value.Mutable<Boolean> vanish() {
627628
return this.requireValue(Keys.VANISH).asMutable();
628629
}
@@ -633,6 +634,7 @@ default Value.Mutable<Boolean> vanish() {
633634
* @return Whether the entity ignores collision with other entities
634635
* @deprecated Use {@link #vanishState()} instead
635636
*/
637+
@Deprecated
636638
default Value.Mutable<Boolean> vanishIgnoresCollision() {
637639
return this.requireValue(Keys.VANISH_IGNORES_COLLISION).asMutable();
638640
}
@@ -643,6 +645,7 @@ default Value.Mutable<Boolean> vanishIgnoresCollision() {
643645
* @return Whether the entity can be targeted for attack by another entity
644646
* @deprecated Use {@link #vanishState()} instead
645647
*/
648+
@Deprecated
646649
default Value.Mutable<Boolean> vanishPreventsTargeting() {
647650
return this.requireValue(Keys.VANISH_PREVENTS_TARGETING).asMutable();
648651
}

src/main/java/org/spongepowered/api/event/EventContextKeys.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,24 +168,28 @@ public final class EventContextKeys {
168168
* Used when leaves decay.
169169
* @deprecated Use {@link BlockTransaction#operation()} instead.
170170
*/
171+
@Deprecated
171172
public static final EventContextKey<ServerWorld> LEAVES_DECAY = EventContextKeys.key(ResourceKey.sponge("leaves_decay"), ServerWorld.class);
172173

173174
/**
174175
* Used when flowing liquid causing another block to break.
175176
* @deprecated Use {@link BlockTransaction#operation()} instead.
176177
*/
178+
@Deprecated
177179
public static final EventContextKey<ServerWorld> LIQUID_BREAK = EventContextKeys.key(ResourceKey.sponge("liquid_break"), ServerWorld.class);
178180

179181
/**
180182
* Used when flowing liquid moves to another location.
181183
* @deprecated Use {@link BlockTransaction#operation()} instead.
182184
*/
185+
@Deprecated
183186
public static final EventContextKey<ServerWorld> LIQUID_FLOW = EventContextKeys.key(ResourceKey.sponge("liquid_flow"), ServerWorld.class);
184187

185188
/**
186189
* Used when liquid changes state.
187190
* @deprecated Use {@link BlockTransaction#operation()} instead.
188191
*/
192+
@Deprecated
189193
public static final EventContextKey<ServerWorld> LIQUID_MIX = EventContextKeys.key(ResourceKey.sponge("liquid_mix"), ServerWorld.class);
190194

191195
/**

0 commit comments

Comments
 (0)