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.");
@@ -245,18 +243,19 @@ static Art getByName(@NotNull String name) {
245
243
@NotNull
246
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);
250
249
returnart;
251
250
}
252
251
253
252
/**
254
253
* @return an array of all known arts.
255
-
* @deprecated use {@link Registry#iterator()}.
254
+
* @deprecated use {@link Registry#stream()}.
256
255
*/
257
256
@NotNull
258
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);
44
44
returnfluid;
45
45
}
46
46
47
47
/**
48
48
* @return an array of all known fluids.
49
-
* @deprecated use {@link Registry#iterator()}.
49
+
* @deprecated use {@link Registry#stream()}.
50
50
*/
51
51
@NotNull
52
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
Preconditions.checkArgument(attribute != null, "No attribute found with the name %s", name);
184
184
returnattribute;
185
185
}
186
186
187
187
/**
188
188
* @return an array of all known attributes.
189
-
* @deprecated use {@link Registry#iterator()}.
189
+
* @deprecated use {@link Registry#stream()}.
190
190
*/
191
191
@NotNull
192
192
@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