Class ContextMap.Builder
java.lang.Object
net.minecraft.util.context.ContextMap.Builder
- Enclosing class:
ContextMap
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(ContextKeySet paramSet) <T> @Nullable TgetOptionalParameter(ContextKey<T> param) <T> TgetParameter(ContextKey<T> param) withOptionalParameter(ContextKey<T> param, @Nullable T value) withParameter(ContextKey<T> param, T value)
-
Field Details
-
params
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withParameter
-
withOptionalParameter
-
getParameter
-
getOptionalParameter
-
create
-