Skip to content

Commit bf776f3

Browse files
committed
chore: mark creaking entity type as experimental
1.21.3 removed the transient entity type entirely.
1 parent f424559 commit bf776f3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
*/
2525
package org.spongepowered.api.entity;
2626

27+
import org.jetbrains.annotations.ApiStatus;
2728
import org.spongepowered.api.ResourceKey;
2829
import org.spongepowered.api.Sponge;
2930
import org.spongepowered.api.entity.display.BlockDisplay;
@@ -158,6 +159,7 @@
158159
import org.spongepowered.api.registry.RegistryScope;
159160
import org.spongepowered.api.registry.RegistryScopes;
160161
import org.spongepowered.api.registry.RegistryTypes;
162+
import org.spongepowered.api.util.annotation.Experimental;
161163

162164
/**
163165
* <!-- This file is automatically generated. Any manual changes will be overwritten. -->
@@ -224,8 +226,15 @@ public final class EntityTypes {
224226

225227
public static final DefaultedRegistryReference<EntityType<Cow>> COW = EntityTypes.key(ResourceKey.minecraft("cow"));
226228

229+
@Experimental("winter_drop")
230+
@ApiStatus.Experimental
227231
public static final DefaultedRegistryReference<EntityType<Creaking>> CREAKING = EntityTypes.key(ResourceKey.minecraft("creaking"));
228232

233+
/**
234+
* @deprecated Use {@link #CREAKING} and add a {@link org.spongepowered.api.data.Keys#HOME_POSITION} value to the entity.
235+
*/
236+
@Experimental("winter_drop")
237+
@Deprecated(forRemoval = true, since = "13")
229238
public static final DefaultedRegistryReference<EntityType<Creaking>> CREAKING_TRANSIENT = EntityTypes.key(ResourceKey.minecraft("creaking_transient"));
230239

231240
public static final DefaultedRegistryReference<EntityType<Creeper>> CREEPER = EntityTypes.key(ResourceKey.minecraft("creeper"));

0 commit comments

Comments
 (0)