You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
finalDataComponentTypedataComponentType = requireNonNull(Registry.DATA_COMPONENT_TYPE.get(NamespacedKey.minecraft(name)), name + " unvalued data component type couldn't be found, this is a bug.");
DataComponentTypedataComponentType = requireNonNull(Registry.DATA_COMPONENT_TYPE.get(NamespacedKey.minecraft(name)), name + " valued data component type couldn't be found, this is a bug.");
@@ -243,18 +243,19 @@ static Art getByName(@NotNull String name) {
243
243
@NotNull
244
244
@Deprecated(since = "1.21.3", forRemoval = true) @org.jetbrains.annotations.ApiStatus.ScheduledForRemoval(inVersion = "1.22") // Paper - will be removed via asm-utils
Preconditions.checkArgument(art != null, "No art found with the name %s", name);
248
249
returnart;
249
250
}
250
251
251
252
/**
252
253
* @return an array of all known arts.
253
-
* @deprecated use {@link Registry#iterator()}.
254
+
* @deprecated use {@link Registry#stream()}.
254
255
*/
255
256
@NotNull
256
257
@Deprecated(since = "1.21.3", forRemoval = true) @org.jetbrains.annotations.ApiStatus.ScheduledForRemoval(inVersion = "1.22") // Paper - will be removed via asm-utils
@Deprecated(since = "1.21.3", forRemoval = true) @org.jetbrains.annotations.ApiStatus.ScheduledForRemoval(inVersion = "1.22") // Paper - will be removed via asm-utils
Preconditions.checkArgument(fluid != null, "No fluid found with the name %s", name);
42
44
returnfluid;
43
45
}
44
46
45
47
/**
46
48
* @return an array of all known fluids.
47
-
* @deprecated use {@link Registry#iterator()}.
49
+
* @deprecated use {@link Registry#stream()}.
48
50
*/
49
51
@NotNull
50
52
@Deprecated(since = "1.21.3", forRemoval = true) @org.jetbrains.annotations.ApiStatus.ScheduledForRemoval(inVersion = "1.22") // Paper - will be removed via asm-utils
@Deprecated(since = "1.21.3", forRemoval = true) @org.jetbrains.annotations.ApiStatus.ScheduledForRemoval(inVersion = "1.22") // Paper - will be removed via asm-utils
@Deprecated(since = "1.21.3", forRemoval = true) @org.jetbrains.annotations.ApiStatus.ScheduledForRemoval(inVersion = "1.22") // Paper - will be removed via asm-utils
0 commit comments