net.minecraft.util.context

public class ContextMap

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

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(bat<?> arg0)
has(ContextKey<?> arg0)
method_64965(class_169<?> arg0)
contains(ContextParameter<?> parameter)
public <T> T
b(bat<T> arg0)
getOrThrow(ContextKey<T> arg0)
method_64967(class_169<T> arg0)
getOrThrow(ContextParameter<T> parameter)
public <T> T
c(bat<T> arg0)
getOptional(ContextKey<T> arg0)
method_64968(class_169<T> arg0)
getNullable(ContextParameter<T> parameter)
public <T> T
a(bat<T> arg0, T arg1)
getOrDefault(ContextKey<T> arg0, T arg1)
method_64966(class_169<T> arg0, T arg1)
getOrDefault(ContextParameter<T> parameter, T defaultValue)