File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
src/main/java/org/spongepowered/api Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -623,6 +623,7 @@ default Value.Mutable<VanishState> vanishState() {
623
623
* @return Whether the entity is vanished
624
624
* @deprecated Use {@link #vanishState() VanishState} instead
625
625
*/
626
+ @ Deprecated
626
627
default Value .Mutable <Boolean > vanish () {
627
628
return this .requireValue (Keys .VANISH ).asMutable ();
628
629
}
@@ -633,6 +634,7 @@ default Value.Mutable<Boolean> vanish() {
633
634
* @return Whether the entity ignores collision with other entities
634
635
* @deprecated Use {@link #vanishState()} instead
635
636
*/
637
+ @ Deprecated
636
638
default Value .Mutable <Boolean > vanishIgnoresCollision () {
637
639
return this .requireValue (Keys .VANISH_IGNORES_COLLISION ).asMutable ();
638
640
}
@@ -643,6 +645,7 @@ default Value.Mutable<Boolean> vanishIgnoresCollision() {
643
645
* @return Whether the entity can be targeted for attack by another entity
644
646
* @deprecated Use {@link #vanishState()} instead
645
647
*/
648
+ @ Deprecated
646
649
default Value .Mutable <Boolean > vanishPreventsTargeting () {
647
650
return this .requireValue (Keys .VANISH_PREVENTS_TARGETING ).asMutable ();
648
651
}
Original file line number Diff line number Diff line change @@ -168,24 +168,28 @@ public final class EventContextKeys {
168
168
* Used when leaves decay.
169
169
* @deprecated Use {@link BlockTransaction#operation()} instead.
170
170
*/
171
+ @ Deprecated
171
172
public static final EventContextKey <ServerWorld > LEAVES_DECAY = EventContextKeys .key (ResourceKey .sponge ("leaves_decay" ), ServerWorld .class );
172
173
173
174
/**
174
175
* Used when flowing liquid causing another block to break.
175
176
* @deprecated Use {@link BlockTransaction#operation()} instead.
176
177
*/
178
+ @ Deprecated
177
179
public static final EventContextKey <ServerWorld > LIQUID_BREAK = EventContextKeys .key (ResourceKey .sponge ("liquid_break" ), ServerWorld .class );
178
180
179
181
/**
180
182
* Used when flowing liquid moves to another location.
181
183
* @deprecated Use {@link BlockTransaction#operation()} instead.
182
184
*/
185
+ @ Deprecated
183
186
public static final EventContextKey <ServerWorld > LIQUID_FLOW = EventContextKeys .key (ResourceKey .sponge ("liquid_flow" ), ServerWorld .class );
184
187
185
188
/**
186
189
* Used when liquid changes state.
187
190
* @deprecated Use {@link BlockTransaction#operation()} instead.
188
191
*/
192
+ @ Deprecated
189
193
public static final EventContextKey <ServerWorld > LIQUID_MIX = EventContextKeys .key (ResourceKey .sponge ("liquid_mix" ), ServerWorld .class );
190
194
191
195
/**
You can’t perform that action at this time.
0 commit comments