Uses of Class
net.minecraft.resources.ResourceLocation
Packages that use ResourceLocation
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.Classes for NeoForge's own data generation.
-
Uses of ResourceLocation in com.mojang.blaze3d.opengl
Fields in com.mojang.blaze3d.opengl declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
GlDevice.ShaderCompilationKey.id
The field for theid
record component.private final ResourceLocation
GlShaderModule.id
Fields in com.mojang.blaze3d.opengl with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final BiFunction
<ResourceLocation, ShaderType, String> GlDevice.defaultShaderSource
Methods in com.mojang.blaze3d.opengl that return ResourceLocationModifier and TypeMethodDescriptionGlShaderModule.getId()
GlDevice.ShaderCompilationKey.id()
Returns the value of theid
record component.Methods in com.mojang.blaze3d.opengl with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic GlShaderModule
GlShaderModule.compile
(ResourceLocation pId, ShaderType pType, String pSource) protected GlShaderModule
GlDevice.getOrCompileShader
(ResourceLocation pShader, ShaderType pType, ShaderDefines pDefines, BiFunction<ResourceLocation, ShaderType, String> pShaderSource) Method parameters in com.mojang.blaze3d.opengl with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate GlRenderPipeline
GlDevice.compilePipeline
(RenderPipeline pPipeline, BiFunction<ResourceLocation, ShaderType, String> pShaderSource) private GlShaderModule
GlDevice.compileShader
(GlDevice.ShaderCompilationKey pKey, BiFunction<ResourceLocation, ShaderType, String> pShaderSource) protected GlShaderModule
GlDevice.getOrCompileShader
(ResourceLocation pShader, ShaderType pType, ShaderDefines pDefines, BiFunction<ResourceLocation, ShaderType, String> pShaderSource) GlDevice.precompilePipeline
(RenderPipeline pRenderPipeline, BiFunction<ResourceLocation, ShaderType, String> pShaderSource) Constructors in com.mojang.blaze3d.opengl with parameters of type ResourceLocationModifierConstructorDescriptionGlShaderModule
(int pShaderId, ResourceLocation pId, ShaderType pType) (package private)
ShaderCompilationKey
(ResourceLocation id, ShaderType type, ShaderDefines defines) Creates an instance of aShaderCompilationKey
record class.Constructor parameters in com.mojang.blaze3d.opengl with type arguments of type ResourceLocationModifierConstructorDescriptionGlDevice
(long pWindow, int pDebugVerbosity, boolean pSynchronous, BiFunction<ResourceLocation, ShaderType, String> pDefaultShaderSource, boolean pRenderDebugLabels) -
Uses of ResourceLocation in com.mojang.blaze3d.pipeline
Fields in com.mojang.blaze3d.pipeline declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
RenderPipeline.fragmentShader
private final ResourceLocation
RenderPipeline.location
private final ResourceLocation
RenderPipeline.vertexShader
Fields in com.mojang.blaze3d.pipeline with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate Optional
<ResourceLocation> RenderPipeline.Builder.fragmentShader
private final Optional
<ResourceLocation> RenderPipeline.Snippet.fragmentShader
The field for thefragmentShader
record component.private Optional
<ResourceLocation> RenderPipeline.Builder.location
private Optional
<ResourceLocation> RenderPipeline.Builder.vertexShader
private final Optional
<ResourceLocation> RenderPipeline.Snippet.vertexShader
The field for thevertexShader
record component.Methods in com.mojang.blaze3d.pipeline that return ResourceLocationModifier and TypeMethodDescriptionRenderPipeline.getFragmentShader()
RenderPipeline.getLocation()
RenderPipeline.getVertexShader()
Methods in com.mojang.blaze3d.pipeline that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionRenderPipeline.Snippet.fragmentShader()
Returns the value of thefragmentShader
record component.RenderPipeline.Snippet.vertexShader()
Returns the value of thevertexShader
record component.Methods in com.mojang.blaze3d.pipeline with parameters of type ResourceLocationModifier and TypeMethodDescriptionRenderPipeline.Builder.withFragmentShader
(ResourceLocation pFragmentShader) RenderPipeline.Builder.withLocation
(ResourceLocation pLocation) RenderPipeline.Builder.withVertexShader
(ResourceLocation pVertexShader) Constructors in com.mojang.blaze3d.pipeline with parameters of type ResourceLocationModifierConstructorDescriptionprotected
RenderPipeline
(ResourceLocation pLocation, ResourceLocation pVertexShader, ResourceLocation pFragmentShader, ShaderDefines pShaderDefines, List<String> pSamplers, List<RenderPipeline.UniformDescription> pUniforms, Optional<BlendFunction> pBlendFunction, DepthTestFunction pDepthTestFunction, PolygonMode pPolygonMode, boolean pCull, boolean pWriteColor, boolean pWriteAlpha, boolean pWriteDepth, LogicOp pColorLogic, VertexFormat pVertexFormat, VertexFormat.Mode pVertexFormatMode, float pDepthBiasScaleFactor, float pDepthBiasConstant, int pSortKey) Constructor parameters in com.mojang.blaze3d.pipeline with type arguments of type ResourceLocationModifierConstructorDescriptionSnippet
(Optional<ResourceLocation> vertexShader, Optional<ResourceLocation> fragmentShader, Optional<ShaderDefines> shaderDefines, Optional<List<String>> samplers, Optional<List<RenderPipeline.UniformDescription>> uniforms, Optional<BlendFunction> blendFunction, Optional<DepthTestFunction> depthTestFunction, Optional<PolygonMode> polygonMode, Optional<Boolean> cull, Optional<Boolean> writeColor, Optional<Boolean> writeAlpha, Optional<Boolean> writeDepth, Optional<LogicOp> colorLogic, Optional<VertexFormat> vertexFormat, Optional<VertexFormat.Mode> vertexFormatMode) Creates an instance of aSnippet
record class. -
Uses of ResourceLocation in com.mojang.blaze3d.shaders
Methods in com.mojang.blaze3d.shaders with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic ShaderType
ShaderType.byLocation
(ResourceLocation pLocation) -
Uses of ResourceLocation in com.mojang.blaze3d.systems
Method parameters in com.mojang.blaze3d.systems with type arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic void
RenderSystem.initRenderer
(long pWindow, int pGlDebugVerbosity, boolean pSynchronous, BiFunction<ResourceLocation, ShaderType, String> pDefaultShaderSource, boolean pRenderDebugLabels) GpuDevice.precompilePipeline
(RenderPipeline pRenderPipeline, BiFunction<ResourceLocation, ShaderType, String> pShaderSource) -
Uses of ResourceLocation in com.mojang.realmsclient
Fields in com.mojang.realmsclient declared as ResourceLocationModifier and TypeFieldDescription(package private) static final ResourceLocation
RealmsMainScreen.CLOSED_SPRITE
(package private) static final ResourceLocation
RealmsMainScreen.EXPIRED_SPRITE
(package private) static final ResourceLocation
RealmsMainScreen.EXPIRES_SOON_SPRITE
static final ResourceLocation
RealmsMainScreen.HARDCORE_MODE_SPRITE
(package private) static final ResourceLocation
RealmsMainScreen.INFO_SPRITE
private static final ResourceLocation
RealmsMainScreen.INVITE_SPRITE
(package private) static final ResourceLocation
RealmsMainScreen.NEW_REALM_SPRITE
private static final ResourceLocation
RealmsMainScreen.NEWS_SPRITE
private static final ResourceLocation
RealmsMainScreen.NO_REALMS_LOCATION
private static final ResourceLocation[]
RealmsMainScreen.NotificationButton.NOTIFICATION_ICONS
(package private) static final ResourceLocation
RealmsMainScreen.OPEN_SPRITE
Methods in com.mojang.realmsclient with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate void
RealmsMainScreen.Entry.drawRealmStatus
(GuiGraphics pGuiGraphics, int pX, int pY, int pMouseX, int pMouseY, ResourceLocation pSpriteLocation, Supplier<Component> pTooltipSupplier) Constructors in com.mojang.realmsclient with parameters of type ResourceLocationModifierConstructorDescriptionNotificationButton
(Component pMessage, ResourceLocation pSprite, Button.OnPress pOnPress) -
Uses of ResourceLocation in com.mojang.realmsclient.dto
Fields in com.mojang.realmsclient.dto declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
ServiceQuality.icon
private final ResourceLocation
RealmsNotification.InfoPopup.image
Methods in com.mojang.realmsclient.dto that return ResourceLocationConstructors in com.mojang.realmsclient.dto with parameters of type ResourceLocationModifierConstructorDescriptionprivate
InfoPopup
(RealmsNotification pNotification, RealmsText pTitle, RealmsText pMessage, ResourceLocation pImage, RealmsNotification.UrlButton pUrlButton) -
Uses of ResourceLocation in com.mojang.realmsclient.gui
Fields in com.mojang.realmsclient.gui declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
RealmsWorldSlotButton.DEFAULT_WORLD_SLOT_1
static final ResourceLocation
RealmsWorldSlotButton.DEFAULT_WORLD_SLOT_2
static final ResourceLocation
RealmsWorldSlotButton.DEFAULT_WORLD_SLOT_3
static final ResourceLocation
RealmsWorldSlotButton.EMPTY_SLOT_LOCATION
private static final ResourceLocation
RealmsWorldSlotButton.SLOT_FRAME_SPRITE
-
Uses of ResourceLocation in com.mojang.realmsclient.gui.screens
Fields in com.mojang.realmsclient.gui.screens declared as ResourceLocationModifier and TypeFieldDescription(package private) static final ResourceLocation
RealmsPendingInvitesScreen.ACCEPT_HIGHLIGHTED_SPRITE
(package private) static final ResourceLocation
RealmsPendingInvitesScreen.ACCEPT_SPRITE
private static final ResourceLocation
RealmsResetWorldScreen.ADVENTURE_MAP_LOCATION
private static final ResourceLocation
AddRealmPopupScreen.BACKGROUND_SPRITE
private static final ResourceLocation
RealmsResetWorldScreen.EXPERIENCE_LOCATION
private final ResourceLocation
RealmsResetWorldScreen.FrameButton.image
private static final ResourceLocation
RealmsResetWorldScreen.INSPIRATION_LOCATION
private static final ResourceLocation
RealmsNotificationsScreen.INVITE_SPRITE
private static final ResourceLocation
RealmsResetWorldScreen.NEW_WORLD_LOCATION
private static final ResourceLocation
RealmsNotificationsScreen.NEWS_SPRITE
(package private) static final ResourceLocation
RealmsPendingInvitesScreen.REJECT_HIGHLIGHTED_SPRITE
(package private) static final ResourceLocation
RealmsPendingInvitesScreen.REJECT_SPRITE
private static final ResourceLocation
RealmsBrokenWorldScreen.SLOT_FRAME_SPRITE
private static final ResourceLocation
RealmsResetWorldScreen.FrameButton.SLOT_FRAME_SPRITE
(package private) static final ResourceLocation
RealmsSelectWorldTemplateScreen.SLOT_FRAME_SPRITE
private static final ResourceLocation
RealmsResetWorldScreen.SURVIVAL_SPAWN_LOCATION
private static final ResourceLocation
AddRealmPopupScreen.TRIAL_AVAILABLE_SPRITE
private static final ResourceLocation
RealmsNotificationsScreen.TRIAL_AVAILABLE_SPRITE
private static final ResourceLocation
RealmsNotificationsScreen.UNSEEN_NOTIFICATION_SPRITE
private static final ResourceLocation
RealmsResetWorldScreen.UPLOAD_LOCATION
Fields in com.mojang.realmsclient.gui.screens with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static List
<ResourceLocation> AddRealmPopupScreen.carouselImages
Constructors in com.mojang.realmsclient.gui.screens with parameters of type ResourceLocationModifierConstructorDescription(package private)
FrameButton
(Font pFont, Component pMessage, ResourceLocation pImage, Button.OnPress pOnPress) -
Uses of ResourceLocation in com.mojang.realmsclient.gui.screens.configuration
Fields in com.mojang.realmsclient.gui.screens.configuration declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
RealmsPlayersTab.Entry.MAKE_OP_SPRITE
private static final ResourceLocation
RealmsPlayersTab.Entry.REMOVE_OP_SPRITE
private static final ResourceLocation
RealmsPlayersTab.Entry.REMOVE_PLAYER_SPRITE
Methods in com.mojang.realmsclient.gui.screens.configuration that return ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceLocation
RealmsSettingsTab.getServiceQualityIcon
(RealmsSettingsTab.RegionSelection pRegionSelection, Map<RealmsRegion, ServiceQuality> pQualities) -
Uses of ResourceLocation in com.mojang.realmsclient.util
Fields in com.mojang.realmsclient.util declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
RealmsTextureManager.TEMPLATE_ICON_LOCATION
private final ResourceLocation
RealmsTextureManager.RealmsTexture.textureId
The field for thetextureId
record component.Methods in com.mojang.realmsclient.util that return ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceLocation
RealmsTextureManager.getTexture
(String pKey, String pImage) RealmsTextureManager.RealmsTexture.textureId()
Returns the value of thetextureId
record component.static ResourceLocation
RealmsTextureManager.worldTemplate
(String pKey, String pImage) Constructors in com.mojang.realmsclient.util with parameters of type ResourceLocationModifierConstructorDescriptionRealmsTexture
(String image, ResourceLocation textureId) Creates an instance of aRealmsTexture
record class. -
Uses of ResourceLocation in net.minecraft
Methods in net.minecraft with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic String
Util.makeDescriptionId
(String pType, ResourceLocation pId) -
Uses of ResourceLocation in net.minecraft.advancements
Fields in net.minecraft.advancements declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
AdvancementHolder.id
The field for theid
record component.Fields in net.minecraft.advancements with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate Optional
<ResourceLocation> AdvancementRewards.Builder.function
private final Map
<ResourceLocation, AdvancementNode> AdvancementTree.nodes
private Optional
<ResourceLocation> Advancement.Builder.parent
private final Optional
<ResourceLocation> Advancement.parent
The field for theparent
record component.Methods in net.minecraft.advancements that return ResourceLocationModifier and TypeMethodDescriptionAdvancementHolder.id()
Returns the value of theid
record component.Methods in net.minecraft.advancements that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionAdvancement.parent()
Returns the value of theparent
record component.Methods in net.minecraft.advancements with parameters of type ResourceLocationModifier and TypeMethodDescriptionAdvancement.Builder.build
(ResourceLocation pId) Advancement.Builder.display
(ItemStack pIcon, Component pTitle, Component pDescription, ResourceLocation pBackground, AdvancementType pType, boolean pShowToast, boolean pAnnounceChat, boolean pHidden) Advancement.Builder.display
(ItemLike pIcon, Component pTitle, Component pDescription, ResourceLocation pBackground, AdvancementType pType, boolean pShowToast, boolean pAnnounceChat, boolean pHidden) static AdvancementRewards.Builder
AdvancementRewards.Builder.function
(ResourceLocation pFunctionId) AdvancementTree.get
(ResourceLocation pId) Advancement.Builder.parent
(ResourceLocation pParentId) Deprecated, for removal: This API element is subject to removal in a future version.AdvancementRewards.Builder.runs
(ResourceLocation pFunctionId) Method parameters in net.minecraft.advancements with type arguments of type ResourceLocationModifier and TypeMethodDescriptionvoid
AdvancementTree.remove
(Set<ResourceLocation> pAdvancements) Constructors in net.minecraft.advancements with parameters of type ResourceLocationModifierConstructorDescriptionAdvancementHolder
(ResourceLocation id, Advancement value) Creates an instance of aAdvancementHolder
record class.Constructor parameters in net.minecraft.advancements with type arguments of type ResourceLocationModifierConstructorDescriptionAdvancement
(Optional<ResourceLocation> p_300893_, Optional<DisplayInfo> p_301147_, AdvancementRewards p_286389_, Map<String, Criterion<?>> p_286635_, AdvancementRequirements p_301002_, boolean p_286478_) Advancement
(Optional<ResourceLocation> parent, Optional<DisplayInfo> display, AdvancementRewards rewards, Map<String, Criterion<?>> criteria, AdvancementRequirements requirements, boolean sendsTelemetryEvent, Optional<Component> name) Creates an instance of aAdvancement
record class. -
Uses of ResourceLocation in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, PlayerPredicate.AdvancementPredicate> PlayerPredicate.advancements
The field for theadvancements
record component.private final Map
<ResourceLocation, PlayerPredicate.AdvancementPredicate> PlayerPredicate.Builder.advancements
Methods in net.minecraft.advancements.critereon that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionPlayerPredicate.advancements()
Returns the value of theadvancements
record component.Methods in net.minecraft.advancements.critereon with parameters of type ResourceLocationModifier and TypeMethodDescriptionPlayerPredicate.Builder.checkAdvancementCriterions
(ResourceLocation pAdvancement, Map<String, Boolean> pCriterions) PlayerPredicate.Builder.checkAdvancementDone
(ResourceLocation pAdvancement, boolean pDone) Constructor parameters in net.minecraft.advancements.critereon with type arguments of type ResourceLocationModifierConstructorDescriptionPlayerPredicate
(MinMaxBounds.Ints level, GameTypePredicate gameType, List<PlayerPredicate.StatMatcher<?>> stats, it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceKey<Recipe<?>>> recipes, Map<ResourceLocation, PlayerPredicate.AdvancementPredicate> advancements, Optional<EntityPredicate> lookingAt, Optional<InputPredicate> input) Creates an instance of aPlayerPredicate
record class. -
Uses of ResourceLocation in net.minecraft.client
Fields in net.minecraft.client declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
Minecraft.ALT_FONT
static final ResourceLocation
Minecraft.DEFAULT_FONT
private final ResourceLocation
PeriodicNotificationManager.notifications
private static final ResourceLocation
Minecraft.REGIONAL_COMPLIANCIES
final ResourceLocation
GuiMessageTag.Icon.sprite
static final ResourceLocation
Minecraft.UNIFORM_FONT
Methods in net.minecraft.client that return types with arguments of type ResourceLocationMethods in net.minecraft.client with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate void
KeyboardHandler.copyCreateEntityCommand
(ResourceLocation pEntityId, Vec3 pPos, CompoundTag pCompound) Minecraft.getTextureAtlas
(ResourceLocation pLocation) Constructors in net.minecraft.client with parameters of type ResourceLocationModifierConstructorDescriptionprivate
Icon
(ResourceLocation pSprite, int pWidth, int pHeight) PeriodicNotificationManager
(ResourceLocation p_205293_, it.unimi.dsi.fastutil.objects.Object2BooleanFunction<String> p_205294_) -
Uses of ResourceLocation in net.minecraft.client.color.item
Fields in net.minecraft.client.color.item with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final ExtraCodecs.LateBoundIdMapper
<ResourceLocation, com.mojang.serialization.MapCodec<? extends ItemTintSource>> ItemTintSources.ID_MAPPER
-
Uses of ResourceLocation in net.minecraft.client.data
Fields in net.minecraft.client.data declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
AtlasProvider.TRIM_PALETTE_KEY
Fields in net.minecraft.client.data with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Map
<String, ResourceLocation> AtlasProvider.TRIM_PALETTE_VALUES
Methods in net.minecraft.client.data that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static List
<ResourceLocation> AtlasProvider.patternTextures()
Methods in net.minecraft.client.data with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate CompletableFuture
<?> AtlasProvider.storeAtlas
(CachedOutput pOutput, ResourceLocation pAtlasId, List<SpriteSource> pSources) -
Uses of ResourceLocation in net.minecraft.client.data.models
Fields in net.minecraft.client.data.models declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
ItemModelGenerators.TRIM_PREFIX_BOOTS
static final ResourceLocation
ItemModelGenerators.TRIM_PREFIX_CHESTPLATE
static final ResourceLocation
ItemModelGenerators.TRIM_PREFIX_HELMET
static final ResourceLocation
ItemModelGenerators.TRIM_PREFIX_LEGGINGS
Fields in net.minecraft.client.data.models with type parameters of type ResourceLocationModifier and TypeFieldDescriptionstatic final Map
<BlockModelGenerators.BookSlotModelCacheKey, ResourceLocation> BlockModelGenerators.CHISELED_BOOKSHELF_SLOT_MODEL_CACHE
BlockModelGenerators.modelOutput
ItemModelGenerators.modelOutput
private final Map
<ModelTemplate, ResourceLocation> BlockModelGenerators.BlockFamilyProvider.models
private final Map
<ResourceLocation, ModelInstance> ModelProvider.SimpleModelCollector.models
Methods in net.minecraft.client.data.models that return ResourceLocationModifier and TypeMethodDescriptionBlockModelGenerators.createCreakingHeartModel
(TexturedModel.Provider pModelProvider, Block pBlock, String pSuffix) BlockModelGenerators.createFlatItemModel
(Item pItem) ItemModelGenerators.createFlatItemModel
(Item pItem, String pSuffix, ModelTemplate pModelTemplate) ItemModelGenerators.createFlatItemModel
(Item pItem, ModelTemplate pModelTemplate) ItemModelGenerators.createFlatItemModel
(Item pItem, Item pLayerZeroItem, ModelTemplate pModelTemplate) BlockModelGenerators.createFlatItemModelWithBlockTexture
(Item pItem, Block pBlock) BlockModelGenerators.createFlatItemModelWithBlockTexture
(Item pItem, Block pBlock, String pSuffix) BlockModelGenerators.createFlatItemModelWithBlockTextureAndOverlay
(Item pItem, Block pBlock, String pSuffix) BlockModelGenerators.PlantType.createItemModel
(BlockModelGenerators pGenerator, Block pBlock) BlockModelGenerators.createSuffixedVariant
(Block pBlock, String pSuffix, ModelTemplate pModelTemplate, Function<ResourceLocation, TextureMapping> pTextureMappingGetter) ItemModelGenerators.generateBundleCoverModel
(Item pBundleItem, ModelTemplate pModelTemplate, String pSuffix) ItemModelGenerators.generateLayeredItem
(ResourceLocation pModelLocation, ResourceLocation pLayer0, ResourceLocation pLayer1) ItemModelGenerators.generateLayeredItem
(Item pItem, ResourceLocation pLayer0, ResourceLocation pLayer1) BlockModelGenerators.BlockFamilyProvider.getOrCreateModel
(ModelTemplate pModelTemplate, Block pBlock) static ResourceLocation
ItemModelGenerators.prefixForSlotTrim
(String pName) Methods in net.minecraft.client.data.models with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoid
ModelProvider.SimpleModelCollector.accept
(ResourceLocation pLocation, ModelInstance pModel) void
ItemModelGenerators.addPotionTint
(Item pPotionItem, ResourceLocation pModel) void
BlockModelGenerators.createAirLikeBlock
(Block pAirLikeBlock, ResourceLocation pParticleTexture) void
BlockModelGenerators.createChest
(Block pChestBlock, Block pParticleBlock, ResourceLocation pTexture, boolean pUseGiftTexture) void
BlockModelGenerators.createHead
(Block pHeadBlock, Block pWallHeadBlock, SkullBlock.Type pType, ResourceLocation pModelLocation) ItemModelGenerators.generateLayeredItem
(ResourceLocation pModelLocation, ResourceLocation pLayer0, ResourceLocation pLayer1) void
ItemModelGenerators.generateLayeredItem
(ResourceLocation pModelLocation, ResourceLocation pLayer0, ResourceLocation pLayer1, ResourceLocation pLayer2) ItemModelGenerators.generateLayeredItem
(Item pItem, ResourceLocation pLayer0, ResourceLocation pLayer1) void
ItemModelGenerators.generateTrimmableItem
(Item pItem, ResourceKey<EquipmentAsset> pEquipmentAsset, ResourceLocation pModelId, boolean pUsesSecondLayer) static Variant
BlockModelGenerators.plainModel
(ResourceLocation pModelLocation) static MultiVariant
BlockModelGenerators.plainVariant
(ResourceLocation pId) void
BlockModelGenerators.registerSimpleItemModel
(Item pItem, ResourceLocation pModel) void
BlockModelGenerators.registerSimpleItemModel
(Block pBlock, ResourceLocation pModel) void
BlockModelGenerators.registerSimpleTintedItemModel
(Block pBlock, ResourceLocation pModel, ItemTintSource pTintSource) Method parameters in net.minecraft.client.data.models with type arguments of type ResourceLocationModifier and TypeMethodDescriptionBlockModelGenerators.BlockStateGeneratorSupplier.create
(Block pBlock, Variant pVariant, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, ModelInstance> pOutput) BlockModelGenerators.createMirroredColumnGenerator
(Block p_388746_, Variant p_404763_, TextureMapping p_388473_, BiConsumer<ResourceLocation, ModelInstance> p_388658_) BlockModelGenerators.createMirroredCubeGenerator
(Block p_386814_, Variant p_405366_, TextureMapping p_388177_, BiConsumer<ResourceLocation, ModelInstance> p_387825_) BlockModelGenerators.createNorthWestMirroredCubeGenerator
(Block p_387597_, Variant p_405212_, TextureMapping p_387083_, BiConsumer<ResourceLocation, ModelInstance> p_388766_) BlockModelGenerators.createPillarBlockUVLocked
(Block pBlock, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, ModelInstance> pModelOutput) BlockModelGenerators.createSuffixedVariant
(Block pBlock, String pSuffix, ModelTemplate pModelTemplate, Function<ResourceLocation, TextureMapping> pTextureMappingGetter) Constructor parameters in net.minecraft.client.data.models with type arguments of type ResourceLocationModifierConstructorDescriptionBlockModelGenerators
(Consumer<BlockModelDefinitionGenerator> pBlockStateOutput, ItemModelOutput pItemModelOutput, BiConsumer<ResourceLocation, ModelInstance> pModelOutput) ItemModelGenerators
(ItemModelOutput pItemModelOutput, BiConsumer<ResourceLocation, ModelInstance> pModelOutput) -
Uses of ResourceLocation in net.minecraft.client.data.models.model
Fields in net.minecraft.client.data.models.model declared as ResourceLocationFields in net.minecraft.client.data.models.model with type parameters of type ResourceLocationModifier and TypeFieldDescriptionfinal Optional
<ResourceLocation> ModelTemplate.model
private final Map
<TextureSlot, ResourceLocation> TextureMapping.slots
Methods in net.minecraft.client.data.models.model that return ResourceLocationModifier and TypeMethodDescriptionModelTemplate.create
(ResourceLocation pModelLocation, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, ModelInstance> pOutput) ModelTemplate.create
(Item pItem, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, ModelInstance> pOutput) ModelTemplate.create
(Block pBlock, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, ModelInstance> pOutput) TexturedModel.create
(Block pBlock, BiConsumer<ResourceLocation, ModelInstance> pOutput) default ResourceLocation
TexturedModel.Provider.create
(Block pBlock, BiConsumer<ResourceLocation, ModelInstance> pOutput) ModelTemplate.createWithOverride
(Block pBlock, String pSuffix, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, ModelInstance> pOutput) ModelTemplate.createWithSuffix
(Block pBlock, String pSuffix, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, ModelInstance> pOutput) TexturedModel.createWithSuffix
(Block pBlock, String pSuffix, BiConsumer<ResourceLocation, ModelInstance> pOutput) default ResourceLocation
TexturedModel.Provider.createWithSuffix
(Block pBlock, String pSuffix, BiConsumer<ResourceLocation, ModelInstance> pOutput) static ResourceLocation
ModelLocationUtils.decorateBlockModelLocation
(String pName) Deprecated.static ResourceLocation
ModelLocationUtils.decorateItemModelLocation
(String pName) TextureMapping.get
(TextureSlot pSlot) static ResourceLocation
TextureMapping.getBlockTexture
(Block pBlock) static ResourceLocation
TextureMapping.getBlockTexture
(Block pBlock, String pSuffix) ModelTemplate.getDefaultModelLocation
(Block pBlock) static ResourceLocation
TextureMapping.getItemTexture
(Item pItem) static ResourceLocation
TextureMapping.getItemTexture
(Item pItem, String pSuffix) static ResourceLocation
ModelLocationUtils.getModelLocation
(Item pItem) static ResourceLocation
ModelLocationUtils.getModelLocation
(Item pItem, String pSuffix) static ResourceLocation
ModelLocationUtils.getModelLocation
(Block pBlock) static ResourceLocation
ModelLocationUtils.getModelLocation
(Block pBlock, String pSuffix) Methods in net.minecraft.client.data.models.model that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate Map
<TextureSlot, ResourceLocation> ModelTemplate.createMap
(TextureMapping pTextureMapping) Methods in net.minecraft.client.data.models.model with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic TextureMapping
TextureMapping.cauldron
(ResourceLocation pTexture) static TextureMapping
TextureMapping.column
(ResourceLocation pSide, ResourceLocation pEnd) TextureMapping.copyAndUpdate
(TextureSlot pSlot, ResourceLocation pTexture) ModelTemplate.create
(ResourceLocation pModelLocation, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, ModelInstance> pOutput) static TexturedModel
TexturedModel.createAllSame
(ResourceLocation pLocation) com.google.gson.JsonObject
ModelTemplate.createBaseTemplate
(ResourceLocation p_388380_, Map<TextureSlot, ResourceLocation> map) static TextureMapping
TextureMapping.crop
(ResourceLocation pBlock) static TextureMapping
TextureMapping.cross
(ResourceLocation pTexture) static TextureMapping
TextureMapping.cube
(ResourceLocation pTexture) static TextureMapping
TextureMapping.defaultTexture
(ResourceLocation pTexture) static TextureMapping
TextureMapping.door
(ResourceLocation pTop, ResourceLocation pBottom) static TextureMapping
TextureMapping.layer0
(ResourceLocation pTexture) static TextureMapping
TextureMapping.layered
(ResourceLocation pLayer0, ResourceLocation pLayer1) static TextureMapping
TextureMapping.layered
(ResourceLocation pLayer0, ResourceLocation pLayer1, ResourceLocation pLayer2) static TextureMapping
TextureMapping.particle
(ResourceLocation pTexture) static ItemModel.Unbaked
ItemModelUtils.plainModel
(ResourceLocation pModel) static TextureMapping
TextureMapping.plant
(ResourceLocation pTexture) TextureMapping.put
(TextureSlot pSlot, ResourceLocation pTexture) TextureMapping.putForced
(TextureSlot pSlot, ResourceLocation pTexture) static TextureMapping
TextureMapping.rail
(ResourceLocation pTexture) static TextureMapping
TextureMapping.singleSlot
(TextureSlot pSlot, ResourceLocation pTexture) static ItemModel.Unbaked
ItemModelUtils.specialModel
(ResourceLocation pBase, SpecialModelRenderer.Unbaked pSpecialModel) static ItemModel.Unbaked
ItemModelUtils.tintedModel
(ResourceLocation pModel, ItemTintSource... pTintSources) static TextureMapping
TextureMapping.torch
(ResourceLocation pTexture) static TextureMapping
TextureMapping.wool
(ResourceLocation pTexture) Method parameters in net.minecraft.client.data.models.model with type arguments of type ResourceLocationModifier and TypeMethodDescriptionModelTemplate.create
(ResourceLocation pModelLocation, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, ModelInstance> pOutput) ModelTemplate.create
(Item pItem, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, ModelInstance> pOutput) ModelTemplate.create
(Block pBlock, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, ModelInstance> pOutput) TexturedModel.create
(Block pBlock, BiConsumer<ResourceLocation, ModelInstance> pOutput) default ResourceLocation
TexturedModel.Provider.create
(Block pBlock, BiConsumer<ResourceLocation, ModelInstance> pOutput) com.google.gson.JsonObject
ModelTemplate.createBaseTemplate
(ResourceLocation p_388380_, Map<TextureSlot, ResourceLocation> map) ModelTemplate.createWithOverride
(Block pBlock, String pSuffix, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, ModelInstance> pOutput) ModelTemplate.createWithSuffix
(Block pBlock, String pSuffix, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, ModelInstance> pOutput) TexturedModel.createWithSuffix
(Block pBlock, String pSuffix, BiConsumer<ResourceLocation, ModelInstance> pOutput) default ResourceLocation
TexturedModel.Provider.createWithSuffix
(Block pBlock, String pSuffix, BiConsumer<ResourceLocation, ModelInstance> pOutput) Constructors in net.minecraft.client.data.models.model with parameters of type ResourceLocationConstructor parameters in net.minecraft.client.data.models.model with type arguments of type ResourceLocationModifierConstructorDescriptionModelTemplate
(Optional<ResourceLocation> pModel, Optional<String> pSuffix, TextureSlot... pRequiredSlots) -
Uses of ResourceLocation in net.minecraft.client.gui
Fields in net.minecraft.client.gui declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
Gui.AIR_EMPTY_SPRITE
private static final ResourceLocation
private static final ResourceLocation
Gui.AIR_SPRITE
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
Gui.CROSSHAIR_SPRITE
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
Gui.FOOD_FULL_SPRITE
private static final ResourceLocation
private static final ResourceLocation
Gui.FOOD_HALF_SPRITE
private final ResourceLocation
Gui.HeartType.full
private final ResourceLocation
Gui.HeartType.fullBlinking
private final ResourceLocation
Gui.HeartType.half
private final ResourceLocation
Gui.HeartType.halfBlinking
private final ResourceLocation
Gui.HeartType.hardcoreFull
private final ResourceLocation
Gui.HeartType.hardcoreFullBlinking
private final ResourceLocation
Gui.HeartType.hardcoreHalf
private final ResourceLocation
Gui.HeartType.hardcoreHalfBlinking
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
Gui.HOTBAR_SPRITE
static final ResourceLocation
Gui.NAUSEA_LOCATION
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
Fields in net.minecraft.client.gui with type parameters of type ResourceLocationMethods in net.minecraft.client.gui that return ResourceLocationModifier and TypeMethodDescriptionstatic ResourceLocation
Gui.getMobEffectSprite
(Holder<MobEffect> pEffect) Gui.HeartType.getSprite
(boolean pHardcore, boolean pHalfHeart, boolean pBlinking) Methods in net.minecraft.client.gui with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoid
GuiGraphics.blit
(RenderPipeline pPipeline, ResourceLocation pAtlas, int pX, int pY, float pU, float pV, int pWidth, int pHeight, int pTextureWidth, int pTextureHeight) void
GuiGraphics.blit
(RenderPipeline pPipeline, ResourceLocation pAtlas, int pX, int pY, float pU, float pV, int pWidth, int pHeight, int pTextureWidth, int pTextureHeight, int pColor) void
GuiGraphics.blit
(RenderPipeline pPipeline, ResourceLocation pAtlas, int pX, int pY, float pU, float pV, int pWidth, int pHeight, int pUWidth, int pVHeight, int pTextureWidth, int pTextureHeight) void
GuiGraphics.blit
(RenderPipeline pPipeline, ResourceLocation pAtlas, int pX, int pY, float pU, float pV, int pWidth, int pHeight, int pUWidth, int pVHeight, int pTextureWidth, int pTextureHeight, int pColor) void
GuiGraphics.blit
(ResourceLocation pAtlas, int pX0, int pY0, int pX1, int pY1, float pU0, float pU1, float pV0, float pV1) void
GuiGraphics.blitSprite
(RenderPipeline pPipeline, ResourceLocation pSprite, int pX, int pY, int pWidth, int pHeight) void
GuiGraphics.blitSprite
(RenderPipeline pPipeline, ResourceLocation pSprite, int pX, int pY, int pWidth, int pHeight, float pFade) void
GuiGraphics.blitSprite
(RenderPipeline pPipeline, ResourceLocation pSprite, int pX, int pY, int pWidth, int pHeight, int pColor) void
GuiGraphics.blitSprite
(RenderPipeline pPipeline, ResourceLocation pSprite, int pTextureWidth, int pTextureHeight, int pU, int pV, int pX, int pY, int pWidth, int pHeight) void
GuiGraphics.blitSprite
(RenderPipeline pPipeline, ResourceLocation pSprite, int pTextureWidth, int pTextureHeight, int pU, int pV, int pX, int pY, int pWidth, int pHeight, int pColor) (package private) FontSet
Font.getFontSet
(ResourceLocation pFontLocation) GuiSpriteManager.getSprite
(ResourceLocation pLocation) Gets a sprite associated with the passed resource location.private void
GuiGraphics.innerBlit
(RenderPipeline pPipeline, ResourceLocation pAtlas, int pX0, int pX1, int pY0, int pY1, float pU0, float pU1, float pV0, float pV1, int pColor) private void
Gui.renderTextureOverlay
(GuiGraphics pGuiGraphics, ResourceLocation pShaderLocation, float pAlpha) Renders a texture overlay on the screen with the specified shader location and alpha value.void
GuiGraphics.renderTooltip
(Font pFont, List<ClientTooltipComponent> pComponents, int pX, int pY, ClientTooltipPositioner pPositioner, ResourceLocation pBackground) void
GuiGraphics.renderTooltip
(Font pFont, List<ClientTooltipComponent> pComponents, int pX, int pY, ClientTooltipPositioner pPositioner, ResourceLocation pBackground, ItemStack tooltipStack) void
GuiGraphics.setComponentTooltipForNextFrame
(Font pFont, List<? extends FormattedText> pLines, int pX, int pY, ItemStack stack, ResourceLocation backgroundTexture) void
GuiGraphics.setComponentTooltipForNextFrame
(Font pFont, List<Component> pLines, int pX, int pY, ResourceLocation pBackground) void
GuiGraphics.setComponentTooltipFromElementsForNextFrame
(Font font, List<com.mojang.datafixers.util.Either<FormattedText, TooltipComponent>> elements, int mouseX, int mouseY, ItemStack stack, ResourceLocation backgroundTexture) void
GuiGraphics.setTooltipForNextFrame
(Font pFont, List<? extends FormattedCharSequence> pLines, int pX, int pY, ResourceLocation pBackground) void
GuiGraphics.setTooltipForNextFrame
(Font pFont, List<Component> pLines, Optional<TooltipComponent> pTooltipImage, int pX, int pY, ResourceLocation pBackground) void
GuiGraphics.setTooltipForNextFrame
(Font font, List<Component> textComponents, Optional<TooltipComponent> tooltipComponent, ItemStack stack, int mouseX, int mouseY, ResourceLocation backgroundTexture) void
GuiGraphics.setTooltipForNextFrame
(Font pFont, Component pText, int pX, int pY, ResourceLocation pBackground) private void
GuiGraphics.setTooltipForNextFrameInternal
(Font pFont, List<ClientTooltipComponent> pComponents, int pX, int pY, ClientTooltipPositioner pPositioner, ResourceLocation pBackground, boolean pFocused) void
GuiGraphics.submitBookModelRenderState
(BookModel pBookModel, ResourceLocation pTexture, float pScale, float pOpen, float pFlip, int pX0, int pY0, int pX1, int pY1) void
GuiGraphics.submitSkinRenderState
(PlayerModel pPlayerModel, ResourceLocation pTexture, float pScale, float pRotationX, float pRotationY, float pPivotY, int pX0, int pY0, int pX1, int pY1) Constructors in net.minecraft.client.gui with parameters of type ResourceLocationModifierConstructorDescriptionprivate
HeartType
(ResourceLocation pFull, ResourceLocation pFullBlinking, ResourceLocation pHalf, ResourceLocation pHalfBlinking, ResourceLocation pHardcoreFull, ResourceLocation pHardcoreBlinking, ResourceLocation pHardcoreHalf, ResourceLocation pHardcoreHalfBlinking) Constructor parameters in net.minecraft.client.gui with type arguments of type ResourceLocationModifierConstructorDescriptionFont
(Function<ResourceLocation, FontSet> pFonts, boolean pFilterFishyGlyphs) -
Uses of ResourceLocation in net.minecraft.client.gui.components
Fields in net.minecraft.client.gui.components declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
PopupScreen.BACKGROUND_SPRITE
private static final ResourceLocation[]
BossHealthOverlay.BAR_BACKGROUND_SPRITES
private static final ResourceLocation[]
BossHealthOverlay.BAR_PROGRESS_SPRITES
private static final ResourceLocation
Checkbox.CHECKBOX_HIGHLIGHTED_SPRITE
private static final ResourceLocation
Checkbox.CHECKBOX_SELECTED_HIGHLIGHTED_SPRITE
private static final ResourceLocation
Checkbox.CHECKBOX_SELECTED_SPRITE
private static final ResourceLocation
Checkbox.CHECKBOX_SPRITE
private final ResourceLocation
WidgetSprites.disabled
The field for thedisabled
record component.private final ResourceLocation
WidgetSprites.disabledFocused
The field for thedisabledFocused
record component.static final ResourceLocation
LogoRenderer.EASTER_EGG_LOGO
private final ResourceLocation
WidgetSprites.enabled
The field for theenabled
record component.private final ResourceLocation
WidgetSprites.enabledFocused
The field for theenabledFocused
record component.private static final ResourceLocation
PlayerTabOverlay.HEART_ABSORBING_FULL_BLINKING_SPRITE
private static final ResourceLocation
PlayerTabOverlay.HEART_ABSORBING_HALF_BLINKING_SPRITE
private static final ResourceLocation
PlayerTabOverlay.HEART_CONTAINER_BLINKING_SPRITE
private static final ResourceLocation
PlayerTabOverlay.HEART_CONTAINER_SPRITE
private static final ResourceLocation
PlayerTabOverlay.HEART_FULL_BLINKING_SPRITE
private static final ResourceLocation
PlayerTabOverlay.HEART_FULL_SPRITE
private static final ResourceLocation
PlayerTabOverlay.HEART_HALF_BLINKING_SPRITE
private static final ResourceLocation
PlayerTabOverlay.HEART_HALF_SPRITE
private static final ResourceLocation
AbstractSliderButton.HIGHLIGHTED_SPRITE
private ResourceLocation
PopupScreen.Builder.image
private final ResourceLocation
PopupScreen.image
private static final ResourceLocation
AbstractSelectionList.INWORLD_MENU_LIST_BACKGROUND
private static final ResourceLocation
AbstractSelectionList.MENU_LIST_BACKGROUND
static final ResourceLocation
LogoRenderer.MINECRAFT_EDITION
static final ResourceLocation
LogoRenderer.MINECRAFT_LOGO
private static final ResourceLocation[]
BossHealthOverlay.OVERLAY_BACKGROUND_SPRITES
private static final ResourceLocation[]
BossHealthOverlay.OVERLAY_PROGRESS_SPRITES
private static final ResourceLocation
PlayerTabOverlay.PING_1_SPRITE
private static final ResourceLocation
PlayerTabOverlay.PING_2_SPRITE
private static final ResourceLocation
PlayerTabOverlay.PING_3_SPRITE
private static final ResourceLocation
PlayerTabOverlay.PING_4_SPRITE
private static final ResourceLocation
PlayerTabOverlay.PING_5_SPRITE
private static final ResourceLocation
PlayerTabOverlay.PING_UNKNOWN_SPRITE
private static final ResourceLocation
AbstractScrollArea.SCROLLER_BACKGROUND_SPRITE
private static final ResourceLocation
AbstractScrollArea.SCROLLER_SPRITE
private static final ResourceLocation
AbstractSliderButton.SLIDER_HANDLE_HIGHLIGHTED_SPRITE
private static final ResourceLocation
AbstractSliderButton.SLIDER_HANDLE_SPRITE
private static final ResourceLocation
AbstractSliderButton.SLIDER_SPRITE
private ResourceLocation
ImageWidget.Sprite.sprite
(package private) final ResourceLocation
LockIconButton.Icon.sprite
private ResourceLocation
SpriteIconButton.Builder.sprite
protected final ResourceLocation
SpriteIconButton.sprite
private ResourceLocation
ImageWidget.Texture.texture
Methods in net.minecraft.client.gui.components that return ResourceLocationModifier and TypeMethodDescriptionWidgetSprites.disabled()
Returns the value of thedisabled
record component.WidgetSprites.disabledFocused()
Returns the value of thedisabledFocused
record component.WidgetSprites.enabled()
Returns the value of theenabled
record component.WidgetSprites.enabledFocused()
Returns the value of theenabledFocused
record component.WidgetSprites.get
(boolean pEnabled, boolean pFocused) protected ResourceLocation
AbstractSliderButton.getHandleSprite()
protected ResourceLocation
AbstractSliderButton.getSprite()
Methods in net.minecraft.client.gui.components with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic void
PlayerFaceRenderer.draw
(GuiGraphics pGuiGraphics, ResourceLocation pSkinTexture, int pX, int pY, int pSize, boolean pDrawHat, boolean pUpsideDown, int pColor) private void
BossHealthOverlay.drawBar
(GuiGraphics pGuiGraphics, int pX, int pY, BossEvent pBossEvent, int pProgress, ResourceLocation[] pBarProgressSprites, ResourceLocation[] pOverlayProgressSprites) private static void
PlayerFaceRenderer.drawHat
(GuiGraphics pGuiGraphics, ResourceLocation pSkinTexture, int pX, int pY, int pSize, boolean pUpsideDown, int pColor) PopupScreen.Builder.setImage
(ResourceLocation pImage) static ImageWidget
ImageWidget.sprite
(int pWidth, int pHeight, ResourceLocation pSprite) SpriteIconButton.Builder.sprite
(ResourceLocation pSprite, int pSpriteWidth, int pSpriteHeight) static ImageWidget
ImageWidget.texture
(int pWidth, int pHeight, ResourceLocation pTexture, int pTextureWidth, int pTextureHeight) void
ImageWidget.Sprite.updateResource
(ResourceLocation pResource) void
ImageWidget.Texture.updateResource
(ResourceLocation pResource) abstract void
ImageWidget.updateResource
(ResourceLocation pResource) Constructors in net.minecraft.client.gui.components with parameters of type ResourceLocationModifierConstructorDescriptionprotected
CenteredIcon
(int p_295914_, int p_294852_, Component p_295609_, int p_294922_, int p_296462_, ResourceLocation p_295554_, Button.OnPress p_294427_, Button.CreateNarration p_330653_) private
Icon
(ResourceLocation pSprite) (package private)
PopupScreen
(Screen pBackgroundScreen, int pWidth, ResourceLocation pImage, Component pTitle, Component pMessage, List<PopupScreen.ButtonOption> pButtons, Runnable pOnClose) Sprite
(int pX, int pY, int pWidth, int pHeight, ResourceLocation pSprite) (package private)
SpriteIconButton
(int pWidth, int pHeight, Component pMessage, int pSpriteWidth, int pSpriteHeight, ResourceLocation pSprite, Button.OnPress pOnPress, Button.CreateNarration pCreateNarration) protected
TextAndIcon
(int p_296442_, int p_294340_, Component p_296265_, int p_294900_, int p_295900_, ResourceLocation p_296097_, Button.OnPress p_295566_, Button.CreateNarration p_330735_) Texture
(int pX, int pY, int pWidth, int pHeight, ResourceLocation pTexture, int pTextureWidth, int pTextureHeight) WidgetSprites
(ResourceLocation p_295225_, ResourceLocation p_294772_) WidgetSprites
(ResourceLocation p_296152_, ResourceLocation p_296020_, ResourceLocation p_296073_) WidgetSprites
(ResourceLocation enabled, ResourceLocation disabled, ResourceLocation enabledFocused, ResourceLocation disabledFocused) Creates an instance of aWidgetSprites
record class. -
Uses of ResourceLocation in net.minecraft.client.gui.components.spectator
Fields in net.minecraft.client.gui.components.spectator declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
SpectatorGui.HOTBAR_SELECTION_SPRITE
private static final ResourceLocation
SpectatorGui.HOTBAR_SPRITE
-
Uses of ResourceLocation in net.minecraft.client.gui.components.toasts
Fields in net.minecraft.client.gui.components.toasts declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
AdvancementToast.BACKGROUND_SPRITE
private static final ResourceLocation
RecipeToast.BACKGROUND_SPRITE
private static final ResourceLocation
SystemToast.BACKGROUND_SPRITE
private static final ResourceLocation
TutorialToast.BACKGROUND_SPRITE
private static final ResourceLocation
NowPlayingToast.MUSIC_NOTES_SPRITE
private static final ResourceLocation
NowPlayingToast.NOW_PLAYING_BACKGROUND_SPRITE
private final ResourceLocation
TutorialToast.Icons.sprite
Constructors in net.minecraft.client.gui.components.toasts with parameters of type ResourceLocation -
Uses of ResourceLocation in net.minecraft.client.gui.contextualbar
Fields in net.minecraft.client.gui.contextualbar declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
ExperienceBarRenderer.EXPERIENCE_BAR_BACKGROUND_SPRITE
private static final ResourceLocation
ExperienceBarRenderer.EXPERIENCE_BAR_PROGRESS_SPRITE
private static final ResourceLocation
JumpableVehicleBarRenderer.JUMP_BAR_BACKGROUND_SPRITE
private static final ResourceLocation
JumpableVehicleBarRenderer.JUMP_BAR_COOLDOWN_SPRITE
private static final ResourceLocation
JumpableVehicleBarRenderer.JUMP_BAR_PROGRESS_SPRITE
private static final ResourceLocation
LocatorBarRenderer.LOCATOR_BAR_ARROW_DOWN
private static final ResourceLocation
LocatorBarRenderer.LOCATOR_BAR_ARROW_UP
private static final ResourceLocation
LocatorBarRenderer.LOCATOR_BAR_BACKGROUND
-
Uses of ResourceLocation in net.minecraft.client.gui.font
Fields in net.minecraft.client.gui.font declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
FontManager.BuilderId.fontId
The field for thefontId
record component.private final ResourceLocation
FontManager.UnresolvedBuilderBundle.fontId
The field for thefontId
record component.static final ResourceLocation
FontManager.MISSING_FONT
private final ResourceLocation
FontSet.name
Fields in net.minecraft.client.gui.font with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Set
<ResourceLocation> FontManager.UnresolvedBuilderBundle.dependencies
The field for thedependencies
record component.private final Map
<ResourceLocation, FontSet> FontManager.fontSets
private final Map
<ResourceLocation, List<GlyphProvider.Conditional>> FontManager.Preparation.fontSets
The field for thefontSets
record component.private final com.mojang.datafixers.util.Either
<CompletableFuture<Optional<GlyphProvider>>, ResourceLocation> FontManager.BuilderResult.result
The field for theresult
record component.Methods in net.minecraft.client.gui.font that return ResourceLocationModifier and TypeMethodDescriptionFontManager.BuilderId.fontId()
Returns the value of thefontId
record component.FontManager.UnresolvedBuilderBundle.fontId()
Returns the value of thefontId
record component.FontSet.name()
Methods in net.minecraft.client.gui.font that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionFontManager.UnresolvedBuilderBundle.dependencies()
Returns the value of thedependencies
record component.FontManager.Preparation.fontSets()
Returns the value of thefontSets
record component.private Map
<ResourceLocation, List<GlyphProvider.Conditional>> FontManager.resolveProviders
(List<FontManager.UnresolvedBuilderBundle> pUnresolvedBuilderBundles) com.mojang.datafixers.util.Either
<CompletableFuture<Optional<GlyphProvider>>, ResourceLocation> FontManager.BuilderResult.result()
Returns the value of theresult
record component.Methods in net.minecraft.client.gui.font with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic GlyphRenderTypes
GlyphRenderTypes.createForColorTexture
(ResourceLocation pId) static GlyphRenderTypes
GlyphRenderTypes.createForIntensityTexture
(ResourceLocation pId) void
FontTexture.dumpContents
(ResourceLocation pResourceLocation, Path pPath) private FontSet
FontManager.getFontSetCached
(ResourceLocation p_326503_) private FontSet
FontManager.getFontSetRaw
(ResourceLocation pFontSet) private static List
<com.mojang.datafixers.util.Pair<FontManager.BuilderId, GlyphProviderDefinition.Conditional>> FontManager.loadResourceStack
(List<Resource> pResources, ResourceLocation pFontId) Method parameters in net.minecraft.client.gui.font with type arguments of type ResourceLocationModifier and TypeMethodDescriptionFontManager.BuilderResult.resolve
(Function<ResourceLocation, List<GlyphProvider.Conditional>> pProviderResolver) FontManager.UnresolvedBuilderBundle.resolve
(Function<ResourceLocation, List<GlyphProvider.Conditional>> pProviderResolver) void
FontManager.UnresolvedBuilderBundle.visitOptionalDependencies
(Consumer<ResourceLocation> pVisitor) void
FontManager.UnresolvedBuilderBundle.visitRequiredDependencies
(Consumer<ResourceLocation> pVisitor) Constructors in net.minecraft.client.gui.font with parameters of type ResourceLocationModifierConstructorDescription(package private)
BuilderId
(ResourceLocation fontId, String pack, int index) Creates an instance of aBuilderId
record class.FontSet
(TextureManager pTextureManager, ResourceLocation pName) UnresolvedBuilderBundle
(ResourceLocation p_284984_) (package private)
UnresolvedBuilderBundle
(ResourceLocation fontId, List<FontManager.BuilderResult> builders, Set<ResourceLocation> dependencies) Creates an instance of aUnresolvedBuilderBundle
record class.Constructor parameters in net.minecraft.client.gui.font with type arguments of type ResourceLocationModifierConstructorDescription(package private)
BuilderResult
(FontManager.BuilderId id, FontOption.Filter filter, com.mojang.datafixers.util.Either<CompletableFuture<Optional<GlyphProvider>>, ResourceLocation> result) Creates an instance of aBuilderResult
record class.(package private)
Preparation
(Map<ResourceLocation, List<GlyphProvider.Conditional>> fontSets, List<GlyphProvider> allProviders) Creates an instance of aPreparation
record class.(package private)
UnresolvedBuilderBundle
(ResourceLocation fontId, List<FontManager.BuilderResult> builders, Set<ResourceLocation> dependencies) Creates an instance of aUnresolvedBuilderBundle
record class. -
Uses of ResourceLocation in net.minecraft.client.gui.font.providers
Fields in net.minecraft.client.gui.font.providers declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
BitmapProvider.Definition.file
The field for thefile
record component.private final ResourceLocation
UnihexProvider.Definition.hexFile
private final ResourceLocation
GlyphProviderDefinition.Reference.id
The field for theid
record component.private final ResourceLocation
ProviderReferenceDefinition.id
The field for theid
record component.private final ResourceLocation
TrueTypeGlyphProviderDefinition.location
The field for thelocation
record component.Methods in net.minecraft.client.gui.font.providers that return ResourceLocationModifier and TypeMethodDescriptionBitmapProvider.Definition.file()
Returns the value of thefile
record component.GlyphProviderDefinition.Reference.id()
Returns the value of theid
record component.ProviderReferenceDefinition.id()
Returns the value of theid
record component.TrueTypeGlyphProviderDefinition.location()
Returns the value of thelocation
record component.Constructors in net.minecraft.client.gui.font.providers with parameters of type ResourceLocationModifierConstructorDescriptionDefinition
(ResourceLocation file, int height, int ascent, int[][] codepointGrid) Creates an instance of aDefinition
record class.private
Definition
(ResourceLocation p_286378_, List<UnihexProvider.OverrideRange> p_286770_) Creates an instance of aProviderReferenceDefinition
record class.Creates an instance of aReference
record class.TrueTypeGlyphProviderDefinition
(ResourceLocation location, float size, float oversample, TrueTypeGlyphProviderDefinition.Shift shift, String skip) Creates an instance of aTrueTypeGlyphProviderDefinition
record class. -
Uses of ResourceLocation in net.minecraft.client.gui.render.state.pip
Fields in net.minecraft.client.gui.render.state.pip declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
GuiBookModelRenderState.texture
The field for thetexture
record component.private final ResourceLocation
GuiSkinRenderState.texture
The field for thetexture
record component.Methods in net.minecraft.client.gui.render.state.pip that return ResourceLocationModifier and TypeMethodDescriptionGuiBookModelRenderState.texture()
Returns the value of thetexture
record component.GuiSkinRenderState.texture()
Returns the value of thetexture
record component.Constructors in net.minecraft.client.gui.render.state.pip with parameters of type ResourceLocationModifierConstructorDescriptionGuiBookModelRenderState
(BookModel p_415797_, ResourceLocation p_415682_, float p_415696_, float p_415739_, int p_416486_, int p_416556_, int p_416330_, int p_416572_, float p_416303_, ScreenRectangle p_415924_) GuiBookModelRenderState
(BookModel bookModel, ResourceLocation texture, float open, float flip, int x0, int y0, int x1, int y1, float scale, ScreenRectangle scissorArea, ScreenRectangle bounds) Creates an instance of aGuiBookModelRenderState
record class.GuiSkinRenderState
(PlayerModel p_416539_, ResourceLocation p_416375_, float p_415701_, float p_415592_, float p_416289_, int p_416447_, int p_415995_, int p_416186_, int p_416598_, float p_416100_, ScreenRectangle p_416137_) GuiSkinRenderState
(PlayerModel playerModel, ResourceLocation texture, float rotationX, float rotationY, float pivotY, int x0, int y0, int x1, int y1, float scale, ScreenRectangle scissorArea, ScreenRectangle bounds) Creates an instance of aGuiSkinRenderState
record class. -
Uses of ResourceLocation in net.minecraft.client.gui.screens
Fields in net.minecraft.client.gui.screens declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
WinScreen.CREDITS_LOCATION
private static final ResourceLocation
DemoIntroScreen.DEMO_BACKGROUND_LOCATION
private static final ResourceLocation
DeathScreen.DRAFT_REPORT_SPRITE
private static final ResourceLocation
PauseScreen.DRAFT_REPORT_SPRITE
private static final ResourceLocation
WinScreen.END_POEM_LOCATION
static final ResourceLocation
Screen.FOOTER_SEPARATOR
static final ResourceLocation
Screen.HEADER_SEPARATOR
static final ResourceLocation
Screen.INWORLD_FOOTER_SEPARATOR
static final ResourceLocation
Screen.INWORLD_HEADER_SEPARATOR
private static final ResourceLocation
Screen.INWORLD_MENU_BACKGROUND
static final ResourceLocation
Screen.MENU_BACKGROUND
private static final ResourceLocation
FaviconTexture.MISSING_LOCATION
static final ResourceLocation
LoadingOverlay.MOJANG_STUDIOS_LOGO_LOCATION
private static final ResourceLocation
WinScreen.POSTCREDITS_LOCATION
(package private) static final ResourceLocation
CreateFlatWorldScreen.SLOT_SPRITE
(package private) static final ResourceLocation
PresetFlatWorldScreen.SLOT_SPRITE
private static final ResourceLocation
PresetFlatWorldScreen.PresetsList.Entry.STATS_ICON_LOCATION
private final ResourceLocation
FaviconTexture.textureLocation
private static final ResourceLocation
WinScreen.VIGNETTE_LOCATION
Methods in net.minecraft.client.gui.screens that return ResourceLocationMethods in net.minecraft.client.gui.screens with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic void
Screen.renderMenuBackgroundTexture
(GuiGraphics pGuiGraphics, ResourceLocation pTexture, int pX, int pY, float pUOffset, float pVOffset, int pWidth, int pHeight) private void
WinScreen.wrapCreditsIO
(ResourceLocation pLocation, WinScreen.CreditsReader pReader) Constructors in net.minecraft.client.gui.screens with parameters of type ResourceLocationModifierConstructorDescriptionprivate
FaviconTexture
(TextureManager pTextureManager, ResourceLocation pTextureLocation) -
Uses of ResourceLocation in net.minecraft.client.gui.screens.achievement
Fields in net.minecraft.client.gui.screens.achievement declared as ResourceLocationModifier and TypeFieldDescription(package private) static final ResourceLocation
StatsScreen.HEADER_SPRITE
private final ResourceLocation[]
StatsScreen.ItemStatisticsList.iconSprites
(package private) static final ResourceLocation
StatsScreen.SLOT_SPRITE
(package private) static final ResourceLocation
StatsScreen.SORT_DOWN_SPRITE
(package private) static final ResourceLocation
StatsScreen.SORT_UP_SPRITE
Fields in net.minecraft.client.gui.screens.achievement with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Stat
<ResourceLocation> StatsScreen.GeneralStatisticsList.Entry.stat
Method parameters in net.minecraft.client.gui.screens.achievement with type arguments of type ResourceLocationModifier and TypeMethodDescription(package private) static String
StatsScreen.getTranslationKey
(Stat<ResourceLocation> pStat) Constructor parameters in net.minecraft.client.gui.screens.achievement with type arguments of type ResourceLocation -
Uses of ResourceLocation in net.minecraft.client.gui.screens.advancements
Fields in net.minecraft.client.gui.screens.advancements declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
AdvancementWidgetType.boxSprite
private final ResourceLocation
AdvancementWidgetType.challengeFrameSprite
private final ResourceLocation
AdvancementTabType.Sprites.first
The field for thefirst
record component.private final ResourceLocation
AdvancementWidgetType.goalFrameSprite
private final ResourceLocation
AdvancementTabType.Sprites.last
The field for thelast
record component.private final ResourceLocation
AdvancementTabType.Sprites.middle
The field for themiddle
record component.private final ResourceLocation
AdvancementWidgetType.taskFrameSprite
private static final ResourceLocation
AdvancementWidget.TITLE_BOX_SPRITE
private static final ResourceLocation
AdvancementsScreen.WINDOW_LOCATION
Methods in net.minecraft.client.gui.screens.advancements that return ResourceLocationModifier and TypeMethodDescriptionAdvancementWidgetType.boxSprite()
AdvancementTabType.Sprites.first()
Returns the value of thefirst
record component.AdvancementWidgetType.frameSprite
(AdvancementType pType) AdvancementTabType.Sprites.last()
Returns the value of thelast
record component.AdvancementTabType.Sprites.middle()
Returns the value of themiddle
record component.Constructors in net.minecraft.client.gui.screens.advancements with parameters of type ResourceLocationModifierConstructorDescriptionprivate
AdvancementWidgetType
(ResourceLocation pBoxSprite, ResourceLocation pTaskFrameSprite, ResourceLocation pChallengeFrameSprite, ResourceLocation pGoalFrameSprite) (package private)
Sprites
(ResourceLocation first, ResourceLocation middle, ResourceLocation last) Creates an instance of aSprites
record class. -
Uses of ResourceLocation in net.minecraft.client.gui.screens.debug
Fields in net.minecraft.client.gui.screens.debug declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
GameModeSwitcherScreen.GAMEMODE_SWITCHER_LOCATION
(package private) static final ResourceLocation
GameModeSwitcherScreen.SELECTION_SPRITE
(package private) static final ResourceLocation
GameModeSwitcherScreen.SLOT_SPRITE
-
Uses of ResourceLocation in net.minecraft.client.gui.screens.dialog
Methods in net.minecraft.client.gui.screens.dialog with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoid
DialogConnectionAccess.sendCustomAction
(ResourceLocation pId, Optional<Tag> pPayload) -
Uses of ResourceLocation in net.minecraft.client.gui.screens.inventory
Fields in net.minecraft.client.gui.screens.inventory declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
EnchantmentNames.ALT_FONT
private static final ResourceLocation
AnvilScreen.ANVIL_LOCATION
private static final ResourceLocation
LoomScreen.BANNER_SLOT_SPRITE
private static final ResourceLocation
BeaconScreen.BEACON_LOCATION
private static final ResourceLocation
CartographyTableScreen.BG_LOCATION
private static final ResourceLocation
LoomScreen.BG_LOCATION
private static final ResourceLocation
StonecutterScreen.BG_LOCATION
static final ResourceLocation
BookViewScreen.BOOK_LOCATION
private static final ResourceLocation
BrewingStandScreen.BREW_PROGRESS_SPRITE
private static final ResourceLocation
BrewingStandScreen.BREWING_STAND_LOCATION
private static final ResourceLocation
BrewingStandScreen.BUBBLES_SPRITE
private static final ResourceLocation
BlastFurnaceScreen.BURN_PROGRESS_SPRITE
private static final ResourceLocation
FurnaceScreen.BURN_PROGRESS_SPRITE
private static final ResourceLocation
SmokerScreen.BURN_PROGRESS_SPRITE
private final ResourceLocation
AbstractFurnaceScreen.burnProgressSprite
(package private) static final ResourceLocation
BeaconScreen.BUTTON_DISABLED_SPRITE
(package private) static final ResourceLocation
BeaconScreen.BUTTON_HIGHLIGHTED_SPRITE
(package private) static final ResourceLocation
BeaconScreen.BUTTON_SELECTED_SPRITE
(package private) static final ResourceLocation
BeaconScreen.BUTTON_SPRITE
(package private) static final ResourceLocation
BeaconScreen.CANCEL_SPRITE
private static final ResourceLocation
HorseInventoryScreen.CHEST_SLOTS_SPRITE
(package private) static final ResourceLocation
BeaconScreen.CONFIRM_SPRITE
private static final ResourceLocation
ContainerScreen.CONTAINER_BACKGROUND
The ResourceLocation containing the chest GUI texture.private static final ResourceLocation
CrafterScreen.CONTAINER_LOCATION
private static final ResourceLocation
DispenserScreen.CONTAINER_LOCATION
private static final ResourceLocation
ShulkerBoxScreen.CONTAINER_TEXTURE
private static final ResourceLocation
CraftingScreen.CRAFTING_TABLE_LOCATION
private static final ResourceLocation[]
EnchantmentScreen.DISABLED_LEVEL_SPRITES
private static final ResourceLocation
CrafterScreen.DISABLED_SLOT_LOCATION_SPRITE
private static final ResourceLocation
MerchantScreen.DISCOUNT_STRIKETHRUOGH_SPRITE
private static final ResourceLocation
CartographyTableScreen.DUPLICATED_MAP_SPRITE
private static final ResourceLocation
LoomScreen.DYE_SLOT_SPRITE
private static final ResourceLocation
EffectsInInventory.EFFECT_BACKGROUND_LARGE_SPRITE
private static final ResourceLocation
EffectsInInventory.EFFECT_BACKGROUND_SMALL_SPRITE
private static final ResourceLocation
SmithingScreen.EMPTY_SLOT_SMITHING_TEMPLATE_ARMOR_TRIM
private static final ResourceLocation
SmithingScreen.EMPTY_SLOT_SMITHING_TEMPLATE_NETHERITE_UPGRADE
private static final ResourceLocation[]
EnchantmentScreen.ENABLED_LEVEL_SPRITES
private static final ResourceLocation
EnchantmentScreen.ENCHANTING_BOOK_LOCATION
The ResourceLocation containing the texture for the Book rendered above the enchantment tableprivate static final ResourceLocation
EnchantmentScreen.ENCHANTING_TABLE_LOCATION
The ResourceLocation containing the Enchantment GUI texture locationprivate static final ResourceLocation
EnchantmentScreen.ENCHANTMENT_SLOT_DISABLED_SPRITE
private static final ResourceLocation
EnchantmentScreen.ENCHANTMENT_SLOT_HIGHLIGHTED_SPRITE
private static final ResourceLocation
EnchantmentScreen.ENCHANTMENT_SLOT_SPRITE
private static final ResourceLocation
AnvilScreen.ERROR_SPRITE
private static final ResourceLocation
CartographyTableScreen.ERROR_SPRITE
private static final ResourceLocation
GrindstoneScreen.ERROR_SPRITE
private static final ResourceLocation
LoomScreen.ERROR_SPRITE
private static final ResourceLocation
SmithingScreen.ERROR_SPRITE
private static final ResourceLocation
MerchantScreen.EXPERIENCE_BAR_BACKGROUND_SPRITE
private static final ResourceLocation
MerchantScreen.EXPERIENCE_BAR_CURRENT_SPRITE
private static final ResourceLocation
MerchantScreen.EXPERIENCE_BAR_RESULT_SPRITE
private static final ResourceLocation
BrewingStandScreen.FUEL_LENGTH_SPRITE
private static final ResourceLocation
GrindstoneScreen.GRINDSTONE_LOCATION
private static final ResourceLocation
HopperScreen.HOPPER_LOCATION
The ResourceLocation containing the gui texture for the hopperprivate static final ResourceLocation
HorseInventoryScreen.HORSE_INVENTORY_LOCATION
static final ResourceLocation
AbstractContainerScreen.INVENTORY_LOCATION
The location of the inventory background textureprivate static final ResourceLocation
BlastFurnaceScreen.LIT_PROGRESS_SPRITE
private static final ResourceLocation
FurnaceScreen.LIT_PROGRESS_SPRITE
private static final ResourceLocation
SmokerScreen.LIT_PROGRESS_SPRITE
private final ResourceLocation
AbstractFurnaceScreen.litProgressSprite
private static final ResourceLocation
CartographyTableScreen.LOCKED_SPRITE
private static final ResourceLocation
CartographyTableScreen.MAP_SPRITE
private final ResourceLocation
ItemCombinerScreen.menuResource
private static final ResourceLocation
MerchantScreen.OUT_OF_STOCK_SPRITE
private static final ResourceLocation
PageButton.PAGE_BACKWARD_HIGHLIGHTED_SPRITE
private static final ResourceLocation
PageButton.PAGE_BACKWARD_SPRITE
private static final ResourceLocation
PageButton.PAGE_FORWARD_HIGHLIGHTED_SPRITE
private static final ResourceLocation
PageButton.PAGE_FORWARD_SPRITE
private static final ResourceLocation
LoomScreen.PATTERN_HIGHLIGHTED_SPRITE
private static final ResourceLocation
LoomScreen.PATTERN_SELECTED_SPRITE
private static final ResourceLocation
LoomScreen.PATTERN_SLOT_SPRITE
private static final ResourceLocation
LoomScreen.PATTERN_SPRITE
private static final ResourceLocation
CrafterScreen.POWERED_REDSTONE_LOCATION_SPRITE
private static final ResourceLocation
StonecutterScreen.RECIPE_HIGHLIGHTED_SPRITE
private static final ResourceLocation
StonecutterScreen.RECIPE_SELECTED_SPRITE
private static final ResourceLocation
StonecutterScreen.RECIPE_SPRITE
private static final ResourceLocation
CartographyTableScreen.SCALED_MAP_SPRITE
private static final ResourceLocation
CreativeModeInventoryScreen.SCROLLER_DISABLED_SPRITE
private static final ResourceLocation
LoomScreen.SCROLLER_DISABLED_SPRITE
private static final ResourceLocation
MerchantScreen.SCROLLER_DISABLED_SPRITE
private static final ResourceLocation
StonecutterScreen.SCROLLER_DISABLED_SPRITE
private static final ResourceLocation
CreativeModeInventoryScreen.SCROLLER_SPRITE
private static final ResourceLocation
LoomScreen.SCROLLER_SPRITE
private static final ResourceLocation
MerchantScreen.SCROLLER_SPRITE
private static final ResourceLocation
StonecutterScreen.SCROLLER_SPRITE
private static final ResourceLocation[]
CreativeModeInventoryScreen.SELECTED_BOTTOM_TABS
private static final ResourceLocation[]
CreativeModeInventoryScreen.SELECTED_TOP_TABS
private static final ResourceLocation
AbstractContainerScreen.SLOT_HIGHLIGHT_BACK_SPRITE
private static final ResourceLocation
AbstractContainerScreen.SLOT_HIGHLIGHT_FRONT_SPRITE
private static final ResourceLocation
HorseInventoryScreen.SLOT_SPRITE
private ResourceLocation
BeaconScreen.BeaconPowerButton.sprite
private final ResourceLocation
BeaconScreen.BeaconSpriteScreenButton.sprite
private static final ResourceLocation
AnvilScreen.TEXT_FIELD_DISABLED_SPRITE
private static final ResourceLocation
AnvilScreen.TEXT_FIELD_SPRITE
private final ResourceLocation
AbstractFurnaceScreen.texture
private final ResourceLocation
HangingSignEditScreen.texture
private static final ResourceLocation
BlastFurnaceScreen.TEXTURE
private static final ResourceLocation
FurnaceScreen.TEXTURE
private static final ResourceLocation
SmokerScreen.TEXTURE
private static final ResourceLocation
MerchantScreen.TRADE_ARROW_OUT_OF_STOCK_SPRITE
private static final ResourceLocation
MerchantScreen.TRADE_ARROW_SPRITE
private static final ResourceLocation
CrafterScreen.UNPOWERED_REDSTONE_LOCATION_SPRITE
private static final ResourceLocation[]
CreativeModeInventoryScreen.UNSELECTED_BOTTOM_TABS
private static final ResourceLocation[]
CreativeModeInventoryScreen.UNSELECTED_TOP_TABS
private static final ResourceLocation
MerchantScreen.VILLAGER_LOCATION
The GUI texture for the villager merchant GUI.Fields in net.minecraft.client.gui.screens.inventory with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final List
<ResourceLocation> SmithingScreen.EMPTY_SLOT_SMITHING_TEMPLATES
private List
<ResourceLocation> CyclingSlotBackground.icons
Methods in net.minecraft.client.gui.screens.inventory that return ResourceLocationMethods in net.minecraft.client.gui.screens.inventory with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate void
CyclingSlotBackground.renderIcon
(Slot pSlot, ResourceLocation pIcon, float pAlpha, GuiGraphics pGuiGraphics, int pX, int pY) CreativeModeInventoryScreen.SlotWrapper.setBackground
(ResourceLocation sprite) Method parameters in net.minecraft.client.gui.screens.inventory with type arguments of type ResourceLocationConstructors in net.minecraft.client.gui.screens.inventory with parameters of type ResourceLocationModifierConstructorDescriptionAbstractFurnaceScreen
(T pMenu, Inventory pPlayerInventory, Component pTitle, Component pRecipeFilterName, ResourceLocation pTexture, ResourceLocation pLitProgressSprite, ResourceLocation pBurnProgressSprite, List<RecipeBookComponent.TabInfo> pTabInfos) protected
BeaconSpriteScreenButton
(int pX, int pY, ResourceLocation pSprite, Component pMessage) ItemCombinerScreen
(T pMenu, Inventory pPlayerInventory, Component pTitle, ResourceLocation pMenuResource) -
Uses of ResourceLocation in net.minecraft.client.gui.screens.inventory.tooltip
Fields in net.minecraft.client.gui.screens.inventory.tooltip declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
TooltipRenderUtil.BACKGROUND_SPRITE
private static final ResourceLocation
TooltipRenderUtil.FRAME_SPRITE
private static final ResourceLocation
ClientBundleTooltip.PROGRESSBAR_BORDER_SPRITE
private static final ResourceLocation
ClientBundleTooltip.PROGRESSBAR_FILL_SPRITE
private static final ResourceLocation
ClientBundleTooltip.PROGRESSBAR_FULL_SPRITE
private static final ResourceLocation
ClientBundleTooltip.SLOT_BACKGROUND_SPRITE
private static final ResourceLocation
ClientBundleTooltip.SLOT_HIGHLIGHT_BACK_SPRITE
private static final ResourceLocation
ClientBundleTooltip.SLOT_HIGHLIGHT_FRONT_SPRITE
Methods in net.minecraft.client.gui.screens.inventory.tooltip that return ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceLocation
TooltipRenderUtil.getBackgroundSprite
(ResourceLocation pName) private static ResourceLocation
TooltipRenderUtil.getFrameSprite
(ResourceLocation pName) private ResourceLocation
ClientBundleTooltip.getProgressBarTexture()
Methods in net.minecraft.client.gui.screens.inventory.tooltip with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceLocation
TooltipRenderUtil.getBackgroundSprite
(ResourceLocation pName) private static ResourceLocation
TooltipRenderUtil.getFrameSprite
(ResourceLocation pName) static void
TooltipRenderUtil.renderTooltipBackground
(GuiGraphics pGuiGraphics, int pX, int pY, int pWidth, int pHeight, ResourceLocation pSprite) -
Uses of ResourceLocation in net.minecraft.client.gui.screens.multiplayer
Fields in net.minecraft.client.gui.screens.multiplayer declared as ResourceLocationModifier and TypeFieldDescription(package private) static final ResourceLocation
ServerSelectionList.INCOMPATIBLE_SPRITE
(package private) static final ResourceLocation
ServerSelectionList.JOIN_HIGHLIGHTED_SPRITE
(package private) static final ResourceLocation
ServerSelectionList.JOIN_SPRITE
(package private) static final ResourceLocation
ServerSelectionList.MOVE_DOWN_HIGHLIGHTED_SPRITE
(package private) static final ResourceLocation
ServerSelectionList.MOVE_DOWN_SPRITE
(package private) static final ResourceLocation
ServerSelectionList.MOVE_UP_HIGHLIGHTED_SPRITE
(package private) static final ResourceLocation
ServerSelectionList.MOVE_UP_SPRITE
(package private) static final ResourceLocation
ServerSelectionList.PING_1_SPRITE
(package private) static final ResourceLocation
ServerSelectionList.PING_2_SPRITE
(package private) static final ResourceLocation
ServerSelectionList.PING_3_SPRITE
(package private) static final ResourceLocation
ServerSelectionList.PING_4_SPRITE
(package private) static final ResourceLocation
ServerSelectionList.PING_5_SPRITE
(package private) static final ResourceLocation
ServerSelectionList.PINGING_1_SPRITE
(package private) static final ResourceLocation
ServerSelectionList.PINGING_2_SPRITE
(package private) static final ResourceLocation
ServerSelectionList.PINGING_3_SPRITE
(package private) static final ResourceLocation
ServerSelectionList.PINGING_4_SPRITE
(package private) static final ResourceLocation
ServerSelectionList.PINGING_5_SPRITE
private ResourceLocation
ServerSelectionList.OnlineServerEntry.statusIcon
(package private) static final ResourceLocation
ServerSelectionList.UNREACHABLE_SPRITE
Methods in net.minecraft.client.gui.screens.multiplayer with parameters of type ResourceLocationModifier and TypeMethodDescriptionprotected void
ServerSelectionList.OnlineServerEntry.drawIcon
(GuiGraphics pGuiGraphics, int pX, int pY, ResourceLocation pIcon) -
Uses of ResourceLocation in net.minecraft.client.gui.screens.packs
Fields in net.minecraft.client.gui.screens.packs declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
PackSelectionScreen.DEFAULT_ICON
(package private) static final ResourceLocation
TransferableSelectionList.MOVE_DOWN_HIGHLIGHTED_SPRITE
(package private) static final ResourceLocation
TransferableSelectionList.MOVE_DOWN_SPRITE
(package private) static final ResourceLocation
TransferableSelectionList.MOVE_UP_HIGHLIGHTED_SPRITE
(package private) static final ResourceLocation
TransferableSelectionList.MOVE_UP_SPRITE
(package private) static final ResourceLocation
TransferableSelectionList.SELECT_HIGHLIGHTED_SPRITE
(package private) static final ResourceLocation
TransferableSelectionList.SELECT_SPRITE
(package private) static final ResourceLocation
TransferableSelectionList.UNSELECT_HIGHLIGHTED_SPRITE
(package private) static final ResourceLocation
TransferableSelectionList.UNSELECT_SPRITE
Fields in net.minecraft.client.gui.screens.packs with type parameters of type ResourceLocationModifier and TypeFieldDescription(package private) final Function
<Pack, ResourceLocation> PackSelectionModel.iconGetter
private final Map
<String, ResourceLocation> PackSelectionScreen.packIcons
Methods in net.minecraft.client.gui.screens.packs that return ResourceLocationModifier and TypeMethodDescriptionPackSelectionModel.Entry.getIconTexture()
PackSelectionModel.EntryBase.getIconTexture()
private ResourceLocation
PackSelectionScreen.getPackIcon
(Pack p_99990_) private ResourceLocation
PackSelectionScreen.loadPackIcon
(TextureManager pTextureManager, Pack pPack) Constructor parameters in net.minecraft.client.gui.screens.packs with type arguments of type ResourceLocationModifierConstructorDescriptionPackSelectionModel
(Runnable pOnListChanged, Function<Pack, ResourceLocation> pIconGetter, PackRepository pRepository, Consumer<PackRepository> pOutput) -
Uses of ResourceLocation in net.minecraft.client.gui.screens.recipebook
Fields in net.minecraft.client.gui.screens.recipebook declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
OverlayRecipeComponent.OverlayCraftingRecipeButton.DISABLED_SPRITE
private static final ResourceLocation
OverlayRecipeComponent.OverlaySmeltingRecipeButton.DISABLED_SPRITE
private static final ResourceLocation
OverlayRecipeComponent.OverlayCraftingRecipeButton.ENABLED_SPRITE
private static final ResourceLocation
OverlayRecipeComponent.OverlaySmeltingRecipeButton.ENABLED_SPRITE
private static final ResourceLocation
OverlayRecipeComponent.OverlayCraftingRecipeButton.HIGHLIGHTED_DISABLED_SPRITE
private static final ResourceLocation
OverlayRecipeComponent.OverlaySmeltingRecipeButton.HIGHLIGHTED_DISABLED_SPRITE
private static final ResourceLocation
OverlayRecipeComponent.OverlayCraftingRecipeButton.HIGHLIGHTED_ENABLED_SPRITE
private static final ResourceLocation
OverlayRecipeComponent.OverlaySmeltingRecipeButton.HIGHLIGHTED_ENABLED_SPRITE
private static final ResourceLocation
OverlayRecipeComponent.OVERLAY_RECIPE_SPRITE
protected static final ResourceLocation
RecipeBookComponent.RECIPE_BOOK_LOCATION
private static final ResourceLocation
RecipeButton.SLOT_CRAFTABLE_SPRITE
private static final ResourceLocation
RecipeButton.SLOT_MANY_CRAFTABLE_SPRITE
private static final ResourceLocation
RecipeButton.SLOT_MANY_UNCRAFTABLE_SPRITE
private static final ResourceLocation
RecipeButton.SLOT_UNCRAFTABLE_SPRITE
Methods in net.minecraft.client.gui.screens.recipebook that return ResourceLocationModifier and TypeMethodDescriptionprotected ResourceLocation
OverlayRecipeComponent.OverlayCraftingRecipeButton.getSprite
(boolean pEnabled) protected abstract ResourceLocation
OverlayRecipeComponent.OverlayRecipeButton.getSprite
(boolean pEnabled) protected ResourceLocation
OverlayRecipeComponent.OverlaySmeltingRecipeButton.getSprite
(boolean pEnabled) -
Uses of ResourceLocation in net.minecraft.client.gui.screens.reporting
Fields in net.minecraft.client.gui.screens.reporting declared as ResourceLocationModifier and TypeFieldDescription(package private) static final ResourceLocation
ChatSelectionScreen.CHECKMARK_SPRITE
-
Uses of ResourceLocation in net.minecraft.client.gui.screens.social
Fields in net.minecraft.client.gui.screens.social declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
SocialInteractionsScreen.BACKGROUND_SPRITE
private static final ResourceLocation
PlayerEntry.DRAFT_REPORT_SPRITE
private static final ResourceLocation
SocialInteractionsScreen.SEARCH_SPRITE
-
Uses of ResourceLocation in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection declared as ResourceLocationModifier and TypeFieldDescription(package private) static final ResourceLocation
WorldSelectionList.ERROR_HIGHLIGHTED_SPRITE
(package private) static final ResourceLocation
WorldSelectionList.ERROR_SPRITE
private static final ResourceLocation
WorldSelectionList.FORGE_EXPERIMENTAL_WARNING_ICON
(package private) static final ResourceLocation
WorldSelectionList.JOIN_HIGHLIGHTED_SPRITE
(package private) static final ResourceLocation
WorldSelectionList.JOIN_SPRITE
(package private) static final ResourceLocation
WorldSelectionList.MARKED_JOIN_HIGHLIGHTED_SPRITE
(package private) static final ResourceLocation
WorldSelectionList.MARKED_JOIN_SPRITE
static final ResourceLocation
CreateWorldScreen.TAB_HEADER_BACKGROUND
(package private) static final ResourceLocation
WorldSelectionList.WARNING_HIGHLIGHTED_SPRITE
(package private) static final ResourceLocation
WorldSelectionList.WARNING_SPRITE
-
Uses of ResourceLocation in net.minecraft.client.gui.spectator
Fields in net.minecraft.client.gui.spectator declared as ResourceLocationModifier and TypeFieldDescription(package private) static final ResourceLocation
SpectatorMenu.CLOSE_SPRITE
(package private) static final ResourceLocation
SpectatorMenu.SCROLL_LEFT_SPRITE
(package private) static final ResourceLocation
SpectatorMenu.SCROLL_RIGHT_SPRITE
-
Uses of ResourceLocation in net.minecraft.client.gui.spectator.categories
Fields in net.minecraft.client.gui.spectator.categories declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
TeleportToPlayerMenuCategory.TELEPORT_TO_PLAYER_SPRITE
private static final ResourceLocation
TeleportToTeamMenuCategory.TELEPORT_TO_TEAM_SPRITE
-
Uses of ResourceLocation in net.minecraft.client.model
Fields in net.minecraft.client.model declared as ResourceLocationFields in net.minecraft.client.model with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprotected final Function
<ResourceLocation, RenderType> Model.renderType
Methods in net.minecraft.client.model with parameters of type ResourceLocationModifier and TypeMethodDescriptionprotected static AnimationHolder
Model.getAnimation
(ResourceLocation key) final RenderType
Model.renderType
(ResourceLocation pLocation) Constructor parameters in net.minecraft.client.model with type arguments of type ResourceLocationModifierConstructorDescriptionprotected
EntityModel
(ModelPart pRoot, Function<ResourceLocation, RenderType> pRenderType) HumanoidModel
(ModelPart pRoot, Function<ResourceLocation, RenderType> pRenderType) Model
(ModelPart pRoot, Function<ResourceLocation, RenderType> pRenderType) Simple
(ModelPart pRoot, Function<ResourceLocation, RenderType> pRenderType) -
Uses of ResourceLocation in net.minecraft.client.model.geom
Fields in net.minecraft.client.model.geom declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
ModelLayerLocation.model
The field for themodel
record component.Methods in net.minecraft.client.model.geom that return ResourceLocationModifier and TypeMethodDescriptionModelLayerLocation.model()
Returns the value of themodel
record component.Constructors in net.minecraft.client.model.geom with parameters of type ResourceLocationModifierConstructorDescriptionModelLayerLocation
(ResourceLocation model, String layer) Creates an instance of aModelLayerLocation
record class. -
Uses of ResourceLocation in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, byte[]> ClientHandshakePacketListenerImpl.cookies
private final Map
<ResourceLocation, byte[]> TransferState.cookies
The field for thecookies
record component.private Map
<ResourceLocation, Component> ClientConfigurationPacketListenerImpl.failureReasons
protected final Map
<ResourceLocation, byte[]> ClientCommonPacketListenerImpl.serverCookies
private final Map
<ResourceLocation, byte[]> CommonListenerCookie.serverCookies
The field for theserverCookies
record component.Methods in net.minecraft.client.multiplayer that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionMap
<ResourceLocation, byte[]> TransferState.cookies()
Returns the value of thecookies
record component.ClientSuggestionProvider.getAvailableSounds()
Map
<ResourceLocation, byte[]> CommonListenerCookie.serverCookies()
Returns the value of theserverCookies
record component.Methods in net.minecraft.client.multiplayer with parameters of type ResourceLocationConstructor parameters in net.minecraft.client.multiplayer with type arguments of type ResourceLocationModifierConstructorDescriptionCommonListenerCookie
(com.mojang.authlib.GameProfile localGameProfile, WorldSessionTelemetryManager telemetryManager, RegistryAccess.Frozen receivedRegistries, FeatureFlagSet enabledFeatures, String serverBrand, ServerData serverData, Screen postDisconnectScreen, Map<ResourceLocation, byte[]> serverCookies, ChatComponent.State chatState, Map<String, String> customReportDetails, ServerLinks serverLinks) Deprecated.CommonListenerCookie
(com.mojang.authlib.GameProfile localGameProfile, WorldSessionTelemetryManager telemetryManager, RegistryAccess.Frozen receivedRegistries, FeatureFlagSet enabledFeatures, String serverBrand, ServerData serverData, Screen postDisconnectScreen, Map<ResourceLocation, byte[]> serverCookies, ChatComponent.State chatState, Map<String, String> customReportDetails, ServerLinks serverLinks, ConnectionType connectionType) Creates an instance of aCommonListenerCookie
record class.TransferState
(Map<ResourceLocation, byte[]> cookies) Creates an instance of aTransferState
record class. -
Uses of ResourceLocation in net.minecraft.client.particle
Fields in net.minecraft.client.particle with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, ParticleProvider<?>> ParticleEngine.providers
private final Map
<ResourceLocation, ParticleEngine.MutableSpriteSet> ParticleEngine.spriteSets
private final List
<ResourceLocation> ParticleDescription.textures
Methods in net.minecraft.client.particle that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionParticleDescription.getTextures()
private Optional
<List<ResourceLocation>> ParticleEngine.loadParticleDescription
(ResourceLocation pRegistryName, Resource pResource) Methods in net.minecraft.client.particle with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate Optional
<List<ResourceLocation>> ParticleEngine.loadParticleDescription
(ResourceLocation pRegistryName, Resource pResource) Constructor parameters in net.minecraft.client.particle with type arguments of type ResourceLocation -
Uses of ResourceLocation in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
Sheets.ARMOR_TRIMS_SHEET
static final ResourceLocation
Sheets.BANNER_SHEET
static final ResourceLocation
Sheets.BED_SHEET
private static final ResourceLocation
GameRenderer.BLUR_POST_CHAIN_ID
static final ResourceLocation
Sheets.CHEST_SHEET
static final ResourceLocation
LevelTargetBundle.CLOUDS_TARGET_ID
static final ResourceLocation
Sheets.DECORATED_POT_SHEET
static final ResourceLocation
SkyRenderer.END_SKY_LOCATION
private static final ResourceLocation
LevelRenderer.ENTITY_OUTLINE_POST_CHAIN_ID
static final ResourceLocation
LevelTargetBundle.ENTITY_OUTLINE_TARGET_ID
static final ResourceLocation
WorldBorderRenderer.FORCEFIELD_LOCATION
private final ResourceLocation
PostChainConfig.Pass.fragmentShaderId
The field for thefragmentShaderId
record component.private static final ResourceLocation
GpuWarnlistManager.GPU_WARNLIST_LOCATION
private final ResourceLocation
RenderStateShard.MultiTextureStateShard.Entry.id
The field for theid
record component.private final ResourceLocation
ShaderManager.ShaderSourceKey.id
The field for theid
record component.static final ResourceLocation
LevelTargetBundle.ITEM_ENTITY_TARGET_ID
private final ResourceLocation
CubeMap.location
private final ResourceLocation
PostChainConfig.TextureInput.location
The field for thelocation
record component.static final ResourceLocation
LevelTargetBundle.MAIN_TARGET_ID
static final ResourceLocation
PostChain.MAIN_TARGET_ID
private static final ResourceLocation
SkyRenderer.MOON_LOCATION
private final ResourceLocation
PostChainConfig.Pass.outputTarget
The field for theoutputTarget
record component.private final ResourceLocation
PostPass.outputTargetId
static final ResourceLocation
PanoramaRenderer.PANORAMA_OVERLAY
static final ResourceLocation
LevelTargetBundle.PARTICLES_TARGET_ID
private ResourceLocation
GameRenderer.postEffectId
private static final ResourceLocation
WeatherEffectRenderer.RAIN_LOCATION
private final ResourceLocation
MaterialMapper.sheet
The field for thesheet
record component.static final ResourceLocation
Sheets.SHIELD_SHEET
static final ResourceLocation
Sheets.SHULKER_SHEET
static final ResourceLocation
Sheets.SIGN_SHEET
private static final ResourceLocation
WeatherEffectRenderer.SNOW_LOCATION
private static final ResourceLocation
SkyRenderer.SUN_LOCATION
private final ResourceLocation
PostChainConfig.TargetInput.targetId
The field for thetargetId
record component.private final ResourceLocation
PostPass.TargetInput.targetId
The field for thetargetId
record component.private static final ResourceLocation
CloudRenderer.TEXTURE_LOCATION
static final ResourceLocation
LevelTargetBundle.TRANSLUCENT_TARGET_ID
private static final ResourceLocation
LevelRenderer.TRANSPARENCY_POST_CHAIN_ID
private static final ResourceLocation
ScreenEffectRenderer.UNDERWATER_LOCATION
private final ResourceLocation
PostChainConfig.Pass.vertexShaderId
The field for thevertexShaderId
record component.static final ResourceLocation
LevelTargetBundle.WEATHER_TARGET_ID
Fields in net.minecraft.client.renderer with type parameters of type ResourceLocationModifier and TypeFieldDescriptionstatic final Function
<ResourceLocation, RenderType> RenderType.ARMOR_CUTOUT_NO_CULL
static final Function
<ResourceLocation, RenderType> RenderType.ARMOR_TRANSLUCENT
private static final Map
<ResourceLocation, Material> Sheets.BANNER_MATERIALS
static final BiFunction
<ResourceLocation, Boolean, RenderType> RenderType.BEACON_BEAM
static final Function
<ResourceLocation, RenderType> RenderType.BLOCK_SCREEN_EFFECT
static final Function
<ResourceLocation, RenderType> RenderType.CELESTIAL
static final Function
<ResourceLocation, RenderType> RenderType.CRUMBLING
private final Optional
<ResourceLocation> RenderStateShard.MultiTextureStateShard.cutoutTexture
static final Function
<ResourceLocation, RenderType> RenderType.DRAGON_EXPLOSION_ALPHA
private static final it.unimi.dsi.fastutil.objects.Object2ObjectMap
<ResourceLocation, DimensionSpecialEffects> DimensionSpecialEffects.EFFECTS
static final Function
<ResourceLocation, RenderType> RenderType.ENTITY_CUTOUT
static final BiFunction
<ResourceLocation, Boolean, RenderType> RenderType.ENTITY_CUTOUT_NO_CULL
static final BiFunction
<ResourceLocation, Boolean, RenderType> RenderType.ENTITY_CUTOUT_NO_CULL_Z_OFFSET
static final Function
<ResourceLocation, RenderType> RenderType.ENTITY_DECAL
static final Function
<ResourceLocation, RenderType> RenderType.ENTITY_NO_OUTLINE
static final Function
<ResourceLocation, RenderType> RenderType.ENTITY_SHADOW
static final Function
<ResourceLocation, RenderType> RenderType.ENTITY_SMOOTH_CUTOUT
static final Function
<ResourceLocation, RenderType> RenderType.ENTITY_SOLID
static final Function
<ResourceLocation, RenderType> RenderType.ENTITY_SOLID_Z_OFFSET_FORWARD
static final BiFunction
<ResourceLocation, Boolean, RenderType> RenderType.ENTITY_TRANSLUCENT
static final BiFunction
<ResourceLocation, Boolean, RenderType> RenderType.ENTITY_TRANSLUCENT_EMISSIVE
private final Set
<ResourceLocation> PostChain.externalTargets
static final Function
<ResourceLocation, RenderType> RenderType.EYES
static final Function
<ResourceLocation, RenderType> RenderType.FIRE_SCREEN_EFFECT
private final Map
<ResourceLocation, PostChainConfig.InternalTarget> PostChain.internalTargets
private final Map
<ResourceLocation, PostChainConfig.InternalTarget> PostChainConfig.internalTargets
The field for theinternalTargets
record component.static final Function
<ResourceLocation, RenderType> RenderType.ITEM_ENTITY_TRANSLUCENT_CULL
static final Set
<ResourceLocation> LevelTargetBundle.MAIN_TARGETS
static final Function
<ResourceLocation, RenderType> RenderType.OPAQUE_PARTICLE
(package private) static final BiFunction
<ResourceLocation, Boolean, RenderType> RenderType.CompositeRenderType.OUTLINE
static final Set
<ResourceLocation> LevelTargetBundle.OUTLINE_TARGETS
private final Map
<ResourceLocation, RenderTarget> PostChain.persistentTargets
private static final Map
<ResourceLocation, RenderPipeline> RenderPipelines.PIPELINES_BY_LOCATION
(package private) final Map
<ResourceLocation, Optional<PostChain>> ShaderManager.CompilationCache.postChains
private final Map
<ResourceLocation, PostChainConfig> ShaderManager.Configs.postChains
The field for thepostChains
record component.private static final Map
<ResourceLocation, Material> Sheets.SHIELD_MATERIALS
static final Set
<ResourceLocation> LevelTargetBundle.SORTING_TARGETS
static final Function
<ResourceLocation, RenderType> RenderType.TEXT
static final Function
<ResourceLocation, RenderType> RenderType.TEXT_INTENSITY
static final Function
<ResourceLocation, RenderType> RenderType.TEXT_INTENSITY_POLYGON_OFFSET
static final Function
<ResourceLocation, RenderType> RenderType.TEXT_INTENSITY_SEE_THROUGH
static final Function
<ResourceLocation, RenderType> RenderType.TEXT_POLYGON_OFFSET
static final Function
<ResourceLocation, RenderType> RenderType.TEXT_SEE_THROUGH
private final Optional
<ResourceLocation> RenderStateShard.TextureStateShard.texture
static final Function
<ResourceLocation, RenderType> RenderType.TRANSLUCENT_PARTICLE
static final Function
<ResourceLocation, RenderType> RenderType.WEATHER_DEPTH_WRITE
static final Function
<ResourceLocation, RenderType> RenderType.WEATHER_NO_DEPTH_WRITE
Methods in net.minecraft.client.renderer that return ResourceLocationModifier and TypeMethodDescriptionstatic ResourceLocation
Sheets.colorToResourceMaterial
(DyeColor pColor) static ResourceLocation
Sheets.colorToShulkerMaterial
(DyeColor pColor) GameRenderer.currentPostEffect()
PostChainConfig.Pass.fragmentShaderId()
Returns the value of thefragmentShaderId
record component.RenderStateShard.MultiTextureStateShard.Entry.id()
Returns the value of theid
record component.ShaderManager.ShaderSourceKey.id()
Returns the value of theid
record component.PostChainConfig.TextureInput.location()
Returns the value of thelocation
record component.PostChainConfig.Pass.outputTarget()
Returns the value of theoutputTarget
record component.MaterialMapper.sheet()
Returns the value of thesheet
record component.PostChainConfig.TargetInput.targetId()
Returns the value of thetargetId
record component.PostPass.TargetInput.targetId()
Returns the value of thetargetId
record component.PostChainConfig.Pass.vertexShaderId()
Returns the value of thevertexShaderId
record component.Methods in net.minecraft.client.renderer that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static Function
<ResourceLocation, RenderType> RenderType.createWeather
(RenderPipeline pRenderPipeline) protected Optional
<ResourceLocation> RenderStateShard.EmptyTextureStateShard.cutoutTexture()
protected Optional
<ResourceLocation> RenderStateShard.MultiTextureStateShard.cutoutTexture()
protected Optional
<ResourceLocation> RenderStateShard.TextureStateShard.cutoutTexture()
PostChainConfig.internalTargets()
Returns the value of theinternalTargets
record component.ShaderManager.Configs.postChains()
Returns the value of thepostChains
record component.PostChainConfig.Input.referencedTargets()
PostChainConfig.Pass.referencedTargets()
PostChainConfig.TargetInput.referencedTargets()
PostChainConfig.TextureInput.referencedTargets()
Methods in net.minecraft.client.renderer with parameters of type ResourceLocationModifier and TypeMethodDescriptionRenderStateShard.MultiTextureStateShard.Builder.add
(ResourceLocation pId, boolean pMipmap) MaterialMapper.apply
(ResourceLocation pName) static RenderType
RenderType.armorCutoutNoCull
(ResourceLocation pLocation) static RenderType
RenderType.armorTranslucent
(ResourceLocation pId) static RenderType
RenderType.beaconBeam
(ResourceLocation pLocation, boolean pColorFlag) static RenderType
RenderType.blockScreenEffect
(ResourceLocation pTexture) static RenderType
RenderType.breezeEyes
(ResourceLocation pLocation) static RenderType
RenderType.breezeWind
(ResourceLocation pLocation, float pU, float pV) static RenderType
RenderType.celestial
(ResourceLocation pTexture) static RenderType
RenderType.createArmorDecalCutoutNoCull
(ResourceLocation pId) private static PostPass
PostChain.createPass
(TextureManager pTextureManager, PostChainConfig.Pass pPass, ResourceLocation pLocation) private static GlslPreprocessor
ShaderManager.createPreprocessor
(Map<ResourceLocation, Resource> pShaderResources, ResourceLocation pShaderLocation) static RenderType
RenderType.crumbling
(ResourceLocation pLocation) static RenderType
RenderType.dragonExplosionAlpha
(ResourceLocation pId) static RenderType
RenderType.energySwirl
(ResourceLocation pLocation, float pU, float pV) static RenderType
RenderType.entityCutout
(ResourceLocation pLocation) static RenderType
RenderType.entityCutoutNoCull
(ResourceLocation pLocation) static RenderType
RenderType.entityCutoutNoCull
(ResourceLocation pLocation, boolean pOutline) static RenderType
RenderType.entityCutoutNoCullZOffset
(ResourceLocation pLocation) static RenderType
RenderType.entityCutoutNoCullZOffset
(ResourceLocation pLocation, boolean pOutline) static RenderType
RenderType.entityDecal
(ResourceLocation pLocation) static RenderType
RenderType.entityNoOutline
(ResourceLocation pLocation) static RenderType
RenderType.entityShadow
(ResourceLocation pLocation) static RenderType
RenderType.entitySmoothCutout
(ResourceLocation pLocation) static RenderType
RenderType.entitySolid
(ResourceLocation pLocation) static RenderType
RenderType.entitySolidZOffsetForward
(ResourceLocation pLocation) static RenderType
RenderType.entityTranslucent
(ResourceLocation pLocation) static RenderType
RenderType.entityTranslucent
(ResourceLocation pLocation, boolean pOutline) static RenderType
RenderType.entityTranslucentEmissive
(ResourceLocation pLocation) static RenderType
RenderType.entityTranslucentEmissive
(ResourceLocation pLocation, boolean pOutline) static RenderType
RenderType.eyes
(ResourceLocation pLocation) static RenderType
RenderType.fireScreenEffect
(ResourceLocation pTexture) LevelTargetBundle.get
(ResourceLocation p_363913_) PostChain.TargetBundle.get
(ResourceLocation pId) private RenderTarget
PostChain.getOrCreatePersistentTarget
(ResourceLocation pName, RenderTargetDescriptor pDescriptor) ShaderManager.CompilationCache.getOrLoadPostChain
(ResourceLocation pName, Set<ResourceLocation> pExternalTargets) default ResourceHandle
<RenderTarget> PostChain.TargetBundle.getOrThrow
(ResourceLocation pId) ShaderManager.getPostChain
(ResourceLocation pId, Set<ResourceLocation> pExternalTargets) ShaderManager.getShader
(ResourceLocation pId, ShaderType pType) ShaderManager.CompilationCache.getShaderSource
(ResourceLocation pId, ShaderType pType) private static boolean
ShaderManager.isShader
(ResourceLocation p_366565_) static RenderType
RenderType.itemEntityTranslucentCull
(ResourceLocation pLocation) static PostChain
PostChain.load
(PostChainConfig pConfig, TextureManager pTextureManager, Set<ResourceLocation> pExternalTargets, ResourceLocation pName, CachedOrthoProjectionMatrixBuffer pProjectionMatrixBuffer) private PostChain
ShaderManager.CompilationCache.loadPostChain
(ResourceLocation pName, Set<ResourceLocation> pExternalTargets) private static void
ShaderManager.loadPostChain
(ResourceLocation p_366838_, Resource p_366558_, com.google.common.collect.ImmutableMap.Builder<ResourceLocation, PostChainConfig> p_366892_) private static void
ShaderManager.loadShader
(ResourceLocation p_366513_, Resource p_366763_, ShaderType p_410200_, Map<ResourceLocation, Resource> p_366725_, com.google.common.collect.ImmutableMap.Builder<ShaderManager.ShaderSourceKey, String> p_366733_) static PostChain.TargetBundle
PostChain.TargetBundle.of
(ResourceLocation pId, ResourceHandle<RenderTarget> pHandle) static RenderType
RenderType.opaqueParticle
(ResourceLocation pTexture) static RenderType
RenderType.outline
(ResourceLocation pLocation) static void
ScreenEffectRenderer.renderFluid
(Minecraft p_110726_, PoseStack p_110727_, MultiBufferSource p_383128_, ResourceLocation texture) void
LevelTargetBundle.replace
(ResourceLocation p_360547_, ResourceHandle<RenderTarget> p_363379_) void
PostChain.TargetBundle.replace
(ResourceLocation pId, ResourceHandle<RenderTarget> pHandle) void
GameRenderer.setPostEffect
(ResourceLocation pPostEffectId) static RenderType
RenderType.text
(ResourceLocation pLocation) static RenderType
RenderType.textIntensity
(ResourceLocation pId) static RenderType
RenderType.textIntensityPolygonOffset
(ResourceLocation pId) static RenderType
RenderType.textIntensitySeeThrough
(ResourceLocation pId) static RenderType
RenderType.textPolygonOffset
(ResourceLocation pId) static RenderType
RenderType.textSeeThrough
(ResourceLocation pLocation) static RenderType
RenderType.translucentParticle
(ResourceLocation pTexture) static RenderType
RenderType.weather
(ResourceLocation pTexture, boolean pDepthWrite) Method parameters in net.minecraft.client.renderer with type arguments of type ResourceLocationModifier and TypeMethodDescriptionvoid
PostPass.addToFrame
(FrameGraphBuilder pFrameGraphBuilder, Map<ResourceLocation, ResourceHandle<RenderTarget>> pTargets, GpuBufferSlice pProjectionMatrixBuffer) void
PostPass.Input.addToPass
(FramePass pPass, Map<ResourceLocation, ResourceHandle<RenderTarget>> pTargets) void
PostPass.TargetInput.addToPass
(FramePass pPass, Map<ResourceLocation, ResourceHandle<RenderTarget>> pTargets) void
PostPass.TextureInput.addToPass
(FramePass p_361843_, Map<ResourceLocation, ResourceHandle<RenderTarget>> p_362022_) default void
PostPass.Input.cleanup
(Map<ResourceLocation, ResourceHandle<RenderTarget>> pTargets) void
PostPass.TargetInput.cleanup
(Map<ResourceLocation, ResourceHandle<RenderTarget>> pTargets) private static GlslPreprocessor
ShaderManager.createPreprocessor
(Map<ResourceLocation, Resource> pShaderResources, ResourceLocation pShaderLocation) private ResourceHandle
<RenderTarget> PostPass.TargetInput.getHandle
(Map<ResourceLocation, ResourceHandle<RenderTarget>> pTargets) ShaderManager.CompilationCache.getOrLoadPostChain
(ResourceLocation pName, Set<ResourceLocation> pExternalTargets) ShaderManager.getPostChain
(ResourceLocation pId, Set<ResourceLocation> pExternalTargets) static PostChain
PostChain.load
(PostChainConfig pConfig, TextureManager pTextureManager, Set<ResourceLocation> pExternalTargets, ResourceLocation pName, CachedOrthoProjectionMatrixBuffer pProjectionMatrixBuffer) private PostChain
ShaderManager.CompilationCache.loadPostChain
(ResourceLocation pName, Set<ResourceLocation> pExternalTargets) private static void
ShaderManager.loadPostChain
(ResourceLocation p_366838_, Resource p_366558_, com.google.common.collect.ImmutableMap.Builder<ResourceLocation, PostChainConfig> p_366892_) private static void
ShaderManager.loadShader
(ResourceLocation p_366513_, Resource p_366763_, ShaderType p_410200_, Map<ResourceLocation, Resource> p_366725_, com.google.common.collect.ImmutableMap.Builder<ShaderManager.ShaderSourceKey, String> p_366733_) PostPass.Input.texture
(Map<ResourceLocation, ResourceHandle<RenderTarget>> pTargets) PostPass.TargetInput.texture
(Map<ResourceLocation, ResourceHandle<RenderTarget>> pTargets) PostPass.TextureInput.texture
(Map<ResourceLocation, ResourceHandle<RenderTarget>> p_418145_) Constructors in net.minecraft.client.renderer with parameters of type ResourceLocationModifierConstructorDescriptionCubeMap
(ResourceLocation pBaseImageLocation) Entry
(ResourceLocation id, boolean mipmap) Creates an instance of aEntry
record class.MaterialMapper
(ResourceLocation sheet, String prefix) Creates an instance of aMaterialMapper
record class.Pass
(ResourceLocation vertexShaderId, ResourceLocation fragmentShaderId, List<PostChainConfig.Input> inputs, ResourceLocation outputTarget, Map<String, List<UniformValue>> uniforms) Creates an instance of aPass
record class.PostPass
(RenderPipeline pPipeline, ResourceLocation pOutputTargetId, Map<String, List<UniformValue>> pUniforms, List<PostPass.Input> pInputs) (package private)
ShaderSourceKey
(ResourceLocation id, ShaderType type) Creates an instance of aShaderSourceKey
record class.TargetInput
(String samplerName, ResourceLocation targetId, boolean useDepthBuffer, boolean bilinear) Creates an instance of aTargetInput
record class.TargetInput
(String samplerName, ResourceLocation targetId, boolean depthBuffer, boolean bilinear) Creates an instance of aTargetInput
record class.TextureInput
(String samplerName, ResourceLocation location, int width, int height, boolean bilinear) Creates an instance of aTextureInput
record class.TextureStateShard
(ResourceLocation pTexture, boolean pMipmap) Constructor parameters in net.minecraft.client.renderer with type arguments of type ResourceLocationModifierConstructorDescriptionprivate
PostChain
(List<PostPass> pPasses, Map<ResourceLocation, PostChainConfig.InternalTarget> pInternalTargets, Set<ResourceLocation> pExternalTargets, CachedOrthoProjectionMatrixBuffer pProjectionMatrixBuffer) private
PostChain
(List<PostPass> pPasses, Map<ResourceLocation, PostChainConfig.InternalTarget> pInternalTargets, Set<ResourceLocation> pExternalTargets, CachedOrthoProjectionMatrixBuffer pProjectionMatrixBuffer) PostChainConfig
(Map<ResourceLocation, PostChainConfig.InternalTarget> internalTargets, List<PostChainConfig.Pass> passes) Creates an instance of aPostChainConfig
record class. -
Uses of ResourceLocation in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
ItemModelGenerator.GENERATED_ITEM_MODEL_ID
private final ResourceLocation
Variant.modelLocation
The field for themodelLocation
record component.private final ResourceLocation
BlockModel.parent
The field for theparent
record component.Fields in net.minecraft.client.renderer.block.model with type parameters of type ResourceLocationModifier and TypeFieldDescriptionstatic final VariantMutator.VariantProperty
<ResourceLocation> VariantMutator.MODEL
Methods in net.minecraft.client.renderer.block.model that return ResourceLocationModifier and TypeMethodDescriptionVariant.modelLocation()
Returns the value of themodelLocation
record component.BlockModel.parent()
Returns the value of theparent
record component.Methods in net.minecraft.client.renderer.block.model with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic SimpleModelWrapper
SimpleModelWrapper.bake
(ModelBaker pBaker, ResourceLocation pModelLocation, ModelState pModelState) private static void
TextureSlots.parseEntry
(ResourceLocation pAtlas, String pName, String pMaterial, TextureSlots.Data.Builder pBuilder) static TextureSlots.Data
TextureSlots.parseTextureMap
(com.google.gson.JsonObject p_387105_, ResourceLocation p_387237_) Variant.withModel
(ResourceLocation pModelLocation) Constructors in net.minecraft.client.renderer.block.model with parameters of type ResourceLocationModifierConstructorDescriptionBlockModel
(UnbakedGeometry geometry, UnbakedModel.GuiLight guiLight, Boolean ambientOcclusion, ItemTransforms transforms, TextureSlots.Data textureSlots, ResourceLocation parent) BlockModel
(UnbakedGeometry geometry, UnbakedModel.GuiLight guiLight, Boolean ambientOcclusion, ItemTransforms transforms, TextureSlots.Data textureSlots, ResourceLocation parent, Transformation rootTransform, RenderTypeGroup renderTypeGroup, Map<String, Boolean> partVisibility) Creates an instance of aBlockModel
record class.Variant
(ResourceLocation p_404842_) Variant
(ResourceLocation modelLocation, Variant.SimpleModelState modelState) Creates an instance of aVariant
record class. -
Uses of ResourceLocation in net.minecraft.client.renderer.blockentity
Fields in net.minecraft.client.renderer.blockentity declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
BeaconRenderer.BEAM_LOCATION
private static final ResourceLocation
TheEndGatewayRenderer.BEAM_LOCATION
static final ResourceLocation
TheEndPortalRenderer.END_PORTAL_LOCATION
static final ResourceLocation
TheEndPortalRenderer.END_SKY_LOCATION
Fields in net.minecraft.client.renderer.blockentity with type parameters of type ResourceLocationModifier and TypeFieldDescriptionstatic final Map
<SkullBlock.Type, ResourceLocation> SkullBlockRenderer.SKIN_BY_TYPE
Methods in net.minecraft.client.renderer.blockentity with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic RenderType
SkullBlockRenderer.getPlayerSkinRenderType
(ResourceLocation pTextureLocation) static RenderType
SkullBlockRenderer.getSkullRenderType
(SkullBlock.Type pType, ResourceLocation pTextureLocation) static void
BeaconRenderer.renderBeaconBeam
(PoseStack pPoseStack, MultiBufferSource pBufferSource, ResourceLocation pBeamLocation, float pPartialTick, float pTextureScale, long pGameTime, int pYOffset, int pHeight, int pColor, float pBeamRadius, float pGlowRadius) -
Uses of ResourceLocation in net.minecraft.client.renderer.entity
Fields in net.minecraft.client.renderer.entity declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
AllayRenderer.ALLAY_TEXTURE
private static final ResourceLocation
BeeRenderer.ANGRY_BEE_TEXTURE
private static final ResourceLocation
BeeRenderer.ANGRY_NECTAR_BEE_TEXTURE
private static final ResourceLocation
ArmadilloRenderer.ARMADILLO_LOCATION
private static final ResourceLocation
BatRenderer.BAT_LOCATION
private static final ResourceLocation
PolarBearRenderer.BEAR_LOCATION
private static final ResourceLocation
BeeRenderer.BEE_TEXTURE
private static final ResourceLocation
WardenRenderer.BIOLUMINESCENT_LAYER_TEXTURE
private static final ResourceLocation
BlazeRenderer.BLAZE_LOCATION
private static final ResourceLocation
ParrotRenderer.BLUE
private static final ResourceLocation
BoggedRenderer.BOGGED_OUTER_LAYER_LOCATION
private static final ResourceLocation
BoggedRenderer.BOGGED_SKELETON_LOCATION
private static final ResourceLocation
LlamaRenderer.BROWN
private static final ResourceLocation
CamelRenderer.CAMEL_LOCATION
private static final ResourceLocation
OcelotRenderer.CAT_OCELOT_LOCATION
private static final ResourceLocation
CaveSpiderRenderer.CAVE_SPIDER_LOCATION
private static final ResourceLocation
CodRenderer.COD_LOCATION
private static final ResourceLocation
StriderRenderer.COLD_LOCATION
private static final ResourceLocation
LlamaRenderer.CREAMY
private static final ResourceLocation
CreeperRenderer.CREEPER_LOCATION
static final ResourceLocation
EnderDragonRenderer.CRYSTAL_BEAM_LOCATION
static final ResourceLocation
ArmorStandRenderer.DEFAULT_SKIN_LOCATION
A constant instance of the armor stand texture, wrapped inside a ResourceLocation wrapper.private static final ResourceLocation
ShulkerRenderer.DEFAULT_TEXTURE_LOCATION
private static final ResourceLocation
DolphinRenderer.DOLPHIN_LOCATION
private static final ResourceLocation
EnderDragonRenderer.DRAGON_EXPLODING_LOCATION
private static final ResourceLocation
EnderDragonRenderer.DRAGON_EYES_LOCATION
private static final ResourceLocation
EnderDragonRenderer.DRAGON_LOCATION
private static final ResourceLocation
DrownedRenderer.DROWNED_LOCATION
static final ResourceLocation
ItemRenderer.ENCHANTED_GLINT_ARMOR
static final ResourceLocation
ItemRenderer.ENCHANTED_GLINT_ITEM
private static final ResourceLocation
EndCrystalRenderer.END_CRYSTAL_LOCATION
private static final ResourceLocation
EndermanRenderer.ENDERMAN_LOCATION
private static final ResourceLocation
EndermiteRenderer.ENDERMITE_LOCATION
private static final ResourceLocation
EvokerRenderer.EVOKER_ILLAGER
private static final ResourceLocation
ExperienceOrbRenderer.EXPERIENCE_ORB_LOCATION
private static final ResourceLocation
CreakingRenderer.EYES_TEXTURE_LOCATION
private static final ResourceLocation
HappyGhastRenderer.GHAST_BABY_LOCATION
private static final ResourceLocation
GhastRenderer.GHAST_LOCATION
private static final ResourceLocation
HappyGhastRenderer.GHAST_LOCATION
private static final ResourceLocation
HappyGhastRenderer.GHAST_ROPES
private static final ResourceLocation
GhastRenderer.GHAST_SHOOTING_LOCATION
private static final ResourceLocation
GlowSquidRenderer.GLOW_SQUID_LOCATION
private static final ResourceLocation
GoatRenderer.GOAT_LOCATION
private static final ResourceLocation
IronGolemRenderer.GOLEM_LOCATION
private static final ResourceLocation
LlamaRenderer.GRAY
private static final ResourceLocation
ParrotRenderer.GREEN
private static final ResourceLocation
ParrotRenderer.GREY
private static final ResourceLocation
GuardianRenderer.GUARDIAN_BEAM_LOCATION
static final ResourceLocation
ElderGuardianRenderer.GUARDIAN_ELDER_LOCATION
private static final ResourceLocation
GuardianRenderer.GUARDIAN_LOCATION
private static final ResourceLocation
WardenRenderer.HEART_TEXTURE
private static final ResourceLocation
HoglinRenderer.HOGLIN_LOCATION
private static final ResourceLocation
HuskRenderer.HUSK_LOCATION
private static final ResourceLocation
IllusionerRenderer.ILLUSIONER
private static final ResourceLocation
LeashKnotRenderer.KNOT_LOCATION
private static final ResourceLocation
LlamaSpitRenderer.LLAMA_SPIT_LOCATION
private static final ResourceLocation
MagmaCubeRenderer.MAGMACUBE_LOCATION
private static final ResourceLocation
AbstractMinecartRenderer.MINECART_LOCATION
private static final ResourceLocation
TropicalFishRenderer.MODEL_A_TEXTURE
private static final ResourceLocation
TropicalFishRenderer.MODEL_B_TEXTURE
private static final ResourceLocation
BeeRenderer.NECTAR_BEE_TEXTURE
static final ResourceLocation
TippableArrowRenderer.NORMAL_ARROW_LOCATION
private static final ResourceLocation
PhantomRenderer.PHANTOM_LOCATION
private static final ResourceLocation
PiglinRenderer.PIGLIN_BRUTE_LOCATION
private static final ResourceLocation
PiglinRenderer.PIGLIN_LOCATION
private static final ResourceLocation
PillagerRenderer.PILLAGER
private static final ResourceLocation
PufferfishRenderer.PUFFER_LOCATION
private static final ResourceLocation
WardenRenderer.PULSATING_SPOTS_TEXTURE_1
private static final ResourceLocation
WardenRenderer.PULSATING_SPOTS_TEXTURE_2
private static final ResourceLocation
RabbitRenderer.RABBIT_BLACK_LOCATION
private static final ResourceLocation
RabbitRenderer.RABBIT_BROWN_LOCATION
private static final ResourceLocation
RabbitRenderer.RABBIT_EVIL_LOCATION
private static final ResourceLocation
RabbitRenderer.RABBIT_GOLD_LOCATION
private static final ResourceLocation
RabbitRenderer.RABBIT_SALT_LOCATION
private static final ResourceLocation
RabbitRenderer.RABBIT_TOAST_LOCATION
private static final ResourceLocation
RabbitRenderer.RABBIT_WHITE_LOCATION
private static final ResourceLocation
RabbitRenderer.RABBIT_WHITE_SPLOTCHED_LOCATION
private static final ResourceLocation
ParrotRenderer.RED_BLUE
private static final ResourceLocation
FoxRenderer.RED_FOX_SLEEP_TEXTURE
private static final ResourceLocation
FoxRenderer.RED_FOX_TEXTURE
private static final ResourceLocation
SalmonRenderer.SALMON_LOCATION
private static final ResourceLocation
SheepRenderer.SHEEP_LOCATION
private static final ResourceLocation
SilverfishRenderer.SILVERFISH_LOCATION
private static final ResourceLocation
SkeletonRenderer.SKELETON_LOCATION
static final ResourceLocation
SlimeRenderer.SLIME_LOCATION
private static final ResourceLocation
SnifferRenderer.SNIFFER_LOCATION
private static final ResourceLocation
FoxRenderer.SNOW_FOX_SLEEP_TEXTURE
private static final ResourceLocation
FoxRenderer.SNOW_FOX_TEXTURE
private static final ResourceLocation
SnowGolemRenderer.SNOW_GOLEM_LOCATION
static final ResourceLocation
SpectralArrowRenderer.SPECTRAL_ARROW_LOCATION
private static final ResourceLocation
SpiderRenderer.SPIDER_LOCATION
private static final ResourceLocation
SquidRenderer.SQUID_LOCATION
private static final ResourceLocation
StrayRenderer.STRAY_CLOTHES_LOCATION
private static final ResourceLocation
StrayRenderer.STRAY_SKELETON_LOCATION
private static final ResourceLocation
StriderRenderer.STRIDER_LOCATION
private static final ResourceLocation
TadpoleRenderer.TADPOLE_TEXTURE
private final ResourceLocation
BoatRenderer.texture
private final ResourceLocation
DonkeyRenderer.texture
(package private) final ResourceLocation
DonkeyRenderer.Type.texture
private final ResourceLocation
RaftRenderer.texture
private final ResourceLocation
UndeadHorseRenderer.texture
(package private) final ResourceLocation
UndeadHorseRenderer.Type.texture
private static final ResourceLocation
WardenRenderer.TEXTURE
private static final ResourceLocation
BreezeRenderer.TEXTURE_LOCATION
private static final ResourceLocation
CreakingRenderer.TEXTURE_LOCATION
private static final ResourceLocation
DragonFireballRenderer.TEXTURE_LOCATION
private static final ResourceLocation
EvokerFangsRenderer.TEXTURE_LOCATION
private static final ResourceLocation
FishingHookRenderer.TEXTURE_LOCATION
private static final ResourceLocation
RavagerRenderer.TEXTURE_LOCATION
private static final ResourceLocation
ShulkerBulletRenderer.TEXTURE_LOCATION
private static final ResourceLocation[]
ShulkerRenderer.TEXTURE_LOCATION
private static final ResourceLocation
WindChargeRenderer.TEXTURE_LOCATION
static final ResourceLocation
TippableArrowRenderer.TIPPED_ARROW_LOCATION
static final ResourceLocation
ThrownTridentRenderer.TRIDENT_LOCATION
private static final ResourceLocation
TurtleRenderer.TURTLE_LOCATION
private static final ResourceLocation
VexRenderer.VEX_CHARGING_LOCATION
private static final ResourceLocation
VexRenderer.VEX_LOCATION
private static final ResourceLocation
VillagerRenderer.VILLAGER_BASE_SKIN
private static final ResourceLocation
WanderingTraderRenderer.VILLAGER_BASE_SKIN
private static final ResourceLocation
VindicatorRenderer.VINDICATOR
private static final ResourceLocation
LlamaRenderer.WHITE
private static final ResourceLocation
WitchRenderer.WITCH_LOCATION
private static final ResourceLocation
WitherBossRenderer.WITHER_INVULNERABLE_LOCATION
private static final ResourceLocation
WitherSkullRenderer.WITHER_INVULNERABLE_LOCATION
private static final ResourceLocation
WitherBossRenderer.WITHER_LOCATION
private static final ResourceLocation
WitherSkullRenderer.WITHER_LOCATION
private static final ResourceLocation
WitherSkeletonRenderer.WITHER_SKELETON_LOCATION
private static final ResourceLocation
ParrotRenderer.YELLOW_BLUE
private static final ResourceLocation
ZoglinRenderer.ZOGLIN_LOCATION
private static final ResourceLocation
AbstractZombieRenderer.ZOMBIE_LOCATION
private static final ResourceLocation
GiantMobRenderer.ZOMBIE_LOCATION
private static final ResourceLocation
ZombieVillagerRenderer.ZOMBIE_VILLAGER_LOCATION
private static final ResourceLocation
ZombifiedPiglinRenderer.ZOMBIFIED_PIGLIN_LOCATION
Fields in net.minecraft.client.renderer.entity with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Map
<Variant, ResourceLocation> HorseRenderer.LOCATION_BY_VARIANT
private static final Map
<Axolotl.Variant, ResourceLocation> AxolotlRenderer.TEXTURE_BY_TYPE
private static final Map
<MushroomCow.Variant, ResourceLocation> MushroomCowRenderer.TEXTURES
private static final Map
<Panda.Gene, ResourceLocation> PandaRenderer.TEXTURES
Methods in net.minecraft.client.renderer.entity that return ResourceLocationModifier and TypeMethodDescriptionAbstractZombieRenderer.getTextureLocation
(S pRenderState) AllayRenderer.getTextureLocation
(AllayRenderState p_361874_) ArmadilloRenderer.getTextureLocation
(ArmadilloRenderState p_364558_) ArmorStandRenderer.getTextureLocation
(ArmorStandRenderState pRenderState) protected abstract ResourceLocation
ArrowRenderer.getTextureLocation
(S pRenderState) AxolotlRenderer.getTextureLocation
(AxolotlRenderState p_362427_) BatRenderer.getTextureLocation
(BatRenderState p_360545_) BeeRenderer.getTextureLocation
(BeeRenderState p_363810_) BlazeRenderer.getTextureLocation
(LivingEntityRenderState pRenderState) BoggedRenderer.getTextureLocation
(BoggedRenderState p_360981_) BreezeRenderer.getTextureLocation
(BreezeRenderState pRenderState) CamelRenderer.getTextureLocation
(CamelRenderState p_364241_) CatRenderer.getTextureLocation
(CatRenderState p_362035_) CaveSpiderRenderer.getTextureLocation
(LivingEntityRenderState p_362781_) ChickenRenderer.getTextureLocation
(ChickenRenderState pRenderState) CodRenderer.getTextureLocation
(LivingEntityRenderState p_362950_) CowRenderer.getTextureLocation
(CowRenderState pRenderState) CreakingRenderer.getTextureLocation
(CreakingRenderState p_379686_) CreeperRenderer.getTextureLocation
(CreeperRenderState p_363813_) DolphinRenderer.getTextureLocation
(DolphinRenderState p_362016_) DonkeyRenderer.getTextureLocation
(DonkeyRenderState pRenderState) DrownedRenderer.getTextureLocation
(ZombieRenderState p_361561_) ElderGuardianRenderer.getTextureLocation
(GuardianRenderState p_360347_) EndermanRenderer.getTextureLocation
(EndermanRenderState p_361663_) EndermiteRenderer.getTextureLocation
(LivingEntityRenderState p_363663_) EvokerRenderer.getTextureLocation
(EvokerRenderState p_361448_) FoxRenderer.getTextureLocation
(FoxRenderState p_365240_) FrogRenderer.getTextureLocation
(FrogRenderState p_365294_) GhastRenderer.getTextureLocation
(GhastRenderState p_361669_) GiantMobRenderer.getTextureLocation
(ZombieRenderState pRenderState) GlowSquidRenderer.getTextureLocation
(SquidRenderState p_362231_) GoatRenderer.getTextureLocation
(GoatRenderState p_362356_) GuardianRenderer.getTextureLocation
(GuardianRenderState pRenderState) HappyGhastRenderer.getTextureLocation
(HappyGhastRenderState p_415985_) HoglinRenderer.getTextureLocation
(HoglinRenderState p_364914_) HorseRenderer.getTextureLocation
(HorseRenderState p_365094_) HuskRenderer.getTextureLocation
(ZombieRenderState p_365391_) IllusionerRenderer.getTextureLocation
(IllusionerRenderState p_361469_) IronGolemRenderer.getTextureLocation
(IronGolemRenderState p_362083_) abstract ResourceLocation
LivingEntityRenderer.getTextureLocation
(S pRenderState) LlamaRenderer.getTextureLocation
(LlamaRenderState pRenderState) MagmaCubeRenderer.getTextureLocation
(SlimeRenderState pRenderState) MushroomCowRenderer.getTextureLocation
(MushroomCowRenderState pRenderState) OcelotRenderer.getTextureLocation
(FelineRenderState p_361442_) PandaRenderer.getTextureLocation
(PandaRenderState pRenderState) ParrotRenderer.getTextureLocation
(ParrotRenderState pRenderState) PhantomRenderer.getTextureLocation
(PhantomRenderState p_363735_) PiglinRenderer.getTextureLocation
(PiglinRenderState pRenderState) PigRenderer.getTextureLocation
(PigRenderState pRenderState) PillagerRenderer.getTextureLocation
(IllagerRenderState p_360658_) PolarBearRenderer.getTextureLocation
(PolarBearRenderState p_360804_) PufferfishRenderer.getTextureLocation
(PufferfishRenderState p_363552_) RabbitRenderer.getTextureLocation
(RabbitRenderState p_365061_) RavagerRenderer.getTextureLocation
(RavagerRenderState p_363518_) SalmonRenderer.getTextureLocation
(SalmonRenderState p_365406_) SheepRenderer.getTextureLocation
(SheepRenderState p_360570_) ShulkerRenderer.getTextureLocation
(ShulkerRenderState pRenderState) static ResourceLocation
ShulkerRenderer.getTextureLocation
(DyeColor pColor) SilverfishRenderer.getTextureLocation
(LivingEntityRenderState p_361306_) SkeletonRenderer.getTextureLocation
(SkeletonRenderState p_365297_) SlimeRenderer.getTextureLocation
(SlimeRenderState p_365351_) SnifferRenderer.getTextureLocation
(SnifferRenderState p_360679_) SnowGolemRenderer.getTextureLocation
(SnowGolemRenderState p_388676_) protected ResourceLocation
SpectralArrowRenderer.getTextureLocation
(ArrowRenderState p_364566_) SpiderRenderer.getTextureLocation
(LivingEntityRenderState pRenderState) SquidRenderer.getTextureLocation
(SquidRenderState pRenderState) StrayRenderer.getTextureLocation
(SkeletonRenderState p_365489_) StriderRenderer.getTextureLocation
(StriderRenderState p_363553_) TadpoleRenderer.getTextureLocation
(LivingEntityRenderState p_361492_) protected ResourceLocation
TippableArrowRenderer.getTextureLocation
(TippableArrowRenderState p_362029_) TropicalFishRenderer.getTextureLocation
(TropicalFishRenderState pRenderState) TurtleRenderer.getTextureLocation
(TurtleRenderState p_362874_) UndeadHorseRenderer.getTextureLocation
(EquineRenderState pRenderState) VexRenderer.getTextureLocation
(VexRenderState pRenderState) VillagerRenderer.getTextureLocation
(VillagerRenderState p_362235_) VindicatorRenderer.getTextureLocation
(IllagerRenderState p_364813_) WanderingTraderRenderer.getTextureLocation
(VillagerRenderState p_365495_) WardenRenderer.getTextureLocation
(WardenRenderState pRenderState) WitchRenderer.getTextureLocation
(WitchRenderState p_363921_) WitherBossRenderer.getTextureLocation
(WitherRenderState pRenderState) WitherSkeletonRenderer.getTextureLocation
(SkeletonRenderState p_362316_) private ResourceLocation
WitherSkullRenderer.getTextureLocation
(WitherSkullRenderState pRenderState) WolfRenderer.getTextureLocation
(WolfRenderState p_364302_) ZoglinRenderer.getTextureLocation
(HoglinRenderState p_365121_) ZombieVillagerRenderer.getTextureLocation
(ZombieVillagerRenderState p_363256_) ZombifiedPiglinRenderer.getTextureLocation
(ZombifiedPiglinRenderState pRenderState) static ResourceLocation
ParrotRenderer.getVariantTexture
(Parrot.Variant pVariant) Constructors in net.minecraft.client.renderer.entity with parameters of type ResourceLocationModifierConstructorDescriptionprivate
Type
(ResourceLocation pTexture, ModelLayerLocation pModel, ModelLayerLocation pBabyModel, EquipmentClientInfo.LayerType pSaddleLayer, ModelLayerLocation pSaddleModel, ModelLayerLocation pBabySaddleModel) private
Type
(ResourceLocation pTexture, ModelLayerLocation pModel, ModelLayerLocation pBabyModel, EquipmentClientInfo.LayerType pSaddleLayer, ModelLayerLocation pSaddleModel, ModelLayerLocation pBabySaddleModel) -
Uses of ResourceLocation in net.minecraft.client.renderer.entity.layers
Fields in net.minecraft.client.renderer.entity.layers declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
BeeStingerLayer.BEE_STINGER_LOCATION
private static final ResourceLocation
TropicalFishPatternLayer.BETTY_TEXTURE
private static final ResourceLocation
TropicalFishPatternLayer.BLOCKFISH_TEXTURE
private static final ResourceLocation
TropicalFishPatternLayer.BRINELY_TEXTURE
private static final ResourceLocation
CatCollarLayer.CAT_COLLAR_LOCATION
private static final ResourceLocation
TropicalFishPatternLayer.CLAYFISH_TEXTURE
private final ResourceLocation
SkeletonClothingLayer.clothesLocation
private static final ResourceLocation
TropicalFishPatternLayer.DASHER_TEXTURE
private static final ResourceLocation
DrownedOuterLayer.DROWNED_OUTER_LAYER_LOCATION
private static final ResourceLocation
TropicalFishPatternLayer.FLOPPER_TEXTURE
private static final ResourceLocation
TropicalFishPatternLayer.GLITTER_TEXTURE
private static final ResourceLocation
HorseMarkingLayer.INVISIBLE_TEXTURE
private static final ResourceLocation
TropicalFishPatternLayer.KOB_TEXTURE
private static final ResourceLocation
CreeperPowerLayer.POWER_LOCATION
private static final ResourceLocation
SheepWoolLayer.SHEEP_WOOL_LOCATION
private static final ResourceLocation
SheepWoolUndercoatLayer.SHEEP_WOOL_UNDERCOAT_LOCATION
private static final ResourceLocation
TropicalFishPatternLayer.SNOOPER_TEXTURE
private static final ResourceLocation
TropicalFishPatternLayer.SPOTTY_TEXTURE
private static final ResourceLocation
TropicalFishPatternLayer.STRIPEY_TEXTURE
private static final ResourceLocation
TropicalFishPatternLayer.SUNSTREAK_TEXTURE
private final ResourceLocation
LivingEntityEmissiveLayer.texture
private final ResourceLocation
StuckInBodyLayer.texture
static final ResourceLocation
SpinAttackEffectLayer.TEXTURE
private static final ResourceLocation
BreezeWindLayer.TEXTURE_LOCATION
private static final ResourceLocation
WitherArmorLayer.WITHER_ARMOR_LOCATION
private static final ResourceLocation
WolfCollarLayer.WOLF_COLLAR_LOCATION
Fields in net.minecraft.client.renderer.entity.layers with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Map
<Crackiness.Level, ResourceLocation> WolfArmorLayer.ARMOR_CRACK_LOCATIONS
private final Function
<ResourceLocation, RenderType> LivingEntityEmissiveLayer.bufferProvider
private final Function
<EquipmentLayerRenderer.LayerTextureKey, ResourceLocation> EquipmentLayerRenderer.layerTextureLookup
private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap
<ResourceLocation> VillagerProfessionLayer.LEVEL_LOCATIONS
private static final Map
<Markings, ResourceLocation> HorseMarkingLayer.LOCATION_BY_MARKINGS
private static final Map
<Crackiness.Level, ResourceLocation> IronGolemCrackinessLayer.resourceLocations
Methods in net.minecraft.client.renderer.entity.layers that return ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceLocation
WingsLayer.getPlayerElytraTexture
(HumanoidRenderState pRenderState) private ResourceLocation
VillagerProfessionLayer.getResourceLocation
(String pFolder, Holder<?> pHolder) private ResourceLocation
VillagerProfessionLayer.getResourceLocation
(String pFolder, ResourceLocation pLocation) protected ResourceLocation
CreeperPowerLayer.getTextureLocation()
protected abstract ResourceLocation
EnergySwirlLayer.getTextureLocation()
protected ResourceLocation
WitherArmorLayer.getTextureLocation()
EquipmentLayerRenderer.TrimSpriteKey.spriteId()
Methods in net.minecraft.client.renderer.entity.layers with parameters of type ResourceLocationModifier and TypeMethodDescriptionprotected static <S extends LivingEntityRenderState>
voidRenderLayer.coloredCutoutModelCopyLayerRender
(EntityModel<S> pModel, ResourceLocation pTextureLocation, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, S pRenderState, int pColor) private ResourceLocation
VillagerProfessionLayer.getResourceLocation
(String pFolder, ResourceLocation pLocation) protected static void
RenderLayer.renderColoredCutoutModel
(EntityModel<?> pModel, ResourceLocation pTextureLocation, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, LivingEntityRenderState pRenderState, int pColor) void
EquipmentLayerRenderer.renderLayers
(EquipmentClientInfo.LayerType pLayerType, ResourceKey<EquipmentAsset> pEquipmentAsset, Model pArmorModel, ItemStack pItem, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, ResourceLocation pPlayerTexture) Constructors in net.minecraft.client.renderer.entity.layers with parameters of type ResourceLocationModifierConstructorDescriptionLivingEntityEmissiveLayer
(RenderLayerParent<S, M> pRenderer, ResourceLocation pTexture, LivingEntityEmissiveLayer.AlphaFunction<S> pAlphaFunction, LivingEntityEmissiveLayer.DrawSelector<S, M> pDrawSelector, Function<ResourceLocation, RenderType> pBufferProvider, boolean pAlwaysVisible) RopesLayer
(RenderLayerParent<HappyGhastRenderState, M> pRenderer, EntityModelSet pEntityModels, ResourceLocation pTexture) SkeletonClothingLayer
(RenderLayerParent<S, M> pRenderer, EntityModelSet pModels, ModelLayerLocation pModelLayerLocation, ResourceLocation pClothesLocation) StuckInBodyLayer
(LivingEntityRenderer<?, PlayerRenderState, M> pRenderer, Model pModel, ResourceLocation pTexture, StuckInBodyLayer.PlacementStyle pPlacementStyle) Constructor parameters in net.minecraft.client.renderer.entity.layers with type arguments of type ResourceLocationModifierConstructorDescriptionLivingEntityEmissiveLayer
(RenderLayerParent<S, M> pRenderer, ResourceLocation pTexture, LivingEntityEmissiveLayer.AlphaFunction<S> pAlphaFunction, LivingEntityEmissiveLayer.DrawSelector<S, M> pDrawSelector, Function<ResourceLocation, RenderType> pBufferProvider, boolean pAlwaysVisible) -
Uses of ResourceLocation in net.minecraft.client.renderer.entity.player
Methods in net.minecraft.client.renderer.entity.player that return ResourceLocationModifier and TypeMethodDescriptionPlayerRenderer.getTextureLocation
(PlayerRenderState pRenderState) Methods in net.minecraft.client.renderer.entity.player with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate void
PlayerRenderer.renderHand
(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, ResourceLocation pSkinTexture, ModelPart pArm, boolean pIsSleeveVisible) void
PlayerRenderer.renderLeftHand
(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, ResourceLocation pSkinTexture, boolean pIsSleeveVisible) Deprecated.void
PlayerRenderer.renderLeftHand
(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, ResourceLocation pSkinTexture, boolean pIsSleeveVisible, AbstractClientPlayer player) void
PlayerRenderer.renderRightHand
(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, ResourceLocation pSkinTexture, boolean pIsSleeveVisible) Deprecated.void
PlayerRenderer.renderRightHand
(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, ResourceLocation pSkinTexture, boolean pIsSleeveVisible, AbstractClientPlayer player) -
Uses of ResourceLocation in net.minecraft.client.renderer.entity.state
Fields in net.minecraft.client.renderer.entity.state declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
CatRenderState.DEFAULT_TEXTURE
private static final ResourceLocation
FrogRenderState.DEFAULT_TEXTURE
private static final ResourceLocation
WolfRenderState.DEFAULT_TEXTURE
CatRenderState.texture
FrogRenderState.texture
WolfRenderState.texture
-
Uses of ResourceLocation in net.minecraft.client.renderer.item
Fields in net.minecraft.client.renderer.item declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
SpecialModelWrapper.Unbaked.base
The field for thebase
record component.private final ResourceLocation
BlockModelWrapper.Unbaked.model
The field for themodel
record component.Fields in net.minecraft.client.renderer.item with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Function
<ResourceLocation, ClientItem.Properties> ItemModelResolver.clientProperties
private static final ExtraCodecs.LateBoundIdMapper
<ResourceLocation, com.mojang.serialization.MapCodec<? extends ItemModel.Unbaked>> ItemModels.ID_MAPPER
private final Function
<ResourceLocation, ItemModel> ItemModelResolver.modelGetter
Methods in net.minecraft.client.renderer.item that return ResourceLocationModifier and TypeMethodDescriptionSpecialModelWrapper.Unbaked.base()
Returns the value of thebase
record component.BlockModelWrapper.Unbaked.model()
Returns the value of themodel
record component.Constructors in net.minecraft.client.renderer.item with parameters of type ResourceLocationModifierConstructorDescriptionUnbaked
(ResourceLocation model, List<ItemTintSource> tints) Creates an instance of aUnbaked
record class.Unbaked
(ResourceLocation base, SpecialModelRenderer.Unbaked specialModel) Creates an instance of aUnbaked
record class. -
Uses of ResourceLocation in net.minecraft.client.renderer.item.properties.conditional
Fields in net.minecraft.client.renderer.item.properties.conditional with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final ExtraCodecs.LateBoundIdMapper
<ResourceLocation, com.mojang.serialization.MapCodec<? extends ConditionalItemModelProperty>> ConditionalItemModelProperties.ID_MAPPER
-
Uses of ResourceLocation in net.minecraft.client.renderer.item.properties.numeric
Fields in net.minecraft.client.renderer.item.properties.numeric with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final ExtraCodecs.LateBoundIdMapper
<ResourceLocation, com.mojang.serialization.MapCodec<? extends RangeSelectItemModelProperty>> RangeSelectItemModelProperties.ID_MAPPER
-
Uses of ResourceLocation in net.minecraft.client.renderer.item.properties.select
Fields in net.minecraft.client.renderer.item.properties.select with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final ExtraCodecs.LateBoundIdMapper
<ResourceLocation, SelectItemModelProperty.Type<?, ?>> SelectItemModelProperties.ID_MAPPER
-
Uses of ResourceLocation in net.minecraft.client.renderer.special
Fields in net.minecraft.client.renderer.special declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
ChestSpecialRenderer.ENDER_CHEST_TEXTURE
static final ResourceLocation
ChestSpecialRenderer.GIFT_CHEST_TEXTURE
static final ResourceLocation
ChestSpecialRenderer.NORMAL_CHEST_TEXTURE
private final ResourceLocation
BedSpecialRenderer.Unbaked.texture
The field for thetexture
record component.private final ResourceLocation
ChestSpecialRenderer.Unbaked.texture
The field for thetexture
record component.private final ResourceLocation
ShulkerBoxSpecialRenderer.Unbaked.texture
The field for thetexture
record component.static final ResourceLocation
ChestSpecialRenderer.TRAPPED_CHEST_TEXTURE
Fields in net.minecraft.client.renderer.special with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final ExtraCodecs.LateBoundIdMapper
<ResourceLocation, com.mojang.serialization.MapCodec<? extends SpecialModelRenderer.Unbaked>> SpecialModelRenderers.ID_MAPPER
private final Optional
<ResourceLocation> HangingSignSpecialRenderer.Unbaked.texture
The field for thetexture
record component.private final Optional
<ResourceLocation> StandingSignSpecialRenderer.Unbaked.texture
The field for thetexture
record component.private final Optional
<ResourceLocation> SkullSpecialRenderer.Unbaked.textureOverride
The field for thetextureOverride
record component.Methods in net.minecraft.client.renderer.special that return ResourceLocationModifier and TypeMethodDescriptionBedSpecialRenderer.Unbaked.texture()
Returns the value of thetexture
record component.ChestSpecialRenderer.Unbaked.texture()
Returns the value of thetexture
record component.ShulkerBoxSpecialRenderer.Unbaked.texture()
Returns the value of thetexture
record component.Methods in net.minecraft.client.renderer.special that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionHangingSignSpecialRenderer.Unbaked.texture()
Returns the value of thetexture
record component.StandingSignSpecialRenderer.Unbaked.texture()
Returns the value of thetexture
record component.SkullSpecialRenderer.Unbaked.textureOverride()
Returns the value of thetextureOverride
record component.Constructors in net.minecraft.client.renderer.special with parameters of type ResourceLocationModifierConstructorDescriptionUnbaked
(ResourceLocation texture) Creates an instance of aUnbaked
record class.Unbaked
(ResourceLocation p_387139_) Unbaked
(ResourceLocation texture, float openness) Creates an instance of aUnbaked
record class.Unbaked
(ResourceLocation texture, float openness, Direction orientation) Creates an instance of aUnbaked
record class.Constructor parameters in net.minecraft.client.renderer.special with type arguments of type ResourceLocationModifierConstructorDescriptionUnbaked
(WoodType woodType, Optional<ResourceLocation> texture) Creates an instance of aUnbaked
record class.Unbaked
(SkullBlock.Type kind, Optional<ResourceLocation> textureOverride, float animation) Creates an instance of aUnbaked
record class.Unbaked
(WoodType woodType, Optional<ResourceLocation> texture) Creates an instance of aUnbaked
record class. -
Uses of ResourceLocation in net.minecraft.client.renderer.state
Fields in net.minecraft.client.renderer.state declared as ResourceLocation -
Uses of ResourceLocation in net.minecraft.client.renderer.texture
Fields in net.minecraft.client.renderer.texture declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
TextureAtlasSprite.atlasLocation
static final ResourceLocation
TextureManager.INTENTIONAL_MISSING_TEXTURE
private final ResourceLocation
SpriteLoader.location
private final ResourceLocation
TextureAtlas.location
static final ResourceLocation
TextureAtlas.LOCATION_BLOCKS
Deprecated.static final ResourceLocation
TextureAtlas.LOCATION_PARTICLES
Deprecated.private static final ResourceLocation
MissingTextureAtlasSprite.MISSING_TEXTURE_LOCATION
private final ResourceLocation
SpriteContents.name
private final ResourceLocation
ReloadableTexture.resourceId
Fields in net.minecraft.client.renderer.texture with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, AbstractTexture> TextureManager.byPath
private final Map
<ResourceLocation, TextureAtlasSprite> SpriteLoader.Preparations.regions
The field for theregions
record component.private Map
<ResourceLocation, TextureAtlasSprite> TextureAtlas.texturesByName
Methods in net.minecraft.client.renderer.texture that return ResourceLocationModifier and TypeMethodDescriptionTextureAtlasSprite.atlasLocation()
static ResourceLocation
MissingTextureAtlasSprite.getLocation()
TextureAtlas.location()
SpriteContents.name()
Stitcher.Entry.name()
ReloadableTexture.resourceId()
Methods in net.minecraft.client.renderer.texture that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic CompletableFuture
<ResourceLocation> SkinTextureDownloader.downloadAndRegisterSkin
(ResourceLocation pTextureLocation, Path pPath, String pUrl, boolean pIsLegacySkin) private Map
<ResourceLocation, TextureAtlasSprite> SpriteLoader.getStitchedSprites
(Stitcher<SpriteContents> pStitcher, int pX, int pY) TextureAtlas.getTextures()
SpriteLoader.Preparations.regions()
Returns the value of theregions
record component.private static CompletableFuture
<ResourceLocation> SkinTextureDownloader.registerTextureInManager
(ResourceLocation pLocation, NativeImage pImage) Methods in net.minecraft.client.renderer.texture with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic CompletableFuture
<ResourceLocation> SkinTextureDownloader.downloadAndRegisterSkin
(ResourceLocation pTextureLocation, Path pPath, String pUrl, boolean pIsLegacySkin) void
Dumpable.dumpContents
(ResourceLocation pResourceLocation, Path pPath) void
DynamicTexture.dumpContents
(ResourceLocation pResourceLocation, Path pPath) void
TextureAtlas.dumpContents
(ResourceLocation pResourceLocation, Path pPath) TextureAtlas.getSprite
(ResourceLocation pName) TextureManager.getTexture
(ResourceLocation pPath) static TextureContents
TextureContents.load
(ResourceManager pResourceManager, ResourceLocation pTextureId) SpriteLoader.loadAndStitch
(ResourceManager pResourceManager, ResourceLocation pLocation, int pMipLevel, Executor pExecutor) SpriteLoader.loadAndStitch
(ResourceManager pResourceManager, ResourceLocation pLocation, int pMipLevel, Executor pExecutor, Collection<MetadataSectionType<?>> pSectionSerializers) private static TextureContents
TextureManager.loadContents
(ResourceManager pResourceManager, ResourceLocation pTextureId, ReloadableTexture pTexture) private TextureContents
TextureManager.loadContentsSafe
(ResourceLocation pTextureId, ReloadableTexture pTexture) void
TextureManager.register
(ResourceLocation pPath, AbstractTexture pTexture) void
TextureManager.registerAndLoad
(ResourceLocation pTextureId, ReloadableTexture pTexture) void
TextureManager.registerForNextReload
(ResourceLocation pTextureId) private static CompletableFuture
<ResourceLocation> SkinTextureDownloader.registerTextureInManager
(ResourceLocation pLocation, NativeImage pImage) void
TextureManager.release
(ResourceLocation pPath) private void
TextureManager.safeClose
(ResourceLocation p_118509_, AbstractTexture p_118510_) private static TextureManager.PendingReload
TextureManager.scheduleLoad
(ResourceManager pResourceManager, ResourceLocation pTextureId, ReloadableTexture pTexture, Executor pExecutor) Method parameters in net.minecraft.client.renderer.texture with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static void
TextureAtlas.dumpSpriteNames
(Path pOutputDir, String pOutputFilename, Map<ResourceLocation, TextureAtlasSprite> pSprites) Constructors in net.minecraft.client.renderer.texture with parameters of type ResourceLocationModifierConstructorDescriptionCubeMapTexture
(ResourceLocation p_423589_) ReloadableTexture
(ResourceLocation pResourceId) SimpleTexture
(ResourceLocation pLocation) SpriteContents
(ResourceLocation pName, FrameSize pFrameSize, NativeImage pOriginalImage, ResourceMetadata pMetadata) SpriteLoader
(ResourceLocation pLocation, int pMaxSupportedTextureSize, int pMinWidth, int pMinHeight) TextureAtlas
(ResourceLocation pLocation) protected
TextureAtlasSprite
(ResourceLocation pAtlasLocation, SpriteContents pContents, int pOriginX, int pOriginY, int pX, int pY) Constructor parameters in net.minecraft.client.renderer.texture with type arguments of type ResourceLocationModifierConstructorDescriptionPreparations
(int width, int height, int mipLevel, TextureAtlasSprite missing, Map<ResourceLocation, TextureAtlasSprite> regions, CompletableFuture<Void> readyForUpload) Creates an instance of aPreparations
record class. -
Uses of ResourceLocation in net.minecraft.client.renderer.texture.atlas
Fields in net.minecraft.client.renderer.texture.atlas with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final ExtraCodecs.LateBoundIdMapper
<ResourceLocation, com.mojang.serialization.MapCodec<? extends SpriteSource>> SpriteSources.ID_MAPPER
Methods in net.minecraft.client.renderer.texture.atlas with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoid
SpriteSource.Output.add
(ResourceLocation pLocation, SpriteSource.SpriteSupplier pSprite) default void
SpriteSource.Output.add
(ResourceLocation pLocation, Resource pResource) static SpriteSourceList
SpriteSourceList.load
(ResourceManager pResourceManager, ResourceLocation pSprite) default SpriteContents
SpriteResourceLoader.loadSprite
(ResourceLocation pLocation, Resource pResource) SpriteResourceLoader.loadSprite
(ResourceLocation pLocation, Resource pResource, SpriteContentsConstructor constructor) Method parameters in net.minecraft.client.renderer.texture.atlas with type arguments of type ResourceLocationModifier and TypeMethodDescriptionvoid
SpriteSource.Output.removeAll
(Predicate<ResourceLocation> pPredicate) -
Uses of ResourceLocation in net.minecraft.client.renderer.texture.atlas.sources
Fields in net.minecraft.client.renderer.texture.atlas.sources declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
LazyLoadedImage.id
private final ResourceLocation
PalettedPermutations.paletteKey
The field for thepaletteKey
record component.private final ResourceLocation
PalettedPermutations.PalettedSpriteSupplier.permutationLocation
The field for thepermutationLocation
record component.private final ResourceLocation
Unstitcher.resource
The field for theresource
record component.private final ResourceLocation
SingleFile.resourceId
The field for theresourceId
record component.private final ResourceLocation
Unstitcher.Region.sprite
The field for thesprite
record component.Fields in net.minecraft.client.renderer.texture.atlas.sources with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<String, ResourceLocation> PalettedPermutations.permutations
The field for thepermutations
record component.private final Optional
<ResourceLocation> SingleFile.spriteId
The field for thespriteId
record component.private final List
<ResourceLocation> PalettedPermutations.textures
The field for thetextures
record component.Methods in net.minecraft.client.renderer.texture.atlas.sources that return ResourceLocationModifier and TypeMethodDescriptionPalettedPermutations.paletteKey()
Returns the value of thepaletteKey
record component.PalettedPermutations.PalettedSpriteSupplier.permutationLocation()
Returns the value of thepermutationLocation
record component.Unstitcher.resource()
Returns the value of theresource
record component.SingleFile.resourceId()
Returns the value of theresourceId
record component.Unstitcher.Region.sprite()
Returns the value of thesprite
record component.Methods in net.minecraft.client.renderer.texture.atlas.sources that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionPalettedPermutations.permutations()
Returns the value of thepermutations
record component.SingleFile.spriteId()
Returns the value of thespriteId
record component.PalettedPermutations.textures()
Returns the value of thetextures
record component.Methods in net.minecraft.client.renderer.texture.atlas.sources with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static int[]
PalettedPermutations.loadPaletteEntryFromImage
(ResourceManager pResourceManager, ResourceLocation pPalette) Constructors in net.minecraft.client.renderer.texture.atlas.sources with parameters of type ResourceLocationModifierConstructorDescriptionLazyLoadedImage
(ResourceLocation pId, Resource pResource, int pReferenceCount) PalettedPermutations
(List<ResourceLocation> p_267282_, ResourceLocation p_266681_, Map<String, ResourceLocation> p_266741_) PalettedPermutations
(List<ResourceLocation> textures, ResourceLocation paletteKey, Map<String, ResourceLocation> permutations, String separator) Creates an instance of aPalettedPermutations
record class.PalettedSpriteSupplier
(LazyLoadedImage baseImage, Supplier<IntUnaryOperator> palette, ResourceLocation permutationLocation) Creates an instance of aPalettedSpriteSupplier
record class.Region
(ResourceLocation sprite, double x, double y, double width, double height) Creates an instance of aRegion
record class.SingleFile
(ResourceLocation p_400289_) SingleFile
(ResourceLocation resourceId, Optional<ResourceLocation> spriteId) Creates an instance of aSingleFile
record class.Unstitcher
(ResourceLocation resource, List<Unstitcher.Region> regions, double xDivisor, double yDivisor) Creates an instance of aUnstitcher
record class.Constructor parameters in net.minecraft.client.renderer.texture.atlas.sources with type arguments of type ResourceLocationModifierConstructorDescriptionPalettedPermutations
(List<ResourceLocation> p_267282_, ResourceLocation p_266681_, Map<String, ResourceLocation> p_266741_) PalettedPermutations
(List<ResourceLocation> p_267282_, ResourceLocation p_266681_, Map<String, ResourceLocation> p_266741_) PalettedPermutations
(List<ResourceLocation> textures, ResourceLocation paletteKey, Map<String, ResourceLocation> permutations, String separator) Creates an instance of aPalettedPermutations
record class.PalettedPermutations
(List<ResourceLocation> textures, ResourceLocation paletteKey, Map<String, ResourceLocation> permutations, String separator) Creates an instance of aPalettedPermutations
record class.SingleFile
(ResourceLocation resourceId, Optional<ResourceLocation> spriteId) Creates an instance of aSingleFile
record class. -
Uses of ResourceLocation in net.minecraft.client.resources
Fields in net.minecraft.client.resources declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
TextureAtlasHolder.atlasInfoLocation
private static final ResourceLocation
PaintingTextureManager.BACK_SPRITE_LOCATION
private final ResourceLocation
PlayerSkin.capeTexture
The field for thecapeTexture
record component.private final ResourceLocation
PlayerSkin.elytraTexture
The field for theelytraTexture
record component.(package private) final ResourceLocation
MapTextureManager.MapInstance.location
private static final ResourceLocation
DryFoliageColorReloadListener.LOCATION
private static final ResourceLocation
FoliageColorReloadListener.LOCATION
private static final ResourceLocation
GrassColorReloadListener.LOCATION
private static final ResourceLocation
ClientPackSource.PACKS_DIR
static final ResourceLocation
SplashManager.SPLASHES_LOCATION
private final ResourceLocation
PlayerSkin.texture
The field for thetexture
record component.Fields in net.minecraft.client.resources with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final List
<ResourceLocation> WaypointStyle.spriteLocations
The field for thespriteLocations
record component.private final List
<ResourceLocation> WaypointStyle.sprites
The field for thesprites
record component.private final Map
<String, CompletableFuture<ResourceLocation>> SkinManager.TextureCache.textures
Methods in net.minecraft.client.resources that return ResourceLocationModifier and TypeMethodDescriptionPlayerSkin.capeTexture()
Returns the value of thecapeTexture
record component.PlayerSkin.elytraTexture()
Returns the value of theelytraTexture
record component.static ResourceLocation
DefaultPlayerSkin.getDefaultTexture()
private ResourceLocation
SkinManager.TextureCache.getTextureLocation
(String pName) MapTextureManager.prepareMapTexture
(MapId pId, MapItemSavedData pData) WaypointStyle.sprite
(float pDistance) PlayerSkin.texture()
Returns the value of thetexture
record component.Methods in net.minecraft.client.resources that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionSkinManager.TextureCache.getOrLoad
(com.mojang.authlib.minecraft.MinecraftProfileTexture p_294862_) private CompletableFuture
<ResourceLocation> SkinManager.TextureCache.registerTexture
(com.mojang.authlib.minecraft.MinecraftProfileTexture p_295647_) WaypointStyle.spriteLocations()
Returns the value of thespriteLocations
record component.WaypointStyle.sprites()
Returns the value of thesprites
record component.Methods in net.minecraft.client.resources with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic int[]
LegacyStuffWrapper.getPixels
(ResourceManager pManager, ResourceLocation pLocation) Deprecated.protected TextureAtlasSprite
TextureAtlasHolder.getSprite
(ResourceLocation pLocation) Gets a sprite associated with the passed resource location.Method parameters in net.minecraft.client.resources with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprotected void
WaypointStyleManager.apply
(Map<ResourceLocation, WaypointStyle> pObject, ResourceManager pResourceManager, ProfilerFiller pProfiler) Constructors in net.minecraft.client.resources with parameters of type ResourceLocationModifierConstructorDescriptionPlayerSkin
(ResourceLocation texture, String textureUrl, ResourceLocation capeTexture, ResourceLocation elytraTexture, PlayerSkin.Model model, boolean secure) Creates an instance of aPlayerSkin
record class.TextureAtlasHolder
(TextureManager pTextureManager, ResourceLocation pTextureAtlasLocation, ResourceLocation pAtlasInfoLocation) TextureAtlasHolder
(TextureManager pTextureManager, ResourceLocation pTextureAtlasLocation, ResourceLocation pAtlasInfoLocation, Set<MetadataSectionType<?>> pMetadataSections) Constructor parameters in net.minecraft.client.resources with type arguments of type ResourceLocationModifierConstructorDescriptionWaypointStyle
(int p_419759_, int p_419537_, List<ResourceLocation> p_420059_) WaypointStyle
(int nearDistance, int farDistance, List<ResourceLocation> sprites, List<ResourceLocation> spriteLocations) Creates an instance of aWaypointStyle
record class. -
Uses of ResourceLocation in net.minecraft.client.resources.model
Fields in net.minecraft.client.resources.model declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
AtlasIds.ARMOR_TRIMS
private final ResourceLocation
AtlasSet.AtlasEntry.atlasInfoLocation
The field for theatlasInfoLocation
record component.private final ResourceLocation
Material.atlasLocation
static final ResourceLocation
AtlasIds.BANNER_PATTERNS
static final ResourceLocation
AtlasIds.BEDS
static final ResourceLocation
AtlasIds.BLOCKS
static final ResourceLocation
AtlasIds.CHESTS
static final ResourceLocation
AtlasIds.DECORATED_POT
private static final ResourceLocation
BlockStateDefinitions.GLOW_ITEM_FRAME_LOCATION
static final ResourceLocation
AtlasIds.GUI
private final ResourceLocation
ClientItemInfoLoader.PendingLoad.id
The field for theid
record component.private final ResourceLocation
ModelDiscovery.ModelWrapper.id
private static final ResourceLocation
BlockStateDefinitions.ITEM_FRAME_LOCATION
static final ResourceLocation
MissingBlockModel.LOCATION
static final ResourceLocation
AtlasIds.MAP_DECORATIONS
static final ResourceLocation
AtlasIds.PAINTINGS
static final ResourceLocation
AtlasIds.PARTICLES
static final ResourceLocation
AtlasIds.SHIELD_PATTERNS
static final ResourceLocation
AtlasIds.SHULKER_BOXES
static final ResourceLocation
AtlasIds.SIGNS
private final ResourceLocation
Material.texture
private final ResourceLocation
EquipmentClientInfo.Layer.textureId
The field for thetextureId
record component.Fields in net.minecraft.client.resources.model with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, AtlasSet.AtlasEntry> AtlasSet.atlases
private final Map
<ResourceLocation, AtlasSet.StitchResult> ModelManager.ReloadState.atlasPreparations
The field for theatlasPreparations
record component.private Map
<ResourceLocation, ItemModel> ModelManager.bakedItemStackModels
static final List
<ResourceLocation> ModelBakery.BREAKING_LOCATIONS
private final Map
<ResourceLocation, ClientItem> ModelBakery.clientInfos
private final Map
<ResourceLocation, ClientItem> ClientItemInfoLoader.LoadedClientInfos.contents
The field for thecontents
record component.static final List
<ResourceLocation> ModelBakery.DESTROY_STAGES
private final Map
<ResourceLocation, ClientItem.Properties> ModelBakery.BakingResult.itemProperties
The field for theitemProperties
record component.private Map
<ResourceLocation, ClientItem.Properties> ModelManager.itemProperties
private final Map
<ResourceLocation, ItemModel> ModelBakery.BakingResult.itemStackModels
The field for theitemStackModels
record component.private final Map
<ResourceLocation, ResolvedModel> ModelManager.ResolvedModels.models
The field for themodels
record component.private final it.unimi.dsi.fastutil.objects.Object2ObjectMap
<ResourceLocation, ModelDiscovery.ModelWrapper> ModelDiscovery.modelWrappers
private Set
<ResourceLocation> ModelManager.reportedMissingItemModels
(package private) final Map
<ResourceLocation, ResolvedModel> ModelBakery.resolvedModels
private static final Map
<ResourceLocation, StateDefinition<Block, BlockState>> BlockStateDefinitions.STATIC_DEFINITIONS
private final it.unimi.dsi.fastutil.objects.Object2ObjectFunction
<ResourceLocation, ModelDiscovery.ModelWrapper> ModelDiscovery.uncachedResolver
private static final Map
<ResourceLocation, ResourceLocation> ModelManager.VANILLA_ATLASES
private static final Map
<ResourceLocation, ResourceLocation> ModelManager.VANILLA_ATLASES
Methods in net.minecraft.client.resources.model that return ResourceLocationModifier and TypeMethodDescriptionAtlasSet.AtlasEntry.atlasInfoLocation()
Returns the value of theatlasInfoLocation
record component.Material.atlasLocation()
EquipmentClientInfo.Layer.getTextureLocation
(EquipmentClientInfo.LayerType pType) ClientItemInfoLoader.PendingLoad.id()
Returns the value of theid
record component.default ResourceLocation
UnbakedModel.parent()
Material.texture()
EquipmentClientInfo.Layer.textureId()
Returns the value of thetextureId
record component.Methods in net.minecraft.client.resources.model that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionModelManager.ReloadState.atlasPreparations()
Returns the value of theatlasPreparations
record component.ClientItemInfoLoader.LoadedClientInfos.contents()
Returns the value of thecontents
record component.(package private) static Function
<ResourceLocation, StateDefinition<Block, BlockState>> BlockStateDefinitions.definitionLocationToBlockStateMapper()
ModelBakery.BakingResult.itemProperties()
Returns the value of theitemProperties
record component.ModelBakery.BakingResult.itemStackModels()
Returns the value of theitemStackModels
record component.private static CompletableFuture
<Map<ResourceLocation, UnbakedModel>> ModelManager.loadBlockModels
(ResourceManager pResourceManager, Executor pExecutor) ModelManager.ResolvedModels.models()
Returns the value of themodels
record component.ModelDiscovery.resolve()
AtlasSet.scheduleLoad
(ResourceManager pResourceManager, int pMipLevel, Executor pExecutor) Methods in net.minecraft.client.resources.model with parameters of type ResourceLocationModifier and TypeMethodDescriptionEquipmentClientInfo.Builder.addHumanoidLayers
(ResourceLocation pTextureId) EquipmentClientInfo.Builder.addHumanoidLayers
(ResourceLocation pTextureId, boolean pDyeable) EquipmentClientInfo.Builder.addMainHumanoidLayer
(ResourceLocation pTextureId, boolean pDyeable) void
ModelDiscovery.addSpecialModel
(ResourceLocation pId, UnbakedModel pModel) private ModelDiscovery.ModelWrapper
ModelDiscovery.createAndQueueWrapper
(ResourceLocation pId, UnbakedModel pModel) AtlasSet.getAtlas
(ResourceLocation pLocation) ModelManager.getAtlas
(ResourceLocation pLocation) ModelManager.getItemModel
(ResourceLocation pModelLocation) ModelManager.getItemProperties
(ResourceLocation pItemId) ModelBaker.getModel
(ResourceLocation pModelLocation) ModelBakery.ModelBakerImpl.getModel
(ResourceLocation pModelLocation) private ModelDiscovery.ModelWrapper
ModelDiscovery.getOrCreateModel
(ResourceLocation p_405299_) AtlasSet.StitchResult.getSprite
(ResourceLocation pLocation) static EquipmentClientInfo.Layer
EquipmentClientInfo.Layer.leatherDyeable
(ResourceLocation pTextureId, boolean pDyeable) private static BlockStateModelLoader.LoadedModels
BlockStateModelLoader.loadBlockStateDefinitionStack
(ResourceLocation pBlockStateId, StateDefinition<Block, BlockState> pStateDefinition, List<BlockStateModelLoader.LoadedBlockModelDefinition> pModelDefinitions) void
ResolvableModel.Resolver.markDependency
(ResourceLocation pDependency) static EquipmentClientInfo.Layer
EquipmentClientInfo.Layer.onlyIfDyed
(ResourceLocation pTextureId, boolean pDyeable) Method parameters in net.minecraft.client.resources.model with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprotected void
EquipmentAssetManager.apply
(Map<ResourceLocation, EquipmentClientInfo> pObject, ResourceManager pResourceManager, ProfilerFiller pProfiler) Material.buffer
(MultiBufferSource pBufferSource, Function<ResourceLocation, RenderType> pRenderTypeGetter) Material.buffer
(MultiBufferSource pBufferSource, Function<ResourceLocation, RenderType> pRenderTypeGetter, boolean pNoEntity, boolean pWithGlint) private static ModelManager.ResolvedModels
ModelManager.discoverModelDependencies
(Map<ResourceLocation, UnbakedModel> pInputModels, BlockStateModelLoader.LoadedModels pLoadedModels, ClientItemInfoLoader.LoadedClientInfos pLoadedClientInfos) private static ModelManager.ResolvedModels
ModelManager.discoverModelDependencies
(Map<ResourceLocation, UnbakedModel> pInputModels, BlockStateModelLoader.LoadedModels pLoadedModels, ClientItemInfoLoader.LoadedClientInfos pLoadedClientInfos, StandaloneModelLoader.LoadedModels standaloneModels) private static CompletableFuture
<ModelManager.ReloadState> ModelManager.loadModels
(Map<ResourceLocation, AtlasSet.StitchResult> p_250646_, ModelBakery p_248945_, it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState> p_363498_, EntityModelSet p_388110_, SpecialBlockModelRenderer p_387466_, Executor p_405316_) Material.renderType
(Function<ResourceLocation, RenderType> pRenderTypeGetter) Constructors in net.minecraft.client.resources.model with parameters of type ResourceLocationModifierConstructorDescription(package private)
AtlasEntry
(TextureAtlas atlas, ResourceLocation atlasInfoLocation) Creates an instance of aAtlasEntry
record class.Layer
(ResourceLocation p_386866_) Layer
(ResourceLocation textureId, Optional<EquipmentClientInfo.Dyeable> dyeable, boolean usePlayerTexture) Creates an instance of aLayer
record class.Material
(ResourceLocation pAtlasLocation, ResourceLocation pTexture) (package private)
ModelWrapper
(ResourceLocation pId, UnbakedModel pWrapped, boolean pValid) (package private)
PendingLoad
(ResourceLocation id, ClientItem clientItemInfo) Creates an instance of aPendingLoad
record class.Constructor parameters in net.minecraft.client.resources.model with type arguments of type ResourceLocationModifierConstructorDescriptionAtlasSet
(Map<ResourceLocation, ResourceLocation> pAtlasMap, TextureManager pTextureManager) AtlasSet
(Map<ResourceLocation, ResourceLocation> pAtlasMap, TextureManager pTextureManager) LoadedClientInfos
(Map<ResourceLocation, ClientItem> contents) Creates an instance of aLoadedClientInfos
record class.ModelDiscovery
(Map<ResourceLocation, UnbakedModel> pInputModels, UnbakedModel pMissingModel) (package private)
ResolvedModels
(ResolvedModel missing, Map<ResourceLocation, ResolvedModel> models) Creates an instance of aResolvedModels
record class. -
Uses of ResourceLocation in net.minecraft.client.resources.sounds
Fields in net.minecraft.client.resources.sounds declared as ResourceLocationModifier and TypeFieldDescriptionprotected final ResourceLocation
AbstractSoundInstance.location
private final ResourceLocation
Sound.location
Methods in net.minecraft.client.resources.sounds that return ResourceLocationModifier and TypeMethodDescriptionAbstractSoundInstance.getLocation()
Sound.getLocation()
SoundInstance.getLocation()
Sound.getPath()
Constructors in net.minecraft.client.resources.sounds with parameters of type ResourceLocationModifierConstructorDescriptionprotected
AbstractSoundInstance
(ResourceLocation pLocation, SoundSource pSource, RandomSource pRandom) SimpleSoundInstance
(ResourceLocation pLocation, SoundSource pSource, float pVolume, float pPitch, RandomSource pRandom, boolean pLooping, int pDelay, SoundInstance.Attenuation pAttenuation, double pX, double pY, double pZ, boolean pRelative) Sound
(ResourceLocation pLocation, SampledFloat pVolume, SampledFloat pPitch, int pWeight, Sound.Type pType, boolean pStream, boolean pPreload, int pAttenuationDistance) -
Uses of ResourceLocation in net.minecraft.client.searchtree
Method parameters in net.minecraft.client.searchtree with type arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic <T> ResourceLocationSearchTree
<T> ResourceLocationSearchTree.create
(List<T> pContents, Function<T, Stream<ResourceLocation>> pIdGetter) Constructor parameters in net.minecraft.client.searchtree with type arguments of type ResourceLocationModifierConstructorDescriptionIdSearchTree
(Function<T, Stream<ResourceLocation>> pIdGetter, List<T> pContents) -
Uses of ResourceLocation in net.minecraft.client.sounds
Fields in net.minecraft.client.sounds declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
SoundManager.EMPTY_SOUND_LOCATION
static final ResourceLocation
SoundManager.INTENTIONALLY_EMPTY_SOUND_LOCATION
Fields in net.minecraft.client.sounds with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, CompletableFuture<SoundBuffer>> SoundBufferLibrary.cache
private static final Set
<ResourceLocation> SoundEngine.ONLY_WARN_ONCE
A set of resource locations for which a missing sound warning has been issued(package private) final Map
<ResourceLocation, WeighedSoundEvents> SoundManager.Preparations.registry
private final Map
<ResourceLocation, WeighedSoundEvents> SoundManager.registry
private Map
<ResourceLocation, Resource> SoundManager.Preparations.soundCache
private final Map
<ResourceLocation, Resource> SoundManager.soundCache
Methods in net.minecraft.client.sounds that return types with arguments of type ResourceLocationMethods in net.minecraft.client.sounds with parameters of type ResourceLocationModifier and TypeMethodDescriptionSoundBufferLibrary.getCompleteBuffer
(ResourceLocation pSoundID) Returns Returns a CompletableFuture containing the complete SoundBuffer. The SoundBuffer is loaded asynchronously and cached..SoundManager.getSoundEvent
(ResourceLocation pLocation) Returns The sound event associated with the specific ResourceLocation, ornull
if not found.SoundBufferLibrary.getStream
(ResourceLocation pResourceLocation, boolean pIsWrapper) Returns Returns a CompletableFuture containing the AudioStream. The AudioStream is loaded asynchronously..(package private) void
SoundManager.Preparations.handleRegistration
(ResourceLocation pLocation, SoundEventRegistration pRegistration) void
SoundEngine.stop
(ResourceLocation pSoundName, SoundSource pCategory) void
SoundManager.stop
(ResourceLocation pId, SoundSource pCategory) Stops all sounds associated with the specified ID and category.(package private) static boolean
SoundManager.validateSoundResource
(Sound pSound, ResourceLocation pLocation, ResourceProvider pResourceProvider) Validates a sound resourceMethod parameters in net.minecraft.client.sounds with type arguments of type ResourceLocationModifier and TypeMethodDescriptionvoid
SoundManager.Preparations.apply
(Map<ResourceLocation, WeighedSoundEvents> pSoundRegistry, Map<ResourceLocation, Resource> pCache, SoundEngine pSoundEngine) Applies the prepared sound event registrations and caches to the sound manager.Constructors in net.minecraft.client.sounds with parameters of type ResourceLocationModifierConstructorDescriptionWeighedSoundEvents
(ResourceLocation pLocation, String pSubtitleKey) -
Uses of ResourceLocation in net.minecraft.commands
Fields in net.minecraft.commands declared as ResourceLocationMethods in net.minecraft.commands that return ResourceLocationMethods in net.minecraft.commands that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionCommandSourceStack.getAvailableSounds()
SharedSuggestionProvider.getAvailableSounds()
Method parameters in net.minecraft.commands with type arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic <T> void
SharedSuggestionProvider.filterResources
(Iterable<T> pResources, String pRemaining, String pPrefix, Function<T, ResourceLocation> pLocationFunction, Consumer<T> pResourceConsumer) static <T> void
SharedSuggestionProvider.filterResources
(Iterable<T> pResources, String pInput, Function<T, ResourceLocation> pLocationFunction, Consumer<T> pResourceConsumer) static CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestResource
(Iterable<ResourceLocation> p_82927_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82928_) static CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestResource
(Iterable<ResourceLocation> p_82930_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82931_, String p_82932_) static <T> CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestResource
(Iterable<T> p_82934_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82935_, Function<T, ResourceLocation> p_82936_, Function<T, com.mojang.brigadier.Message> p_82937_) static CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestResource
(Stream<ResourceLocation> p_82958_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82959_) static CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestResource
(Stream<ResourceLocation> p_205107_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_205108_, String p_205109_) static <T> CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestResource
(Stream<T> p_82961_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82962_, Function<T, ResourceLocation> p_82963_, Function<T, com.mojang.brigadier.Message> p_82964_) Constructors in net.minecraft.commands with parameters of type ResourceLocation -
Uses of ResourceLocation in net.minecraft.commands.arguments
Methods in net.minecraft.commands.arguments that return ResourceLocationModifier and TypeMethodDescriptionstatic ResourceLocation
ResourceLocationArgument.getId
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_107012_, String p_107013_) DimensionArgument.parse
(com.mojang.brigadier.StringReader p_88807_) ResourceLocationArgument.parse
(com.mojang.brigadier.StringReader p_106986_) Methods in net.minecraft.commands.arguments with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static boolean
ResourceSelectorArgument.matches
(String pString, ResourceLocation pLocation) -
Uses of ResourceLocation in net.minecraft.commands.arguments.blocks
Fields in net.minecraft.commands.arguments.blocks declared as ResourceLocation -
Uses of ResourceLocation in net.minecraft.commands.arguments.item
Fields in net.minecraft.commands.arguments.item declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
ItemPredicateArgument.COUNT_ID
private final ResourceLocation
ItemPredicateArgument.ComponentWrapper.id
The field for theid
record component.private final ResourceLocation
ItemPredicateArgument.PredicateWrapper.id
The field for theid
record component.Fields in net.minecraft.commands.arguments.item with type parameters of type ResourceLocationModifier and TypeFieldDescription(package private) static final Map
<ResourceLocation, ItemPredicateArgument.ComponentWrapper> ItemPredicateArgument.PSEUDO_COMPONENTS
(package private) static final Map
<ResourceLocation, ItemPredicateArgument.PredicateWrapper> ItemPredicateArgument.PSEUDO_PREDICATES
Methods in net.minecraft.commands.arguments.item that return ResourceLocationModifier and TypeMethodDescriptionItemPredicateArgument.ComponentWrapper.id()
Returns the value of theid
record component.ItemPredicateArgument.PredicateWrapper.id()
Returns the value of theid
record component.Methods in net.minecraft.commands.arguments.item that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic com.mojang.datafixers.util.Pair
<ResourceLocation, Collection<CommandFunction<CommandSourceStack>>> FunctionArgument.getFunctionCollection
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_314719_, String p_314716_) static com.mojang.datafixers.util.Pair
<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.getFunctionOrTag
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120921_, String p_120922_) ComponentPredicateParser.Context.listComponentTypes()
ItemPredicateArgument.Context.listComponentTypes()
ComponentPredicateParser.Context.listElementTypes()
ItemPredicateArgument.Context.listElementTypes()
ComponentPredicateParser.Context.listPredicateTypes()
ItemPredicateArgument.Context.listPredicateTypes()
ComponentPredicateParser.Context.listTagTypes()
ItemPredicateArgument.Context.listTagTypes()
ComponentPredicateParser.ComponentLookupRule.possibleResources()
ComponentPredicateParser.ElementLookupRule.possibleResources()
ComponentPredicateParser.PredicateLookupRule.possibleResources()
ComponentPredicateParser.TagLookupRule.possibleResources()
com.mojang.datafixers.util.Pair
<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.Result.unwrap
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120956_) com.mojang.datafixers.util.Pair
<ResourceLocation, Collection<CommandFunction<CommandSourceStack>>> FunctionArgument.Result.unwrapToCollection
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_314714_) Methods in net.minecraft.commands.arguments.item with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic <T> ItemPredicateArgument.ComponentWrapper
ItemPredicateArgument.ComponentWrapper.create
(com.mojang.brigadier.ImmutableStringReader p_335592_, ResourceLocation p_335737_, DataComponentType<T> p_335860_) ComponentPredicateParser.Context.forElementType
(com.mojang.brigadier.ImmutableStringReader p_335757_, ResourceLocation p_336070_) ItemPredicateArgument.Context.forElementType
(com.mojang.brigadier.ImmutableStringReader p_335407_, ResourceLocation p_335837_) ComponentPredicateParser.Context.forTagType
(com.mojang.brigadier.ImmutableStringReader p_335809_, ResourceLocation p_335925_) ItemPredicateArgument.Context.forTagType
(com.mojang.brigadier.ImmutableStringReader p_335801_, ResourceLocation p_336117_) (package private) static CommandFunction
<CommandSourceStack> FunctionArgument.getFunction
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120929_, ResourceLocation p_120930_) (package private) static Collection
<CommandFunction<CommandSourceStack>> FunctionArgument.getFunctionTag
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_235274_, ResourceLocation p_235275_) ComponentPredicateParser.Context.lookupComponentType
(com.mojang.brigadier.ImmutableStringReader p_335515_, ResourceLocation p_335733_) ItemPredicateArgument.Context.lookupComponentType
(com.mojang.brigadier.ImmutableStringReader p_336180_, ResourceLocation p_335872_) ComponentPredicateParser.Context.lookupPredicateType
(com.mojang.brigadier.ImmutableStringReader p_336079_, ResourceLocation p_335954_) ItemPredicateArgument.Context.lookupPredicateType
(com.mojang.brigadier.ImmutableStringReader p_335514_, ResourceLocation p_335709_) protected C
ComponentPredicateParser.ComponentLookupRule.validateElement
(com.mojang.brigadier.ImmutableStringReader p_335604_, ResourceLocation p_335964_) protected T
ComponentPredicateParser.ElementLookupRule.validateElement
(com.mojang.brigadier.ImmutableStringReader p_335629_, ResourceLocation p_335530_) protected P
ComponentPredicateParser.PredicateLookupRule.validateElement
(com.mojang.brigadier.ImmutableStringReader p_336035_, ResourceLocation p_335697_) protected T
ComponentPredicateParser.TagLookupRule.validateElement
(com.mojang.brigadier.ImmutableStringReader p_335858_, ResourceLocation p_335888_) Constructors in net.minecraft.commands.arguments.item with parameters of type ResourceLocationModifierConstructorDescription(package private)
ComponentWrapper
(ResourceLocation id, Predicate<ItemStack> presenceChecker, com.mojang.serialization.Decoder<? extends Predicate<ItemStack>> valueChecker) Creates an instance of aComponentWrapper
record class.(package private)
PredicateWrapper
(ResourceLocation id, com.mojang.serialization.Decoder<? extends Predicate<ItemStack>> type) Creates an instance of aPredicateWrapper
record class.Constructor parameters in net.minecraft.commands.arguments.item with type arguments of type ResourceLocationModifierConstructorDescription(package private)
ComponentLookupRule
(NamedRule<com.mojang.brigadier.StringReader, ResourceLocation> pIdParser, ComponentPredicateParser.Context<T, C, P> pContext) (package private)
ElementLookupRule
(NamedRule<com.mojang.brigadier.StringReader, ResourceLocation> pIdParser, ComponentPredicateParser.Context<T, C, P> pContext) (package private)
PredicateLookupRule
(NamedRule<com.mojang.brigadier.StringReader, ResourceLocation> pIdParser, ComponentPredicateParser.Context<T, C, P> pContext) (package private)
TagLookupRule
(NamedRule<com.mojang.brigadier.StringReader, ResourceLocation> pIdParser, ComponentPredicateParser.Context<T, C, P> pContext) -
Uses of ResourceLocation in net.minecraft.commands.execution
Methods in net.minecraft.commands.execution with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoid
TraceCallbacks.onCall
(int pDepth, ResourceLocation pFunction, int pCommands) -
Uses of ResourceLocation in net.minecraft.commands.functions
Fields in net.minecraft.commands.functions declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
MacroFunction.id
private final ResourceLocation
PlainTextFunction.id
The field for theid
record component.Methods in net.minecraft.commands.functions that return ResourceLocationModifier and TypeMethodDescriptionCommandFunction.id()
InstantiatedFunction.id()
MacroFunction.id()
PlainTextFunction.id()
Returns the value of theid
record component.Methods in net.minecraft.commands.functions with parameters of type ResourceLocationModifier and TypeMethodDescriptionFunctionBuilder.build
(ResourceLocation pId) static <T extends ExecutionCommandSource<T>>
CommandFunction<T> CommandFunction.fromLines
(ResourceLocation p_306082_, com.mojang.brigadier.CommandDispatcher<T> p_306046_, T p_305973_, List<String> p_306307_) MacroFunction.Entry.instantiate
(List<String> p_305908_, com.mojang.brigadier.CommandDispatcher<T> p_305826_, ResourceLocation p_305778_) MacroFunction.MacroEntry.instantiate
(List<String> p_306061_, com.mojang.brigadier.CommandDispatcher<T> p_306059_, ResourceLocation p_306158_) MacroFunction.PlainTextEntry.instantiate
(List<String> p_306111_, com.mojang.brigadier.CommandDispatcher<T> p_305941_, ResourceLocation p_305903_) Constructors in net.minecraft.commands.functions with parameters of type ResourceLocationModifierConstructorDescriptionMacroFunction
(ResourceLocation pId, List<MacroFunction.Entry<T>> pEntries, List<String> pParameters) PlainTextFunction
(ResourceLocation id, List<UnboundEntryAction<T>> entries) Creates an instance of aPlainTextFunction
record class. -
Uses of ResourceLocation in net.minecraft.commands.synchronization
Fields in net.minecraft.commands.synchronization declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
SuggestionProviders.ID_ASK_SERVER
private final ResourceLocation
SuggestionProviders.RegisteredSuggestion.name
The field for thename
record component.Fields in net.minecraft.commands.synchronization with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Map
<ResourceLocation, com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider>> SuggestionProviders.PROVIDERS_BY_NAME
Methods in net.minecraft.commands.synchronization that return ResourceLocationModifier and TypeMethodDescriptionstatic ResourceLocation
SuggestionProviders.getName
(com.mojang.brigadier.suggestion.SuggestionProvider<?> p_121655_) SuggestionProviders.RegisteredSuggestion.name()
Returns the value of thename
record component.Methods in net.minecraft.commands.synchronization with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic <S extends SharedSuggestionProvider>
com.mojang.brigadier.suggestion.SuggestionProvider<S> SuggestionProviders.getProvider
(ResourceLocation p_121657_) static <S extends SharedSuggestionProvider>
com.mojang.brigadier.suggestion.SuggestionProvider<S> SuggestionProviders.register
(ResourceLocation p_121659_, com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> p_121660_) Constructors in net.minecraft.commands.synchronization with parameters of type ResourceLocationModifierConstructorDescription(package private)
RegisteredSuggestion
(ResourceLocation name, com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> delegate) Creates an instance of aRegisteredSuggestion
record class. -
Uses of ResourceLocation in net.minecraft.core
Fields in net.minecraft.core declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
DefaultedMappedRegistry.defaultKey
private final ResourceLocation
ClientAsset.id
The field for theid
record component.private final ResourceLocation
RegistrySynchronization.PackedRegistryEntry.id
The field for theid
record component.private final ResourceLocation
ClientAsset.texturePath
The field for thetexturePath
record component.Fields in net.minecraft.core with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, Holder.Reference<T>> MappedRegistry.byLocation
private final Map
<ResourceLocation, HolderGetter<?>> RegistrySetBuilder.BuildState.registries
The field for theregistries
record component.Methods in net.minecraft.core that return ResourceLocationModifier and TypeMethodDescriptionDefaultedMappedRegistry.getDefaultKey()
DefaultedRegistry.getDefaultKey()
DefaultedMappedRegistry.getKeyOrNull
(T element) ClientAsset.id()
Returns the value of theid
record component.RegistrySynchronization.PackedRegistryEntry.id()
Returns the value of theid
record component.ClientAsset.texturePath()
Returns the value of thetexturePath
record component.Methods in net.minecraft.core that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionMappedRegistry.keySet()
Registry.keySet()
RegistrySetBuilder.BuildState.registries()
Returns the value of theregistries
record component.Methods in net.minecraft.core with parameters of type ResourceLocationModifier and TypeMethodDescriptionboolean
MappedRegistry.containsKey
(ResourceLocation pName) boolean
Registry.containsKey
(ResourceLocation pName) MappedRegistry.get
(ResourceLocation pKey) Registry.get
(ResourceLocation pKey) int
MappedRegistry.getId
(ResourceLocation name) DefaultedMappedRegistry.getOptional
(ResourceLocation pName) Registry.getOptional
(ResourceLocation pName) DefaultedMappedRegistry.getValue
(ResourceLocation pKey) DefaultedRegistry.getValue
(ResourceLocation p_122328_) MappedRegistry.getValue
(ResourceLocation pKey) Registry.getValue
(ResourceLocation pKey) boolean
Holder.Direct.is
(ResourceLocation p_205727_) boolean
Holder.is
(ResourceLocation pLocation) boolean
Holder.Reference.is
(ResourceLocation pLocation) static <V,
T extends V>
TRegistry.register
(Registry<V> pRegistry, ResourceLocation pName, T pValue) static <T> Holder.Reference
<T> Registry.registerForHolder
(Registry<T> pRegistry, ResourceLocation pName, T pValue) Constructors in net.minecraft.core with parameters of type ResourceLocationModifierConstructorDescriptionClientAsset
(ResourceLocation p_400237_) ClientAsset
(ResourceLocation id, ResourceLocation texturePath) Creates an instance of aClientAsset
record class.PackedRegistryEntry
(ResourceLocation id, Optional<Tag> data) Creates an instance of aPackedRegistryEntry
record class.Constructor parameters in net.minecraft.core with type arguments of type ResourceLocationModifierConstructorDescription(package private)
BuildState
(RegistrySetBuilder.UniversalOwner owner, RegistrySetBuilder.UniversalLookup lookup, Map<ResourceLocation, HolderGetter<?>> registries, Map<ResourceKey<?>, RegistrySetBuilder.RegisteredValue<?>> registeredValues, List<RuntimeException> errors) Creates an instance of aBuildState
record class. -
Uses of ResourceLocation in net.minecraft.core.component
Fields in net.minecraft.core.component with type parameters of type ResourceLocationModifier and TypeFieldDescriptionstatic final DataComponentType
<ResourceLocation> DataComponents.ITEM_MODEL
static final DataComponentType
<ResourceLocation> DataComponents.NOTE_BLOCK_SOUND
static final DataComponentType
<ResourceLocation> DataComponents.TOOLTIP_STYLE
-
Uses of ResourceLocation in net.minecraft.core.component.predicates
Fields in net.minecraft.core.component.predicates with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Optional
<ResourceLocation> AttributeModifiersPredicate.EntryPredicate.id
The field for theid
record component.Methods in net.minecraft.core.component.predicates that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionAttributeModifiersPredicate.EntryPredicate.id()
Returns the value of theid
record component. -
Uses of ResourceLocation in net.minecraft.core.registries
Fields in net.minecraft.core.registries declared as ResourceLocationFields in net.minecraft.core.registries with type parameters of type ResourceLocationModifier and TypeFieldDescriptionstatic final Registry
<ResourceLocation> BuiltInRegistries.CUSTOM_STAT
static final ResourceKey
<Registry<ResourceLocation>> Registries.CUSTOM_STAT
private static final Map
<ResourceLocation, Supplier<?>> BuiltInRegistries.LOADERS
Methods in net.minecraft.core.registries that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic Set
<ResourceLocation> BuiltInRegistries.getVanillaRegistrationOrder()
-
Uses of ResourceLocation in net.minecraft.data
Methods in net.minecraft.data with parameters of type ResourceLocationModifier and TypeMethodDescriptionPackOutput.PathProvider.file
(ResourceLocation pLocation, String pExtension) PackOutput.PathProvider.json
(ResourceLocation pLocation) Method parameters in net.minecraft.data with type arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic <T> CompletableFuture
<?> DataProvider.saveAll
(CachedOutput p_371210_, com.mojang.serialization.Codec<T> p_371684_, PackOutput.PathProvider p_371226_, Map<ResourceLocation, T> p_371316_) -
Uses of ResourceLocation in net.minecraft.data.info
Methods in net.minecraft.data.info with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate Path
BiomeParametersDumpReport.createPath
(ResourceLocation pLocation) -
Uses of ResourceLocation in net.minecraft.data.loot
Methods in net.minecraft.data.loot that return ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceLocation
LootTableProvider.sequenceIdForLootTable
(ResourceKey<LootTable> pLootTable) -
Uses of ResourceLocation in net.minecraft.data.recipes
Fields in net.minecraft.data.recipes declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
RecipeBuilder.ROOT_RECIPE_ADVANCEMENT
Methods in net.minecraft.data.recipes that return ResourceLocationModifier and TypeMethodDescriptionstatic ResourceLocation
RecipeBuilder.getDefaultRecipeId
(ItemLike pItemLike) -
Uses of ResourceLocation in net.minecraft.data.tags
Fields in net.minecraft.data.tags with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprotected final Map
<ResourceLocation, TagBuilder> TagsProvider.builders
Methods in net.minecraft.data.tags with parameters of type ResourceLocationModifier and TypeMethodDescriptionprotected @Nullable Path
TagsProvider.getPath
(ResourceLocation id) -
Uses of ResourceLocation in net.minecraft.data.worldgen
Methods in net.minecraft.data.worldgen with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic ResourceKey
<StructureTemplatePool> Pools.createKey
(ResourceLocation pLocation) -
Uses of ResourceLocation in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
TestData.structure
The field for thestructure
record component.Fields in net.minecraft.gametest.framework with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Optional
<ResourceLocation> TestEnvironmentDefinition.Functions.setupFunction
The field for thesetupFunction
record component.private final Optional
<ResourceLocation> TestEnvironmentDefinition.Functions.teardownFunction
The field for theteardownFunction
record component.private final Map
<ResourceLocation, TestData<ResourceKey<TestEnvironmentDefinition>>> GeneratedTest.tests
The field for thetests
record component.Methods in net.minecraft.gametest.framework that return ResourceLocationModifier and TypeMethodDescriptionGameTestInfo.getStructure()
GameTestInfo.id()
GameTestInstance.structure()
TestData.structure()
Returns the value of thestructure
record component.Methods in net.minecraft.gametest.framework that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionTestEnvironmentDefinition.Functions.setupFunction()
Returns the value of thesetupFunction
record component.TestEnvironmentDefinition.Functions.teardownFunction()
Returns the value of theteardownFunction
record component.GeneratedTest.tests()
Returns the value of thetests
record component.Methods in net.minecraft.gametest.framework with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic TestInstanceBlockEntity
StructureUtils.createNewEmptyTest
(ResourceLocation pId, BlockPos pPos, Vec3i pSize, Rotation pRotation, ServerLevel pLevel) private static int
TestCommand.createNewStructure
(CommandSourceStack pSource, ResourceLocation pId, int pWidth, int pHeight, int pDepth) private static void
TestEnvironmentDefinition.Functions.run
(ServerLevel pLevel, ResourceLocation pFunction) private static boolean
TestCommand.verifyStructureExists
(CommandSourceStack pSource, ResourceLocation pStructure) Constructors in net.minecraft.gametest.framework with parameters of type ResourceLocationModifierConstructorDescriptionGeneratedTest
(Map<ResourceLocation, TestData<ResourceKey<TestEnvironmentDefinition>>> p_397881_, ResourceLocation p_397734_, Consumer<GameTestHelper> p_397974_) GeneratedTest
(ResourceLocation p_397873_, TestData<ResourceKey<TestEnvironmentDefinition>> p_397065_, Consumer<GameTestHelper> p_397393_) TestData
(EnvironmentType p_397623_, ResourceLocation p_397576_, int p_397143_, int p_397037_, boolean p_397352_) TestData
(EnvironmentType p_397869_, ResourceLocation p_397537_, int p_397240_, int p_397081_, boolean p_397911_, Rotation p_397516_) TestData
(EnvironmentType environment, ResourceLocation structure, int maxTicks, int setupTicks, boolean required, Rotation rotation, boolean manualOnly, int maxAttempts, int requiredSuccesses, boolean skyAccess) Creates an instance of aTestData
record class.Constructor parameters in net.minecraft.gametest.framework with type arguments of type ResourceLocationModifierConstructorDescriptionFunctions
(Optional<ResourceLocation> setupFunction, Optional<ResourceLocation> teardownFunction) Creates an instance of aFunctions
record class.GeneratedTest
(Map<ResourceLocation, TestData<ResourceKey<TestEnvironmentDefinition>>> tests, ResourceKey<Consumer<GameTestHelper>> functionKey, Consumer<GameTestHelper> function) Creates an instance of aGeneratedTest
record class.GeneratedTest
(Map<ResourceLocation, TestData<ResourceKey<TestEnvironmentDefinition>>> p_397881_, ResourceLocation p_397734_, Consumer<GameTestHelper> p_397974_) -
Uses of ResourceLocation in net.minecraft.network
Methods in net.minecraft.network that return ResourceLocationMethods in net.minecraft.network with parameters of type ResourceLocationModifier and TypeMethodDescriptionFriendlyByteBuf.writeResourceLocation
(ResourceLocation pResourceLocation) Write a ResourceLocation using its String representation. -
Uses of ResourceLocation in net.minecraft.network.chat
Fields in net.minecraft.network.chat declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
Style.DEFAULT_FONT
(package private) final ResourceLocation
Style.font
private final ResourceLocation
ClickEvent.Custom.id
The field for theid
record component.Methods in net.minecraft.network.chat that return ResourceLocationModifier and TypeMethodDescriptionStyle.getFont()
ClickEvent.Custom.id()
Returns the value of theid
record component.Methods in net.minecraft.network.chat with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic Component
Component.translationArg
(ResourceLocation pLocation) Style.withFont
(ResourceLocation pFontId) Constructors in net.minecraft.network.chat with parameters of type ResourceLocationModifierConstructorDescriptionCustom
(ResourceLocation id, Optional<Tag> payload) Creates an instance of aCustom
record class.private
Style
(TextColor pColor, Integer pShadowColor, Boolean pBold, Boolean pItalic, Boolean pUnderlined, Boolean pStrikethrough, Boolean pObfuscated, ClickEvent pClickEvent, HoverEvent pHoverEvent, String pInsertion, ResourceLocation pFont) -
Uses of ResourceLocation in net.minecraft.network.chat.contents
Fields in net.minecraft.network.chat.contents declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
StorageDataSource.id
The field for theid
record component.Methods in net.minecraft.network.chat.contents that return ResourceLocationModifier and TypeMethodDescriptionStorageDataSource.id()
Returns the value of theid
record component.Constructors in net.minecraft.network.chat.contents with parameters of type ResourceLocationModifierConstructorDescriptionCreates an instance of aStorageDataSource
record class. -
Uses of ResourceLocation in net.minecraft.network.protocol
Fields in net.minecraft.network.protocol declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
PacketType.id
The field for theid
record component.Methods in net.minecraft.network.protocol that return ResourceLocationConstructors in net.minecraft.network.protocol with parameters of type ResourceLocationModifierConstructorDescriptionPacketType
(PacketFlow flow, ResourceLocation id) Creates an instance of aPacketType
record class. -
Uses of ResourceLocation in net.minecraft.network.protocol.common
Fields in net.minecraft.network.protocol.common declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
ServerboundCustomClickActionPacket.id
The field for theid
record component.private final ResourceLocation
ClientboundStoreCookiePacket.key
The field for thekey
record component.Methods in net.minecraft.network.protocol.common that return ResourceLocationModifier and TypeMethodDescriptionServerboundCustomClickActionPacket.id()
Returns the value of theid
record component.ClientboundStoreCookiePacket.key()
Returns the value of thekey
record component.Constructors in net.minecraft.network.protocol.common with parameters of type ResourceLocationModifierConstructorDescriptionClientboundStoreCookiePacket
(ResourceLocation key, byte[] payload) Creates an instance of aClientboundStoreCookiePacket
record class.ServerboundCustomClickActionPacket
(ResourceLocation id, Optional<Tag> payload) Creates an instance of aServerboundCustomClickActionPacket
record class. -
Uses of ResourceLocation in net.minecraft.network.protocol.common.custom
Fields in net.minecraft.network.protocol.common.custom declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
CustomPacketPayload.Type.id
The field for theid
record component.private final ResourceLocation
DiscardedPayload.id
The field for theid
record component.Methods in net.minecraft.network.protocol.common.custom that return ResourceLocationModifier and TypeMethodDescriptionCustomPacketPayload.Type.id()
Returns the value of theid
record component.DiscardedPayload.id()
Returns the value of theid
record component.Methods in net.minecraft.network.protocol.common.custom with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic <T extends FriendlyByteBuf>
StreamCodec<T, DiscardedPayload> DiscardedPayload.codec
(ResourceLocation pId, int pMaxSize) StreamCodec
<B, ? extends CustomPacketPayload> CustomPacketPayload.FallbackProvider.create
(ResourceLocation pId) Constructors in net.minecraft.network.protocol.common.custom with parameters of type ResourceLocationModifierConstructorDescriptionCreates an instance of aDiscardedPayload
record class.Type
(ResourceLocation id) Creates an instance of aType
record class. -
Uses of ResourceLocation in net.minecraft.network.protocol.configuration
Fields in net.minecraft.network.protocol.configuration with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Set
<ResourceLocation> ClientboundUpdateEnabledFeaturesPacket.features
The field for thefeatures
record component.Methods in net.minecraft.network.protocol.configuration that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionClientboundUpdateEnabledFeaturesPacket.features()
Returns the value of thefeatures
record component.Constructor parameters in net.minecraft.network.protocol.configuration with type arguments of type ResourceLocationModifierConstructorDescriptionCreates an instance of aClientboundUpdateEnabledFeaturesPacket
record class. -
Uses of ResourceLocation in net.minecraft.network.protocol.cookie
Fields in net.minecraft.network.protocol.cookie declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
ClientboundCookieRequestPacket.key
The field for thekey
record component.private final ResourceLocation
ServerboundCookieResponsePacket.key
The field for thekey
record component.Methods in net.minecraft.network.protocol.cookie that return ResourceLocationModifier and TypeMethodDescriptionClientboundCookieRequestPacket.key()
Returns the value of thekey
record component.ServerboundCookieResponsePacket.key()
Returns the value of thekey
record component.Constructors in net.minecraft.network.protocol.cookie with parameters of type ResourceLocationModifierConstructorDescriptionCreates an instance of aClientboundCookieRequestPacket
record class.ServerboundCookieResponsePacket
(ResourceLocation key, byte[] payload) Creates an instance of aServerboundCookieResponsePacket
record class. -
Uses of ResourceLocation in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
ClientboundCooldownPacket.cooldownGroup
The field for thecooldownGroup
record component.private final ResourceLocation
ClientboundStopSoundPacket.name
private final ResourceLocation
ServerboundSetJigsawBlockPacket.name
private final ResourceLocation
ServerboundSetJigsawBlockPacket.pool
private final ResourceLocation
ClientboundCommandsPacket.ArgumentNodeStub.suggestionId
The field for thesuggestionId
record component.private final ResourceLocation
ClientboundSelectAdvancementsTabPacket.tab
private final ResourceLocation
ServerboundSeenAdvancementsPacket.tab
private final ResourceLocation
ServerboundSetJigsawBlockPacket.target
Fields in net.minecraft.network.protocol.game with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, AdvancementProgress> ClientboundUpdateAdvancementsPacket.progress
private final Set
<ResourceLocation> ClientboundUpdateAdvancementsPacket.removed
Methods in net.minecraft.network.protocol.game that return ResourceLocationModifier and TypeMethodDescriptionClientboundCooldownPacket.cooldownGroup()
Returns the value of thecooldownGroup
record component.ClientboundStopSoundPacket.getName()
ServerboundSetJigsawBlockPacket.getName()
ServerboundSetJigsawBlockPacket.getPool()
ClientboundSelectAdvancementsTabPacket.getTab()
ServerboundSeenAdvancementsPacket.getTab()
ServerboundSetJigsawBlockPacket.getTarget()
ClientboundCommandsPacket.ArgumentNodeStub.suggestionId()
Returns the value of thesuggestionId
record component.ClientboundCommandsPacket.NodeInspector.suggestionId
(com.mojang.brigadier.tree.ArgumentCommandNode<S, ?> p_425676_) Methods in net.minecraft.network.protocol.game that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionClientboundUpdateAdvancementsPacket.getProgress()
ClientboundUpdateAdvancementsPacket.getRemoved()
Methods in net.minecraft.network.protocol.game with parameters of type ResourceLocationModifier and TypeMethodDescriptioncom.mojang.brigadier.builder.ArgumentBuilder
<S, ?> ClientboundCommandsPacket.NodeBuilder.createArgument
(String p_425774_, com.mojang.brigadier.arguments.ArgumentType<?> p_426101_, ResourceLocation p_426244_) Constructors in net.minecraft.network.protocol.game with parameters of type ResourceLocationModifierConstructorDescription(package private)
ArgumentNodeStub
(String id, ArgumentTypeInfo.Template<?> argumentType, ResourceLocation suggestionId) Creates an instance of aArgumentNodeStub
record class.ClientboundCooldownPacket
(ResourceLocation cooldownGroup, int duration) Creates an instance of aClientboundCooldownPacket
record class.ClientboundStopSoundPacket
(ResourceLocation pName, SoundSource pSource) ServerboundSeenAdvancementsPacket
(ServerboundSeenAdvancementsPacket.Action pAction, ResourceLocation pTab) ServerboundSetJigsawBlockPacket
(BlockPos pPos, ResourceLocation pName, ResourceLocation pTarget, ResourceLocation pPool, String pFinalState, JigsawBlockEntity.JointType pJoint, int pSelectionPriority, int pPlacementPriority) Constructor parameters in net.minecraft.network.protocol.game with type arguments of type ResourceLocationModifierConstructorDescriptionClientboundUpdateAdvancementsPacket
(boolean pReset, Collection<AdvancementHolder> pAdded, Set<ResourceLocation> pRemoved, Map<ResourceLocation, AdvancementProgress> pProgress, boolean pShowAdvancements) ClientboundUpdateAdvancementsPacket
(boolean pReset, Collection<AdvancementHolder> pAdded, Set<ResourceLocation> pRemoved, Map<ResourceLocation, AdvancementProgress> pProgress, boolean pShowAdvancements) -
Uses of ResourceLocation in net.minecraft.network.protocol.login
Methods in net.minecraft.network.protocol.login with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static CustomQueryPayload
ClientboundCustomQueryPacket.readPayload
(ResourceLocation pId, FriendlyByteBuf pBuffer) private static DiscardedQueryPayload
ClientboundCustomQueryPacket.readUnknownPayload
(ResourceLocation pId, FriendlyByteBuf pBuffer) -
Uses of ResourceLocation in net.minecraft.network.protocol.login.custom
Fields in net.minecraft.network.protocol.login.custom declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
DiscardedQueryPayload.id
The field for theid
record component.Methods in net.minecraft.network.protocol.login.custom that return ResourceLocationModifier and TypeMethodDescriptionCustomQueryPayload.id()
DiscardedQueryPayload.id()
Returns the value of theid
record component.Constructors in net.minecraft.network.protocol.login.custom with parameters of type ResourceLocationModifierConstructorDescriptionCreates an instance of aDiscardedQueryPayload
record class. -
Uses of ResourceLocation in net.minecraft.realms
Fields in net.minecraft.realms declared as ResourceLocationModifier and TypeFieldDescriptionprotected static final ResourceLocation
RealmsScreen.LOGO_LOCATION
-
Uses of ResourceLocation in net.minecraft.resources
Fields in net.minecraft.resources declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
ResourceKey.InternKey.location
The field for thelocation
record component.private final ResourceLocation
ResourceKey.location
The location of the resource within the registry.private final ResourceLocation
ResourceKey.InternKey.registry
The field for theregistry
record component.private final ResourceLocation
ResourceKey.registryName
The name of the parent registry of the resource.Fields in net.minecraft.resources with type parameters of type ResourceLocationModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ResourceLocation> ResourceLocation.CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, ResourceLocation> ResourceLocation.STREAM_CODEC
Methods in net.minecraft.resources that return ResourceLocationModifier and TypeMethodDescriptionstatic ResourceLocation
ResourceLocation.bySeparator
(String pLocation, char pSeparator) private static ResourceLocation
ResourceLocation.createUntrusted
(String pNamespace, String pPath) FileToIdConverter.fileToId
(ResourceLocation pFile) static ResourceLocation
ResourceLocation.fromNamespaceAndPath
(String pNamespace, String pPath) FileToIdConverter.idToFile
(ResourceLocation pId) ResourceKey.InternKey.location()
Returns the value of thelocation
record component.ResourceKey.location()
static ResourceLocation
static ResourceLocation
ResourceLocation.read
(com.mojang.brigadier.StringReader p_135819_) static ResourceLocation
ResourceLocation.readNonEmpty
(com.mojang.brigadier.StringReader p_336027_) ResourceKey.InternKey.registry()
Returns the value of theregistry
record component.ResourceKey.registry()
static ResourceLocation
static ResourceLocation
ResourceLocation.tryBySeparator
(String pLocation, char pSeperator) static ResourceLocation
Attempts to parse the specifiedlocation
as aResourceLocation
by splitting it into a namespace and path by a colon.static ResourceLocation
ResourceLocation.withDefaultNamespace
(String pLocation) ResourceLocation.withPath
(UnaryOperator<String> pPathOperator) ResourceLocation.withPrefix
(String pPathPrefix) ResourceLocation.withSuffix
(String pPathSuffix) Methods in net.minecraft.resources that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionFileToIdConverter.listMatchingResources
(ResourceManager pResourceManager) FileToIdConverter.listMatchingResourcesFromNamespace
(ResourceManager manager, String namespace) List all resources under the given namespace which match this converterFileToIdConverter.listMatchingResourceStacks
(ResourceManager pResourceManager) FileToIdConverter.listMatchingResourceStacksFromNamespace
(ResourceManager manager, String namespace) List all resource stacks under the given namespace which match this converterstatic com.mojang.serialization.DataResult
<ResourceLocation> Methods in net.minecraft.resources with parameters of type ResourceLocationModifier and TypeMethodDescriptionint
ResourceLocation.compareNamespaced
(ResourceLocation o) int
ResourceLocation.compareTo
(ResourceLocation pOther) static <T> ResourceKey
<T> ResourceKey.create
(ResourceKey<? extends Registry<T>> pRegistryKey, ResourceLocation pLocation) Constructs a newResourceKey
for a resource with the specifiedlocation
within the registry specified by the givenregistryKey
.private static <T> ResourceKey
<T> ResourceKey.create
(ResourceLocation pRegistryName, ResourceLocation pLocation) static <T> ResourceKey
<Registry<T>> ResourceKey.createRegistryKey
(ResourceLocation pLocation) FileToIdConverter.fileToId
(ResourceLocation pFile) FileToIdConverter.idToFile
(ResourceLocation pId) Constructors in net.minecraft.resources with parameters of type ResourceLocationModifierConstructorDescription(package private)
InternKey
(ResourceLocation registry, ResourceLocation location) Creates an instance of aInternKey
record class.private
ResourceKey
(ResourceLocation pRegistryName, ResourceLocation pLocation) -
Uses of ResourceLocation in net.minecraft.server
Fields in net.minecraft.server declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
ServerFunctionManager.LOAD_FUNCTION_TAG
private static final ResourceLocation
ServerFunctionManager.TICK_FUNCTION_TAG
Fields in net.minecraft.server with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate Map
<ResourceLocation, AdvancementHolder> ServerAdvancementManager.advancements
private Map
<ResourceLocation, CommandFunction<CommandSourceStack>> ServerFunctionLibrary.functions
private final Map
<ResourceLocation, AdvancementProgress> PlayerAdvancements.Data.map
The field for themap
record component.private Map
<ResourceLocation, List<CommandFunction<CommandSourceStack>>> ServerFunctionLibrary.tags
Methods in net.minecraft.server that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionServerFunctionLibrary.getAvailableTags()
ServerFunctionManager.getFunctionNames()
ServerFunctionLibrary.getFunctions()
ServerFunctionManager.getTagNames()
PlayerAdvancements.Data.map()
Returns the value of themap
record component.Methods in net.minecraft.server with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate void
ServerFunctionManager.executeTagFunctions
(Collection<CommandFunction<CommandSourceStack>> pFunctionObjects, ResourceLocation pIdentifier) ServerAdvancementManager.get
(ResourceLocation pLocation) ServerFunctionManager.get
(ResourceLocation pFunction) ServerFunctionLibrary.getFunction
(ResourceLocation pLocation) ServerFunctionLibrary.getTag
(ResourceLocation pLocation) ServerFunctionManager.getTag
(ResourceLocation pTag) void
MinecraftServer.handleCustomClickAction
(ResourceLocation pId, Optional<Tag> pPayload) private void
ServerAdvancementManager.validate
(ResourceLocation pLocation, Advancement pAdvancement) Method parameters in net.minecraft.server with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprotected void
ServerAdvancementManager.apply
(Map<ResourceLocation, Advancement> pObject, ResourceManager pResourceManager, ProfilerFiller pProfiler) void
PlayerAdvancements.Data.forEach
(BiConsumer<ResourceLocation, AdvancementProgress> pAction) Constructor parameters in net.minecraft.server with type arguments of type ResourceLocationModifierConstructorDescription(package private)
Creates an instance of aData
record class. -
Uses of ResourceLocation in net.minecraft.server.bossevents
Fields in net.minecraft.server.bossevents declared as ResourceLocationFields in net.minecraft.server.bossevents with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, CustomBossEvent> CustomBossEvents.events
private static final com.mojang.serialization.Codec
<Map<ResourceLocation, CustomBossEvent.Packed>> CustomBossEvents.EVENTS_CODEC
Methods in net.minecraft.server.bossevents that return ResourceLocationMethods in net.minecraft.server.bossevents that return types with arguments of type ResourceLocationMethods in net.minecraft.server.bossevents with parameters of type ResourceLocationModifier and TypeMethodDescriptionCustomBossEvents.create
(ResourceLocation pId, Component pName) CustomBossEvents.get
(ResourceLocation pId) static CustomBossEvent
CustomBossEvent.load
(ResourceLocation pId, CustomBossEvent.Packed pPacked) Constructors in net.minecraft.server.bossevents with parameters of type ResourceLocation -
Uses of ResourceLocation in net.minecraft.server.commands
Methods in net.minecraft.server.commands that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static Stream
<ResourceLocation> AttributeCommand.getAttributeModifiers
(Entity pEntity, Holder<Attribute> pAttribute) Methods in net.minecraft.server.commands with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static int
AttributeCommand.addModifier
(CommandSourceStack pSource, Entity pEntity, Holder<Attribute> pAttribute, ResourceLocation pId, double pAmount, AttributeModifier.Operation pOperation) private static int
BossBarCommands.createBar
(CommandSourceStack pSource, ResourceLocation pId, Component pDisplayName) private static <T extends ExecutionCommandSource<T>>
CommandResultCallbackFunctionCommand.decorateOutputIfNeeded
(T pSource, FunctionCommand.Callbacks<T> pCallbacks, ResourceLocation pFunction, CommandResultCallback pResultCallback) private static int
AttributeCommand.getAttributeModifier
(CommandSourceStack pSource, Entity pEntity, Holder<Attribute> pAttribute, ResourceLocation pId, double pScale) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.instantiateAndQueueFunctions
(CompoundTag p_309636_, ExecutionControl<T> p_309536_, com.mojang.brigadier.CommandDispatcher<T> p_309639_, T p_309605_, CommandFunction<T> p_309610_, ResourceLocation p_309719_, CommandResultCallback p_309544_, boolean p_309542_) void
DebugCommand.Tracer.onCall
(int pDepth, ResourceLocation pFunction, int pCommands) static int
PlaceCommand.placeJigsaw
(CommandSourceStack pSource, Holder<StructureTemplatePool> pTemplatePool, ResourceLocation pTarget, int pMaxDepth, BlockPos pPos) static int
PlaceCommand.placeTemplate
(CommandSourceStack pSource, ResourceLocation pTemplate, BlockPos pPos, Rotation pRotation, Mirror pMirror, float pIntegrity, int pSeed, boolean pStrict) private static int
PlaySoundCommand.playSound
(CommandSourceStack pSource, Collection<ServerPlayer> pTargets, ResourceLocation pSound, SoundSource pCategory, Vec3 pPos, float pVolume, float pPitch, float pMinVolume) private static int
RandomCommand.randomSample
(CommandSourceStack pSource, MinMaxBounds.Ints pRange, ResourceLocation pSequence, boolean pDisplayResult) private static int
AttributeCommand.removeModifier
(CommandSourceStack pSource, Entity pEntity, Holder<Attribute> pAttribute, ResourceLocation pId) private static int
RandomCommand.resetSequence
(CommandSourceStack pSource, ResourceLocation pSequence) private static int
RandomCommand.resetSequence
(CommandSourceStack pSource, ResourceLocation pSequence, int pSeed, boolean pIncludeWorldSeed, boolean pIncludeSequenceId) void
FunctionCommand.Callbacks.signalResult
(T pSource, ResourceLocation pFunction, int pCommands) private static int
StopSoundCommand.stopSound
(CommandSourceStack pSource, Collection<ServerPlayer> pTargets, SoundSource pCategory, ResourceLocation pSound) Method parameters in net.minecraft.server.commands with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static int
ScheduleCommand.schedule
(CommandSourceStack p_138429_, com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> p_138430_, int p_138431_, boolean p_138432_) -
Uses of ResourceLocation in net.minecraft.server.commands.data
Fields in net.minecraft.server.commands.data declared as ResourceLocationConstructors in net.minecraft.server.commands.data with parameters of type ResourceLocationModifierConstructorDescription(package private)
StorageDataAccessor
(CommandStorage pStorage, ResourceLocation pId) -
Uses of ResourceLocation in net.minecraft.server.dialog.action
Fields in net.minecraft.server.dialog.action declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
CustomAll.id
The field for theid
record component.Methods in net.minecraft.server.dialog.action that return ResourceLocationConstructors in net.minecraft.server.dialog.action with parameters of type ResourceLocationModifierConstructorDescriptionCustomAll
(ResourceLocation id, Optional<CompoundTag> additions) Creates an instance of aCustomAll
record class. -
Uses of ResourceLocation in net.minecraft.server.level
Fields in net.minecraft.server.level declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
WorldGenRegion.WORLDGEN_REGION_RANDOM
Methods in net.minecraft.server.level with parameters of type ResourceLocation -
Uses of ResourceLocation in net.minecraft.server.network
Constructors in net.minecraft.server.network with parameters of type ResourceLocation -
Uses of ResourceLocation in net.minecraft.server.packs
Methods in net.minecraft.server.packs with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static String
FilePackResources.getPathFromLocation
(PackType pPackType, ResourceLocation pLocation) CompositePackResources.getResource
(PackType pPackType, ResourceLocation pLocation) FilePackResources.getResource
(PackType pPackType, ResourceLocation pLocation) PackResources.getResource
(PackType pPackType, ResourceLocation pLocation) static IoSupplier
<InputStream> PathPackResources.getResource
(ResourceLocation pLocation, Path pPath) PathPackResources.getResource
(PackType pPackType, ResourceLocation pLocation) VanillaPackResources.getResource
(PackType pPackType, ResourceLocation pLocation) void
VanillaPackResources.listRawPaths
(PackType pPackType, ResourceLocation pPackLocation, Consumer<Path> pOutput) -
Uses of ResourceLocation in net.minecraft.server.packs.repository
Fields in net.minecraft.server.packs.repository declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
BuiltInPackSource.packDir
private static final ResourceLocation
ServerPacksSource.PACKS_DIR
Constructors in net.minecraft.server.packs.repository with parameters of type ResourceLocationModifierConstructorDescriptionBuiltInPackSource
(PackType pPackType, VanillaPackResources pVanillaPack, ResourceLocation pPackDir, DirectoryValidator pValidator) -
Uses of ResourceLocation in net.minecraft.server.packs.resources
Fields in net.minecraft.server.packs.resources declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
FallbackResourceManager.EntryStack.fileLocation
The field for thefileLocation
record component.private final ResourceLocation
FallbackResourceManager.EntryStack.metadataLocation
The field for themetadataLocation
record component.Fields in net.minecraft.server.packs.resources with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Predicate
<ResourceLocation> FallbackResourceManager.PackEntry.filter
The field for thefilter
record component.Methods in net.minecraft.server.packs.resources that return ResourceLocationModifier and TypeMethodDescriptionFallbackResourceManager.EntryStack.fileLocation()
Returns the value of thefileLocation
record component.(package private) static ResourceLocation
FallbackResourceManager.getMetadataLocation
(ResourceLocation pLocation) protected ResourceLocation
SimpleJsonResourceReloadListener.getPreparedPath
(ResourceLocation rl) private static ResourceLocation
FallbackResourceManager.getResourceLocationFromMetadata
(ResourceLocation pMetadataResourceLocation) FallbackResourceManager.EntryStack.metadataLocation()
Returns the value of themetadataLocation
record component.Methods in net.minecraft.server.packs.resources that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionFallbackResourceManager.PackEntry.filter()
Returns the value of thefilter
record component.FallbackResourceManager.listResources
(String pPath, Predicate<ResourceLocation> pFilter) MultiPackResourceManager.listResources
(String pPath, Predicate<ResourceLocation> pFilter) ReloadableResourceManager.listResources
(String pPath, Predicate<ResourceLocation> pFilter) ResourceManager.Empty.listResources
(String p_215570_, Predicate<ResourceLocation> p_215571_) ResourceManager.listResources
(String pPath, Predicate<ResourceLocation> pFilter) FallbackResourceManager.listResourceStacks
(String pPath, Predicate<ResourceLocation> pFilter) MultiPackResourceManager.listResourceStacks
(String pPath, Predicate<ResourceLocation> pFilter) ReloadableResourceManager.listResourceStacks
(String pPath, Predicate<ResourceLocation> pFilter) ResourceManager.Empty.listResourceStacks
(String p_215573_, Predicate<ResourceLocation> p_215574_) ResourceManager.listResourceStacks
(String pPath, Predicate<ResourceLocation> pFilter) protected Map
<ResourceLocation, T> SimpleJsonResourceReloadListener.prepare
(ResourceManager pResourceManager, ProfilerFiller pProfiler) Performs any reloading that can be done off-thread, such as file IOMethods in net.minecraft.server.packs.resources with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static Resource
FallbackResourceManager.createResource
(PackResources pSource, ResourceLocation pLocation, IoSupplier<InputStream> pStreamSupplier, IoSupplier<ResourceMetadata> pMetadataSupplier) private IoSupplier
<ResourceMetadata> FallbackResourceManager.createStackMetadataFinder
(ResourceLocation pLocation, int pFallbackIndex) (package private) static ResourceLocation
FallbackResourceManager.getMetadataLocation
(ResourceLocation pLocation) protected ResourceLocation
SimpleJsonResourceReloadListener.getPreparedPath
(ResourceLocation rl) FallbackResourceManager.getResource
(ResourceLocation pLocation) MultiPackResourceManager.getResource
(ResourceLocation pLocation) ReloadableResourceManager.getResource
(ResourceLocation pLocation) ResourceManager.Empty.getResource
(ResourceLocation p_215576_) ResourceProvider.getResource
(ResourceLocation pLocation) private static ResourceLocation
FallbackResourceManager.getResourceLocationFromMetadata
(ResourceLocation pMetadataResourceLocation) default Resource
ResourceProvider.getResourceOrThrow
(ResourceLocation pLocation) FallbackResourceManager.getResourceStack
(ResourceLocation pLocation) MultiPackResourceManager.getResourceStack
(ResourceLocation pLocation) ReloadableResourceManager.getResourceStack
(ResourceLocation pLocation) ResourceManager.Empty.getResourceStack
(ResourceLocation p_215568_) ResourceManager.getResourceStack
(ResourceLocation pLocation) boolean
FallbackResourceManager.PackEntry.isFiltered
(ResourceLocation pLocation) private static boolean
FallbackResourceManager.isMetadata
(ResourceLocation pLocation) default InputStream
ResourceProvider.open
(ResourceLocation pLocation) default BufferedReader
ResourceProvider.openAsReader
(ResourceLocation pLocation) private static IoSupplier
<InputStream> FallbackResourceManager.wrapForDebug
(ResourceLocation pLocation, PackResources pPackResources, IoSupplier<InputStream> pStream) Method parameters in net.minecraft.server.packs.resources with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static void
FallbackResourceManager.applyPackFiltersToExistingResources
(FallbackResourceManager.PackEntry pPackEntry, Map<ResourceLocation, FallbackResourceManager.EntryStack> pResources) void
FallbackResourceManager.PackEntry.filterAll
(Collection<ResourceLocation> pLocations) static ResourceProvider
ResourceProvider.fromMap
(Map<ResourceLocation, Resource> pResources) private void
FallbackResourceManager.listPackResources
(FallbackResourceManager.PackEntry pEntry, String pPath, Predicate<ResourceLocation> pFilter, Map<ResourceLocation, FallbackResourceManager.EntryStack> pOutput) private void
FallbackResourceManager.listPackResources
(FallbackResourceManager.PackEntry pEntry, String pPath, Predicate<ResourceLocation> pFilter, Map<ResourceLocation, FallbackResourceManager.EntryStack> pOutput) FallbackResourceManager.listResources
(String pPath, Predicate<ResourceLocation> pFilter) MultiPackResourceManager.listResources
(String pPath, Predicate<ResourceLocation> pFilter) ReloadableResourceManager.listResources
(String pPath, Predicate<ResourceLocation> pFilter) ResourceManager.Empty.listResources
(String p_215570_, Predicate<ResourceLocation> p_215571_) ResourceManager.listResources
(String pPath, Predicate<ResourceLocation> pFilter) FallbackResourceManager.listResourceStacks
(String pPath, Predicate<ResourceLocation> pFilter) MultiPackResourceManager.listResourceStacks
(String pPath, Predicate<ResourceLocation> pFilter) ReloadableResourceManager.listResourceStacks
(String pPath, Predicate<ResourceLocation> pFilter) ResourceManager.Empty.listResourceStacks
(String p_215573_, Predicate<ResourceLocation> p_215574_) ResourceManager.listResourceStacks
(String pPath, Predicate<ResourceLocation> pFilter) void
FallbackResourceManager.push
(PackResources pResources, Predicate<ResourceLocation> pFilter) void
FallbackResourceManager.pushFilterOnly
(String pName, Predicate<ResourceLocation> pFilter) private void
FallbackResourceManager.pushInternal
(String pName, PackResources pResources, Predicate<ResourceLocation> pFilter) static <T> void
SimpleJsonResourceReloadListener.scanDirectory
(ResourceManager p_279308_, FileToIdConverter p_387906_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_371830_, com.mojang.serialization.Codec<T> p_371493_, Map<ResourceLocation, T> p_279404_) static <T> void
SimpleJsonResourceReloadListener.scanDirectory
(ResourceManager p_386974_, ResourceKey<? extends Registry<T>> p_388878_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_388402_, com.mojang.serialization.Codec<T> p_387608_, Map<ResourceLocation, T> p_386495_) static <T> void
SimpleJsonResourceReloadListener.scanDirectoryWithOptionalValues
(ResourceManager p_386974_, ResourceKey<? extends Registry<T>> p_388878_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_388402_, com.mojang.serialization.Codec<Optional<T>> p_387608_, Map<ResourceLocation, Optional<T>> p_386495_) Constructors in net.minecraft.server.packs.resources with parameters of type ResourceLocationModifierConstructorDescription(package private)
EntryStack
(ResourceLocation p_251350_) (package private)
EntryStack
(ResourceLocation fileLocation, ResourceLocation metadataLocation, List<FallbackResourceManager.ResourceWithSource> fileSources, Map<PackResources, IoSupplier<InputStream>> metaSources) Creates an instance of aEntryStack
record class.LeakedResourceWarningInputStream
(InputStream pInputStream, ResourceLocation pResourceLocation, String pPackName) Constructor parameters in net.minecraft.server.packs.resources with type arguments of type ResourceLocationModifierConstructorDescription(package private)
PackEntry
(String name, PackResources resources, Predicate<ResourceLocation> filter) Creates an instance of aPackEntry
record class. -
Uses of ResourceLocation in net.minecraft.sounds
Fields in net.minecraft.sounds declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
SoundEvent.location
The field for thelocation
record component.Methods in net.minecraft.sounds that return ResourceLocationModifier and TypeMethodDescriptionSoundEvent.location()
Returns the value of thelocation
record component.Methods in net.minecraft.sounds with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static SoundEvent
SoundEvent.create
(ResourceLocation p_263406_, Optional<Float> p_263346_) static SoundEvent
SoundEvent.createFixedRangeEvent
(ResourceLocation pLocation, float pRange) static SoundEvent
SoundEvent.createVariableRangeEvent
(ResourceLocation pLocation) private static SoundEvent
SoundEvents.register
(ResourceLocation pName) private static SoundEvent
SoundEvents.register
(ResourceLocation pName, ResourceLocation pLocation) private static Holder
<SoundEvent> SoundEvents.register
(ResourceLocation pName, ResourceLocation pLocation, float pRange) private static Holder.Reference
<SoundEvent> SoundEvents.registerForHolder
(ResourceLocation pName) private static Holder.Reference
<SoundEvent> SoundEvents.registerForHolder
(ResourceLocation pName, ResourceLocation pLocation) Constructors in net.minecraft.sounds with parameters of type ResourceLocationModifierConstructorDescriptionSoundEvent
(ResourceLocation location, Optional<Float> fixedRange) Creates an instance of aSoundEvent
record class. -
Uses of ResourceLocation in net.minecraft.stats
Fields in net.minecraft.stats declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
Stats.ANIMALS_BRED
static final ResourceLocation
Stats.AVIATE_ONE_CM
static final ResourceLocation
Stats.BELL_RING
static final ResourceLocation
Stats.BOAT_ONE_CM
static final ResourceLocation
Stats.CLEAN_ARMOR
static final ResourceLocation
Stats.CLEAN_BANNER
static final ResourceLocation
Stats.CLEAN_SHULKER_BOX
static final ResourceLocation
Stats.CLIMB_ONE_CM
static final ResourceLocation
Stats.CROUCH_ONE_CM
static final ResourceLocation
Stats.CROUCH_TIME
static final ResourceLocation
Stats.DAMAGE_ABSORBED
static final ResourceLocation
Stats.DAMAGE_BLOCKED_BY_SHIELD
static final ResourceLocation
Stats.DAMAGE_DEALT
static final ResourceLocation
Stats.DAMAGE_DEALT_ABSORBED
static final ResourceLocation
Stats.DAMAGE_DEALT_RESISTED
static final ResourceLocation
Stats.DAMAGE_RESISTED
static final ResourceLocation
Stats.DAMAGE_TAKEN
static final ResourceLocation
Stats.DEATHS
static final ResourceLocation
Stats.DROP
static final ResourceLocation
Stats.EAT_CAKE_SLICE
static final ResourceLocation
Stats.ENCHANT_ITEM
static final ResourceLocation
Stats.FALL_ONE_CM
static final ResourceLocation
Stats.FILL_CAULDRON
static final ResourceLocation
Stats.FISH_CAUGHT
static final ResourceLocation
Stats.FLY_ONE_CM
static final ResourceLocation
Stats.HAPPY_GHAST_ONE_CM
static final ResourceLocation
Stats.HORSE_ONE_CM
static final ResourceLocation
Stats.INSPECT_DISPENSER
static final ResourceLocation
Stats.INSPECT_DROPPER
static final ResourceLocation
Stats.INSPECT_HOPPER
static final ResourceLocation
Stats.INTERACT_WITH_ANVIL
static final ResourceLocation
Stats.INTERACT_WITH_BEACON
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
Stats.INTERACT_WITH_CAMPFIRE
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
Stats.INTERACT_WITH_FURNACE
static final ResourceLocation
Stats.INTERACT_WITH_GRINDSTONE
static final ResourceLocation
Stats.INTERACT_WITH_LECTERN
static final ResourceLocation
Stats.INTERACT_WITH_LOOM
static final ResourceLocation
static final ResourceLocation
Stats.INTERACT_WITH_SMOKER
static final ResourceLocation
static final ResourceLocation
Stats.JUMP
static final ResourceLocation
Stats.LEAVE_GAME
static final ResourceLocation
Stats.MINECART_ONE_CM
static final ResourceLocation
Stats.MOB_KILLS
static final ResourceLocation
Stats.OPEN_BARREL
static final ResourceLocation
Stats.OPEN_CHEST
static final ResourceLocation
Stats.OPEN_ENDERCHEST
static final ResourceLocation
Stats.OPEN_SHULKER_BOX
static final ResourceLocation
Stats.PIG_ONE_CM
static final ResourceLocation
Stats.PLAY_NOTEBLOCK
static final ResourceLocation
Stats.PLAY_RECORD
static final ResourceLocation
Stats.PLAY_TIME
static final ResourceLocation
Stats.PLAYER_KILLS
static final ResourceLocation
Stats.POT_FLOWER
static final ResourceLocation
Stats.RAID_TRIGGER
static final ResourceLocation
Stats.RAID_WIN
static final ResourceLocation
Stats.SLEEP_IN_BED
static final ResourceLocation
Stats.SPRINT_ONE_CM
static final ResourceLocation
Stats.STRIDER_ONE_CM
static final ResourceLocation
Stats.SWIM_ONE_CM
static final ResourceLocation
Stats.TALKED_TO_VILLAGER
static final ResourceLocation
Stats.TARGET_HIT
static final ResourceLocation
Stats.TIME_SINCE_DEATH
static final ResourceLocation
Stats.TIME_SINCE_REST
static final ResourceLocation
Stats.TOTAL_WORLD_TIME
static final ResourceLocation
Stats.TRADED_WITH_VILLAGER
static final ResourceLocation
Stats.TRIGGER_TRAPPED_CHEST
static final ResourceLocation
Stats.TUNE_NOTEBLOCK
static final ResourceLocation
Stats.USE_CAULDRON
static final ResourceLocation
Stats.WALK_ON_WATER_ONE_CM
static final ResourceLocation
Stats.WALK_ONE_CM
static final ResourceLocation
Stats.WALK_UNDER_WATER_ONE_CM
Fields in net.minecraft.stats with type parameters of type ResourceLocationMethods in net.minecraft.stats that return ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceLocation
Stats.makeCustomStat
(String pKey, StatFormatter pFormatter) Methods in net.minecraft.stats with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static <T> String
Stat.locationToKey
(ResourceLocation pLocation) -
Uses of ResourceLocation in net.minecraft.tags
Fields in net.minecraft.tags declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
TagEntry.id
private final ResourceLocation
TagKey.location
The field for thelocation
record component.Fields in net.minecraft.tags with type parameters of type ResourceLocationModifier and TypeFieldDescription(package private) final Map
<ResourceLocation, it.unimi.dsi.fastutil.ints.IntList> TagNetworkSerialization.NetworkPayload.tags
Methods in net.minecraft.tags that return ResourceLocationModifier and TypeMethodDescriptionTagEntry.getId()
TagKey.location()
Returns the value of thelocation
record component.Methods in net.minecraft.tags that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionTagLoader.build
(Map<ResourceLocation, List<TagLoader.EntryWithSource>> pBuilders) TagLoader.load
(ResourceManager pResourceManager) Methods in net.minecraft.tags with parameters of type ResourceLocationModifier and TypeMethodDescriptionTagBuilder.addElement
(ResourceLocation pElementLocation) TagBuilder.addOptionalElement
(ResourceLocation pElementLocation) TagBuilder.addOptionalTag
(ResourceLocation pTagLocation) TagBuilder.addTag
(ResourceLocation pTagLocation) BlockTags.create
(ResourceLocation name) FluidTags.create
(ResourceLocation name) ItemTags.create
(ResourceLocation name) static <T> TagKey
<T> TagKey.create
(ResourceKey<? extends Registry<T>> pRegistry, ResourceLocation pLocation) static TagEntry
TagEntry.element
(ResourceLocation pElementLocation) TagEntry.Lookup.element
(ResourceLocation pId, boolean pRequired) TagLoader.ElementLookup.get
(ResourceLocation pId, boolean pRequired) static TagEntry
TagEntry.optionalElement
(ResourceLocation pElementLocation) static TagEntry
TagEntry.optionalTag
(ResourceLocation pTagLocation) TagEntry.Lookup.tag
(ResourceLocation pId) static TagEntry
TagEntry.tag
(ResourceLocation pTagLocation) Method parameters in net.minecraft.tags with type arguments of type ResourceLocationModifier and TypeMethodDescriptionTagLoader.build
(Map<ResourceLocation, List<TagLoader.EntryWithSource>> pBuilders) boolean
TagEntry.verifyIfPresent
(Predicate<ResourceLocation> pElementPredicate, Predicate<ResourceLocation> pTagPredicate) void
TagEntry.visitOptionalDependencies
(Consumer<ResourceLocation> pVisitor) void
TagLoader.SortingEntry.visitOptionalDependencies
(Consumer<ResourceLocation> pVisitor) void
TagEntry.visitRequiredDependencies
(Consumer<ResourceLocation> pVisitor) void
TagLoader.SortingEntry.visitRequiredDependencies
(Consumer<ResourceLocation> pVisitor) TagLoader.wrapTags
(ResourceKey<? extends Registry<T>> pRegistryKey, Map<ResourceLocation, List<Holder<T>>> pTags) Constructors in net.minecraft.tags with parameters of type ResourceLocationModifierConstructorDescriptionprivate
TagEntry
(ResourceLocation pId, boolean pTag, boolean pRequired) TagKey
(ResourceKey<? extends Registry<T>> registry, ResourceLocation location) Deprecated.Constructor parameters in net.minecraft.tags with type arguments of type ResourceLocationModifierConstructorDescription(package private)
NetworkPayload
(Map<ResourceLocation, it.unimi.dsi.fastutil.ints.IntList> pTags) -
Uses of ResourceLocation in net.minecraft.util
Fields in net.minecraft.util declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
ExtraCodecs.TagOrElementLocation.id
The field for theid
record component.Fields in net.minecraft.util with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Predicate
<ResourceLocation> ResourceLocationPattern.locationPredicate
Methods in net.minecraft.util that return ResourceLocationModifier and TypeMethodDescriptionExtraCodecs.TagOrElementLocation.id()
Returns the value of theid
record component.Methods in net.minecraft.util that return types with arguments of type ResourceLocationConstructors in net.minecraft.util with parameters of type ResourceLocationModifierConstructorDescriptionTagOrElementLocation
(ResourceLocation id, boolean tag) Creates an instance of aTagOrElementLocation
record class. -
Uses of ResourceLocation in net.minecraft.util.context
Fields in net.minecraft.util.context declared as ResourceLocationMethods in net.minecraft.util.context that return ResourceLocationConstructors in net.minecraft.util.context with parameters of type ResourceLocation -
Uses of ResourceLocation in net.minecraft.util.datafix.fixes
Fields in net.minecraft.util.datafix.fixes with type parameters of type ResourceLocationModifier and TypeFieldDescriptionstatic final Map
<com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<Tag>, com.mojang.serialization.Dynamic<Tag>>, ResourceLocation> TrialSpawnerConfigInRegistryFix.VanillaTrialChambers.CONFIGS_TO_KEY
Methods in net.minecraft.util.datafix.fixes with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static void
TrialSpawnerConfigInRegistryFix.VanillaTrialChambers.register
(ResourceLocation pName, String pNormal, String pOminous) -
Uses of ResourceLocation in net.minecraft.util.parsing.packrat.commands
Fields in net.minecraft.util.parsing.packrat.commands with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final NamedRule
<com.mojang.brigadier.StringReader, ResourceLocation> ResourceLookupRule.idParser
static final Rule
<com.mojang.brigadier.StringReader, ResourceLocation> ResourceLocationParseRule.INSTANCE
Methods in net.minecraft.util.parsing.packrat.commands that return ResourceLocationModifier and TypeMethodDescriptionResourceLocationParseRule.parse
(ParseState<com.mojang.brigadier.StringReader> p_409659_) Methods in net.minecraft.util.parsing.packrat.commands that return types with arguments of type ResourceLocationMethods in net.minecraft.util.parsing.packrat.commands with parameters of type ResourceLocationModifier and TypeMethodDescriptionprotected abstract V
ResourceLookupRule.validateElement
(com.mojang.brigadier.ImmutableStringReader p_335698_, ResourceLocation p_335462_) Constructor parameters in net.minecraft.util.parsing.packrat.commands with type arguments of type ResourceLocationModifierConstructorDescriptionprotected
ResourceLookupRule
(NamedRule<com.mojang.brigadier.StringReader, ResourceLocation> pIdParser, C pContext) -
Uses of ResourceLocation in net.minecraft.world
Fields in net.minecraft.world with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, RandomSequence> RandomSequences.sequences
Methods in net.minecraft.world with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate RandomSequence
RandomSequences.createSequence
(ResourceLocation p_295796_) private RandomSequence
RandomSequences.createSequence
(ResourceLocation pLocation, int pSalt, boolean pIncludeWorldSeed, boolean pIncludeSequenceId) RandomSequences.get
(ResourceLocation pLocation) void
RandomSequences.reset
(ResourceLocation pSequence) void
RandomSequences.reset
(ResourceLocation pSequence, int pSeed, boolean pIncludeWorldSeed, boolean pIncludeSequenceId) static RandomSupport.Seed128bit
RandomSequence.seedForKey
(ResourceLocation pKey) Method parameters in net.minecraft.world with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static XoroshiroRandomSource
RandomSequence.createSequence
(long pSeed, Optional<ResourceLocation> pLocation) void
RandomSequences.forAllSequences
(BiConsumer<ResourceLocation, RandomSequence> pAction) Constructors in net.minecraft.world with parameters of type ResourceLocationConstructor parameters in net.minecraft.world with type arguments of type ResourceLocationModifierConstructorDescriptionRandomSequence
(long pSeed, Optional<ResourceLocation> pLocation) private
RandomSequences
(long pSeed, int p_401155_, boolean p_401045_, boolean p_401271_, Map<ResourceLocation, RandomSequence> p_401273_) -
Uses of ResourceLocation in net.minecraft.world.effect
Fields in net.minecraft.world.effect declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
MobEffect.AttributeTemplate.id
The field for theid
record component.Methods in net.minecraft.world.effect that return ResourceLocationModifier and TypeMethodDescriptionMobEffect.AttributeTemplate.id()
Returns the value of theid
record component.Methods in net.minecraft.world.effect with parameters of type ResourceLocationModifier and TypeMethodDescriptionMobEffect.addAttributeModifier
(Holder<Attribute> pAttribute, ResourceLocation pId, double pAmount, AttributeModifier.Operation pOperation) MobEffect.addAttributeModifier
(Holder<Attribute> attribute, ResourceLocation id, AttributeModifier.Operation operation, it.unimi.dsi.fastutil.ints.Int2DoubleFunction curve) Neo: attribute template with custom level curve, for mob effects providing non-linear attribute modifiers.Constructors in net.minecraft.world.effect with parameters of type ResourceLocationModifierConstructorDescriptionAttributeTemplate
(ResourceLocation id, double amount, AttributeModifier.Operation operation) AttributeTemplate
(ResourceLocation id, double amount, AttributeModifier.Operation operation, it.unimi.dsi.fastutil.ints.Int2DoubleFunction curve) Creates an instance of aAttributeTemplate
record class. -
Uses of ResourceLocation in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as ResourceLocationModifier and TypeFieldDescriptionprotected static final ResourceLocation
private static final ResourceLocation
LivingEntity.SPEED_MODIFIER_POWDER_SNOW_ID
private static final ResourceLocation
LivingEntity.SPRINTING_MODIFIER_ID
Methods in net.minecraft.world.entity that return ResourceLocationModifier and TypeMethodDescriptionstatic ResourceLocation
EntityType.getKey
(EntityType<?> pEntityType) -
Uses of ResourceLocation in net.minecraft.world.entity.ai.attributes
Fields in net.minecraft.world.entity.ai.attributes declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
AttributeModifier.id
The field for theid
record component.Fields in net.minecraft.world.entity.ai.attributes with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, AttributeModifier> AttributeInstance.modifierById
private final Map
<AttributeModifier.Operation, Map<ResourceLocation, AttributeModifier>> AttributeInstance.modifiersByOperation
private final Map
<ResourceLocation, AttributeModifier> AttributeInstance.permanentModifiers
Methods in net.minecraft.world.entity.ai.attributes that return ResourceLocationModifier and TypeMethodDescriptionAttributeModifier.id()
Returns the value of theid
record component.Methods in net.minecraft.world.entity.ai.attributes that return types with arguments of type ResourceLocationModifier and TypeMethodDescription(package private) Map
<ResourceLocation, AttributeModifier> AttributeInstance.getModifiers
(AttributeModifier.Operation pOperation) Methods in net.minecraft.world.entity.ai.attributes with parameters of type ResourceLocationModifier and TypeMethodDescriptionAttributeInstance.getModifier
(ResourceLocation pId) double
AttributeMap.getModifierValue
(Holder<Attribute> pAttribute, ResourceLocation pId) double
AttributeSupplier.getModifierValue
(Holder<Attribute> pAttribute, ResourceLocation pId) boolean
AttributeInstance.hasModifier
(ResourceLocation pId) boolean
AttributeMap.hasModifier
(Holder<Attribute> pAttribute, ResourceLocation pId) boolean
AttributeSupplier.hasModifier
(Holder<Attribute> pAttribute, ResourceLocation pId) boolean
AttributeModifier.is
(ResourceLocation pId) boolean
AttributeInstance.removeModifier
(ResourceLocation pId) Constructors in net.minecraft.world.entity.ai.attributes with parameters of type ResourceLocationModifierConstructorDescriptionAttributeModifier
(ResourceLocation id, double amount, AttributeModifier.Operation operation) Creates an instance of aAttributeModifier
record class. -
Uses of ResourceLocation in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
TemperatureVariants.COLD
private static final ResourceLocation
Rabbit.EVIL_ATTACK_POWER_MODIFIER
private static final ResourceLocation
Rabbit.KILLER_BUNNY
static final ResourceLocation
TemperatureVariants.TEMPERATE
static final ResourceLocation
TemperatureVariants.WARM
Methods in net.minecraft.world.entity.animal with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceKey
<ChickenVariant> ChickenVariants.createKey
(ResourceLocation pName) private static ResourceKey
<CowVariant> CowVariants.createKey
(ResourceLocation pName) private static ResourceKey
<PigVariant> PigVariants.createKey
(ResourceLocation pName) -
Uses of ResourceLocation in net.minecraft.world.entity.animal.frog
Methods in net.minecraft.world.entity.animal.frog with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceKey
<FrogVariant> FrogVariants.createKey
(ResourceLocation pName) -
Uses of ResourceLocation in net.minecraft.world.entity.animal.wolf
Methods in net.minecraft.world.entity.animal.wolf that return ResourceLocation -
Uses of ResourceLocation in net.minecraft.world.entity.decoration
Fields in net.minecraft.world.entity.decoration declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
PaintingVariant.assetId
The field for theassetId
record component.Methods in net.minecraft.world.entity.decoration that return ResourceLocationModifier and TypeMethodDescriptionPaintingVariant.assetId()
Returns the value of theassetId
record component.Constructors in net.minecraft.world.entity.decoration with parameters of type ResourceLocationModifierConstructorDescriptionPaintingVariant
(int width, int height, ResourceLocation assetId, Optional<Component> title, Optional<Component> author) Creates an instance of aPaintingVariant
record class. -
Uses of ResourceLocation in net.minecraft.world.entity.monster
Fields in net.minecraft.world.entity.monster declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
Shulker.COVERED_ARMOR_MODIFIER_ID
private static final ResourceLocation
Zombie.LEADER_ZOMBIE_BONUS_ID
private static final ResourceLocation
private static final ResourceLocation
EnderMan.SPEED_MODIFIER_ATTACKING_ID
private static final ResourceLocation
ZombifiedPiglin.SPEED_MODIFIER_ATTACKING_ID
private static final ResourceLocation
Zombie.SPEED_MODIFIER_BABY_ID
private static final ResourceLocation
private static final ResourceLocation
Strider.SUFFOCATING_MODIFIER_ID
private static final ResourceLocation
Zombie.ZOMBIE_RANDOM_SPAWN_BONUS_ID
-
Uses of ResourceLocation in net.minecraft.world.entity.monster.piglin
Fields in net.minecraft.world.entity.monster.piglin declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
Piglin.SPEED_MODIFIER_BABY_ID
-
Uses of ResourceLocation in net.minecraft.world.entity.player
Methods in net.minecraft.world.entity.player with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoid
Player.awardStat
(ResourceLocation pStatKey) void
Player.awardStat
(ResourceLocation pStat, int pIncrement) -
Uses of ResourceLocation in net.minecraft.world.entity.variant
Constructors in net.minecraft.world.entity.variant with parameters of type ResourceLocation -
Uses of ResourceLocation in net.minecraft.world.flag
Fields in net.minecraft.world.flag with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, FeatureFlag> FeatureFlagRegistry.Builder.flags
private final Map
<ResourceLocation, FeatureFlag> FeatureFlagRegistry.names
Methods in net.minecraft.world.flag that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionFeatureFlagRegistry.getAllFlags()
FeatureFlagRegistry.toNames
(FeatureFlagSet pSet) Methods in net.minecraft.world.flag with parameters of type ResourceLocationModifier and TypeMethodDescriptionFeatureFlagRegistry.Builder.create
(ResourceLocation pLocation) Deprecated.Neo: useFeatureFlagRegistry.Builder.create(ResourceLocation, boolean)
insteadFeatureFlagRegistry.Builder.create
(ResourceLocation pLocation, boolean modded) FeatureFlagRegistry.getFlag
(ResourceLocation name) Method parameters in net.minecraft.world.flag with type arguments of type ResourceLocationModifier and TypeMethodDescriptionFeatureFlagRegistry.fromNames
(Iterable<ResourceLocation> pNames) FeatureFlagRegistry.fromNames
(Iterable<ResourceLocation> pNames, Consumer<ResourceLocation> pOnError) FeatureFlagRegistry.fromNames
(Iterable<ResourceLocation> pNames, Consumer<ResourceLocation> pOnError) Constructor parameters in net.minecraft.world.flag with type arguments of type ResourceLocationModifierConstructorDescription(package private)
FeatureFlagRegistry
(FeatureFlagUniverse pUniverse, FeatureFlagSet pAllFlags, Map<ResourceLocation, FeatureFlag> pNames) -
Uses of ResourceLocation in net.minecraft.world.inventory
Fields in net.minecraft.world.inventory declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
HorseInventoryMenu.ARMOR_SLOT_SPRITE
private ResourceLocation
Slot.backgroundSprite
static final ResourceLocation
InventoryMenu.EMPTY_ARMOR_SLOT_BOOTS
static final ResourceLocation
InventoryMenu.EMPTY_ARMOR_SLOT_CHESTPLATE
static final ResourceLocation
InventoryMenu.EMPTY_ARMOR_SLOT_HELMET
static final ResourceLocation
InventoryMenu.EMPTY_ARMOR_SLOT_LEGGINGS
static final ResourceLocation
InventoryMenu.EMPTY_ARMOR_SLOT_SHIELD
(package private) static final ResourceLocation
BrewingStandMenu.EMPTY_SLOT_FUEL
(package private) static final ResourceLocation
EnchantmentMenu.EMPTY_SLOT_LAPIS_LAZULI
(package private) static final ResourceLocation
BrewingStandMenu.EMPTY_SLOT_POTION
private final ResourceLocation
ArmorSlot.emptyIcon
private static final ResourceLocation
HorseInventoryMenu.LLAMA_ARMOR_SLOT_SPRITE
private static final ResourceLocation
HorseInventoryMenu.SADDLE_SLOT_SPRITE
Fields in net.minecraft.world.inventory with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Map
<EquipmentSlot, ResourceLocation> InventoryMenu.TEXTURE_EMPTY_SLOTS
Methods in net.minecraft.world.inventory that return ResourceLocationModifier and TypeMethodDescriptionArmorSlot.getNoItemIcon()
BrewingStandMenu.FuelSlot.getNoItemIcon()
BrewingStandMenu.PotionSlot.getNoItemIcon()
Slot.getNoItemIcon()
Methods in net.minecraft.world.inventory with parameters of type ResourceLocationModifier and TypeMethodDescriptionSlot.setBackground
(ResourceLocation sprite) Sets the background atlas and sprite location.Constructors in net.minecraft.world.inventory with parameters of type ResourceLocationModifierConstructorDescriptionArmorSlot
(Container pContainer, LivingEntity pOwner, EquipmentSlot pSlot, int pSlotIndex, int pX, int pY, ResourceLocation pEmptyIcon) -
Uses of ResourceLocation in net.minecraft.world.item
Fields in net.minecraft.world.item declared as ResourceLocationModifier and TypeFieldDescription(package private) ResourceLocation
CreativeModeTab.backgroundTexture
private ResourceLocation
CreativeModeTab.Builder.backgroundTexture
static final ResourceLocation
static final ResourceLocation
Item.BASE_ATTACK_SPEED_ID
private static final ResourceLocation
CreativeModeTab.Builder.CREATIVE_INVENTORY_TABS_IMAGE
private static final ResourceLocation
CreativeModeTab.Builder.CREATIVE_ITEM_SEARCH_BACKGROUND
(package private) static final ResourceLocation
CreativeModeTab.DEFAULT_BACKGROUND
private static final ResourceLocation
SmithingTemplateItem.EMPTY_SLOT_AMETHYST_SHARD
private static final ResourceLocation
SmithingTemplateItem.EMPTY_SLOT_AXE
private static final ResourceLocation
SmithingTemplateItem.EMPTY_SLOT_BOOTS
private static final ResourceLocation
SmithingTemplateItem.EMPTY_SLOT_CHESTPLATE
private static final ResourceLocation
SmithingTemplateItem.EMPTY_SLOT_DIAMOND
private static final ResourceLocation
SmithingTemplateItem.EMPTY_SLOT_EMERALD
private static final ResourceLocation
SmithingTemplateItem.EMPTY_SLOT_HELMET
private static final ResourceLocation
SmithingTemplateItem.EMPTY_SLOT_HOE
private static final ResourceLocation
SmithingTemplateItem.EMPTY_SLOT_INGOT
private static final ResourceLocation
SmithingTemplateItem.EMPTY_SLOT_LAPIS_LAZULI
private static final ResourceLocation
SmithingTemplateItem.EMPTY_SLOT_LEGGINGS
private static final ResourceLocation
SmithingTemplateItem.EMPTY_SLOT_PICKAXE
private static final ResourceLocation
SmithingTemplateItem.EMPTY_SLOT_QUARTZ
private static final ResourceLocation
SmithingTemplateItem.EMPTY_SLOT_REDSTONE_DUST
private static final ResourceLocation
SmithingTemplateItem.EMPTY_SLOT_SHOVEL
private static final ResourceLocation
SmithingTemplateItem.EMPTY_SLOT_SWORD
private static final ResourceLocation
CreativeModeTabs.INVENTORY_BACKGROUND
private static final ResourceLocation
CreativeModeTab.SCROLLER_DISABLED_SPRITE
private static final ResourceLocation
CreativeModeTab.SCROLLER_SPRITE
private final ResourceLocation
CreativeModeTab.scrollerSpriteLocation
private static final ResourceLocation
CreativeModeTabs.SEARCH_BACKGROUND
private ResourceLocation
CreativeModeTab.Builder.spriteScrollerLocation
private ResourceLocation
CreativeModeTab.Builder.tabsImage
private final ResourceLocation
CreativeModeTab.tabsImage
Fields in net.minecraft.world.item with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final List
<ResourceLocation> SmithingTemplateItem.additionalSlotEmptyIcons
private final List
<ResourceLocation> SmithingTemplateItem.baseSlotEmptyIcons
private final Map
<ResourceLocation, ItemCooldowns.CooldownInstance> ItemCooldowns.cooldowns
private DependantName
<Item, ResourceLocation> Item.Properties.model
private final List
<ResourceLocation> CreativeModeTab.Builder.tabsAfter
final List
<ResourceLocation> CreativeModeTab.tabsAfter
private final List
<ResourceLocation> CreativeModeTab.Builder.tabsBefore
final List
<ResourceLocation> CreativeModeTab.tabsBefore
Methods in net.minecraft.world.item that return ResourceLocationModifier and TypeMethodDescriptionstatic ResourceLocation
CreativeModeTab.createTextureLocation
(String pName) Item.Properties.effectiveModel()
CreativeModeTab.getBackgroundTexture()
ItemCooldowns.getCooldownGroup
(ItemStack pStack) CreativeModeTab.getScrollerSprite()
CreativeModeTab.getTabsImage()
Methods in net.minecraft.world.item that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static List
<ResourceLocation> SmithingTemplateItem.createNetheriteUpgradeIconList()
private static List
<ResourceLocation> SmithingTemplateItem.createNetheriteUpgradeMaterialList()
private static List
<ResourceLocation> SmithingTemplateItem.createTrimmableArmorIconList()
private static List
<ResourceLocation> SmithingTemplateItem.createTrimmableMaterialIconList()
SmithingTemplateItem.getAdditionalSlotEmptyIcons()
SmithingTemplateItem.getBaseSlotEmptyIcons()
Methods in net.minecraft.world.item with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoid
ItemCooldowns.addCooldown
(ResourceLocation pGroup, int pCooldown) CreativeModeTab.Builder.backgroundTexture
(ResourceLocation pBackgroundTexture) (package private) DataComponentMap
Item.Properties.buildAndValidateComponents
(Component pItemName, ResourceLocation pItemModel) protected void
ItemCooldowns.onCooldownEnded
(ResourceLocation pGroup) protected void
ServerItemCooldowns.onCooldownEnded
(ResourceLocation pGroup) protected void
ItemCooldowns.onCooldownStarted
(ResourceLocation pGroup, int pCooldown) protected void
ServerItemCooldowns.onCooldownStarted
(ResourceLocation pGroup, int pCooldown) void
ItemCooldowns.removeCooldown
(ResourceLocation pGroup) CreativeModeTab.Builder.withScrollBarSpriteLocation
(ResourceLocation scrollBarSpriteLocation) Sets the location of the scroll bar background.CreativeModeTab.Builder.withTabsAfter
(ResourceLocation... tabs) Define tabs that should come after this tab.CreativeModeTab.Builder.withTabsBefore
(ResourceLocation... tabs) Define tabs that should come before this tab.CreativeModeTab.Builder.withTabsImage
(ResourceLocation tabsImage) Sets the image of the tab to a custom resource location, instead of an item's texture.Constructors in net.minecraft.world.item with parameters of type ResourceLocationModifierConstructorDescription(package private)
CreativeModeTab
(CreativeModeTab.Row pRow, int pColumn, CreativeModeTab.Type pType, Component pDisplayName, Supplier<ItemStack> pIconGenerator, CreativeModeTab.DisplayItemsGenerator pDisplayItemGenerator, ResourceLocation scrollerSpriteLocation, boolean hasSearchBar, int searchBarWidth, ResourceLocation tabsImage, int labelColor, int slotColor, List<ResourceLocation> tabsBefore, List<ResourceLocation> tabsAfter) Constructor parameters in net.minecraft.world.item with type arguments of type ResourceLocationModifierConstructorDescription(package private)
CreativeModeTab
(CreativeModeTab.Row pRow, int pColumn, CreativeModeTab.Type pType, Component pDisplayName, Supplier<ItemStack> pIconGenerator, CreativeModeTab.DisplayItemsGenerator pDisplayItemGenerator, ResourceLocation scrollerSpriteLocation, boolean hasSearchBar, int searchBarWidth, ResourceLocation tabsImage, int labelColor, int slotColor, List<ResourceLocation> tabsBefore, List<ResourceLocation> tabsAfter) SmithingTemplateItem
(Component pAppliesTo, Component pIngredients, Component pBaseSlotDescription, Component pAdditionsSlotDescription, List<ResourceLocation> pBaseSlotEmptyIcons, List<ResourceLocation> pAdditionalSlotEmptyIcons, Item.Properties pProperties) -
Uses of ResourceLocation in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Optional
<ResourceLocation> UseCooldown.cooldownGroup
The field for thecooldownGroup
record component.Methods in net.minecraft.world.item.component that return ResourceLocationMethods in net.minecraft.world.item.component that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionUseCooldown.cooldownGroup()
Returns the value of thecooldownGroup
record component.Methods in net.minecraft.world.item.component with parameters of type ResourceLocationModifier and TypeMethodDescriptionboolean
ItemAttributeModifiers.Entry.matches
(Holder<Attribute> pAttribute, ResourceLocation pId) Constructor parameters in net.minecraft.world.item.component with type arguments of type ResourceLocationModifierConstructorDescriptionUseCooldown
(float seconds, Optional<ResourceLocation> cooldownGroup) Creates an instance of aUseCooldown
record class. -
Uses of ResourceLocation in net.minecraft.world.item.crafting
Methods in net.minecraft.world.item.crafting with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic <T extends Recipe<?>>
RecipeType<T> RecipeType.simple
(ResourceLocation name) -
Uses of ResourceLocation in net.minecraft.world.item.enchantment
Methods in net.minecraft.world.item.enchantment with parameters of type ResourceLocation -
Uses of ResourceLocation in net.minecraft.world.item.enchantment.effects
Fields in net.minecraft.world.item.enchantment.effects declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
RunFunction.function
The field for thefunction
record component.private final ResourceLocation
EnchantmentAttributeEffect.id
The field for theid
record component.Methods in net.minecraft.world.item.enchantment.effects that return ResourceLocationModifier and TypeMethodDescriptionRunFunction.function()
Returns the value of thefunction
record component.EnchantmentAttributeEffect.id()
Returns the value of theid
record component.private ResourceLocation
EnchantmentAttributeEffect.idForSlot
(StringRepresentable pSlot) Constructors in net.minecraft.world.item.enchantment.effects with parameters of type ResourceLocationModifierConstructorDescriptionEnchantmentAttributeEffect
(ResourceLocation id, Holder<Attribute> attribute, LevelBasedValue amount, AttributeModifier.Operation operation) Creates an instance of aEnchantmentAttributeEffect
record class.RunFunction
(ResourceLocation function) Creates an instance of aRunFunction
record class. -
Uses of ResourceLocation in net.minecraft.world.item.equipment
Fields in net.minecraft.world.item.equipment with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate Optional
<ResourceLocation> Equippable.Builder.cameraOverlay
private final Optional
<ResourceLocation> Equippable.cameraOverlay
The field for thecameraOverlay
record component.Methods in net.minecraft.world.item.equipment that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionEquippable.cameraOverlay()
Returns the value of thecameraOverlay
record component.Methods in net.minecraft.world.item.equipment with parameters of type ResourceLocationModifier and TypeMethodDescriptionEquippable.Builder.setCameraOverlay
(ResourceLocation pCameraOverlay) -
Uses of ResourceLocation in net.minecraft.world.item.equipment.trim
Fields in net.minecraft.world.item.equipment.trim declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
TrimPattern.assetId
The field for theassetId
record component.Methods in net.minecraft.world.item.equipment.trim that return ResourceLocationModifier and TypeMethodDescriptionTrimPattern.assetId()
Returns the value of theassetId
record component.static ResourceLocation
TrimPatterns.defaultAssetId
(ResourceKey<TrimPattern> pKey) ArmorTrim.layerAssetId
(String pPrefix, ResourceKey<EquipmentAsset> pEquipmentAssetId) Constructors in net.minecraft.world.item.equipment.trim with parameters of type ResourceLocationModifierConstructorDescriptionTrimPattern
(ResourceLocation assetId, Component description, boolean decal) Creates an instance of aTrimPattern
record class. -
Uses of ResourceLocation in net.minecraft.world.level.biome
Fields in net.minecraft.world.level.biome declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
MultiNoiseBiomeSourceParameterList.Preset.id
The field for theid
record component.Fields in net.minecraft.world.level.biome with type parameters of type ResourceLocationModifier and TypeFieldDescription(package private) static final Map
<ResourceLocation, MultiNoiseBiomeSourceParameterList.Preset> MultiNoiseBiomeSourceParameterList.Preset.BY_NAME
Methods in net.minecraft.world.level.biome that return ResourceLocationModifier and TypeMethodDescriptionMultiNoiseBiomeSourceParameterList.Preset.id()
Returns the value of theid
record component.Constructors in net.minecraft.world.level.biome with parameters of type ResourceLocationModifierConstructorDescriptionCreates an instance of aPreset
record class. -
Uses of ResourceLocation in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
ShulkerBoxBlock.CONTENTS
static final ResourceLocation
DecoratedPotBlock.SHERDS_DYNAMIC_DROP_ID
Fields in net.minecraft.world.level.block with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, Supplier<? extends Block>> FlowerPotBlock.fullPots
Methods in net.minecraft.world.level.block that return ResourceLocationModifier and TypeMethodDescriptionprivate ResourceLocation
NoteBlock.getCustomSoundId
(Level pLevel, BlockPos pPos) Methods in net.minecraft.world.level.block that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionMap
<ResourceLocation, Supplier<? extends Block>> FlowerPotBlock.getFullPotsView()
Returns all the filled pots that can be spawned from filling this pot.protected Stat
<ResourceLocation> ChestBlock.getOpenChestStat()
protected Stat
<ResourceLocation> TrappedChestBlock.getOpenChestStat()
Methods in net.minecraft.world.level.block with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoid
FlowerPotBlock.addPlant
(ResourceLocation flower, Supplier<? extends Block> fullPot) Maps the given flower to the filled pot it is for. -
Uses of ResourceLocation in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
BannerPattern.assetId
The field for theassetId
record component.private final ResourceLocation
DecoratedPotPattern.assetId
The field for theassetId
record component.static final ResourceLocation
JigsawBlockEntity.EMPTY_ID
private ResourceLocation
JigsawBlockEntity.name
private ResourceLocation
SkullBlockEntity.noteBlockSound
private ResourceLocation
StructureBlockEntity.structureName
private ResourceLocation
JigsawBlockEntity.target
Methods in net.minecraft.world.level.block.entity that return ResourceLocationModifier and TypeMethodDescriptionBannerPattern.assetId()
Returns the value of theassetId
record component.DecoratedPotPattern.assetId()
Returns the value of theassetId
record component.static ResourceLocation
BlockEntityType.getKey
(BlockEntityType<?> pBlockEntityType) JigsawBlockEntity.getName()
SkullBlockEntity.getNoteBlockSound()
JigsawBlockEntity.getTarget()
Methods in net.minecraft.world.level.block.entity that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionMethods in net.minecraft.world.level.block.entity with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic boolean
TestInstanceBlockEntity.export
(ServerLevel pLevel, ResourceLocation pTest, Consumer<Component> pMessageSender) static boolean
StructureBlockEntity.saveStructure
(ServerLevel pLevel, ResourceLocation pStructureName, BlockPos pPos, Vec3i pSize, boolean pIgnoreEntities, String pAuthor, boolean pWriteToDisk, List<Block> pIgnoredBlocks) void
JigsawBlockEntity.setName
(ResourceLocation pName) void
StructureBlockEntity.setStructureName
(ResourceLocation pStructureName) void
JigsawBlockEntity.setTarget
(ResourceLocation pTarget) Constructors in net.minecraft.world.level.block.entity with parameters of type ResourceLocationModifierConstructorDescriptionBannerPattern
(ResourceLocation assetId, String translationKey) Creates an instance of aBannerPattern
record class.DecoratedPotPattern
(ResourceLocation assetId) Creates an instance of aDecoratedPotPattern
record class. -
Uses of ResourceLocation in net.minecraft.world.level.dimension
Fields in net.minecraft.world.level.dimension declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
DimensionType.effectsLocation
The field for theeffectsLocation
record component.static final ResourceLocation
BuiltinDimensionTypes.END_EFFECTS
static final ResourceLocation
BuiltinDimensionTypes.NETHER_EFFECTS
static final ResourceLocation
BuiltinDimensionTypes.OVERWORLD_EFFECTS
Methods in net.minecraft.world.level.dimension that return ResourceLocationModifier and TypeMethodDescriptionDimensionType.effectsLocation()
Returns the value of theeffectsLocation
record component.Constructors in net.minecraft.world.level.dimension with parameters of type ResourceLocationModifierConstructorDescriptionDimensionType
(OptionalLong fixedTime, boolean hasSkyLight, boolean hasCeiling, boolean ultraWarm, boolean natural, double coordinateScale, boolean bedWorks, boolean respawnAnchorWorks, int minY, int height, int logicalHeight, TagKey<Block> infiniburn, ResourceLocation effectsLocation, float ambientLight, Optional<Integer> cloudHeight, DimensionType.MonsterSettings monsterSettings) Creates an instance of aDimensionType
record class. -
Uses of ResourceLocation in net.minecraft.world.level.levelgen
Fields in net.minecraft.world.level.levelgen declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
SurfaceRules.VerticalGradientConditionSource.randomName
The field for therandomName
record component.Fields in net.minecraft.world.level.levelgen with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, PositionalRandomFactory> RandomState.positionalRandoms
Methods in net.minecraft.world.level.levelgen that return ResourceLocationModifier and TypeMethodDescriptionSurfaceRules.VerticalGradientConditionSource.randomName()
Returns the value of therandomName
record component.Methods in net.minecraft.world.level.levelgen with parameters of type ResourceLocationModifier and TypeMethodDescriptiondefault RandomSource
PositionalRandomFactory.fromHashOf
(ResourceLocation pName) RandomState.getOrCreateRandomFactory
(ResourceLocation pLocation) Constructors in net.minecraft.world.level.levelgen with parameters of type ResourceLocationModifierConstructorDescription(package private)
VerticalGradientConditionSource
(ResourceLocation randomName, VerticalAnchor trueAtAndBelow, VerticalAnchor falseAtAndAbove) Creates an instance of aVerticalGradientConditionSource
record class. -
Uses of ResourceLocation in net.minecraft.world.level.levelgen.feature
Fields in net.minecraft.world.level.levelgen.feature with type parameters of type ResourceLocationModifier and TypeFieldDescriptionfinal List
<ResourceLocation> FossilFeatureConfiguration.fossilStructures
final List
<ResourceLocation> FossilFeatureConfiguration.overlayStructures
Constructor parameters in net.minecraft.world.level.levelgen.feature with type arguments of type ResourceLocationModifierConstructorDescriptionFossilFeatureConfiguration
(List<ResourceLocation> p_204751_, List<ResourceLocation> p_204752_, Holder<StructureProcessorList> p_204753_, Holder<StructureProcessorList> p_204754_, int p_204755_) -
Uses of ResourceLocation in net.minecraft.world.level.levelgen.structure
Methods in net.minecraft.world.level.levelgen.structure that return ResourceLocationModifier and TypeMethodDescriptionprotected ResourceLocation
TemplateStructurePiece.makeTemplateLocation()
Constructors in net.minecraft.world.level.levelgen.structure with parameters of type ResourceLocationModifierConstructorDescriptionTemplateStructurePiece
(StructurePieceType pType, int pGenDepth, StructureTemplateManager pStructureTemplateManager, ResourceLocation pLocation, String pTemplateName, StructurePlaceSettings pPlaceSettings, BlockPos pTemplatePosition) Constructor parameters in net.minecraft.world.level.levelgen.structure with type arguments of type ResourceLocationModifierConstructorDescriptionTemplateStructurePiece
(StructurePieceType pType, CompoundTag pTag, StructureTemplateManager pStructureTemplateManager, Function<ResourceLocation, StructurePlaceSettings> pPlaceSettingsFactory) -
Uses of ResourceLocation in net.minecraft.world.level.levelgen.structure.pieces
Fields in net.minecraft.world.level.levelgen.structure.pieces declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
PiecesContainer.JIGSAW_RENAME
Fields in net.minecraft.world.level.levelgen.structure.pieces with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Map
<ResourceLocation, ResourceLocation> PiecesContainer.RENAMES
private static final Map
<ResourceLocation, ResourceLocation> PiecesContainer.RENAMES
-
Uses of ResourceLocation in net.minecraft.world.level.levelgen.structure.pools
Fields in net.minecraft.world.level.levelgen.structure.pools declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
FeaturePoolElement.DEFAULT_JIGSAW_NAME
Fields in net.minecraft.world.level.levelgen.structure.pools with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprotected final com.mojang.datafixers.util.Either
<ResourceLocation, StructureTemplate> SinglePoolElement.template
private static final com.mojang.serialization.Codec
<com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate>> SinglePoolElement.TEMPLATE_CODEC
Methods in net.minecraft.world.level.levelgen.structure.pools that return ResourceLocationMethods in net.minecraft.world.level.levelgen.structure.pools that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprotected static <E extends SinglePoolElement>
com.mojang.serialization.codecs.RecordCodecBuilder<E, com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate>> SinglePoolElement.templateCodec()
Methods in net.minecraft.world.level.levelgen.structure.pools with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic boolean
JigsawPlacement.generateJigsaw
(ServerLevel pLevel, Holder<StructureTemplatePool> pStartPool, ResourceLocation pStartJigsawName, int pMaxDepth, BlockPos pPos, boolean pKeepJigsaws) JigsawPlacement.getRandomNamedJigsaw
(StructurePoolElement pElement, ResourceLocation pStartJigsawName, BlockPos pPos, Rotation pRotation, StructureTemplateManager pStructureTemplateManager, WorldgenRandom pRandom) Method parameters in net.minecraft.world.level.levelgen.structure.pools with type arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic Optional
<Structure.GenerationStub> JigsawPlacement.addPieces
(Structure.GenerationContext pContext, Holder<StructureTemplatePool> pStartPool, Optional<ResourceLocation> pStartJigsawName, int pMaxDepth, BlockPos pPos, boolean pUseExpansionHack, Optional<Heightmap.Types> pProjectStartToHeightmap, int pMaxDistanceFromCenter, PoolAliasLookup pAliasLookup, DimensionPadding pDimensionPadding, LiquidSettings pLiquidSettings) private static <T> com.mojang.serialization.DataResult
<T> SinglePoolElement.encodeTemplate
(com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> p_210425_, com.mojang.serialization.DynamicOps<T> p_210426_, T p_210427_) Constructor parameters in net.minecraft.world.level.levelgen.structure.pools with type arguments of type ResourceLocationModifierConstructorDescriptionprotected
LegacySinglePoolElement
(com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> p_210348_, Holder<StructureProcessorList> p_210349_, StructureTemplatePool.Projection p_210350_, Optional<LiquidSettings> p_352209_) protected
SinglePoolElement
(com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> p_210415_, Holder<StructureProcessorList> p_210416_, StructureTemplatePool.Projection p_210417_, Optional<LiquidSettings> p_352236_) -
Uses of ResourceLocation in net.minecraft.world.level.levelgen.structure.structures
Fields in net.minecraft.world.level.levelgen.structure.structures declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation[]
OceanRuinPieces.BIG_RUINS_BRICK
private static final ResourceLocation[]
OceanRuinPieces.BIG_RUINS_CRACKED
private static final ResourceLocation[]
OceanRuinPieces.BIG_RUINS_MOSSY
private static final ResourceLocation[]
OceanRuinPieces.BIG_WARM_RUINS
private static final ResourceLocation[]
NetherFossilPieces.FOSSILS
private static final ResourceLocation[]
OceanRuinPieces.RUINS_BRICK
private static final ResourceLocation[]
OceanRuinPieces.RUINS_CRACKED
private static final ResourceLocation[]
OceanRuinPieces.RUINS_MOSSY
private static final ResourceLocation[]
ShipwreckPieces.STRUCTURE_LOCATION_BEACHED
(package private) static final ResourceLocation
IglooPieces.STRUCTURE_LOCATION_IGLOO
private static final ResourceLocation
IglooPieces.STRUCTURE_LOCATION_LABORATORY
private static final ResourceLocation
IglooPieces.STRUCTURE_LOCATION_LADDER
private static final ResourceLocation[]
ShipwreckPieces.STRUCTURE_LOCATION_OCEAN
private static final ResourceLocation[]
OceanRuinPieces.WARM_RUINS
Fields in net.minecraft.world.level.levelgen.structure.structures with type parameters of type ResourceLocationModifier and TypeFieldDescription(package private) static final Map
<ResourceLocation, BlockPos> IglooPieces.OFFSETS
(package private) static final Map
<ResourceLocation, BlockPos> IglooPieces.PIVOTS
private final Optional
<ResourceLocation> JigsawStructure.startJigsawName
Methods in net.minecraft.world.level.levelgen.structure.structures that return ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceLocation
OceanRuinPieces.getBigWarmRuin
(RandomSource pRandom) private static ResourceLocation
OceanRuinPieces.getSmallWarmRuin
(RandomSource pRandom) private static ResourceLocation
WoodlandMansionPieces.WoodlandMansionPiece.makeLocation
(String pName) private static ResourceLocation
EndCityPieces.EndCityPiece.makeResourceLocation
(String pName) protected ResourceLocation
EndCityPieces.EndCityPiece.makeTemplateLocation()
protected ResourceLocation
WoodlandMansionPieces.WoodlandMansionPiece.makeTemplateLocation()
Methods in net.minecraft.world.level.levelgen.structure.structures with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static BlockPos
IglooPieces.IglooPiece.makePosition
(ResourceLocation pLocation, BlockPos pPos, int pDown) private static StructurePlaceSettings
IglooPieces.IglooPiece.makeSettings
(Rotation pRotation, ResourceLocation pLocation) private static StructurePlaceSettings
RuinedPortalPiece.makeSettings
(StructureTemplateManager pStructureTemplateManager, CompoundTag pTag, ResourceLocation pLocation) Constructors in net.minecraft.world.level.levelgen.structure.structures with parameters of type ResourceLocationModifierConstructorDescriptionIglooPiece
(StructureTemplateManager pStructureTemplateManager, ResourceLocation pLocation, BlockPos pStartPos, Rotation pRotation, int pDown) NetherFossilPiece
(StructureTemplateManager pStructureManager, ResourceLocation pLocation, BlockPos pPos, Rotation pRotation) OceanRuinPiece
(StructureTemplateManager pStructureTemplateManager, ResourceLocation pLocation, BlockPos pPos, Rotation pRotation, float pIntegrity, OceanRuinStructure.Type pBiomeType, boolean pIsLarge) RuinedPortalPiece
(StructureTemplateManager pStructureTemplateManager, BlockPos pTemplatePosition, RuinedPortalPiece.VerticalPlacement pVerticalPlacement, RuinedPortalPiece.Properties pProperties, ResourceLocation pLocation, StructureTemplate pTemplate, Rotation pRotation, Mirror pMirror, BlockPos pPivotPos) ShipwreckPiece
(StructureTemplateManager pStructureTemplateManager, ResourceLocation pLocation, BlockPos pPos, Rotation pRotation, boolean pIsBeached) Constructor parameters in net.minecraft.world.level.levelgen.structure.structures with type arguments of type ResourceLocationModifierConstructorDescriptionJigsawStructure
(Structure.StructureSettings p_227627_, Holder<StructureTemplatePool> p_227628_, Optional<ResourceLocation> p_227629_, int p_227630_, HeightProvider p_227631_, boolean p_227632_, Optional<Heightmap.Types> p_227633_, int p_227634_, List<PoolAliasBinding> p_307354_, DimensionPadding p_348651_, LiquidSettings p_352256_) -
Uses of ResourceLocation in net.minecraft.world.level.levelgen.structure.templatesystem
Fields in net.minecraft.world.level.levelgen.structure.templatesystem declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
StructureTemplate.JigsawBlockInfo.name
The field for thename
record component.private final ResourceLocation
StructureTemplate.JigsawBlockInfo.target
The field for thetarget
record component.Fields in net.minecraft.world.level.levelgen.structure.templatesystem with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Supplier
<Stream<ResourceLocation>> StructureTemplateManager.Source.lister
The field for thelister
record component.private final Function
<ResourceLocation, Optional<StructureTemplate>> StructureTemplateManager.Source.loader
The field for theloader
record component.private final Map
<ResourceLocation, Optional<StructureTemplate>> StructureTemplateManager.structureRepository
Methods in net.minecraft.world.level.levelgen.structure.templatesystem that return ResourceLocationModifier and TypeMethodDescriptionStructureTemplate.JigsawBlockInfo.name()
Returns the value of thename
record component.StructureTemplate.JigsawBlockInfo.target()
Returns the value of thetarget
record component.Methods in net.minecraft.world.level.levelgen.structure.templatesystem that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionStructureTemplateManager.Source.lister()
Returns the value of thelister
record component.private Stream
<ResourceLocation> StructureTemplateManager.listGenerated()
private Stream
<ResourceLocation> StructureTemplateManager.listResources()
StructureTemplateManager.listTemplates()
private Stream
<ResourceLocation> StructureTemplateManager.listTestStructures()
StructureTemplateManager.Source.loader()
Returns the value of theloader
record component.Methods in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type ResourceLocationModifier and TypeMethodDescriptionStructureTemplateManager.createAndValidatePathToGeneratedStructure
(ResourceLocation pLocation, String pExtension) StructureTemplateManager.get
(ResourceLocation pId) StructureTemplateManager.getOrCreate
(ResourceLocation pId) private Optional
<StructureTemplate> StructureTemplateManager.loadFromGenerated
(ResourceLocation p_230432_) private Optional
<StructureTemplate> StructureTemplateManager.loadFromResource
(ResourceLocation p_230428_) private Optional
<StructureTemplate> StructureTemplateManager.loadFromSnbt
(ResourceLocation pId, Path pPath) private Optional
<StructureTemplate> StructureTemplateManager.loadFromTestStructures
(ResourceLocation p_230430_) void
StructureTemplateManager.remove
(ResourceLocation pId) boolean
StructureTemplateManager.save
(ResourceLocation pId) private Optional
<StructureTemplate> StructureTemplateManager.tryLoad
(ResourceLocation p_230426_) Method parameters in net.minecraft.world.level.levelgen.structure.templatesystem with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate void
StructureTemplateManager.listFolderContents
(Path pFolder, String pNamespace, String pExtension, Consumer<ResourceLocation> pOutput) Constructors in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type ResourceLocationModifierConstructorDescriptionJigsawBlockInfo
(StructureTemplate.StructureBlockInfo info, JigsawBlockEntity.JointType jointType, ResourceLocation name, ResourceKey<StructureTemplatePool> pool, ResourceLocation target, int placementPriority, int selectionPriority) Creates an instance of aJigsawBlockInfo
record class.Constructor parameters in net.minecraft.world.level.levelgen.structure.templatesystem with type arguments of type ResourceLocationModifierConstructorDescription(package private)
Source
(Function<ResourceLocation, Optional<StructureTemplate>> loader, Supplier<Stream<ResourceLocation>> lister) Creates an instance of aSource
record class.(package private)
Source
(Function<ResourceLocation, Optional<StructureTemplate>> loader, Supplier<Stream<ResourceLocation>> lister) Creates an instance of aSource
record class. -
Uses of ResourceLocation in net.minecraft.world.level.saveddata.maps
Fields in net.minecraft.world.level.saveddata.maps declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
MapDecorationType.assetId
The field for theassetId
record component.Methods in net.minecraft.world.level.saveddata.maps that return ResourceLocationModifier and TypeMethodDescriptionMapDecorationType.assetId()
Returns the value of theassetId
record component.MapDecoration.getSpriteLocation()
Constructors in net.minecraft.world.level.saveddata.maps with parameters of type ResourceLocationModifierConstructorDescriptionMapDecorationType
(ResourceLocation assetId, boolean showOnItemFrame, int mapColor, boolean explorationMapElement, boolean trackCount) Creates an instance of aMapDecorationType
record class. -
Uses of ResourceLocation in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage that return types with arguments of type ResourceLocationMethods in net.minecraft.world.level.storage with parameters of type ResourceLocationModifier and TypeMethodDescriptionCommandStorage.get
(ResourceLocation pId) void
CommandStorage.set
(ResourceLocation pId, CompoundTag pNbt) -
Uses of ResourceLocation in net.minecraft.world.level.storage.loot
Fields in net.minecraft.world.level.storage.loot declared as ResourceLocationModifier and TypeFieldDescriptionprivate ResourceLocation
LootTable.lootTableId
private ResourceLocation
LootContext.Builder.queriedLootTableId
private @Nullable ResourceLocation
LootContext.queriedLootTableId
Fields in net.minecraft.world.level.storage.loot with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, LootParams.DynamicDrop> LootParams.Builder.dynamicDrops
private final Map
<ResourceLocation, LootParams.DynamicDrop> LootParams.dynamicDrops
private final BiConsumer
<T, ResourceLocation> LootDataType.idSetter
The field for theidSetter
record component.private Optional
<ResourceLocation> LootTable.Builder.randomSequence
private final Optional
<ResourceLocation> LootTable.randomSequence
Methods in net.minecraft.world.level.storage.loot that return ResourceLocationMethods in net.minecraft.world.level.storage.loot that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionLootDataType.idSetter()
Returns the value of theidSetter
record component.Methods in net.minecraft.world.level.storage.loot with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoid
LootContext.addDynamicDrops
(ResourceLocation pName, Consumer<ItemStack> pConsumer) Add the dynamic drops for the given dynamic drops name to the given consumer.void
LootParams.addDynamicDrops
(ResourceLocation pLocation, Consumer<ItemStack> pConsumer) void
LootTable.setLootTableId
(ResourceLocation id) void
LootContext.setQueriedLootTableId
(@Nullable ResourceLocation queriedLootTableId) LootTable.Builder.setRandomSequence
(ResourceLocation pRandomSequence) LootParams.Builder.withDynamicDrop
(ResourceLocation pName, LootParams.DynamicDrop pDynamicDrop) LootContext.Builder.withQueriedLootTableId
(ResourceLocation queriedLootTableId) Method parameters in net.minecraft.world.level.storage.loot with type arguments of type ResourceLocationModifier and TypeMethodDescriptionLootContext.Builder.create
(Optional<ResourceLocation> pSequence) Constructors in net.minecraft.world.level.storage.loot with parameters of type ResourceLocationModifierConstructorDescriptionprivate
LootContext
(LootParams pParams, RandomSource pRandom, HolderGetter.Provider pLootDataResolver, ResourceLocation queriedLootTableId) Constructor parameters in net.minecraft.world.level.storage.loot with type arguments of type ResourceLocationModifierConstructorDescriptionLootDataType
(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, LootDataType.Validator<T> validator, T defaultValue, com.mojang.serialization.Codec<Optional<T>> conditionalCodec, BiConsumer<T, ResourceLocation> idSetter) Creates an instance of aLootDataType
record class.private
LootDataType
(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, LootDataType.Validator<T> validator, T defaultValue, BiConsumer<T, ResourceLocation> idSetter) LootParams
(ServerLevel pLevel, ContextMap pParams, Map<ResourceLocation, LootParams.DynamicDrop> pDynamicDrops, float pLuck) (package private)
LootTable
(ContextKeySet p_380952_, Optional<ResourceLocation> p_299055_, List<LootPool> p_298390_, List<LootItemFunction> p_298775_) -
Uses of ResourceLocation in net.minecraft.world.level.storage.loot.entries
Fields in net.minecraft.world.level.storage.loot.entries declared as ResourceLocationMethods in net.minecraft.world.level.storage.loot.entries with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic LootPoolSingletonContainer.Builder
<?> DynamicLoot.dynamicEntry
(ResourceLocation pDynamicDropsName) Constructors in net.minecraft.world.level.storage.loot.entries with parameters of type ResourceLocationModifierConstructorDescriptionprivate
DynamicLoot
(ResourceLocation p_79465_, int p_79466_, int p_79467_, List<LootItemCondition> p_299033_, List<LootItemFunction> p_298474_) -
Uses of ResourceLocation in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
ApplyBonusCount.FormulaType.id
The field for theid
record component.private final ResourceLocation
SetAttributesFunction.Modifier.id
The field for theid
record component.private final ResourceLocation
SetAttributesFunction.ModifierBuilder.id
Fields in net.minecraft.world.level.storage.loot.functions with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Map
<ResourceLocation, ApplyBonusCount.FormulaType> ApplyBonusCount.FORMULAS
Methods in net.minecraft.world.level.storage.loot.functions that return ResourceLocationModifier and TypeMethodDescriptionApplyBonusCount.FormulaType.id()
Returns the value of theid
record component.SetAttributesFunction.Modifier.id()
Returns the value of theid
record component.Methods in net.minecraft.world.level.storage.loot.functions with parameters of type ResourceLocationModifier and TypeMethodDescriptionSetAttributesFunction.modifier
(ResourceLocation pId, Holder<Attribute> pAttribute, AttributeModifier.Operation pOperation, NumberProvider pAmount) Constructors in net.minecraft.world.level.storage.loot.functions with parameters of type ResourceLocationModifierConstructorDescription(package private)
FormulaType
(ResourceLocation id, com.mojang.serialization.Codec<? extends ApplyBonusCount.Formula> codec) Creates an instance of aFormulaType
record class.(package private)
Modifier
(ResourceLocation id, Holder<Attribute> attribute, AttributeModifier.Operation operation, NumberProvider amount, List<EquipmentSlotGroup> slots) Creates an instance of aModifier
record class.ModifierBuilder
(ResourceLocation pId, Holder<Attribute> pAttribute, AttributeModifier.Operation pOperation, NumberProvider pAmount) -
Uses of ResourceLocation in net.minecraft.world.level.storage.loot.parameters
Fields in net.minecraft.world.level.storage.loot.parameters with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final com.google.common.collect.BiMap
<ResourceLocation, ContextKeySet> LootContextParamSets.REGISTRY
-
Uses of ResourceLocation in net.minecraft.world.level.storage.loot.providers.nbt
Fields in net.minecraft.world.level.storage.loot.providers.nbt declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
StorageNbtProvider.id
The field for theid
record component.Methods in net.minecraft.world.level.storage.loot.providers.nbt that return ResourceLocationModifier and TypeMethodDescriptionStorageNbtProvider.id()
Returns the value of theid
record component.Constructors in net.minecraft.world.level.storage.loot.providers.nbt with parameters of type ResourceLocationModifierConstructorDescriptionCreates an instance of aStorageNbtProvider
record class. -
Uses of ResourceLocation in net.minecraft.world.level.storage.loot.providers.number
Fields in net.minecraft.world.level.storage.loot.providers.number declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
StorageValue.storage
The field for thestorage
record component.Methods in net.minecraft.world.level.storage.loot.providers.number that return ResourceLocationModifier and TypeMethodDescriptionStorageValue.storage()
Returns the value of thestorage
record component.Constructors in net.minecraft.world.level.storage.loot.providers.number with parameters of type ResourceLocationModifierConstructorDescriptionStorageValue
(ResourceLocation storage, NbtPathArgument.NbtPath path) Creates an instance of aStorageValue
record class. -
Uses of ResourceLocation in net.minecraft.world.level.timers
Fields in net.minecraft.world.level.timers declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
FunctionCallback.functionId
The field for thefunctionId
record component.private final ResourceLocation
FunctionTagCallback.tagId
The field for thetagId
record component.Fields in net.minecraft.world.level.timers with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final ExtraCodecs.LateBoundIdMapper
<ResourceLocation, com.mojang.serialization.MapCodec<? extends TimerCallback<C>>> TimerCallbacks.idMapper
Methods in net.minecraft.world.level.timers that return ResourceLocationModifier and TypeMethodDescriptionFunctionCallback.functionId()
Returns the value of thefunctionId
record component.FunctionTagCallback.tagId()
Returns the value of thetagId
record component.Methods in net.minecraft.world.level.timers with parameters of type ResourceLocationModifier and TypeMethodDescriptionTimerCallbacks.register
(ResourceLocation p_404817_, com.mojang.serialization.MapCodec<? extends TimerCallback<C>> p_404991_) Constructors in net.minecraft.world.level.timers with parameters of type ResourceLocationModifierConstructorDescriptionFunctionCallback
(ResourceLocation functionId) Creates an instance of aFunctionCallback
record class.Creates an instance of aFunctionTagCallback
record class. -
Uses of ResourceLocation in net.minecraft.world.scores.criteria
Methods in net.minecraft.world.scores.criteria with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static <T> Optional
<ObjectiveCriteria> ObjectiveCriteria.getStat
(StatType<T> pStatType, ResourceLocation pResourceLocation) -
Uses of ResourceLocation in net.neoforged.neoforge.capabilities
Fields in net.neoforged.neoforge.capabilities declared as ResourceLocationFields in net.neoforged.neoforge.capabilities with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final ConcurrentMap
<ResourceLocation, CapabilityRegistry.StoredCap<C>> CapabilityRegistry.caps
Methods in net.neoforged.neoforge.capabilities that return ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceLocation
final ResourceLocation
BaseCapability.name()
Returns the name of this capability.Methods in net.neoforged.neoforge.capabilities with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic <T,
C extends @Nullable Object>
BlockCapability<T, C> BlockCapability.create
(ResourceLocation name, Class<T> typeClass, Class<C> contextClass) Creates a new block capability, or gets it if it already exists.CapabilityRegistry.CapabilityConstructor.create
(ResourceLocation name, Class<?> typeClass, Class<?> contextClass) Creates a new capability with the given name, type class and context class.CapabilityRegistry.create
(ResourceLocation name, Class<?> typeClass, Class<?> contextClass) Creates a new capability with the given name, type class and context class, or returns an existing one if it was already created.static <T,
C extends @Nullable Object>
EntityCapability<T, C> EntityCapability.create
(ResourceLocation name, Class<T> typeClass, Class<C> contextClass) Creates a new entity capability, or gets it if it already exists.static <T,
C extends @Nullable Object>
ItemCapability<T, C> ItemCapability.create
(ResourceLocation name, Class<T> typeClass, Class<C> contextClass) Creates a new item capability, or gets it if it already exists.static <T> BlockCapability
<T, @Nullable Direction> BlockCapability.createSided
(ResourceLocation name, Class<T> typeClass) Creates a new block capability with nullableDirection
context, or gets it if it already exists.static <T> EntityCapability
<T, @Nullable Direction> EntityCapability.createSided
(ResourceLocation name, Class<T> typeClass) Creates a new entity capability with nullableDirection
context, or gets it if it already exists.static <T> BlockCapability
<T, @Nullable Void> BlockCapability.createVoid
(ResourceLocation name, Class<T> typeClass) Creates a new block capability withVoid
context, or gets it if it already exists.static <T> EntityCapability
<T, @Nullable Void> EntityCapability.createVoid
(ResourceLocation name, Class<T> typeClass) Creates a new entity capability withVoid
context, or gets it if it already exists.static <T> ItemCapability
<T, @Nullable Void> ItemCapability.createVoid
(ResourceLocation name, Class<T> typeClass) Creates a new item capability withVoid
context, or gets it if it already exists.Constructors in net.neoforged.neoforge.capabilities with parameters of type ResourceLocationModifierConstructorDescriptionprotected
BaseCapability
(ResourceLocation name, Class<T> typeClass, Class<C> contextClass) private
BlockCapability
(ResourceLocation name, Class<T> typeClass, Class<C> contextClass) private
EntityCapability
(ResourceLocation name, Class<T> typeClass, Class<C> contextClass) private
ItemCapability
(ResourceLocation name, Class<T> typeClass, Class<C> contextClass) -
Uses of ResourceLocation in net.neoforged.neoforge.client
Fields in net.neoforged.neoforge.client declared as ResourceLocationFields in net.neoforged.neoforge.client with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static com.google.common.collect.ImmutableMap
<ResourceLocation, DimensionSpecialEffects> DimensionSpecialEffectsManager.EFFECTS
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.LAYERED_ITEM_CUTOUT
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.LAYERED_ITEM_CUTOUT_MIPPED
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.LAYERED_ITEM_SOLID
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.LAYERED_ITEM_TRANSLUCENT
private static com.google.common.collect.ImmutableMap
<ResourceLocation, RenderTypeGroup> NamedRenderTypeManager.RENDER_TYPES
private static Map
<EntityType<?>, ResourceLocation> EntitySpectatorShaderManager.SHADERS
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_FILTERED
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_INTENSITY_FILTERED
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_INTENSITY_POLYGON_OFFSET_FILTERED
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_INTENSITY_SEETHROUGH_FILTERED
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_POLYGON_OFFSET_FILTERED
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_SEETHROUGH_FILTERED
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TRANSLUCENT_PARTICLES_TARGET
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.UNLIT_TRANSLUCENT_SORTED
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.UNLIT_TRANSLUCENT_UNSORTED
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.UNSORTED_TRANSLUCENT
Methods in net.neoforged.neoforge.client that return ResourceLocationModifier and TypeMethodDescriptionstatic @Nullable ResourceLocation
EntitySpectatorShaderManager.get
(EntityType<?> entityType) Finds the path to the spectator mode shader used for the specified entity type, or null if none is registered.static ResourceLocation
ClientHooks.getArmorTexture
(ItemStack armor, EquipmentClientInfo.LayerType type, EquipmentClientInfo.Layer layer, ResourceLocation _default) private static ResourceLocation
ClientNeoForgeMod.neoForgeId
(String path) Methods in net.neoforged.neoforge.client that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic Map
<ResourceLocation, ResourceLocation> ClientHooks.gatherMaterialAtlases
(Map<ResourceLocation, ResourceLocation> vanillaAtlases) static Map
<ResourceLocation, ResourceLocation> ClientHooks.gatherMaterialAtlases
(Map<ResourceLocation, ResourceLocation> vanillaAtlases) Methods in net.neoforged.neoforge.client with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic RenderTypeGroup
NamedRenderTypeManager.get
(ResourceLocation name) Finds theRenderTypeGroup
for a given name, or theempty group
if not found.@Nullable AdvancementHolder
ClientCommandSourceStack.getAdvancement
(ResourceLocation id) Returns the advancement from the id from the client side where the advancement needs to be visible to the player.static ResourceLocation
ClientHooks.getArmorTexture
(ItemStack armor, EquipmentClientInfo.LayerType type, EquipmentClientInfo.Layer layer, ResourceLocation _default) static Material
ClientHooks.getBlockMaterial
(ResourceLocation loc) static RenderType
NeoForgeRenderTypes.getEntityCutoutMipped
(ResourceLocation textureLocation) static DimensionSpecialEffects
DimensionSpecialEffectsManager.getForType
(ResourceLocation type) Finds theDimensionSpecialEffects
for a given dimension type, or the default if none is registered.static RenderType
NeoForgeRenderTypes.getItemLayeredCutout
(ResourceLocation textureLocation) static RenderType
NeoForgeRenderTypes.getItemLayeredCutoutMipped
(ResourceLocation textureLocation) static RenderType
NeoForgeRenderTypes.getItemLayeredSolid
(ResourceLocation textureLocation) static RenderType
NeoForgeRenderTypes.getItemLayeredTranslucent
(ResourceLocation textureLocation) static RenderType
NeoForgeRenderTypes.getTextFiltered
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.getTextFiltered
(ResourceLocation locationIn) static RenderType
NeoForgeRenderTypes.getTextIntensityFiltered
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.getTextIntensityFiltered
(ResourceLocation locationIn) static RenderType
NeoForgeRenderTypes.getTextIntensityPolygonOffsetFiltered
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.getTextIntensityPolygonOffsetFiltered
(ResourceLocation locationIn) static RenderType
NeoForgeRenderTypes.getTextIntensitySeeThroughFiltered
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.getTextIntensitySeeThroughFiltered
(ResourceLocation locationIn) static RenderType
NeoForgeRenderTypes.getTextPolygonOffsetFiltered
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.getTextPolygonOffsetFiltered
(ResourceLocation locationIn) static RenderType
NeoForgeRenderTypes.getTextSeeThroughFiltered
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.getTextSeeThroughFiltered
(ResourceLocation locationIn) static RenderType
NeoForgeRenderTypes.getTranslucentParticlesTarget
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.getTranslucentParticlesTarget
(ResourceLocation locationIn) static RenderType
NeoForgeRenderTypes.getUnlitTranslucent
(ResourceLocation textureLocation) static RenderType
NeoForgeRenderTypes.getUnlitTranslucent
(ResourceLocation textureLocation, boolean sortingEnabled) static RenderType
NeoForgeRenderTypes.getUnsortedTranslucent
(ResourceLocation textureLocation) private static RenderType
NeoForgeRenderTypes.Internal.layeredItemCutout
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.layeredItemCutoutMipped
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.layeredItemSolid
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.layeredItemTranslucent
(ResourceLocation locationIn) static RenderTooltipEvent.Texture
ClientHooks.onRenderTooltipTexture
(ItemStack stack, GuiGraphics graphics, int x, int y, Font font, List<ClientTooltipComponent> components, @Nullable ResourceLocation texture) private static RenderType
NeoForgeRenderTypes.Internal.unlitTranslucent
(ResourceLocation textureLocation, boolean sortingEnabled) private static RenderType
NeoForgeRenderTypes.Internal.unsortedTranslucent
(ResourceLocation textureLocation) Method parameters in net.neoforged.neoforge.client with type arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic GpuDevice
ClientHooks.createGpuDevice
(long window, int debugLevel, boolean syncDebug, BiFunction<ResourceLocation, ShaderType, String> defaultShaderSource, boolean enableDebugLabels) static Map
<ResourceLocation, ResourceLocation> ClientHooks.gatherMaterialAtlases
(Map<ResourceLocation, ResourceLocation> vanillaAtlases) static Map
<ResourceLocation, ResourceLocation> ClientHooks.gatherMaterialAtlases
(Map<ResourceLocation, ResourceLocation> vanillaAtlases) static void
ClientHooks.onModifyBakingResult
(ModelBakery.BakingResult bakingResult, Map<ResourceLocation, AtlasSet.StitchResult> stitchResults, ModelBakery modelBakery) private static DimensionSpecialEffects
DimensionSpecialEffectsManager.preRegisterVanillaEffects
(Map<ResourceLocation, DimensionSpecialEffects> effects) Pre-registers vanilla dimension effects and returns the default fallback effects instance.private static void
NamedRenderTypeManager.preRegisterVanillaRenderTypes
(Map<ResourceLocation, RenderTypeGroup> blockRenderTypes) Pre-registers vanilla render types.Constructors in net.neoforged.neoforge.client with parameters of type ResourceLocation -
Uses of ResourceLocation in net.neoforged.neoforge.client.blaze3d.validation
Method parameters in net.neoforged.neoforge.client.blaze3d.validation with type arguments of type ResourceLocationModifier and TypeMethodDescriptionValidationGpuDevice.precompilePipeline
(RenderPipeline pipeline, @Nullable BiFunction<ResourceLocation, ShaderType, String> shaderSourceProvider) -
Uses of ResourceLocation in net.neoforged.neoforge.client.data
Fields in net.neoforged.neoforge.client.data declared as ResourceLocationModifier and TypeFieldDescriptionprotected static final ResourceLocation
SpriteSourceProvider.BANNER_PATTERNS_ATLAS
protected static final ResourceLocation
SpriteSourceProvider.BEDS_ATLAS
protected static final ResourceLocation
SpriteSourceProvider.BLOCKS_ATLAS
protected static final ResourceLocation
SpriteSourceProvider.CHESTS_ATLAS
protected static final ResourceLocation
SpriteSourceProvider.MOB_EFFECTS_ATLAS
protected static final ResourceLocation
SpriteSourceProvider.PAINTINGS_ATLAS
protected static final ResourceLocation
SpriteSourceProvider.PARTICLES_ATLAS
protected static final ResourceLocation
SpriteSourceProvider.SHIELD_PATTERNS_ATLAS
protected static final ResourceLocation
SpriteSourceProvider.SHULKER_BOXES_ATLAS
protected static final ResourceLocation
SpriteSourceProvider.SIGNS_ATLAS
Fields in net.neoforged.neoforge.client.data with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, SpriteSourceProvider.SourceList> SpriteSourceProvider.atlases
protected final Map
<ResourceLocation, List<String>> ParticleDescriptionProvider.descriptions
Methods in net.neoforged.neoforge.client.data with parameters of type ResourceLocationModifier and TypeMethodDescriptionprotected final SpriteSourceProvider.SourceList
SpriteSourceProvider.atlas
(ResourceLocation id) Get or create aSpriteSourceProvider.SourceList
for the given atlasprotected void
ParticleDescriptionProvider.sprite
(ParticleType<?> type, ResourceLocation texture) Creates a new particle description that contains a single texture for the associatedParticleType
.protected void
ParticleDescriptionProvider.spriteSet
(ParticleType<?> type, ResourceLocation baseName, int numOfTextures, boolean reverse) Creates a new particle description that contains multiple textures for the associatedParticleType
.protected void
ParticleDescriptionProvider.spriteSet
(ParticleType<?> type, ResourceLocation texture, ResourceLocation... textures) Creates a new particle description that contains multiple textures for the associatedParticleType
.Method parameters in net.neoforged.neoforge.client.data with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprotected void
ParticleDescriptionProvider.spriteSet
(ParticleType<?> type, Iterable<ResourceLocation> textures) Creates a new particle description that contains multiple textures for the associatedParticleType
. -
Uses of ResourceLocation in net.neoforged.neoforge.client.entity.animation.json
Fields in net.neoforged.neoforge.client.entity.animation.json declared as ResourceLocationFields in net.neoforged.neoforge.client.entity.animation.json with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, AnimationHolder> AnimationLoader.animations
private static final com.google.common.collect.ImmutableBiMap
<ResourceLocation, AnimationChannel.Interpolation> AnimationTypeManager.DEFAULT_INTERPOLATIONS
private static final com.google.common.collect.ImmutableBiMap
<ResourceLocation, AnimationTarget> AnimationTypeManager.DEFAULT_TARGETS
private static com.google.common.collect.ImmutableBiMap
<ResourceLocation, AnimationChannel.Interpolation> AnimationTypeManager.INTERPOLATIONS
private static com.google.common.collect.ImmutableBiMap
<ResourceLocation, AnimationTarget> AnimationTypeManager.TARGETS
Methods in net.neoforged.neoforge.client.entity.animation.json that return ResourceLocationModifier and TypeMethodDescriptionstatic @Nullable ResourceLocation
AnimationTypeManager.getInterpolationName
(AnimationChannel.Interpolation interpolation) Gets theResourceLocation
associated with the giveninterpolation
.static @Nullable ResourceLocation
AnimationTypeManager.getTargetName
(AnimationTarget target) Gets theResourceLocation
associated with the giventarget
.AnimationHolder.key()
Gets the key associated with this animation.Methods in net.neoforged.neoforge.client.entity.animation.json with parameters of type ResourceLocationModifier and TypeMethodDescription@Nullable AnimationDefinition
AnimationLoader.getAnimation
(ResourceLocation key) Gets a loadedAnimationDefinition
with the specifiedkey
.AnimationLoader.getAnimationHolder
(ResourceLocation key) Returns anAnimationHolder
for an animation.AnimationTypeManager.getInterpolation
(ResourceLocation name) Gets theinterpolation function
associated with the givenname
.static @Nullable AnimationTarget
AnimationTypeManager.getTarget
(ResourceLocation name) Gets theAnimationTarget
associated with the givenname
.Method parameters in net.neoforged.neoforge.client.entity.animation.json with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprotected void
AnimationLoader.apply
(Map<ResourceLocation, AnimationDefinition> animationJsons, ResourceManager resourceManager, ProfilerFiller profiler) Constructors in net.neoforged.neoforge.client.entity.animation.json with parameters of type ResourceLocation -
Uses of ResourceLocation in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
RenderGuiLayerEvent.name
private final @Nullable ResourceLocation
RenderTooltipEvent.Texture.originalTexture
private @Nullable ResourceLocation
RenderTooltipEvent.Texture.texture
Fields in net.neoforged.neoforge.client.event with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, ResourceLocation> RegisterMaterialAtlasesEvent.atlases
private final Map
<ResourceLocation, ResourceLocation> RegisterMaterialAtlasesEvent.atlases
private final ExtraCodecs.LateBoundIdMapper
<ResourceLocation, com.mojang.serialization.MapCodec<? extends CustomBlockModelDefinition>> RegisterBlockStateModels.defintionIdMapper
private final Map
<ResourceLocation, DimensionSpecialEffects> RegisterDimensionSpecialEffectsEvent.effects
private final ExtraCodecs.LateBoundIdMapper
<ResourceLocation, com.mojang.serialization.MapCodec<? extends ItemTintSource>> RegisterColorHandlersEvent.ItemTintSources.idMapper
private final ExtraCodecs.LateBoundIdMapper
<ResourceLocation, com.mojang.serialization.MapCodec<? extends ConditionalItemModelProperty>> RegisterConditionalItemModelPropertyEvent.idMapper
private final ExtraCodecs.LateBoundIdMapper
<ResourceLocation, com.mojang.serialization.MapCodec<? extends ItemModel.Unbaked>> RegisterItemModelsEvent.idMapper
private final ExtraCodecs.LateBoundIdMapper
<ResourceLocation, com.mojang.serialization.MapCodec<? extends RangeSelectItemModelProperty>> RegisterRangeSelectItemModelPropertyEvent.idMapper
private final ExtraCodecs.LateBoundIdMapper
<ResourceLocation, SelectItemModelProperty.Type<?, ?>> RegisterSelectItemModelPropertyEvent.idMapper
private final ExtraCodecs.LateBoundIdMapper
<ResourceLocation, com.mojang.serialization.MapCodec<? extends SpecialModelRenderer.Unbaked>> RegisterSpecialModelRendererEvent.idMapper
private final ExtraCodecs.LateBoundIdMapper
<ResourceLocation, com.mojang.serialization.MapCodec<? extends SpriteSource>> RegisterSpriteSourcesEvent.idMapper
private final com.google.common.collect.ImmutableMap.Builder
<ResourceLocation, AnimationChannel.Interpolation> RegisterJsonAnimationTypesEvent.interpolations
private final Map
<ResourceLocation, UnbakedModelLoader<?>> ModelEvent.RegisterLoaders.loaders
private final ExtraCodecs.LateBoundIdMapper
<ResourceLocation, com.mojang.serialization.MapCodec<? extends CustomUnbakedBlockStateModel>> RegisterBlockStateModels.modelIdMapper
private final Map
<ResourceLocation, AnimationChannel.Interpolation> RegisterJsonAnimationTypesEvent.registeredInterpolations
private final Map
<ResourceLocation, AnimationTarget> RegisterJsonAnimationTypesEvent.registeredTargets
private final Map
<ResourceLocation, RenderTypeGroup> RegisterNamedRenderTypesEvent.renderTypes
private final Map
<EntityType<?>, ResourceLocation> RegisterEntitySpectatorShadersEvent.shaders
private final com.google.common.collect.ImmutableMap.Builder
<ResourceLocation, AnimationTarget> RegisterJsonAnimationTypesEvent.targets
Methods in net.neoforged.neoforge.client.event that return ResourceLocationModifier and TypeMethodDescriptionRenderGuiLayerEvent.getName()
@Nullable ResourceLocation
RenderTooltipEvent.Texture.getOriginalTexture()
Returns the original texture location given to the tooltip render method (may originate fromDataComponents.TOOLTIP_STYLE
).@Nullable ResourceLocation
RenderTooltipEvent.Texture.getTexture()
Returns the texture location that will be used to render the tooltip.private static ResourceLocation
AddClientReloadListenersEvent.lookupName
(PreparableReloadListener listener) Methods in net.neoforged.neoforge.client.event with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static <T> void
RegisterJsonAnimationTypesEvent.checkDuplicate
(String what, ResourceLocation key, Map<ResourceLocation, T> by, T obj) void
ModelEvent.RegisterLoaders.register
(ResourceLocation key, UnbakedModelLoader<?> loader) Registers a new unbaked model loader.void
RegisterColorHandlersEvent.ItemTintSources.register
(ResourceLocation location, com.mojang.serialization.MapCodec<? extends ItemTintSource> source) void
RegisterConditionalItemModelPropertyEvent.register
(ResourceLocation location, com.mojang.serialization.MapCodec<? extends ConditionalItemModelProperty> source) void
RegisterDimensionSpecialEffectsEvent.register
(ResourceLocation dimensionType, DimensionSpecialEffects effects) Registers the effects for a given dimension type.void
RegisterEntitySpectatorShadersEvent.register
(EntityType<?> entityType, ResourceLocation shader) Registers a spectator shader for a given entity type.private void
RegisterGuiLayersEvent.register
(RegisterGuiLayersEvent.Ordering ordering, @Nullable ResourceLocation other, ResourceLocation key, GuiLayer layer) void
RegisterItemModelsEvent.register
(ResourceLocation location, com.mojang.serialization.MapCodec<? extends ItemModel.Unbaked> source) void
RegisterMaterialAtlasesEvent.register
(ResourceLocation atlasLocation, ResourceLocation atlasInfoLocation) Register a texture atlas with the given name and info locationvoid
RegisterNamedRenderTypesEvent.register
(ResourceLocation key, ChunkSectionLayer chunkLayer, RenderType entityRenderType) Registers a namedRenderTypeGroup
.void
RegisterRangeSelectItemModelPropertyEvent.register
(ResourceLocation location, com.mojang.serialization.MapCodec<? extends RangeSelectItemModelProperty> source) void
RegisterSelectItemModelPropertyEvent.register
(ResourceLocation location, SelectItemModelProperty.Type<?, ?> source) void
RegisterSpecialModelRendererEvent.register
(ResourceLocation location, com.mojang.serialization.MapCodec<? extends SpecialModelRenderer.Unbaked> source) void
RegisterSpriteSourcesEvent.register
(ResourceLocation id, com.mojang.serialization.MapCodec<? extends SpriteSource> codec) void
RegisterGuiLayersEvent.registerAbove
(ResourceLocation other, ResourceLocation id, GuiLayer layer) Registers an layer that renders above another.void
RegisterGuiLayersEvent.registerAboveAll
(ResourceLocation id, GuiLayer layer) Registers a layer that renders above all others.void
RegisterGuiLayersEvent.registerBelow
(ResourceLocation other, ResourceLocation id, GuiLayer layer) Registers a layer that renders below another.void
RegisterGuiLayersEvent.registerBelowAll
(ResourceLocation id, GuiLayer layer) Registers a layer that renders below all others.void
RegisterBlockStateModels.registerDefinition
(ResourceLocation location, com.mojang.serialization.MapCodec<? extends CustomBlockModelDefinition> codec) void
RegisterJsonAnimationTypesEvent.registerInterpolation
(ResourceLocation key, AnimationChannel.Interpolation interpolation) Register a custominterpolation function
with the specifiedkey
.void
RegisterBlockStateModels.registerModel
(ResourceLocation location, com.mojang.serialization.MapCodec<? extends CustomUnbakedBlockStateModel> codec) void
RegisterJsonAnimationTypesEvent.registerTarget
(ResourceLocation key, AnimationTarget target) Register a customAnimationTarget
with the specifiedkey
.void
RegisterGuiLayersEvent.replaceLayer
(ResourceLocation id, GuiLayer replacement) Replace the layer with the givenid
with a new one.void
RenderTooltipEvent.Texture.setTexture
(@Nullable ResourceLocation texture) Set the texture to use for the tooltip background and frame ornull
to use the default textures.void
RegisterGuiLayersEvent.wrapLayer
(ResourceLocation id, UnaryOperator<GuiLayer> wrapper) Wrap the layer with the givenid
in a new layer.Method parameters in net.neoforged.neoforge.client.event with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static <T> void
RegisterJsonAnimationTypesEvent.checkDuplicate
(String what, ResourceLocation key, Map<ResourceLocation, T> by, T obj) Constructors in net.neoforged.neoforge.client.event with parameters of type ResourceLocationModifierConstructorDescriptionPost
(GuiGraphics guiGraphics, DeltaTracker partialTick, ResourceLocation name, GuiLayer layer) Pre
(GuiGraphics guiGraphics, DeltaTracker partialTick, ResourceLocation name, GuiLayer layer) protected
RenderGuiLayerEvent
(GuiGraphics guiGraphics, DeltaTracker partialTick, ResourceLocation name, GuiLayer layer) Texture
(ItemStack stack, GuiGraphics graphics, int x, int y, Font font, List<ClientTooltipComponent> components, @Nullable ResourceLocation texture) Constructor parameters in net.neoforged.neoforge.client.event with type arguments of type ResourceLocationModifierConstructorDescriptionItemTintSources
(ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends ItemTintSource>> idMapper) RegisterBlockStateModels
(ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends CustomUnbakedBlockStateModel>> modelIdMapper, ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends CustomBlockModelDefinition>> defintionIdMapper) RegisterConditionalItemModelPropertyEvent
(ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends ConditionalItemModelProperty>> idMapper) RegisterEntitySpectatorShadersEvent
(Map<EntityType<?>, ResourceLocation> shaders) RegisterItemModelsEvent
(ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends ItemModel.Unbaked>> idMapper) RegisterJsonAnimationTypesEvent
(com.google.common.collect.ImmutableMap.Builder<ResourceLocation, AnimationTarget> targets, com.google.common.collect.ImmutableMap.Builder<ResourceLocation, AnimationChannel.Interpolation> interpolations) RegisterLoaders
(Map<ResourceLocation, UnbakedModelLoader<?>> loaders) RegisterNamedRenderTypesEvent
(Map<ResourceLocation, RenderTypeGroup> renderTypes) RegisterRangeSelectItemModelPropertyEvent
(ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends RangeSelectItemModelProperty>> idMapper) RegisterSelectItemModelPropertyEvent
(ExtraCodecs.LateBoundIdMapper<ResourceLocation, SelectItemModelProperty.Type<?, ?>> idMapper) RegisterSpecialModelRendererEvent
(ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends SpecialModelRenderer.Unbaked>> idMapper) RegisterSpriteSourcesEvent
(ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends SpriteSource>> idMapper) -
Uses of ResourceLocation in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions that return ResourceLocationModifier and TypeMethodDescriptiondefault ResourceLocation
IModelProviderExtension.mcLocation
(String modelPath) default ResourceLocation
IModelProviderExtension.modLocation
(String modelPath) Methods in net.neoforged.neoforge.client.extensions with parameters of type ResourceLocationModifier and TypeMethodDescriptiondefault void
IGuiGraphicsExtension.blitInscribed
(ResourceLocation texture, int x, int y, int boundsWidth, int boundsHeight, int rectWidth, int rectHeight) default void
IGuiGraphicsExtension.blitInscribed
(ResourceLocation texture, int x, int y, int boundsWidth, int boundsHeight, int rectWidth, int rectHeight, boolean centerX, boolean centerY) -
Uses of ResourceLocation in net.neoforged.neoforge.client.extensions.common
Methods in net.neoforged.neoforge.client.extensions.common that return ResourceLocationModifier and TypeMethodDescriptiondefault @Nullable ResourceLocation
IClientItemExtensions.getArmorTexture
(ItemStack stack, EquipmentClientInfo.LayerType type, EquipmentClientInfo.Layer layer, ResourceLocation _default) Called by RenderBiped and RenderPlayer to determine the armor texture that should be used for the currently equipped item.default ResourceLocation
IClientFluidTypeExtensions.getFlowingTexture()
Returns the reference of the texture to apply to a flowing fluid.default ResourceLocation
IClientFluidTypeExtensions.getFlowingTexture
(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the reference of the texture to apply to a flowing fluid.default ResourceLocation
IClientFluidTypeExtensions.getFlowingTexture
(FluidStack stack) Returns the reference of the texture to apply to a flowing fluid.default @Nullable ResourceLocation
IClientFluidTypeExtensions.getOverlayTexture()
Returns the reference of the texture to apply to a fluid directly touching a non-opaque block other than air.default ResourceLocation
IClientFluidTypeExtensions.getOverlayTexture
(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the reference of the texture to apply to a fluid directly touching a non-opaque block other than air.default ResourceLocation
IClientFluidTypeExtensions.getOverlayTexture
(FluidStack stack) Returns the reference of the texture to apply to a fluid directly touching a non-opaque block other than air.default @Nullable ResourceLocation
IClientFluidTypeExtensions.getRenderOverlayTexture
(Minecraft mc) Returns the location of the texture to apply to the camera when it is within the fluid.default ResourceLocation
IClientFluidTypeExtensions.getStillTexture()
Returns the reference of the texture to apply to a source fluid.default ResourceLocation
IClientFluidTypeExtensions.getStillTexture
(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the reference of the texture to apply to a source fluid.default ResourceLocation
IClientFluidTypeExtensions.getStillTexture
(FluidStack stack) Returns the reference of the texture to apply to a source fluid.Methods in net.neoforged.neoforge.client.extensions.common with parameters of type ResourceLocationModifier and TypeMethodDescriptiondefault @Nullable ResourceLocation
IClientItemExtensions.getArmorTexture
(ItemStack stack, EquipmentClientInfo.LayerType type, EquipmentClientInfo.Layer layer, ResourceLocation _default) Called by RenderBiped and RenderPlayer to determine the armor texture that should be used for the currently equipped item. -
Uses of ResourceLocation in net.neoforged.neoforge.client.gui
Fields in net.neoforged.neoforge.client.gui declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
VanillaGuiLayers.AFTER_CAMERA_DECORATIONS
static final ResourceLocation
VanillaGuiLayers.AIR_LEVEL
static final ResourceLocation
VanillaGuiLayers.ARMOR_LEVEL
static final ResourceLocation
VanillaGuiLayers.BOSS_OVERLAY
static final ResourceLocation
VanillaGuiLayers.CAMERA_OVERLAYS
static final ResourceLocation
VanillaGuiLayers.CHAT
static final ResourceLocation
VanillaGuiLayers.CONTEXTUAL_INFO_BAR
static final ResourceLocation
VanillaGuiLayers.CONTEXTUAL_INFO_BAR_BACKGROUND
static final ResourceLocation
VanillaGuiLayers.CROSSHAIR
static final ResourceLocation
VanillaGuiLayers.DEBUG_OVERLAY
static final ResourceLocation
VanillaGuiLayers.DEMO_OVERLAY
static final ResourceLocation
VanillaGuiLayers.EFFECTS
static final ResourceLocation
VanillaGuiLayers.EXPERIENCE_LEVEL
static final ResourceLocation
VanillaGuiLayers.FOOD_LEVEL
static final ResourceLocation
VanillaGuiLayers.HOTBAR
private ResourceLocation
ModListScreen.InfoPanel.logoPath
private final ResourceLocation
GuiLayerManager.NamedLayer.name
The field for thename
record component.static final ResourceLocation
VanillaGuiLayers.OVERLAY_MESSAGE
static final ResourceLocation
VanillaGuiLayers.PLAYER_HEALTH
static final ResourceLocation
VanillaGuiLayers.SCOREBOARD_SIDEBAR
static final ResourceLocation
VanillaGuiLayers.SELECTED_ITEM_NAME
static final ResourceLocation
VanillaGuiLayers.SLEEP_OVERLAY
static final ResourceLocation
VanillaGuiLayers.SPECTATOR_TOOLTIP
static final ResourceLocation
VanillaGuiLayers.SUBTITLE_OVERLAY
static final ResourceLocation
VanillaGuiLayers.TAB_LIST
static final ResourceLocation
VanillaGuiLayers.TITLE
static final ResourceLocation
VanillaGuiLayers.VEHICLE_HEALTH
Fields in net.neoforged.neoforge.client.gui with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, Component> ModMismatchDisconnectedScreen.mismatchedChannelData
Methods in net.neoforged.neoforge.client.gui that return ResourceLocationModifier and TypeMethodDescriptionGuiLayerManager.NamedLayer.name()
Returns the value of thename
record component.Methods in net.neoforged.neoforge.client.gui that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate Map
<List<ResourceLocation>, Component> ModMismatchDisconnectedScreen.MismatchInfoPanel.sortAndMergeChannelData
(Map<ResourceLocation, Component> mismatchedChannelData) Iterates over the raw channel mismatch data and merges entries with the same reason component into one channel mismatch entry each.Methods in net.neoforged.neoforge.client.gui with parameters of type ResourceLocationModifier and TypeMethodDescriptionGuiLayerManager.add
(ResourceLocation name, Consumer<GuiGraphics> layer, BooleanSupplier shouldRender) GuiLayerManager.add
(ResourceLocation name, GuiLayer layer) GuiLayerManager.add
(ResourceLocation name, GuiLayer layer, BooleanSupplier shouldRender) (package private) void
ModListScreen.InfoPanel.setInfo
(List<String> lines, ResourceLocation logoPath, Size2i logoDims) Method parameters in net.neoforged.neoforge.client.gui with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate Map
<List<ResourceLocation>, Component> ModMismatchDisconnectedScreen.MismatchInfoPanel.sortAndMergeChannelData
(Map<ResourceLocation, Component> mismatchedChannelData) Iterates over the raw channel mismatch data and merges entries with the same reason component into one channel mismatch entry each.private MutableComponent
ModMismatchDisconnectedScreen.MismatchInfoPanel.toChannelComponent
(List<ResourceLocation> ids, ChatFormatting color) Formats the given list of channel ids to a component which, depending on the current display mode of the list, will list either the first or all channel ids.Constructors in net.neoforged.neoforge.client.gui with parameters of type ResourceLocationModifierConstructorDescriptionNamedLayer
(ResourceLocation name, GuiLayer layer) Creates an instance of aNamedLayer
record class.Constructor parameters in net.neoforged.neoforge.client.gui with type arguments of type ResourceLocationModifierConstructorDescriptionModMismatchDisconnectedScreen
(Screen parentScreen, Component reason, Map<ResourceLocation, Component> mismatchedChannelData) -
Uses of ResourceLocation in net.neoforged.neoforge.client.gui.widget
Fields in net.neoforged.neoforge.client.gui.widget declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
ModListWidget.VERSION_CHECK_ICONS
private static final ResourceLocation
ModsButton.VERSION_CHECK_ICONS
-
Uses of ResourceLocation in net.neoforged.neoforge.client.loading
Fields in net.neoforged.neoforge.client.loading declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
NeoForgeLoadingOverlay.LOADING_OVERLAY_TEXTURE_ID
-
Uses of ResourceLocation in net.neoforged.neoforge.client.model
Fields in net.neoforged.neoforge.client.model declared as ResourceLocationModifier and TypeFieldDescriptionprivate final @Nullable ResourceLocation
StandardModelParameters.parent
The field for theparent
record component.Fields in net.neoforged.neoforge.client.model with type parameters of type ResourceLocationModifier and TypeFieldDescription(package private) final com.google.common.collect.ImmutableMap
<String, com.mojang.datafixers.util.Either<ResourceLocation, UnbakedModel>> CompositeUnbakedGeometry.children
private static com.google.common.collect.ImmutableMap
<ResourceLocation, UnbakedModelLoader<?>> UnbakedModelParser.LOADERS
Methods in net.neoforged.neoforge.client.model that return ResourceLocationModifier and TypeMethodDescription@Nullable ResourceLocation
AbstractUnbakedModel.parent()
@Nullable ResourceLocation
DelegateUnbakedModel.parent()
@Nullable ResourceLocation
StandardModelParameters.parent()
Returns the value of theparent
record component.Methods in net.neoforged.neoforge.client.model with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic @Nullable UnbakedModelLoader
<?> UnbakedModelParser.get
(ResourceLocation name) Method parameters in net.neoforged.neoforge.client.model with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static void
CompositeUnbakedModel.Loader.readChildren
(com.google.gson.JsonObject jsonObject, String name, com.google.common.collect.ImmutableMap.Builder<String, com.mojang.datafixers.util.Either<ResourceLocation, UnbakedModel>> children, com.google.gson.JsonDeserializationContext context) Constructors in net.neoforged.neoforge.client.model with parameters of type ResourceLocationModifierConstructorDescriptionStandardModelParameters
(@Nullable ResourceLocation parent, TextureSlots.Data textures, @Nullable ItemTransforms itemTransforms, @Nullable Boolean ambientOcclusion, UnbakedModel.GuiLight guiLight, @Nullable Transformation rootTransform, RenderTypeGroup renderTypeGroup, Map<String, Boolean> partVisibility) Creates an instance of aStandardModelParameters
record class.Constructor parameters in net.neoforged.neoforge.client.model with type arguments of type ResourceLocationModifierConstructorDescriptionCompositeUnbakedGeometry
(com.google.common.collect.ImmutableMap<String, com.mojang.datafixers.util.Either<ResourceLocation, UnbakedModel>> children) -
Uses of ResourceLocation in net.neoforged.neoforge.client.model.block
Fields in net.neoforged.neoforge.client.model.block with type parameters of type ResourceLocationModifier and TypeFieldDescription(package private) static final ExtraCodecs.LateBoundIdMapper
<ResourceLocation, com.mojang.serialization.MapCodec<? extends CustomBlockModelDefinition>> BlockStateModelHooks.BLOCK_MODEL_DEFINITION_IDS
(package private) static final ExtraCodecs.LateBoundIdMapper
<ResourceLocation, com.mojang.serialization.MapCodec<? extends CustomUnbakedBlockStateModel>> BlockStateModelHooks.BLOCK_STATE_MODEL_IDS
-
Uses of ResourceLocation in net.neoforged.neoforge.client.model.generators.loaders
Fields in net.neoforged.neoforge.client.model.generators.loaders declared as ResourceLocationModifier and TypeFieldDescriptionprivate @Nullable ResourceLocation
ObjModelBuilder.modelLocation
private @Nullable ResourceLocation
ObjModelBuilder.mtlOverride
Fields in net.neoforged.neoforge.client.model.generators.loaders with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<String, com.mojang.datafixers.util.Either<ResourceLocation, CompositeModelBuilder.InlineChild>> CompositeModelBuilder.childModels
Methods in net.neoforged.neoforge.client.model.generators.loaders with parameters of type ResourceLocationModifier and TypeMethodDescriptionCompositeModelBuilder.child
(String name, ResourceLocation model) Add a child model by reference.ObjModelBuilder.modelLocation
(ResourceLocation modelLocation) ObjModelBuilder.overrideMaterialLibrary
(ResourceLocation mtlOverride) -
Uses of ResourceLocation in net.neoforged.neoforge.client.model.generators.template
Fields in net.neoforged.neoforge.client.model.generators.template declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
CustomLoaderBuilder.DUMMY
protected final ResourceLocation
CustomLoaderBuilder.loaderId
(package private) final @Nullable ResourceLocation
ExtendedModelTemplate.renderType
(package private) @Nullable ResourceLocation
ExtendedModelTemplateBuilder.renderType
Fields in net.neoforged.neoforge.client.model.generators.template with type parameters of type ResourceLocationModifier and TypeFieldDescription(package private) Optional
<ResourceLocation> ExtendedModelTemplateBuilder.parent
Methods in net.neoforged.neoforge.client.model.generators.template with parameters of type ResourceLocationModifier and TypeMethodDescriptioncom.google.gson.JsonObject
ExtendedModelTemplate.createBaseTemplate
(ResourceLocation modelPath, Map<TextureSlot, ResourceLocation> textureMap) ExtendedModelTemplateBuilder.parent
(ResourceLocation parent) Parent model which this template will inherit its properties from.ExtendedModelTemplateBuilder.renderType
(ResourceLocation renderType) Set the render type for this model.Method parameters in net.neoforged.neoforge.client.model.generators.template with type arguments of type ResourceLocationModifier and TypeMethodDescriptioncom.google.gson.JsonObject
ExtendedModelTemplate.createBaseTemplate
(ResourceLocation modelPath, Map<TextureSlot, ResourceLocation> textureMap) Constructors in net.neoforged.neoforge.client.model.generators.template with parameters of type ResourceLocationModifierConstructorDescriptionprotected
CustomLoaderBuilder
(ResourceLocation loaderId, boolean allowInlineElements) -
Uses of ResourceLocation in net.neoforged.neoforge.client.model.item
Fields in net.neoforged.neoforge.client.model.item with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Optional
<ResourceLocation> DynamicFluidContainerModel.Textures.base
The field for thebase
record component.private final Optional
<ResourceLocation> DynamicFluidContainerModel.Textures.cover
The field for thecover
record component.private final Optional
<ResourceLocation> DynamicFluidContainerModel.Textures.fluid
The field for thefluid
record component.private final Optional
<ResourceLocation> DynamicFluidContainerModel.Textures.particle
The field for theparticle
record component.Methods in net.neoforged.neoforge.client.model.item that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionDynamicFluidContainerModel.Textures.base()
Returns the value of thebase
record component.DynamicFluidContainerModel.Textures.cover()
Returns the value of thecover
record component.DynamicFluidContainerModel.Textures.fluid()
Returns the value of thefluid
record component.DynamicFluidContainerModel.Textures.particle()
Returns the value of theparticle
record component.Constructor parameters in net.neoforged.neoforge.client.model.item with type arguments of type ResourceLocationModifierConstructorDescriptionTextures
(Optional<ResourceLocation> particle, Optional<ResourceLocation> base, Optional<ResourceLocation> fluid, Optional<ResourceLocation> cover) Creates an instance of aTextures
record class. -
Uses of ResourceLocation in net.neoforged.neoforge.client.model.obj
Fields in net.neoforged.neoforge.client.model.obj declared as ResourceLocationModifier and TypeFieldDescriptionfinal ResourceLocation
ObjGeometry.modelLocation
private final ResourceLocation
ObjGeometry.Settings.modelLocation
The field for themodelLocation
record component.Fields in net.neoforged.neoforge.client.model.obj with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, ObjMaterialLibrary> ObjLoader.materialCache
Methods in net.neoforged.neoforge.client.model.obj that return ResourceLocationModifier and TypeMethodDescriptionObjGeometry.Settings.modelLocation()
Returns the value of themodelLocation
record component.Methods in net.neoforged.neoforge.client.model.obj with parameters of type ResourceLocationModifier and TypeMethodDescriptionObjLoader.loadMaterialLibrary
(ResourceLocation materialLocation) Constructors in net.neoforged.neoforge.client.model.obj with parameters of type ResourceLocationModifierConstructorDescriptionSettings
(ResourceLocation modelLocation, boolean automaticCulling, boolean shadeQuads, boolean flipV, boolean emissiveAmbient, @Nullable String mtlOverride) Creates an instance of aSettings
record class. -
Uses of ResourceLocation in net.neoforged.neoforge.client.model.standalone
Fields in net.neoforged.neoforge.client.model.standalone declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
SimpleUnbakedStandaloneModel.modelId
Methods in net.neoforged.neoforge.client.model.standalone with parameters of type ResourceLocationModifier and TypeMethodDescriptionSimpleUnbakedStandaloneModel.blockStateModel
(ResourceLocation modelId) Returns an unbaked standalone model for aBlockStateModel
, baked without additional transformations.SimpleUnbakedStandaloneModel.blockStateModel
(ResourceLocation modelId, ModelState modelState) Returns an unbaked standalone model for aBlockStateModel
, baked with the providedModelState
transformations.SimpleUnbakedStandaloneModel.quadCollection
(ResourceLocation modelId) Returns an unbaked standalone model for aQuadCollection
, baked without additional transformations.SimpleUnbakedStandaloneModel.quadCollection
(ResourceLocation modelId, ModelState modelState) Returns an unbaked standalone model for aQuadCollection
, baked with the providedModelState
transformations.SimpleUnbakedStandaloneModel.simpleModelWrapper
(ResourceLocation modelId) Returns an unbaked standalone model for aSimpleModelWrapper
, baked without additional transformations.SimpleUnbakedStandaloneModel.simpleModelWrapper
(ResourceLocation modelId, ModelState modelState) Returns an unbaked standalone model for aSimpleModelWrapper
, baked with the providedModelState
transformations.Constructors in net.neoforged.neoforge.client.model.standalone with parameters of type ResourceLocationModifierConstructorDescriptionSimpleUnbakedStandaloneModel
(ResourceLocation modelId, BiFunction<ResolvedModel, ModelBaker, T> bake) Construct a newSimpleUnbakedStandaloneModel
. -
Uses of ResourceLocation in net.neoforged.neoforge.client.network
Fields in net.neoforged.neoforge.client.network with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Map
<ResourceLocation, RegistrySnapshot> ClientPayloadHandler.synchronizedRegistries
private static final Set
<ResourceLocation> ClientPayloadHandler.toSynchronize
-
Uses of ResourceLocation in net.neoforged.neoforge.client.network.handling
Fields in net.neoforged.neoforge.client.network.handling declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
ClientPayloadContext.payloadId
The field for thepayloadId
record component.Methods in net.neoforged.neoforge.client.network.handling that return ResourceLocationModifier and TypeMethodDescriptionClientPayloadContext.payloadId()
Returns the value of thepayloadId
record component.Constructors in net.neoforged.neoforge.client.network.handling with parameters of type ResourceLocationModifierConstructorDescriptionClientPayloadContext
(ClientCommonPacketListener listener, ResourceLocation payloadId) Creates an instance of aClientPayloadContext
record class. -
Uses of ResourceLocation in net.neoforged.neoforge.client.pipeline
Methods in net.neoforged.neoforge.client.pipeline with parameters of type ResourceLocationModifier and TypeMethodDescriptionPipelineModifier.apply
(RenderPipeline pipeline, ResourceLocation name) Apply modifications to the providedRenderPipeline
(seeRenderPipeline.toBuilder()
), return an existingRenderPipeline
to replace the provided one or return the provided one to pass. -
Uses of ResourceLocation in net.neoforged.neoforge.client.resources
Fields in net.neoforged.neoforge.client.resources declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
VanillaClientListeners.BLOCK_ENTITY_RENDERER
static final ResourceLocation
VanillaClientListeners.BLOCK_RENDERER
static final ResourceLocation
VanillaClientListeners.CLOUD_RENDERER
static final ResourceLocation
VanillaClientListeners.DRY_FOLIAGE_COLOR
static final ResourceLocation
VanillaClientListeners.ENTITY_RENDERER
static final ResourceLocation
VanillaClientListeners.EQUIPMENT_ASSETS
static final ResourceLocation
VanillaClientListeners.FIRST
Sentinel field that will always reference the first reload listener in the vanilla order.static final ResourceLocation
VanillaClientListeners.FOLIAGE_COLOR
static final ResourceLocation
VanillaClientListeners.FONTS
static final ResourceLocation
VanillaClientListeners.GPU_WARNLIST
static final ResourceLocation
VanillaClientListeners.GRASS_COLOR
static final ResourceLocation
VanillaClientListeners.GUI_SPRITES
static final ResourceLocation
VanillaClientListeners.LANGUAGE
static final ResourceLocation
VanillaClientListeners.LAST
Sentinel field that will always reference the last reload listener in the vanilla order.static final ResourceLocation
VanillaClientListeners.LEVEL_RENDERER
static final ResourceLocation
VanillaClientListeners.MAP_DECORATIONS
static final ResourceLocation
VanillaClientListeners.MODELS
static final ResourceLocation
VanillaClientListeners.PAINTING_TEXTURES
static final ResourceLocation
VanillaClientListeners.PARTICLE_ENGINE
static final ResourceLocation
VanillaClientListeners.REGIONAL_COMPLIANCES
static final ResourceLocation
VanillaClientListeners.SHADERS
static final ResourceLocation
VanillaClientListeners.SOUNDS
static final ResourceLocation
VanillaClientListeners.SPLASHES
static final ResourceLocation
VanillaClientListeners.TEXTURES
static final ResourceLocation
VanillaClientListeners.WAYPOINT_STYLES
Fields in net.neoforged.neoforge.client.resources with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Map
<Class<?>, ResourceLocation> VanillaClientListeners.KNOWN_CLASSES
Methods in net.neoforged.neoforge.client.resources that return ResourceLocationModifier and TypeMethodDescriptionstatic @Nullable ResourceLocation
VanillaClientListeners.getNameForClass
(Class<? extends PreparableReloadListener> cls) private static ResourceLocation
VanillaClientListeners.key
(Class<? extends PreparableReloadListener> cls) -
Uses of ResourceLocation in net.neoforged.neoforge.client.textures
Fields in net.neoforged.neoforge.client.textures declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
NamespacedDirectoryLister.ID
static final ResourceLocation
UnitTextureAtlasSprite.LOCATION
Fields in net.neoforged.neoforge.client.textures with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static Map
<ResourceLocation, TextureAtlasSprite> FluidSpriteCache.textureLookup
Methods in net.neoforged.neoforge.client.textures with parameters of type ResourceLocationModifier and TypeMethodDescription@Nullable SpriteContents
SpriteContentsConstructor.create
(ResourceLocation id, FrameSize frameSize, NativeImage nativeImage, ResourceMetadata resourceMetadata) Construct an instance of SpriteContents or return null to not load the sprite.static TextureAtlasSprite
FluidSpriteCache.getSprite
(ResourceLocation texture) Returns a specified sprite or a missing sprite texture if sprite is not found. -
Uses of ResourceLocation in net.neoforged.neoforge.common
Fields in net.neoforged.neoforge.common declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
CreativeModeTabRegistry.CREATIVE_MODE_TAB_ORDERING_JSON
Fields in net.neoforged.neoforge.common with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final com.google.common.collect.Multimap
<ResourceLocation, ResourceLocation> CreativeModeTabRegistry.edges
private static final com.google.common.collect.Multimap
<ResourceLocation, ResourceLocation> CreativeModeTabRegistry.edges
Methods in net.neoforged.neoforge.common that return ResourceLocationModifier and TypeMethodDescriptionstatic @Nullable ResourceLocation
CreativeModeTabRegistry.getName
(CreativeModeTab tab) Returns the name of the given CreativeModeTab, or null.Methods in net.neoforged.neoforge.common with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static void
CreativeModeTabRegistry.addTabOrder
(CreativeModeTab tab, ResourceLocation name) static @Nullable CreativeModeTab
CreativeModeTabRegistry.getTab
(ResourceLocation name) Returns the CreativeModeTab with the given name, or null.static it.unimi.dsi.fastutil.objects.ObjectArrayList
<ItemStack> CommonHooks.modifyLoot
(ResourceLocation lootTableId, it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> generatedLoot, LootContext context) Handles the modification of loot table drops via the registered Global Loot Modifiers, so that custom effects can be processed.static String
CommonHooks.prefixNamespace
(ResourceLocation registryKey) This method is used to prefix the path, where elements of the associated registry are stored, with their namespace, if it is not minecraftMethod parameters in net.neoforged.neoforge.common with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate <T> void
NeoForgeEventHandler.handleSync
(ServerPlayer player, Registry<T> registry, Collection<ResourceLocation> attachments) -
Uses of ResourceLocation in net.neoforged.neoforge.common.conditions
Methods in net.neoforged.neoforge.common.conditions with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic ICondition
NeoForgeConditions.itemRegistered
(ResourceLocation itemName) static ICondition
NeoForgeConditions.itemTagEmpty
(ResourceLocation tagName) static <TRegistry>
IConditionNeoForgeConditions.registered
(ResourceKey<? extends Registry<TRegistry>> registryType, ResourceLocation registryName) static ICondition
NeoForgeConditions.registered
(ResourceLocation registryTypeName, ResourceLocation registryName) static <TRegistry>
IConditionNeoForgeConditions.tagEmpty
(ResourceKey<? extends Registry<TRegistry>> tagType, ResourceLocation tagName) Constructors in net.neoforged.neoforge.common.conditions with parameters of type ResourceLocationModifierConstructorDescriptionprivate
RegisteredCondition
(ResourceLocation registryType, ResourceLocation registryName) private
TagEmptyCondition
(ResourceLocation registryType, ResourceLocation tagName) -
Uses of ResourceLocation in net.neoforged.neoforge.common.data
Fields in net.neoforged.neoforge.common.data declared as ResourceLocationFields in net.neoforged.neoforge.common.data with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprotected final Map
<ResourceLocation, WithConditions<T>> JsonCodecProvider.conditions
private final Map
<ResourceLocation, Integer> RecipePrioritiesProvider.toSerialize
Methods in net.neoforged.neoforge.common.data that return ResourceLocationModifier and TypeMethodDescription(package private) ResourceLocation
SoundDefinition.Sound.name()
Methods in net.neoforged.neoforge.common.data with parameters of type ResourceLocationModifier and TypeMethodDescriptionDataMapProvider.Builder.add
(ResourceLocation id, T value, boolean replace, ICondition... conditions) void
RecipePrioritiesProvider.add
(ResourceLocation recipe, int priority) protected void
SoundDefinitionsProvider.add
(ResourceLocation soundEvent, SoundDefinition definition) void
JsonCodecProvider.conditionally
(ResourceLocation id, Consumer<WithConditions.Builder<T>> configurator) private void
JsonCodecProvider.process
(ResourceLocation id, WithConditions<T> withConditions) DataMapProvider.AdvancedBuilder.remove
(ResourceLocation id, VR remover) DataMapProvider.Builder.remove
(ResourceLocation id) static SoundDefinition.Sound
SoundDefinition.Sound.sound
(ResourceLocation name, SoundDefinition.SoundType type) Creates a new sound with the given name and type.protected static SoundDefinition.Sound
SoundDefinitionsProvider.sound
(ResourceLocation name) Creates a new sound with the given name andSoundDefinition.SoundType.SOUND
as sound type.protected static SoundDefinition.Sound
SoundDefinitionsProvider.sound
(ResourceLocation name, SoundDefinition.SoundType type) Creates a new sound with the given name and type.private String
SoundDefinition.Sound.stripMcPrefix
(ResourceLocation name) void
JsonCodecProvider.unconditional
(ResourceLocation id, T value) Constructors in net.neoforged.neoforge.common.data with parameters of type ResourceLocationModifierConstructorDescriptionprivate
Sound
(ResourceLocation name, SoundDefinition.SoundType type) -
Uses of ResourceLocation in net.neoforged.neoforge.common.data.internal
Fields in net.neoforged.neoforge.common.data.internal with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, TagBuilder> NeoForgeDamageTypeTagsProvider.vanillaBuilders
-
Uses of ResourceLocation in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return ResourceLocationModifier and TypeMethodDescriptiondefault @Nullable ResourceLocation
IAttributeExtension.getBaseId()
Gets the specific ID that represents a "base" (green) modifier for this attribute.Methods in net.neoforged.neoforge.common.extensions with parameters of type ResourceLocationModifier and TypeMethodDescriptiondefault @Nullable AdvancementHolder
ICommandSourceStackExtension.getAdvancement
(ResourceLocation id) default boolean
ICommonPacketListener.hasChannel
(ResourceLocation payloadId) Checks if the connection has negotiated and opened a channel for the payload.default TagBuilder
ITagBuilderExtension.removeElement
(ResourceLocation elementID) Adds a single-element entry to the remove list.default TagBuilder
ITagBuilderExtension.removeTag
(ResourceLocation tagID) Adds a tag to the remove list.default AdvancementHolder
IAdvancementBuilderExtension.save
(Consumer<AdvancementHolder> saver, ResourceLocation id) Saves this builder with the given id. -
Uses of ResourceLocation in net.neoforged.neoforge.common.loot
Fields in net.neoforged.neoforge.common.loot declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
LootTableIdCondition.Builder.targetLootTableId
private final ResourceLocation
LootTableIdCondition.targetLootTableId
static final ResourceLocation
LootTableIdCondition.UNKNOWN_LOOT_TABLE
Fields in net.neoforged.neoforge.common.loot with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate Map
<ResourceLocation, IGlobalLootModifier> LootModifierManager.registeredLootModifiers
Methods in net.neoforged.neoforge.common.loot that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprotected Map
<ResourceLocation, com.google.gson.JsonElement> LootModifierManager.prepare
(ResourceManager resourceManager, ProfilerFiller profilerFiller) Methods in net.neoforged.neoforge.common.loot with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic LootTableIdCondition.Builder
LootTableIdCondition.builder
(ResourceLocation targetLootTableId) Method parameters in net.neoforged.neoforge.common.loot with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprotected void
LootModifierManager.apply
(Map<ResourceLocation, com.google.gson.JsonElement> resourceList, ResourceManager resourceManagerIn, ProfilerFiller profilerIn) Constructors in net.neoforged.neoforge.common.loot with parameters of type ResourceLocationModifierConstructorDescriptionBuilder
(ResourceLocation targetLootTableId) private
LootTableIdCondition
(ResourceLocation targetLootTableId) -
Uses of ResourceLocation in net.neoforged.neoforge.common.util
Fields in net.neoforged.neoforge.common.util declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
AttributeUtil.BASE_ATTACK_DAMAGE_ID
ID of the base modifier for Attack Damagestatic final ResourceLocation
AttributeUtil.BASE_ATTACK_SPEED_ID
ID of the base modifier for Attack Speedstatic final ResourceLocation
AttributeUtil.BASE_ENTITY_REACH_ID
ID of the base modifier for Attack Rangestatic final ResourceLocation
AttributeUtil.FAKE_MERGED_ID
ID used for attribute modifiers used to hold merged values whenNeoForgeMod.enableMergedAttributeTooltips()
is active.Methods in net.neoforged.neoforge.common.util that return ResourceLocationModifier and TypeMethodDescriptionstatic ResourceLocation
Converts a vanilla class name into an identifier compliant with the rules set byResourceLocation
. -
Uses of ResourceLocation in net.neoforged.neoforge.common.world.chunk
Fields in net.neoforged.neoforge.common.world.chunk declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
ForcedChunkManager.OwnedChunks.controller
The field for thecontroller
record component.private final ResourceLocation
TicketHelper.controllerId
private final ResourceLocation
ForcedChunkManager.TicketOwner.id
private final ResourceLocation
TicketController.id
The field for theid
record component.Fields in net.neoforged.neoforge.common.world.chunk with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static Map
<ResourceLocation, TicketController> ForcedChunkManager.controllers
Methods in net.neoforged.neoforge.common.world.chunk that return ResourceLocationModifier and TypeMethodDescriptionForcedChunkManager.OwnedChunks.controller()
Returns the value of thecontroller
record component.TicketController.id()
Returns the value of theid
record component.Methods in net.neoforged.neoforge.common.world.chunk that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static <T extends Comparable<? super T>>
Map<ResourceLocation, Map<T, TicketSet>> ForcedChunkManager.gatherTicketsById
(ForcedChunkManager.TicketTracker<T> tickets, boolean includeLoaded, boolean includeDeactivated) Gathers tickets into an ID filtered map for use in providing all tickets a controller has registered to itsLoadingValidationCallback
.Methods in net.neoforged.neoforge.common.world.chunk with parameters of type ResourceLocationModifier and TypeMethodDescription(package private) static <T extends Comparable<? super T>>
booleanForcedChunkManager.forceChunk
(ServerLevel level, ResourceLocation id, T owner, int chunkX, int chunkZ, boolean add, boolean forceNaturalSpawning, Function<TicketStorage, ForcedChunkManager.TicketTracker<T>> ticketGetter) Forces a chunk to be loaded for the given mod with the given "owner".Method parameters in net.neoforged.neoforge.common.world.chunk with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static <T extends Comparable<? super T>>
voidForcedChunkManager.gatherTicketsById
(it.unimi.dsi.fastutil.longs.Long2ObjectMap<Set<ForcedChunkManager.TicketOwner<T>>> tickets, Function<TicketSet, it.unimi.dsi.fastutil.longs.LongSet> typeGetter, Map<ResourceLocation, Map<T, TicketSet>> modSortedOwnedChunks) Gathers tickets into an ID filtered map for use in providing all tickets a controller has registered to itsLoadingValidationCallback
.Constructors in net.neoforged.neoforge.common.world.chunk with parameters of type ResourceLocationModifierConstructorDescriptionOwnedChunks
(ResourceLocation controller, Map<BlockPos, TicketSet> blockChunks, Map<UUID, TicketSet> entityChunks) Creates an instance of aOwnedChunks
record class.Creates a ticket controller without a validation callback.TicketController
(ResourceLocation id, @Nullable LoadingValidationCallback callback) Creates an instance of aTicketController
record class.(package private)
TicketHelper
(TicketStorage saveData, ResourceLocation controllerId, Map<BlockPos, TicketSet> blockTickets, Map<UUID, TicketSet> entityTickets) (package private)
TicketOwner
(ResourceLocation id, T owner) -
Uses of ResourceLocation in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
ItemAttributeModifierEvent.ItemAttributeModifiersBuilder.Key.id
The field for theid
record component.private final ResourceLocation
LootTableLoadEvent.name
Fields in net.neoforged.neoforge.event with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<PreparableReloadListener, ResourceLocation> SortedReloadListenerEvent.keys
private final Map
<ResourceLocation, PreparableReloadListener> SortedReloadListenerEvent.registry
private @Nullable Set
<ResourceLocation> GatherSkippedAttributeTooltipsEvent.skippedIds
Methods in net.neoforged.neoforge.event that return ResourceLocationModifier and TypeMethodDescriptionSortedReloadListenerEvent.NameLookup.apply
(PreparableReloadListener t) Looks up the name for a reload listener.LootTableLoadEvent.getName()
private ResourceLocation
SortedReloadListenerEvent.getOrThrow
(PreparableReloadListener listener) ItemAttributeModifierEvent.ItemAttributeModifiersBuilder.Key.id()
Returns the value of theid
record component.private static ResourceLocation
AddServerReloadListenersEvent.lookupName
(PreparableReloadListener listener) Methods in net.neoforged.neoforge.event that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionSortedReloadListenerEvent.getRegistry()
Returns an immutable view of the reload listener registry.protected Set
<ResourceLocation> GatherSkippedAttributeTooltipsEvent.getSkippedIds()
InitializesGatherSkippedAttributeTooltipsEvent.skippedIds
if necessary, and returns it.Methods in net.neoforged.neoforge.event with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoid
SortedReloadListenerEvent.addDependency
(ResourceLocation first, ResourceLocation second) Adds a new dependency entry, such thatfirst
must run beforesecond
.void
SortedReloadListenerEvent.addListener
(ResourceLocation key, PreparableReloadListener listener) Adds a newreload listener
to the resource manager.void
AddPackFindersEvent.addPackFinders
(ResourceLocation packLocation, PackType packType, Component packNameDisplay, PackSource packSource, boolean alwaysActive, Pack.Position packPosition) Helper method to register a pack found under the `resources/` folder.private PreparableReloadListener
SortedReloadListenerEvent.getOrThrow
(ResourceLocation key) boolean
GatherSkippedAttributeTooltipsEvent.isSkipped
(ResourceLocation id) Checks if a given id is skipped or not.static @Nullable LootTable
EventHooks.loadLootTable
(HolderLookup.Provider registries, ResourceLocation name, LootTable table) Fires theLootTableLoadEvent
for non-empty loot tables and returns the table if the event was not canceled and the table was not set toLootTable.EMPTY
in the event.RegisterGameTestsEvent.registerEnvironment
(ResourceLocation name, TestEnvironmentDefinition definition) RegisterGameTestsEvent.registerEnvironment
(ResourceLocation name, TestEnvironmentDefinition... definitions) void
RegisterGameTestsEvent.registerTest
(ResourceLocation name, Function<TestData<Holder<TestEnvironmentDefinition>>, GameTestInstance> factory, TestData<Holder<TestEnvironmentDefinition>> testData) void
RegisterGameTestsEvent.registerTest
(ResourceLocation name, GameTestInstance test) (package private) boolean
ItemAttributeModifierEvent.ItemAttributeModifiersBuilder.removeModifier
(Holder<Attribute> attribute, ResourceLocation id) Removes a modifier for the target attribute with the given id.boolean
ItemAttributeModifierEvent.removeModifier
(Holder<Attribute> attribute, ResourceLocation id) Removes an attribute modifier for the target attribute by idvoid
GatherSkippedAttributeTooltipsEvent.skipId
(ResourceLocation id) Marks the id of a specific attribute modifier as skipped, causing it to not be displayed in the tooltip.Constructors in net.neoforged.neoforge.event with parameters of type ResourceLocationModifierConstructorDescriptionprivate
Key
(Holder<Attribute> attr, ResourceLocation id) Creates an instance of aKey
record class.LootTableLoadEvent
(HolderLookup.Provider registries, ResourceLocation name, LootTable table) -
Uses of ResourceLocation in net.neoforged.neoforge.network.configuration
Fields in net.neoforged.neoforge.network.configuration declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
RegistryDataMapNegotiation.ID
private static final ResourceLocation
SyncConfig.ID
private static final ResourceLocation
SyncRegistries.ID
Fields in net.neoforged.neoforge.network.configuration with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static Set
<ResourceLocation> CheckFeatureFlags.moddedFlags
Methods in net.neoforged.neoforge.network.configuration that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static Set
<ResourceLocation> CheckFeatureFlags.getModdedFeatureFlags()
-
Uses of ResourceLocation in net.neoforged.neoforge.network.filters
Methods in net.neoforged.neoforge.network.filters with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static boolean
VanillaConnectionNetworkFilter.isVanillaRegistry
(ResourceLocation location) -
Uses of ResourceLocation in net.neoforged.neoforge.network.handling
Fields in net.neoforged.neoforge.network.handling declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
ServerPayloadContext.payloadId
The field for thepayloadId
record component.Methods in net.neoforged.neoforge.network.handling that return ResourceLocationModifier and TypeMethodDescriptionServerPayloadContext.payloadId()
Returns the value of thepayloadId
record component.Constructors in net.neoforged.neoforge.network.handling with parameters of type ResourceLocationModifierConstructorDescriptionServerPayloadContext
(ServerCommonPacketListener listener, ResourceLocation payloadId) Creates an instance of aServerPayloadContext
record class. -
Uses of ResourceLocation in net.neoforged.neoforge.network.negotiation
Fields in net.neoforged.neoforge.network.negotiation declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
NegotiableNetworkComponent.id
The field for theid
record component.private final ResourceLocation
NegotiatedNetworkComponent.id
The field for theid
record component.Fields in net.neoforged.neoforge.network.negotiation with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, Component> NegotiationResult.failureReasons
The field for thefailureReasons
record component.Methods in net.neoforged.neoforge.network.negotiation that return ResourceLocationModifier and TypeMethodDescriptionNegotiableNetworkComponent.id()
Returns the value of theid
record component.NegotiatedNetworkComponent.id()
Returns the value of theid
record component.Methods in net.neoforged.neoforge.network.negotiation that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionNegotiationResult.failureReasons()
Returns the value of thefailureReasons
record component.Constructors in net.neoforged.neoforge.network.negotiation with parameters of type ResourceLocationModifierConstructorDescriptionNegotiableNetworkComponent
(ResourceLocation id, String version, Optional<PacketFlow> flow, boolean optional) Creates an instance of aNegotiableNetworkComponent
record class.NegotiatedNetworkComponent
(ResourceLocation id, String version) Creates an instance of aNegotiatedNetworkComponent
record class.Constructor parameters in net.neoforged.neoforge.network.negotiation with type arguments of type ResourceLocationModifierConstructorDescriptionNegotiationResult
(List<NegotiatedNetworkComponent> components, boolean success, Map<ResourceLocation, Component> failureReasons) Creates an instance of aNegotiationResult
record class. -
Uses of ResourceLocation in net.neoforged.neoforge.network.payload
Fields in net.neoforged.neoforge.network.payload declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
KnownRegistryDataMapsPayload.KnownDataMap.id
The field for theid
record component.private final ResourceLocation
ModdedNetworkComponent.id
The field for theid
record component.private final ResourceLocation
ModdedNetworkQueryComponent.id
The field for theid
record component.static final ResourceLocation
CommonRegisterPayload.ID
static final ResourceLocation
CommonVersionPayload.ID
static final ResourceLocation
MinecraftRegisterPayload.ID
static final ResourceLocation
MinecraftUnregisterPayload.ID
static final ResourceLocation
ModdedNetworkPayload.ID
static final ResourceLocation
ModdedNetworkQueryPayload.ID
static final ResourceLocation
ModdedNetworkSetupFailedPayload.ID
private final ResourceLocation
FrozenRegistryPayload.registryName
The field for theregistryName
record component.Fields in net.neoforged.neoforge.network.payload with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Set
<ResourceLocation> CommonRegisterPayload.channels
The field for thechannels
record component.static final StreamCodec
<FriendlyByteBuf, Set<ResourceLocation>> DinnerboneProtocolUtils.CHANNELS_CODEC
private final Map
<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>> KnownRegistryDataMapsReplyPayload.dataMaps
The field for thedataMaps
record component.private final Map
<ResourceLocation, Map<ResourceKey<T>, ?>> RegistryDataMapSyncPayload.dataMaps
The field for thedataMaps
record component.private final Map
<ResourceLocation, Component> ModdedNetworkSetupFailedPayload.failureReasons
The field for thefailureReasons
record component.private final Set
<ResourceLocation> MinecraftUnregisterPayload.forgottenChannels
The field for theforgottenChannels
record component.private final Set
<ResourceLocation> FeatureFlagDataPayload.moddedFlags
The field for themoddedFlags
record component.private final Set
<ResourceLocation> MinecraftRegisterPayload.newChannels
The field for thenewChannels
record component.private final List
<ResourceLocation> FrozenRegistrySyncStartPayload.toAccess
The field for thetoAccess
record component.Methods in net.neoforged.neoforge.network.payload that return ResourceLocationModifier and TypeMethodDescriptionKnownRegistryDataMapsPayload.KnownDataMap.id()
Returns the value of theid
record component.ModdedNetworkComponent.id()
Returns the value of theid
record component.ModdedNetworkQueryComponent.id()
Returns the value of theid
record component.FrozenRegistryPayload.registryName()
Returns the value of theregistryName
record component.Methods in net.neoforged.neoforge.network.payload that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionCommonRegisterPayload.channels()
Returns the value of thechannels
record component.Map
<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>> KnownRegistryDataMapsReplyPayload.dataMaps()
Returns the value of thedataMaps
record component.Map
<ResourceLocation, Map<ResourceKey<T>, ?>> RegistryDataMapSyncPayload.dataMaps()
Returns the value of thedataMaps
record component.ModdedNetworkSetupFailedPayload.failureReasons()
Returns the value of thefailureReasons
record component.MinecraftUnregisterPayload.forgottenChannels()
Returns the value of theforgottenChannels
record component.FeatureFlagDataPayload.moddedFlags()
Returns the value of themoddedFlags
record component.MinecraftRegisterPayload.newChannels()
Returns the value of thenewChannels
record component.private static Set
<ResourceLocation> DinnerboneProtocolUtils.readChannels
(FriendlyByteBuf buf) Reads a set of channels from the buffer.FrozenRegistrySyncStartPayload.toAccess()
Returns the value of thetoAccess
record component.Method parameters in net.neoforged.neoforge.network.payload with type arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic ModdedNetworkQueryPayload
ModdedNetworkQueryPayload.fromRegistry
(Map<ConnectionProtocol, Map<ResourceLocation, PayloadRegistration<?>>> registry) private static void
DinnerboneProtocolUtils.parseAndAddChannel
(StringBuilder builder, Set<ResourceLocation> channels) private static void
DinnerboneProtocolUtils.writeChannels
(FriendlyByteBuf buf, Set<ResourceLocation> channels) Writes a set of channels to the buffer.Constructors in net.neoforged.neoforge.network.payload with parameters of type ResourceLocationModifierConstructorDescriptionFrozenRegistryPayload
(ResourceLocation registryName, RegistrySnapshot snapshot) Creates an instance of aFrozenRegistryPayload
record class.KnownDataMap
(ResourceLocation id, boolean mandatory) Creates an instance of aKnownDataMap
record class.ModdedNetworkComponent
(ResourceLocation id, Optional<String> version) Creates an instance of aModdedNetworkComponent
record class.ModdedNetworkQueryComponent
(ResourceLocation id, String version, Optional<PacketFlow> flow, boolean optional) Creates an instance of aModdedNetworkQueryComponent
record class.Constructor parameters in net.neoforged.neoforge.network.payload with type arguments of type ResourceLocationModifierConstructorDescriptionCommonRegisterPayload
(int version, ConnectionProtocol protocol, Set<ResourceLocation> channels) Creates an instance of aCommonRegisterPayload
record class.FeatureFlagDataPayload
(Set<ResourceLocation> moddedFlags) Creates an instance of aFeatureFlagDataPayload
record class.FrozenRegistrySyncStartPayload
(List<ResourceLocation> toAccess) Creates an instance of aFrozenRegistrySyncStartPayload
record class.KnownRegistryDataMapsReplyPayload
(Map<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>> dataMaps) Creates an instance of aKnownRegistryDataMapsReplyPayload
record class.MinecraftRegisterPayload
(Set<ResourceLocation> newChannels) Creates an instance of aMinecraftRegisterPayload
record class.MinecraftUnregisterPayload
(Set<ResourceLocation> forgottenChannels) Creates an instance of aMinecraftUnregisterPayload
record class.ModdedNetworkSetupFailedPayload
(Map<ResourceLocation, Component> failureReasons) Creates an instance of aModdedNetworkSetupFailedPayload
record class.RegistryDataMapSyncPayload
(ResourceKey<? extends Registry<T>> registryKey, Map<ResourceLocation, Map<ResourceKey<T>, ?>> dataMaps) Creates an instance of aRegistryDataMapSyncPayload
record class. -
Uses of ResourceLocation in net.neoforged.neoforge.network.registration
Fields in net.neoforged.neoforge.network.registration declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
ModdedConfigurationPayloadRegistration.id
The field for theid
record component.private final ResourceLocation
ModdedPlayPayloadRegistration.id
The field for theid
record component.private final ResourceLocation
NetworkChannel.id
The field for theid
record component.Fields in net.neoforged.neoforge.network.registration with type parameters of type ResourceLocationModifier and TypeFieldDescriptionstatic final io.netty.util.AttributeKey
<Set<ResourceLocation>> ChannelAttributes.ADHOC_CHANNELS
Known ad-hoc channels fromMinecraftRegisterPayload
.protected static final Map
<ResourceLocation, StreamCodec<FriendlyByteBuf, ? extends CustomPacketPayload>> NetworkRegistry.BUILTIN_PAYLOADS
Map of NeoForge payloads that may be sent before channel negotiation.private final Map
<ConnectionProtocol, Map<ResourceLocation, NetworkChannel>> NetworkPayloadSetup.channels
The field for thechannels
record component.protected static final Map
<ConnectionProtocol, Map<ResourceLocation, IPayloadHandler<?>>> NetworkRegistry.CLIENTBOUND_HANDLERS
static final io.netty.util.AttributeKey
<Map<ConnectionProtocol, Set<ResourceLocation>>> ChannelAttributes.COMMON_CHANNELS
Known common channels fromCommonRegisterPayload
.protected static final Map
<ConnectionProtocol, Map<ResourceLocation, PayloadRegistration<?>>> NetworkRegistry.PAYLOAD_REGISTRATIONS
Registry of all custom payload handlers.protected static final Map
<ConnectionProtocol, Map<ResourceLocation, IPayloadHandler<?>>> NetworkRegistry.SERVERBOUND_HANDLERS
Methods in net.neoforged.neoforge.network.registration that return ResourceLocationModifier and TypeMethodDescriptionModdedConfigurationPayloadRegistration.id()
Returns the value of theid
record component.ModdedPlayPayloadRegistration.id()
Returns the value of theid
record component.NetworkChannel.id()
Returns the value of theid
record component.PayloadRegistration.id()
Methods in net.neoforged.neoforge.network.registration that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionNetworkPayloadSetup.channels()
Returns the value of thechannels
record component.NetworkPayloadSetup.getChannels
(ConnectionProtocol protocol) static Set
<ResourceLocation> NetworkRegistry.getCommonPlayChannels
(PacketFlow flow) static Set
<ResourceLocation> NetworkRegistry.getInitialListeningChannels
(PacketFlow flow) Returns the initial channels for the configuration phase..static Set
<ResourceLocation> NetworkRegistry.getInitialServerUnregisterChannels()
static Set
<ResourceLocation> ChannelAttributes.getOrCreateAdHocChannels
(Connection connection) Returns a mutable set of the currently known ad-hoc channels.static Set
<ResourceLocation> ChannelAttributes.getOrCreateCommonChannels
(Connection connection, ConnectionProtocol protocol) Returns a mutable set of the currently known common channels for the given protocol.Methods in net.neoforged.neoforge.network.registration with parameters of type ResourceLocationModifier and TypeMethodDescription@Nullable NetworkChannel
NetworkPayloadSetup.getChannel
(ConnectionProtocol protocol, ResourceLocation id) static @Nullable StreamCodec
<? super FriendlyByteBuf, ? extends CustomPacketPayload> NetworkRegistry.getCodec
(ResourceLocation id, ConnectionProtocol protocol, PacketFlow flow) Attempts to retrieve theStreamCodec
for a non-vanilla payload.static <T> CompletableFuture
<T> NetworkRegistry.guard
(CompletableFuture<T> future, ResourceLocation payloadId) Helper to guard futures generated byIPayloadContext
against exceptions.protected static boolean
NetworkRegistry.hasAdhocChannel
(ConnectionProtocol protocol, ResourceLocation id, PacketFlow flow) Checks if a given payload is ad-hoc readable, that is, may be read without a negotiated channel being present.static boolean
NetworkRegistry.hasChannel
(Connection connection, @Nullable ConnectionProtocol protocol, ResourceLocation payloadId) Indicates whether the given connection has a connection setup that can transmit the given payload id.static boolean
NetworkRegistry.hasChannel
(ICommonPacketListener listener, ResourceLocation payloadId) Checks if the packet listener's connection can send/receive the given payload.Method parameters in net.neoforged.neoforge.network.registration with type arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic void
NetworkRegistry.onMinecraftRegister
(Connection connection, Set<ResourceLocation> resourceLocations) Invoked to add to the known ad-hoc channels on a connection.static void
NetworkRegistry.onMinecraftUnregister
(Connection connection, Set<ResourceLocation> resourceLocations) Invoked to remove from the known ad-hoc channels on a connection.protected static <T extends CustomPacketPayload>
voidNetworkRegistry.registerHandler
(Map<ConnectionProtocol, Map<ResourceLocation, IPayloadHandler<?>>> handlers, ConnectionProtocol protocol, PacketFlow flow, CustomPacketPayload.Type<T> type, IPayloadHandler<T> handler) Constructors in net.neoforged.neoforge.network.registration with parameters of type ResourceLocationModifierConstructorDescriptionModdedConfigurationPayloadRegistration
(ResourceLocation id, Class<T> type, IPayloadHandler<T> handler, StreamCodec<FriendlyByteBuf, T> reader) Creates an instance of aModdedConfigurationPayloadRegistration
record class.ModdedPlayPayloadRegistration
(ResourceLocation id, Class<T> type, IPayloadHandler<T> handler, StreamCodec<RegistryFriendlyByteBuf, T> reader) Creates an instance of aModdedPlayPayloadRegistration
record class.NetworkChannel
(ResourceLocation id, String chosenVersion) Creates an instance of aNetworkChannel
record class.Constructor parameters in net.neoforged.neoforge.network.registration with type arguments of type ResourceLocationModifierConstructorDescriptionCreates an instance of aNetworkPayloadSetup
record class. -
Uses of ResourceLocation in net.neoforged.neoforge.registries
Fields in net.neoforged.neoforge.registries declared as ResourceLocationFields in net.neoforged.neoforge.registries with type parameters of type ResourceLocationModifier and TypeFieldDescription(package private) final Map
<ResourceLocation, ResourceLocation> BaseMappedRegistry.aliases
(package private) final Map
<ResourceLocation, ResourceLocation> BaseMappedRegistry.aliases
private final Map
<ResourceLocation, ResourceLocation> DeferredRegister.aliases
private final Map
<ResourceLocation, ResourceLocation> DeferredRegister.aliases
private final Map
<ResourceLocation, ResourceLocation> RegistrySnapshot.aliases
private final Map
<ResourceLocation, ResourceLocation> RegistrySnapshot.aliases
private final Map
<ResourceLocation, ResourceLocation> RegistrySnapshot.aliasesView
private final Map
<ResourceLocation, ResourceLocation> RegistrySnapshot.aliasesView
static final io.netty.util.AttributeKey
<Map<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>>> RegistryManager.ATTRIBUTE_KNOWN_DATA_MAPS
private static Map
<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> RegistryManager.dataMaps
private static Map
<ResourceLocation, RegistrySnapshot> RegistryManager.frozenSnapshot
private final it.unimi.dsi.fastutil.ints.Int2ObjectSortedMap
<ResourceLocation> RegistrySnapshot.ids
private final it.unimi.dsi.fastutil.ints.Int2ObjectSortedMap
<ResourceLocation> RegistrySnapshot.idsView
private static Set
<ResourceLocation> RegistryManager.pendingModdedRegistries
private static final Comparator
<ResourceLocation> RegistrySnapshot.SORTER
private static Set
<ResourceLocation> RegistryManager.vanillaRegistryKeys
private static Map
<ResourceLocation, RegistrySnapshot> RegistryManager.vanillaSnapshot
Methods in net.neoforged.neoforge.registries that return ResourceLocationModifier and TypeMethodDescriptionDeferredHolder.getId()
default @Nullable ResourceLocation
IRegistryExtension.getKeyOrNull
(T element) Returns the key of the element, or null if it is not present in this registry.DeferredRegister.getRegistryName()
BaseMappedRegistry.resolve
(ResourceLocation name) IRegistryExtension.resolve
(ResourceLocation name) Resolves a registry name of a potential object in this registry.Methods in net.neoforged.neoforge.registries that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionRegistrySnapshot.getAliases()
RegistrySnapshot.getAliases()
static Map
<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> RegistryManager.getDataMaps()
Returns a view of all registered data maps.it.unimi.dsi.fastutil.ints.Int2ObjectSortedMap
<ResourceLocation> RegistrySnapshot.getIds()
static Set
<ResourceLocation> GameData.getRegistrationOrder()
Creates aLinkedHashSet
containing the ordered list of registry names in the registration order.static List
<ResourceLocation> RegistryManager.getRegistryNamesForSyncToClient()
static Set
<ResourceLocation> RegistryManager.getVanillaRegistryKeys()
static Map
<ResourceLocation, RegistrySnapshot> RegistryManager.takeSnapshot
(RegistryManager.SnapshotType snapshotType) Takes a snapshot of the current registries registered toBuiltInRegistries.REGISTRY
.Methods in net.neoforged.neoforge.registries with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoid
BaseMappedRegistry.addAlias
(ResourceLocation from, ResourceLocation to) void
DeferredRegister.addAlias
(ResourceLocation from, ResourceLocation to) Adds an alias that maps from the name specified byfrom
to the name specified byto
.void
IRegistryExtension.addAlias
(ResourceLocation from, ResourceLocation to) Adds an alias that maps from the name specified byfrom
to the name specified byto
.static <R,
T extends R>
DeferredHolder<R, T> DeferredHolder.create
(ResourceKey<? extends Registry<R>> registryKey, ResourceLocation valueName) Creates a new DeferredHolder targeting the value with the specified name in the specified registry.static <R,
T extends R>
DeferredHolder<R, T> DeferredHolder.create
(ResourceLocation registryName, ResourceLocation valueName) Creates a new DeferredHolder targeting the value with the specified name in the specified registry.static <B> DeferredRegister
<B> DeferredRegister.create
(ResourceLocation registryName, String modid) DeferredRegister factory for custom forge registries orvanilla registries
to lookup based on the provided registry name.static <T extends Block>
DeferredBlock<T> DeferredBlock.createBlock
(ResourceLocation key) Creates a newDeferredHolder
targeting theBlock
with the specified name.protected <I extends Block>
DeferredBlock<I> DeferredRegister.Blocks.createHolder
(ResourceKey<? extends Registry<Block>> registryKey, ResourceLocation key) protected <I extends T>
DeferredHolder<T, I> DeferredRegister.createHolder
(ResourceKey<? extends Registry<T>> registryKey, ResourceLocation key) Create aDeferredHolder
or an inheriting type to be stored.protected <I extends Item>
DeferredItem<I> DeferredRegister.Items.createHolder
(ResourceKey<? extends Registry<Item>> registryKey, ResourceLocation key) static <T extends Item>
DeferredItem<T> DeferredItem.createItem
(ResourceLocation key) Creates a newDeferredHolder
targeting theItem
with the specified name.DeferredRegister.createTagKey
(ResourceLocation location) Creates a tag key based on the provided resource location and the registry name linked to this DeferredRegister.RegistryBuilder.defaultKey
(ResourceLocation key) static <R> @Nullable DataMapType
<R, ?> RegistryManager.getDataMap
(ResourceKey<? extends Registry<R>> registry, ResourceLocation key) static String
DataMapLoader.getFolderLocation
(ResourceLocation registryId) int
BaseMappedRegistry.getId
(ResourceLocation name) int
IRegistryExtension.getId
(ResourceLocation name) Gets the integer id linked to the given name.boolean
DeferredHolder.is
(ResourceLocation id) Returns true if the passed ResourceLocation is the same as the ID of the target object.DeferredRegister.makeRegistry
(ResourceLocation registryName, Consumer<RegistryBuilder<T>> consumer) <T> void
RegisterEvent.register
(ResourceKey<? extends Registry<T>> registryKey, ResourceLocation name, Supplier<T> valueSupplier) Registers the value with the given name to the stored registry if the provided registry key matches this event's registry key.void
RegisterEvent.RegisterHelper.register
(ResourceLocation name, T value) Registers the given value with the given name to the registry.BaseMappedRegistry.resolve
(ResourceLocation name) IRegistryExtension.resolve
(ResourceLocation name) Resolves a registry name of a potential object in this registry.(package private) static void
RegistryManager.trackModdedRegistry
(ResourceLocation registry) Called byRegistryBuilder
to make sure that modders don't forget to register their registries.Method parameters in net.neoforged.neoforge.registries with type arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic Set
<ResourceKey<?>> RegistryManager.applySnapshot
(Map<ResourceLocation, RegistrySnapshot> snapshots, boolean allowMissing, boolean isLocalWorld) Applies the snapshot to the current state of theBuiltInRegistries
.<B extends Block>
DeferredBlock<B> DeferredRegister.Blocks.register
(String name, Function<ResourceLocation, ? extends B> func) Adds a new block to the list of entries to be registered and returns aDeferredHolder
that will be populated with the created block automatically.<I extends Item>
DeferredItem<I> DeferredRegister.Items.register
(String name, Function<ResourceLocation, ? extends I> func) Adds a new item to the list of entries to be registered and returns aDeferredItem
that will be populated with the created item automatically.<I extends T>
DeferredHolder<T, I> DeferredRegister.register
(String name, Function<ResourceLocation, ? extends I> func) Adds a new entry to the list of entries to be registered and returns aDeferredHolder
that will be populated with the created entry automatically. -
Uses of ResourceLocation in net.neoforged.neoforge.registries.datamaps
Fields in net.neoforged.neoforge.registries.datamaps declared as ResourceLocationModifier and TypeFieldDescriptionprotected final ResourceLocation
DataMapType.Builder.id
private final ResourceLocation
DataMapType.id
Fields in net.neoforged.neoforge.registries.datamaps with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> RegisterDataMapTypesEvent.attachments
Methods in net.neoforged.neoforge.registries.datamaps that return ResourceLocationMethods in net.neoforged.neoforge.registries.datamaps with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic <T,
R> AdvancedDataMapType.Builder <T, R, DataMapValueRemover.Default<T, R>> AdvancedDataMapType.builder
(ResourceLocation id, ResourceKey<Registry<R>> registry, com.mojang.serialization.Codec<T> codec) Returns an advanced data map type builder.static <T,
R> DataMapType.Builder <T, R> DataMapType.builder
(ResourceLocation id, ResourceKey<Registry<R>> registry, com.mojang.serialization.Codec<T> codec) Returns a data map type builder.Constructors in net.neoforged.neoforge.registries.datamaps with parameters of type ResourceLocationModifierConstructorDescriptionprivate
AdvancedDataMapType
(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec, @Nullable com.mojang.serialization.Codec<T> networkCodec, boolean mandatorySync, com.mojang.serialization.Codec<VR> remover, DataMapValueMerger<R, T> merger) (package private)
Builder
(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec) (package private)
Builder
(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec) (package private)
DataMapType
(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec, @Nullable com.mojang.serialization.Codec<T> networkCodec, boolean mandatorySync) Constructor parameters in net.neoforged.neoforge.registries.datamaps with type arguments of type ResourceLocationModifierConstructorDescriptionRegisterDataMapTypesEvent
(Map<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> attachments) -
Uses of ResourceLocation in net.neoforged.neoforge.registries.datamaps.builtin
Methods in net.neoforged.neoforge.registries.datamaps.builtin that return ResourceLocation -
Uses of ResourceLocation in net.neoforged.neoforge.resource
Fields in net.neoforged.neoforge.resource declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
VanillaServerListeners.ADVANCEMENTS
static final ResourceLocation
NeoForgeReloadListeners.BRANDING
static final ResourceLocation
NeoForgeReloadListeners.CLIENT_MOD_LOADING
static final ResourceLocation
NeoForgeReloadListeners.CREATIVE_TABS
static final ResourceLocation
NeoForgeReloadListeners.DATA_MAPS
static final ResourceLocation
NeoForgeReloadListeners.ENTITY_ANIMATIONS
static final ResourceLocation
VanillaServerListeners.FIRST
Sentinel field that will always reference the first reload listener in the vanilla order.static final ResourceLocation
VanillaServerListeners.FUNCTIONS
static final ResourceLocation
VanillaServerListeners.LAST
Sentinel field that will always reference the last reload listener in the vanilla order.static final ResourceLocation
NeoForgeReloadListeners.LOOT_MODIFIERS
static final ResourceLocation
NeoForgeReloadListeners.OBJ_LOADER
static final ResourceLocation
NeoForgeReloadListeners.RECIPE_PRIORITIES
static final ResourceLocation
VanillaServerListeners.RECIPES
Fields in net.neoforged.neoforge.resource with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Map
<Class<?>, ResourceLocation> VanillaServerListeners.KNOWN_CLASSES
Methods in net.neoforged.neoforge.resource that return ResourceLocationModifier and TypeMethodDescriptionstatic @Nullable ResourceLocation
VanillaServerListeners.getNameForClass
(Class<? extends PreparableReloadListener> cls) private static ResourceLocation
private static ResourceLocation
VanillaServerListeners.key
(Class<? extends PreparableReloadListener> cls) Methods in net.neoforged.neoforge.resource with parameters of type ResourceLocationModifier and TypeMethodDescription@Nullable IoSupplier
<InputStream> EmptyPackResources.getResource
(PackType type, ResourceLocation location) Method parameters in net.neoforged.neoforge.resource with type arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic List
<PreparableReloadListener> ReloadListenerSort.sortListeners
(SortedReloadListenerEvent.NameLookup lookup, com.google.common.graph.MutableGraph<PreparableReloadListener> graph, Map<ResourceLocation, PreparableReloadListener> registry, PreparableReloadListener lastVanilla) Implementation forReloadListenerSort.sort(SortedReloadListenerEvent)
. -
Uses of ResourceLocation in net.neoforged.neoforge.server.command
Methods in net.neoforged.neoforge.server.command that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static List
<ResourceLocation> DumpCommand.getSortedRegistryKeys
(boolean alphabeticalSort, boolean printNumericIds, Registry<?> registry) Method parameters in net.neoforged.neoforge.server.command with type arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic <T extends Registry<?>>
com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> CommandUtils.suggestFromRegistry
(Function<Registry<?>, Iterable<ResourceLocation>> namesFunction, String argumentString, ResourceKey<Registry<T>> registryKey) -
Uses of ResourceLocation in net.neoforged.neoforge.server.permission
Methods in net.neoforged.neoforge.server.permission that return ResourceLocationModifier and TypeMethodDescriptionstatic @Nullable ResourceLocation
PermissionAPI.getActivePermissionHandler()
-
Uses of ResourceLocation in net.neoforged.neoforge.server.permission.events
Fields in net.neoforged.neoforge.server.permission.events with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate Map
<ResourceLocation, IPermissionHandlerFactory> PermissionGatherEvent.Handler.availableHandlers
Methods in net.neoforged.neoforge.server.permission.events that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionPermissionGatherEvent.Handler.getAvailablePermissionHandlerFactories()
Methods in net.neoforged.neoforge.server.permission.events with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoid
PermissionGatherEvent.Handler.addPermissionHandler
(ResourceLocation identifier, IPermissionHandlerFactory handlerFactory) -
Uses of ResourceLocation in net.neoforged.neoforge.server.permission.handler
Fields in net.neoforged.neoforge.server.permission.handler declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
DefaultPermissionHandler.IDENTIFIER
Methods in net.neoforged.neoforge.server.permission.handler that return ResourceLocationModifier and TypeMethodDescriptionDefaultPermissionHandler.getIdentifier()
IPermissionHandler.getIdentifier()
Returns an identifier for the PermissionHandler. -
Uses of ResourceLocation in net.neoforged.neoforge.server.permission.nodes
Constructors in net.neoforged.neoforge.server.permission.nodes with parameters of type ResourceLocationModifierConstructorDescriptionPermissionNode
(ResourceLocation nodeName, PermissionType<T> type, PermissionNode.PermissionResolver<T> defaultResolver, PermissionDynamicContextKey... dynamics) CallsPermissionNode(String, PermissionType, PermissionResolver, PermissionDynamicContextKey[])
with "namespace.path" as the first parameter
CommonListenerCookie(GameProfile, WorldSessionTelemetryManager, RegistryAccess.Frozen, FeatureFlagSet, String, ServerData, Screen, Map, ChatComponent.State, Map, ServerLinks, net.neoforged.neoforge.network.connection.ConnectionType)
instead,to indicate whether the connection is modded.