net.minecraft.util.context

public class ContextMap

bak
net.minecraft.util.context.ContextMap
net.minecraft.class_10352
net.minecraft.util.context.ContextParameterMap
net.minecraft.util.context.ContextMap

Field summary

Modifier and TypeField
private final Map<ContextKey<?>, Object>
a
params
field_54893
map

Constructor summary

ModifierConstructor
(Map<ContextKey<?>, Object> map)

Method summary

Modifier and TypeMethod
public boolean
a(bai<?> arg0)
has(ContextKey<?> arg0)
method_64965(class_169<?> arg0)
contains(ContextParameter<?> parameter)
public <T> T
b(bai<T> arg0)
getOrThrow(ContextKey<T> arg0)
method_64967(class_169<T> arg0)
getOrThrow(ContextParameter<T> parameter)
public <T> T
c(bai<T> arg0)
getOptional(ContextKey<T> arg0)
method_64968(class_169<T> arg0)
getNullable(ContextParameter<T> parameter)
public <T> T
a(bai<T> arg0, T arg1)
getOrDefault(ContextKey<T> arg0, T arg1)
method_64966(class_169<T> arg0, T arg1)
getOrDefault(ContextParameter<T> parameter, T defaultValue)