fix javadoc warnings
This commit is contained in:
1 parent
44f1788068
commit
7a52f59cd2
2 files changed
+7
No files matched your search
@@ -623,6 +623,7 @@ public interface Entity extends Identifiable, HoverEventSource<HoverEvent.ShowEn
|
||||
* @return Whether the entity is vanished
|
||||
* @deprecated Use {@link #vanishState() VanishState} instead
|
||||
*/
|
||||
@Deprecated
|
||||
default Value.Mutable<Boolean> vanish() {
|
||||
return this.requireValue(Keys.VANISH).asMutable();
|
||||
}
|
||||
@@ -633,6 +634,7 @@ public interface Entity extends Identifiable, HoverEventSource<HoverEvent.ShowEn
|
||||
* @return Whether the entity ignores collision with other entities
|
||||
* @deprecated Use {@link #vanishState()} instead
|
||||
*/
|
||||
@Deprecated
|
||||
default Value.Mutable<Boolean> vanishIgnoresCollision() {
|
||||
return this.requireValue(Keys.VANISH_IGNORES_COLLISION).asMutable();
|
||||
}
|
||||
@@ -643,6 +645,7 @@ public interface Entity extends Identifiable, HoverEventSource<HoverEvent.ShowEn
|
||||
* @return Whether the entity can be targeted for attack by another entity
|
||||
* @deprecated Use {@link #vanishState()} instead
|
||||
*/
|
||||
@Deprecated
|
||||
default Value.Mutable<Boolean> vanishPreventsTargeting() {
|
||||
return this.requireValue(Keys.VANISH_PREVENTS_TARGETING).asMutable();
|
||||
}
|
||||
|
||||
@@ -168,24 +168,28 @@ public final class EventContextKeys {
|
||||
* Used when leaves decay.
|
||||
* @deprecated Use {@link BlockTransaction#operation()} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public static final EventContextKey<ServerWorld> 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<ServerWorld> 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<ServerWorld> 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<ServerWorld> LIQUID_MIX = EventContextKeys.key(ResourceKey.sponge("liquid_mix"), ServerWorld.class);
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user