2019-06-28 17:55:20 -04:00
|
|
|
CLASS net/minecraft/class_2385 net/minecraft/util/registry/MutableRegistry
|
2020-08-05 13:08:42 -04:00
|
|
|
METHOD method_10272 add (Lnet/minecraft/class_5321;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;)Ljava/lang/Object;
|
2020-06-05 15:11:11 -04:00
|
|
|
ARG 1 key
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 2 entry
|
2020-08-30 19:37:36 -04:00
|
|
|
ARG 3 lifecycle
|
2020-08-05 13:08:42 -04:00
|
|
|
METHOD method_10273 set (ILnet/minecraft/class_5321;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;)Ljava/lang/Object;
|
2019-02-20 10:34:41 -05:00
|
|
|
ARG 1 rawId
|
2020-06-05 15:11:11 -04:00
|
|
|
ARG 2 key
|
2019-02-20 10:34:41 -05:00
|
|
|
ARG 3 entry
|
2021-01-03 15:53:34 -05:00
|
|
|
ARG 4 lifecycle
|
2020-08-14 16:30:05 -04:00
|
|
|
METHOD method_31062 replace (Ljava/util/OptionalInt;Lnet/minecraft/class_5321;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;)Ljava/lang/Object;
|
|
|
|
COMMENT If the given key is already present in the registry, replaces the entry associated with the given
|
|
|
|
COMMENT key with the new entry. This method asserts that the raw ID is equal to the value already in
|
|
|
|
COMMENT the registry. The raw ID not being present may lead to buggy behavior.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>If the given key is not already present in the registry, adds the entry to the registry. If
|
|
|
|
COMMENT {@code rawId} is present, then this method gives the entry this raw ID. Otherwise, uses the
|
2021-04-11 08:08:07 -04:00
|
|
|
COMMENT next available ID.
|
2020-08-14 16:30:05 -04:00
|
|
|
ARG 1 rawId
|
|
|
|
ARG 2 key
|
|
|
|
ARG 3 newEntry
|
2021-01-03 15:53:34 -05:00
|
|
|
ARG 4 lifecycle
|
2021-05-18 11:38:15 -04:00
|
|
|
METHOD method_35863 isEmpty ()Z
|