Package net.minecraft.util.context
Class ContextParameterMap
java.lang.Object
net.minecraft.util.context.ContextParameterMap
- Mappings:
Namespace Name named net/minecraft/util/context/ContextParameterMap
intermediary net/minecraft/class_10352
official bbp
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(ContextParameter<?> parameter) <T> T
getNullable
(ContextParameter<T> parameter) <T> T
getOrDefault
(ContextParameter<T> parameter, T defaultValue) <T> T
getOrThrow
(ContextParameter<T> parameter)
-
Field Details
-
map
- Mappings:
Namespace Name Mixin selector named map
Lnet/minecraft/util/context/ContextParameterMap;map:Ljava/util/Map;
intermediary field_54893
Lnet/minecraft/class_10352;field_54893:Ljava/util/Map;
official a
Lbbp;a:Ljava/util/Map;
-
-
Constructor Details
-
ContextParameterMap
ContextParameterMap(Map<ContextParameter<?>, Object> map) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/context/ContextParameterMap;<init>(Ljava/util/Map;)V
intermediary <init>
Lnet/minecraft/class_10352;<init>(Ljava/util/Map;)V
official <init>
Lbbp;<init>(Ljava/util/Map;)V
-
-
Method Details
-
contains
- Mappings:
Namespace Name Mixin selector named contains
Lnet/minecraft/util/context/ContextParameterMap;contains(Lnet/minecraft/util/context/ContextParameter;)Z
intermediary method_64965
Lnet/minecraft/class_10352;method_64965(Lnet/minecraft/class_169;)Z
official a
Lbbp;a(Lbbn;)Z
-
getOrThrow
- Mappings:
Namespace Name Mixin selector named getOrThrow
Lnet/minecraft/util/context/ContextParameterMap;getOrThrow(Lnet/minecraft/util/context/ContextParameter;)Ljava/lang/Object;
intermediary method_64967
Lnet/minecraft/class_10352;method_64967(Lnet/minecraft/class_169;)Ljava/lang/Object;
official b
Lbbp;b(Lbbn;)Ljava/lang/Object;
-
getNullable
- Mappings:
Namespace Name Mixin selector named getNullable
Lnet/minecraft/util/context/ContextParameterMap;getNullable(Lnet/minecraft/util/context/ContextParameter;)Ljava/lang/Object;
intermediary method_64968
Lnet/minecraft/class_10352;method_64968(Lnet/minecraft/class_169;)Ljava/lang/Object;
official c
Lbbp;c(Lbbn;)Ljava/lang/Object;
-
getOrDefault
@Contract("_,!null->!null; _,_->_") @Nullable public <T> T getOrDefault(ContextParameter<T> parameter, @Nullable T defaultValue) - Mappings:
Namespace Name Mixin selector named getOrDefault
Lnet/minecraft/util/context/ContextParameterMap;getOrDefault(Lnet/minecraft/util/context/ContextParameter;Ljava/lang/Object;)Ljava/lang/Object;
intermediary method_64966
Lnet/minecraft/class_10352;method_64966(Lnet/minecraft/class_169;Ljava/lang/Object;)Ljava/lang/Object;
official a
Lbbp;a(Lbbn;Ljava/lang/Object;)Ljava/lang/Object;
-