Uses of Interface
net.minecraft.util.RegistryContextSwapper
Packages that use RegistryContextSwapper
-
Uses of RegistryContextSwapper in net.minecraft.client.renderer.item
Fields in net.minecraft.client.renderer.item declared as RegistryContextSwapperModifier and TypeFieldDescriptionprivate final RegistryContextSwapperItemModel.BakingContext.contextSwapperThe field for thecontextSwapperrecord component.private final RegistryContextSwapperClientItem.registrySwapperThe field for theregistrySwapperrecord component.Methods in net.minecraft.client.renderer.item that return RegistryContextSwapperModifier and TypeMethodDescriptionItemModel.BakingContext.contextSwapper()Returns the value of thecontextSwapperrecord component.ClientItem.registrySwapper()Returns the value of theregistrySwapperrecord component.Methods in net.minecraft.client.renderer.item with parameters of type RegistryContextSwapperModifier and TypeMethodDescriptionprivate ItemModelPropertyTestConditionalItemModel.Unbaked.adaptProperty(ConditionalItemModelProperty pProperty, RegistryContextSwapper pContextSwapper) private SelectItemModel.ModelSelector<T> SelectItemModel.UnbakedSwitch.createModelGetter(it.unimi.dsi.fastutil.objects.Object2ObjectMap<T, ItemModel> pModels, RegistryContextSwapper pContextSwapper) private static <T extends ConditionalItemModelProperty>
TConditionalItemModel.Unbaked.swapContext(T pProperty, RegistryContextSwapper pContextSwapper, ClientLevel pLevel) ClientItem.withRegistrySwapper(RegistryContextSwapper pRegistrySwapper) Constructors in net.minecraft.client.renderer.item with parameters of type RegistryContextSwapperModifierConstructorDescriptionBakingContext(ModelBaker blockModelBaker, EntityModelSet entityModelSet, ItemModel missingItemModel, RegistryContextSwapper contextSwapper) Creates an instance of aBakingContextrecord class.ClientItem(ItemModel.Unbaked model, ClientItem.Properties properties, RegistryContextSwapper registrySwapper) Creates an instance of aClientItemrecord class. -
Uses of RegistryContextSwapper in net.minecraft.util
Methods in net.minecraft.util that return RegistryContextSwapper