yarn/mappings/net/minecraft/util/registry/MutableRegistry.mapping

24 lines
1.2 KiB
Plaintext
Raw Normal View History

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;
ARG 1 key
2019-06-28 17:55:20 -04:00
ARG 2 entry
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
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
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
COMMENT next available ID.
ARG 1 rawId
ARG 2 key
ARG 3 newEntry
2021-01-03 15:53:34 -05:00
ARG 4 lifecycle
METHOD method_35863 isEmpty ()Z