Uses of Record Class
net.minecraft.client.resources.model.ModelResourceLocation
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
Extension interfaces for
client
-only classes.-
Uses of ModelResourceLocation in net.minecraft.client.renderer
Modifier and TypeFieldDescriptionfinal it.unimi.dsi.fastutil.ints.Int2ObjectMap
<ModelResourceLocation> ItemModelShaper.shapes
Modifier and TypeMethodDescriptionvoid
ItemModelShaper.register
(Item p_109397_, ModelResourceLocation p_109398_) -
Uses of ModelResourceLocation in net.minecraft.client.renderer.block
Modifier and TypeMethodDescriptionstatic ModelResourceLocation
BlockModelShaper.stateToModelLocation
(ResourceLocation p_110890_, BlockState p_110891_) static ModelResourceLocation
BlockModelShaper.stateToModelLocation
(BlockState p_110896_) -
Uses of ModelResourceLocation in net.minecraft.client.renderer.entity
Modifier and TypeFieldDescriptionprivate static final ModelResourceLocation
ItemFrameRenderer.FRAME_LOCATION
private static final ModelResourceLocation
ItemFrameRenderer.GLOW_FRAME_LOCATION
private static final ModelResourceLocation
ItemFrameRenderer.GLOW_MAP_FRAME_LOCATION
private static final ModelResourceLocation
ItemFrameRenderer.MAP_FRAME_LOCATION
static final ModelResourceLocation
ItemRenderer.SPYGLASS_IN_HAND_MODEL
private static final ModelResourceLocation
ItemRenderer.SPYGLASS_MODEL
static final ModelResourceLocation
ItemRenderer.TRIDENT_IN_HAND_MODEL
private static final ModelResourceLocation
ItemRenderer.TRIDENT_MODEL
Modifier and TypeMethodDescriptionprivate ModelResourceLocation
ItemFrameRenderer.getFrameModelResourceLoc
(T p_174213_, ItemStack p_174214_) -
Uses of ModelResourceLocation in net.minecraft.client.resources.model
Modifier and TypeFieldDescriptionstatic final ModelResourceLocation
ModelBakery.MISSING_MODEL_VARIANT
Modifier and TypeFieldDescriptionprivate Map
<ModelResourceLocation, BakedModel> ModelManager.bakedRegistry
private final Map
<ModelResourceLocation, BakedModel> ModelBakery.bakedTopLevelModels
private final BiConsumer
<ModelResourceLocation, UnbakedModel> BlockStateModelLoader.discoveredModelOutput
private final Map
<ModelResourceLocation, UnbakedModel> ModelBakery.topLevelModels
Modifier and TypeMethodDescriptionstatic ModelResourceLocation
ModelResourceLocation.inventory
(ResourceLocation p_352141_) static ModelResourceLocation
ModelResourceLocation.standalone
(ResourceLocation id) Construct aModelResourceLocation
for use in theModelEvent.RegisterAdditional
to load a model at the given path directly instead of going through blockstates or item model auto-prefixing.static ModelResourceLocation
Modifier and TypeMethodDescriptionModelBakery.TextureGetter.get
(ModelResourceLocation p_352455_, Material p_352128_) ModelManager.getModel
(ModelResourceLocation p_119423_) ModelBakery.ModelBakerImpl.getTopLevelModel
(ModelResourceLocation location) private void
ModelBakery.loadSpecialItemModelAndDependencies
(ModelResourceLocation p_352247_) private void
ModelBakery.registerModel
(ModelResourceLocation p_352067_, UnbakedModel p_352146_) private void
ModelBakery.registerModelAndLoadDependencies
(ModelResourceLocation p_352435_, UnbakedModel p_352250_) ModifierConstructorDescription(package private)
ModelBakerImpl
(ModelBakery.TextureGetter p_352124_, ModelResourceLocation p_352126_) ModifierConstructorDescriptionBlockStateModelLoader
(Map<ResourceLocation, List<BlockStateModelLoader.LoadedJson>> p_352185_, ProfilerFiller p_352252_, UnbakedModel p_352193_, BlockColors p_352120_, BiConsumer<ModelResourceLocation, UnbakedModel> p_352414_) -
Uses of ModelResourceLocation in net.neoforged.neoforge.client
Modifier and TypeMethodDescriptionstatic void
ClientHooks.onModelBake
(ModelManager modelManager, Map<ModelResourceLocation, BakedModel> models, ModelBakery modelBakery) static void
ClientHooks.onModifyBakingResult
(Map<ModelResourceLocation, BakedModel> models, Map<ResourceLocation, AtlasSet.StitchResult> stitchResults, ModelBakery modelBakery) static void
ClientHooks.onRegisterAdditionalModels
(Set<ModelResourceLocation> additionalModels) -
Uses of ModelResourceLocation in net.neoforged.neoforge.client.event
Modifier and TypeFieldDescriptionprivate final Map
<ModelResourceLocation, BakedModel> ModelEvent.BakingCompleted.models
private final Map
<ModelResourceLocation, BakedModel> ModelEvent.ModifyBakingResult.models
private final Set
<ModelResourceLocation> ModelEvent.RegisterAdditional.models
Modifier and TypeMethodDescriptionModelEvent.BakingCompleted.getModels()
ModelEvent.ModifyBakingResult.getModels()
Modifier and TypeMethodDescriptionvoid
ModelEvent.RegisterAdditional.register
(ModelResourceLocation model) Registers a model to be loaded, along with its dependencies.ModifierConstructorDescriptionBakingCompleted
(ModelManager modelManager, Map<ModelResourceLocation, BakedModel> models, ModelBakery modelBakery) ModifyBakingResult
(Map<ModelResourceLocation, BakedModel> models, Function<Material, TextureAtlasSprite> textureGetter, ModelBakery modelBakery) RegisterAdditional
(Set<ModelResourceLocation> models) -
Uses of ModelResourceLocation in net.neoforged.neoforge.client.extensions
Modifier and TypeMethodDescription@Nullable UnbakedModel
IModelBakerExtension.getTopLevelModel
(ModelResourceLocation location) -
Uses of ModelResourceLocation in net.neoforged.neoforge.client.model
Modifier and TypeFieldDescriptionprivate final Map
<Item, ModelResourceLocation> RegistryAwareItemModelShaper.locations
Modifier and TypeMethodDescriptionvoid
RegistryAwareItemModelShaper.register
(Item item, ModelResourceLocation location) -
Uses of ModelResourceLocation in net.neoforged.neoforge.client.model.renderable
Modifier and TypeMethodDescriptionstatic BakedModelRenderable
BakedModelRenderable.of
(ModelResourceLocation model) Constructs aBakedModelRenderable
from the given model location. -
Uses of ModelResourceLocation in net.neoforged.neoforge.oldtest.client.rendering
Modifier and TypeFieldDescriptionprivate static ModelResourceLocation
RenderableTest.Client.MODEL_LOC