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.systems
Methods in com.mojang.blaze3d.systems with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic void
RenderSystem._setShaderTexture
(int pShaderTexture, ResourceLocation pTextureId) static void
RenderSystem.setShaderTexture
(int pShaderTexture, ResourceLocation pTextureId) -
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
(package private) static final ResourceLocation
RealmsMainScreen.INFO_SPRITE
private static final ResourceLocation
RealmsMainScreen.INVITE_SPRITE
private static final ResourceLocation
RealmsMainScreen.LOGO_LOCATION
(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
RealmsNotification.InfoPopup.image
Constructors 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 TypeFieldDescriptionprivate static final ResourceLocation
RealmsWorldSlotButton.CHECKMARK_SPRITE
static 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
RealmsConfigureWorldScreen.CLOSED_SPRITE
private static final ResourceLocation
RealmsResetWorldScreen.EXPERIENCE_LOCATION
private static final ResourceLocation
RealmsConfigureWorldScreen.EXPIRED_SPRITE
private static final ResourceLocation
RealmsConfigureWorldScreen.EXPIRES_SOON_SPRITE
private final ResourceLocation
RealmsResetWorldScreen.FrameButton.image
private static final ResourceLocation
RealmsResetWorldScreen.INSPIRATION_LOCATION
private static final ResourceLocation
RealmsNotificationsScreen.INVITE_SPRITE
private static final ResourceLocation
RealmsPlayerScreen.Entry.MAKE_OP_SPRITE
private static final ResourceLocation
RealmsResetWorldScreen.NEW_WORLD_LOCATION
private static final ResourceLocation
RealmsNotificationsScreen.NEWS_SPRITE
private static final ResourceLocation
RealmsConfigureWorldScreen.OPEN_SPRITE
(package private) static final ResourceLocation
RealmsPendingInvitesScreen.REJECT_HIGHLIGHTED_SPRITE
(package private) static final ResourceLocation
RealmsPendingInvitesScreen.REJECT_SPRITE
private static final ResourceLocation
RealmsPlayerScreen.Entry.REMOVE_OP_SPRITE
private static final ResourceLocation
RealmsPlayerScreen.Entry.REMOVE_PLAYER_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
Methods in com.mojang.realmsclient.gui.screens with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate void
RealmsConfigureWorldScreen.drawRealmStatus
(GuiGraphics pGuiGraphics, int pX, int pY, int pMouseX, int pMouseY, ResourceLocation pSprite, Supplier<Component> pTooltipSupplier) 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.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 final Optional
<ResourceLocation> DisplayInfo.background
private 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.private final com.google.common.collect.ImmutableList.Builder
<ResourceLocation> AdvancementRewards.Builder.recipes
private final List
<ResourceLocation> AdvancementRewards.recipes
The field for therecipes
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 TypeMethodDescriptionDisplayInfo.getBackground()
Advancement.parent()
Returns the value of theparent
record component.AdvancementRewards.recipes()
Returns the value of therecipes
record component.Methods in net.minecraft.advancements with parameters of type ResourceLocationModifier and TypeMethodDescriptionAdvancementRewards.Builder.addRecipe
(ResourceLocation pRecipeId) Adds the given recipe to the rewards.Advancement.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.static AdvancementRewards.Builder
AdvancementRewards.Builder.recipe
(ResourceLocation pRecipeId) Creates a new builder with the given recipe as a reward.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.DisplayInfo
(ItemStack p_14969_, Component p_14970_, Component p_14971_, Optional<ResourceLocation> p_312452_, AdvancementType p_312497_, boolean p_14974_, boolean p_14975_, boolean p_14976_) -
Uses of ResourceLocation in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
RecipeUnlockedTrigger.TriggerInstance.recipe
The field for therecipe
record component.private final ResourceLocation
RecipeCraftedTrigger.TriggerInstance.recipeId
The field for therecipeId
record component.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
private final Optional
<ResourceLocation> ItemAttributeModifiersPredicate.EntryPredicate.id
The field for theid
record component.private final it.unimi.dsi.fastutil.objects.Object2BooleanMap
<ResourceLocation> PlayerPredicate.Builder.recipes
private final it.unimi.dsi.fastutil.objects.Object2BooleanMap
<ResourceLocation> PlayerPredicate.recipes
The field for therecipes
record component.Methods in net.minecraft.advancements.critereon that return ResourceLocationModifier and TypeMethodDescriptionRecipeUnlockedTrigger.TriggerInstance.recipe()
Returns the value of therecipe
record component.RecipeCraftedTrigger.TriggerInstance.recipeId()
Returns the value of therecipeId
record component.Methods in net.minecraft.advancements.critereon that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionPlayerPredicate.advancements()
Returns the value of theadvancements
record component.ItemAttributeModifiersPredicate.EntryPredicate.id()
Returns the value of theid
record component.it.unimi.dsi.fastutil.objects.Object2BooleanMap
<ResourceLocation> PlayerPredicate.recipes()
Returns the value of therecipes
record component.Methods in net.minecraft.advancements.critereon with parameters of type ResourceLocationModifier and TypeMethodDescriptionPlayerPredicate.Builder.addRecipe
(ResourceLocation pRecipe, boolean pUnlocked) PlayerPredicate.Builder.checkAdvancementCriterions
(ResourceLocation pAdvancement, Map<String, Boolean> pCriterions) PlayerPredicate.Builder.checkAdvancementDone
(ResourceLocation pAdvancement, boolean pDone) RecipeCraftedTrigger.TriggerInstance.craftedItem
(ResourceLocation pRecipeId) RecipeCraftedTrigger.TriggerInstance.craftedItem
(ResourceLocation pRecipeId, List<ItemPredicate.Builder> pIngredients) RecipeCraftedTrigger.TriggerInstance.crafterCraftedItem
(ResourceLocation pRecipeId) (package private) boolean
RecipeCraftedTrigger.TriggerInstance.matches
(ResourceLocation pRecipeId, List<ItemStack> pItems) void
RecipeCraftedTrigger.trigger
(ServerPlayer pPlayer, ResourceLocation pRecipeId, List<ItemStack> pItems) RecipeUnlockedTrigger.unlocked
(ResourceLocation pRecipeId) Constructors in net.minecraft.advancements.critereon with parameters of type ResourceLocationModifierConstructorDescriptionTriggerInstance
(Optional<ContextAwarePredicate> player, ResourceLocation recipeId, List<ItemPredicate> ingredients) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, ResourceLocation recipe) Creates an instance of aTriggerInstance
record class.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<ResourceLocation> recipes, Map<ResourceLocation, PlayerPredicate.AdvancementPredicate> advancements, Optional<EntityPredicate> lookingAt) Creates an instance of aPlayerPredicate
record class.PlayerPredicate
(MinMaxBounds.Ints level, GameTypePredicate gameType, List<PlayerPredicate.StatMatcher<?>> stats, it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceLocation> recipes, Map<ResourceLocation, PlayerPredicate.AdvancementPredicate> advancements, Optional<EntityPredicate> lookingAt) 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.gui
Fields in net.minecraft.client.gui declared as ResourceLocationModifier and TypeFieldDescriptionprivate 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
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
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
Fields in net.minecraft.client.gui with type parameters of type ResourceLocationMethods in net.minecraft.client.gui that return ResourceLocationModifier and TypeMethodDescriptionGui.HeartType.getSprite
(boolean pHardcore, boolean pHalfHeart, boolean pBlinking) Methods in net.minecraft.client.gui with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoid
GuiGraphics.blit
(ResourceLocation pAtlasLocation, int pX, int pY, float pUOffset, float pVOffset, int pWidth, int pHeight, int pTextureWidth, int pTextureHeight) Blits a portion of the texture specified by the atlas location onto the screen at the given position and dimensions with texture coordinates.void
GuiGraphics.blit
(ResourceLocation pAtlasLocation, int pX, int pY, int pBlitOffset, float pUOffset, float pVOffset, int pUWidth, int pVHeight, int pTextureWidth, int pTextureHeight) Blits a portion of the texture specified by the atlas location onto the screen at the given coordinates with a blit offset and texture coordinates.void
GuiGraphics.blit
(ResourceLocation pAtlasLocation, int pX, int pY, int pWidth, int pHeight, float pUOffset, float pVOffset, int pUWidth, int pVHeight, int pTextureWidth, int pTextureHeight) Blits a portion of the texture specified by the atlas location onto the screen at the given position and dimensions with texture coordinates.void
GuiGraphics.blit
(ResourceLocation pAtlasLocation, int pX, int pY, int pUOffset, int pVOffset, int pUWidth, int pVHeight) Blits a portion of the texture specified by the atlas location onto the screen at the given coordinates.(package private) void
GuiGraphics.blit
(ResourceLocation pAtlasLocation, int pX1, int pX2, int pY1, int pY2, int pBlitOffset, int pUWidth, int pVHeight, float pUOffset, float pVOffset, int pTextureWidth, int pTextureHeight) Performs the inner blit operation for rendering a texture with the specified coordinates and texture coordinates.void
GuiGraphics.blitSprite
(ResourceLocation pSprite, int pX, int pY, int pWidth, int pHeight) void
GuiGraphics.blitSprite
(ResourceLocation pSprite, int pX, int pY, int pBlitOffset, int pWidth, int pHeight) void
GuiGraphics.blitSprite
(ResourceLocation pSprite, int pTextureWidth, int pTextureHeight, int pUPosition, int pVPosition, int pX, int pY, int pUWidth, int pVHeight) void
GuiGraphics.blitSprite
(ResourceLocation pSprite, int pTextureWidth, int pTextureHeight, int pUPosition, int pVPosition, int pX, int pY, int pBlitOffset, int pUWidth, int pVHeight) (package private) FontSet
Font.getFontSet
(ResourceLocation pFontLocation) GuiSpriteManager.getSprite
(ResourceLocation pLocation) Gets a sprite associated with the passed resource location.(package private) void
GuiGraphics.innerBlit
(ResourceLocation pAtlasLocation, int pX1, int pX2, int pY1, int pY2, int pBlitOffset, float pMinU, float pMaxU, float pMinV, float pMaxV) Performs the inner blit operation for rendering a texture with the specified coordinates and texture coordinates without color tinting.(package private) void
GuiGraphics.innerBlit
(ResourceLocation pAtlasLocation, int pX1, int pX2, int pY1, int pY2, int pBlitOffset, float pMinU, float pMaxU, float pMinV, float pMaxV, float pRed, float pGreen, float pBlue, float pAlpha) Performs the inner blit operation for rendering a texture with the specified coordinates, texture coordinates, and color tint.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.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
AbstractSelectionList.SCROLLER_BACKGROUND_SPRITE
private static final ResourceLocation
AbstractScrollWidget.SCROLLER_SPRITE
private static final ResourceLocation
AbstractSelectionList.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 final ResourceLocation
ImageWidget.Sprite.sprite
(package private) final ResourceLocation
LockIconButton.Icon.sprite
private ResourceLocation
SpriteIconButton.Builder.sprite
protected final ResourceLocation
SpriteIconButton.sprite
private final 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 pAtlasLocation, int pX, int pY, int pSize) static void
PlayerFaceRenderer.draw
(GuiGraphics pGuiGraphics, ResourceLocation pAtlasLocation, int pX, int pY, int pSize, boolean pDrawHat, boolean pUpsideDown) 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 pAtlasLocation, int pX, int pY, int pSize, boolean pUpsideDown) 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) 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 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.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.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
(package private) 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.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
HorseInventoryScreen.ARMOR_SLOT_SPRITE
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
EffectRenderingInventoryScreen.EFFECT_BACKGROUND_LARGE_SPRITE
private static final ResourceLocation
EffectRenderingInventoryScreen.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
HorseInventoryScreen.LLAMA_ARMOR_SLOT_SPRITE
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
HorseInventoryScreen.SADDLE_SLOT_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 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 types with arguments of type ResourceLocationModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair
<ResourceLocation, ResourceLocation> CreativeModeInventoryScreen.SlotWrapper.getNoItemIcon()
com.mojang.datafixers.util.Pair
<ResourceLocation, ResourceLocation> CreativeModeInventoryScreen.SlotWrapper.getNoItemIcon()
Methods 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 atlas, 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, AbstractFurnaceRecipeBookComponent pRecipeBookComponent, Inventory pPlayerInventory, Component pTitle, ResourceLocation pTexture, ResourceLocation pListProgressSprite, ResourceLocation pBurnProgressSprite) 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
ClientBundleTooltip.BACKGROUND_SPRITE
final ResourceLocation
ClientBundleTooltip.Texture.sprite
Constructors in net.minecraft.client.gui.screens.inventory.tooltip with parameters of type ResourceLocation -
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 TypeFieldDescription(package private) static final ResourceLocation
OverlayRecipeComponent.CRAFTING_OVERLAY_DISABLED_HIGHLIGHTED_SPRITE
(package private) static final ResourceLocation
OverlayRecipeComponent.CRAFTING_OVERLAY_DISABLED_SPRITE
(package private) static final ResourceLocation
OverlayRecipeComponent.CRAFTING_OVERLAY_HIGHLIGHTED_SPRITE
(package private) static final ResourceLocation
OverlayRecipeComponent.CRAFTING_OVERLAY_SPRITE
(package private) static final ResourceLocation
OverlayRecipeComponent.FURNACE_OVERLAY_DISABLED_HIGHLIGHTED_SPRITE
(package private) static final ResourceLocation
OverlayRecipeComponent.FURNACE_OVERLAY_DISABLED_SPRITE
(package private) static final ResourceLocation
OverlayRecipeComponent.FURNACE_OVERLAY_HIGHLIGHTED_SPRITE
(package private) static final ResourceLocation
OverlayRecipeComponent.FURNACE_OVERLAY_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
-
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
HierarchicalModel.getAnimation
(ResourceLocation key) final RenderType
Model.renderType
(ResourceLocation pLocation) Constructor parameters in net.minecraft.client.model with type arguments of type ResourceLocationModifierConstructorDescriptionAgeableHierarchicalModel
(float pYoungScaleFactor, float pBodyYOffset, Function<ResourceLocation, RenderType> pRenderType) protected
AgeableListModel
(Function<ResourceLocation, RenderType> pRenderType, boolean pScaleHead, float pBabyYHeadOffset, float pBabyZHeadOffset, float pBabyHeadScale, float pBabyBodyScale, float pBodyYOffset) protected
EntityModel
(Function<ResourceLocation, RenderType> pRenderType) HierarchicalModel
(Function<ResourceLocation, RenderType> pRenderType) HumanoidModel
(ModelPart pRoot, Function<ResourceLocation, RenderType> pRenderType) ListModel
(Function<ResourceLocation, RenderType> p_103011_) Model
(Function<ResourceLocation, RenderType> pRenderType) -
Uses of ResourceLocation in net.minecraft.client.model.geom
Fields in net.minecraft.client.model.geom declared as ResourceLocationMethods in net.minecraft.client.model.geom that return ResourceLocationConstructors in net.minecraft.client.model.geom with parameters of type ResourceLocation -
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()
ClientSuggestionProvider.getRecipeNames()
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, boolean strictErrorHandling, 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, boolean strictErrorHandling, 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 declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
ParticleEngine.PARTICLES_ATLAS_INFO
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_LOCATION
static final ResourceLocation
Sheets.CHEST_SHEET
protected static final ResourceLocation
LevelRenderer.CLOUDS_LOCATION
static final ResourceLocation
Sheets.DECORATED_POT_SHEET
private static final ResourceLocation
LevelRenderer.END_SKY_LOCATION
private static final ResourceLocation
LevelRenderer.FORCEFIELD_LOCATION
private static final ResourceLocation
GpuWarnlistManager.GPU_WARNLIST_LOCATION
private final ResourceLocation[]
CubeMap.images
private final ResourceLocation
LightTexture.lightTextureLocation
private static final ResourceLocation
LevelRenderer.MOON_LOCATION
private static final ResourceLocation
GameRenderer.NAUSEA_LOCATION
static final ResourceLocation
PanoramaRenderer.PANORAMA_OVERLAY
private static final ResourceLocation
LevelRenderer.RAIN_LOCATION
static final ResourceLocation
Sheets.SHIELD_SHEET
static final ResourceLocation
Sheets.SHULKER_SHEET
static final ResourceLocation
Sheets.SIGN_SHEET
private static final ResourceLocation
LevelRenderer.SNOW_LOCATION
private static final ResourceLocation
LevelRenderer.SUN_LOCATION
private static final ResourceLocation
ScreenEffectRenderer.UNDERWATER_LOCATION
Fields in net.minecraft.client.renderer with type parameters of type ResourceLocationModifier and TypeFieldDescriptionstatic final Function
<ResourceLocation, RenderType> RenderType.ARMOR_CUTOUT_NO_CULL
private static final Map
<ResourceLocation, Material> Sheets.BANNER_MATERIALS
static final BiFunction
<ResourceLocation, Boolean, RenderType> RenderType.BEACON_BEAM
private final com.google.common.collect.ImmutableList.Builder
<org.apache.commons.lang3.tuple.Triple<ResourceLocation, Boolean, Boolean>> RenderStateShard.MultiTextureStateShard.Builder.builder
private final Map
<ResourceLocation, Resource> GameRenderer.ResourceCache.cache
The field for thecache
record component.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 BiFunction
<ResourceLocation, Boolean, RenderType> RenderType.ENTITY_TRANSLUCENT
static final Function
<ResourceLocation, RenderType> RenderType.ENTITY_TRANSLUCENT_CULL
static final BiFunction
<ResourceLocation, Boolean, RenderType> RenderType.ENTITY_TRANSLUCENT_EMISSIVE
RenderType.EYES
static final Function
<ResourceLocation, RenderType> RenderType.ITEM_ENTITY_TRANSLUCENT_CULL
(package private) static final BiFunction
<ResourceLocation, RenderStateShard.CullStateShard, RenderType> RenderType.CompositeRenderType.OUTLINE
private static final Map
<ResourceLocation, Material> Sheets.SHIELD_MATERIALS
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
Methods in net.minecraft.client.renderer that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionGameRenderer.ResourceCache.cache()
Returns the value of thecache
record component.protected Optional
<ResourceLocation> RenderStateShard.EmptyTextureStateShard.cutoutTexture()
protected Optional
<ResourceLocation> RenderStateShard.MultiTextureStateShard.cutoutTexture()
protected Optional
<ResourceLocation> RenderStateShard.TextureStateShard.cutoutTexture()
Methods in net.minecraft.client.renderer with parameters of type ResourceLocationModifier and TypeMethodDescriptionRenderStateShard.MultiTextureStateShard.Builder.add
(ResourceLocation pTexture, boolean pBlur, boolean pMipmap) static RenderType
RenderType.armorCutoutNoCull
(ResourceLocation pLocation) static RenderType
RenderType.beaconBeam
(ResourceLocation pLocation, boolean pColorFlag) static RenderType
RenderType.breezeEyes
(ResourceLocation pLocation) static RenderType
RenderType.breezeWind
(ResourceLocation pLocation, float pU, float pV) private static RenderType.CompositeRenderType
RenderType.createArmorCutoutNoCull
(String pName, ResourceLocation pId, boolean pEqualDepthTest) static RenderType
RenderType.createArmorDecalCutoutNoCull
(ResourceLocation pId) private static Material
Sheets.createDecoratedPotMaterial
(ResourceLocation pAssetId) 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.entityTranslucent
(ResourceLocation pLocation) static RenderType
RenderType.entityTranslucent
(ResourceLocation pLocation, boolean pOutline) static RenderType
RenderType.entityTranslucentCull
(ResourceLocation pLocation) static RenderType
RenderType.entityTranslucentEmissive
(ResourceLocation pLocation) static RenderType
RenderType.entityTranslucentEmissive
(ResourceLocation pLocation, boolean pOutline) static RenderType
RenderType.eyes
(ResourceLocation pLocation) GameRenderer.ResourceCache.getResource
(ResourceLocation p_251007_) static RenderType
RenderType.itemEntityTranslucentCull
(ResourceLocation pLocation) private void
PostChain.load
(TextureManager pTextureManager, ResourceLocation pResourceLocation) void
GameRenderer.loadEffect
(ResourceLocation pResourceLocation) static RenderType
RenderType.outline
(ResourceLocation pLocation) static void
ScreenEffectRenderer.renderFluid
(Minecraft p_110726_, PoseStack p_110727_, ResourceLocation texture) 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) Constructors in net.minecraft.client.renderer with parameters of type ResourceLocationModifierConstructorDescriptionCubeMap
(ResourceLocation pBaseImageLocation) PostChain
(TextureManager pTextureManager, ResourceProvider pResourceProvider, RenderTarget pScreenTarget, ResourceLocation pResourceLocation) ShaderInstance
(ResourceProvider p_173336_, ResourceLocation shaderLocation, VertexFormat p_173338_) TextureStateShard
(ResourceLocation pTexture, boolean pBlur, boolean pMipmap) Constructor parameters in net.minecraft.client.renderer with type arguments of type ResourceLocationModifierConstructorDescription(package private)
MultiTextureStateShard
(com.google.common.collect.ImmutableList<org.apache.commons.lang3.tuple.Triple<ResourceLocation, Boolean, Boolean>> p_173123_) ResourceCache
(ResourceProvider original, Map<ResourceLocation, Resource> cache) Creates an instance of aResourceCache
record class. -
Uses of ResourceLocation in net.minecraft.client.renderer.block
Methods in net.minecraft.client.renderer.block with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic ModelResourceLocation
BlockModelShaper.stateToModelLocation
(ResourceLocation pLocation, BlockState pState) -
Uses of ResourceLocation in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
ItemOverride.model
private final ResourceLocation
Variant.modelLocation
protected ResourceLocation
BlockModel.parentLocation
private final ResourceLocation[]
ItemOverrides.properties
private final ResourceLocation
ItemOverride.Predicate.property
Methods in net.minecraft.client.renderer.block.model that return ResourceLocationModifier and TypeMethodDescriptionItemOverride.getModel()
protected ResourceLocation
Variant.Deserializer.getModel
(com.google.gson.JsonObject p_111899_) Variant.getModelLocation()
BlockModel.getParentLocation()
ItemOverride.Predicate.getProperty()
Methods in net.minecraft.client.renderer.block.model that return types with arguments of type ResourceLocationMethods in net.minecraft.client.renderer.block.model with parameters of type ResourceLocationModifier and TypeMethodDescriptionBlockModel.Deserializer.parseTextureLocationOrReference
(ResourceLocation p_111504_, String p_111505_) Method parameters in net.minecraft.client.renderer.block.model with type arguments of type ResourceLocationModifier and TypeMethodDescriptionvoid
BlockModel.resolveParents
(Function<ResourceLocation, UnbakedModel> pResolver) void
MultiVariant.resolveParents
(Function<ResourceLocation, UnbakedModel> pResolver) Constructors in net.minecraft.client.renderer.block.model with parameters of type ResourceLocationModifierConstructorDescriptionBlockModel
(ResourceLocation pParentLocation, List<BlockElement> pElements, Map<String, com.mojang.datafixers.util.Either<Material, String>> pTextureMap, Boolean pHasAmbientOcclusion, BlockModel.GuiLight pGuiLight, ItemTransforms pTransforms, List<ItemOverride> pOverrides) ItemOverride
(ResourceLocation pModel, List<ItemOverride.Predicate> pPredicates) Predicate
(ResourceLocation pProperty, float pValue) Variant
(ResourceLocation pModelLocation, Transformation pRotation, boolean pUvLock, int pWeight) -
Uses of ResourceLocation in net.minecraft.client.renderer.block.model.multipart
Methods in net.minecraft.client.renderer.block.model.multipart that return types with arguments of type ResourceLocationMethod parameters in net.minecraft.client.renderer.block.model.multipart with type arguments of type ResourceLocationModifier and TypeMethodDescriptionvoid
MultiPart.resolveParents
(Function<ResourceLocation, UnbakedModel> pResolver) -
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 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
ChickenRenderer.CHICKEN_LOCATION
private static final ResourceLocation
CodRenderer.COD_LOCATION
private static final ResourceLocation
StriderRenderer.COLD_LOCATION
private static final ResourceLocation
CowRenderer.COW_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_ENTITY
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
GhastRenderer.GHAST_LOCATION
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
MinecartRenderer.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
PigRenderer.PIG_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
private 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 static final ResourceLocation
WardenRenderer.TEXTURE
private static final ResourceLocation
BreezeRenderer.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
Fields in net.minecraft.client.renderer.entity with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<Boat.Type, com.mojang.datafixers.util.Pair<ResourceLocation, ListModel<Boat>>> BoatRenderer.boatResources
private static final Map
<Variant, ResourceLocation> HorseRenderer.LOCATION_BY_VARIANT
private static final Map
<EntityType<?>, ResourceLocation> ChestedHorseRenderer.MAP
private static final Map
<EntityType<?>, ResourceLocation> UndeadHorseRenderer.MAP
private static final Map
<Axolotl.Variant, ResourceLocation> AxolotlRenderer.TEXTURE_BY_TYPE
private static final Map
<MushroomCow.MushroomType, ResourceLocation> MushroomCowRenderer.TEXTURES
private static final Map
<Panda.Gene, ResourceLocation> PandaRenderer.TEXTURES
private static final Map
<EntityType<?>, ResourceLocation> PiglinRenderer.TEXTURES
Methods in net.minecraft.client.renderer.entity that return ResourceLocationModifier and TypeMethodDescriptionAbstractZombieRenderer.getTextureLocation
(Zombie pEntity) Returns the location of an entity's texture.AllayRenderer.getTextureLocation
(Allay p_234558_) ArmadilloRenderer.getTextureLocation
(Armadillo p_316224_) ArmorStandRenderer.getTextureLocation
(ArmorStand pEntity) Returns the location of an entity's texture.AxolotlRenderer.getTextureLocation
(Axolotl p_173925_) BatRenderer.getTextureLocation
(Bat pEntity) Returns the location of an entity's texture.BeeRenderer.getTextureLocation
(Bee pEntity) Returns the location of an entity's texture.BlazeRenderer.getTextureLocation
(Blaze pEntity) Returns the location of an entity's texture.BoatRenderer.getTextureLocation
(Boat pEntity) Deprecated.private static ResourceLocation
BoatRenderer.getTextureLocation
(Boat.Type pType, boolean pChestBoat) BoggedRenderer.getTextureLocation
(Bogged p_331017_) BreezeRenderer.getTextureLocation
(Breeze pEntity) Returns the location of an entity's texture.CamelRenderer.getTextureLocation
(Camel pEntity) Returns the location of an entity's texture.CatRenderer.getTextureLocation
(Cat pEntity) Returns the location of an entity's texture.CaveSpiderRenderer.getTextureLocation
(CaveSpider pEntity) Returns the location of an entity's texture.ChestedHorseRenderer.getTextureLocation
(T pEntity) Returns the location of an entity's texture.ChickenRenderer.getTextureLocation
(Chicken pEntity) Returns the location of an entity's texture.CodRenderer.getTextureLocation
(Cod pEntity) Returns the location of an entity's texture.CowRenderer.getTextureLocation
(Cow pEntity) Returns the location of an entity's texture.CreeperRenderer.getTextureLocation
(Creeper pEntity) Returns the location of an entity's texture.DisplayRenderer.getTextureLocation
(T pEntity) Returns the location of an entity's texture.DolphinRenderer.getTextureLocation
(Dolphin pEntity) Returns the location of an entity's texture.DragonFireballRenderer.getTextureLocation
(DragonFireball pEntity) Returns the location of an entity's texture.DrownedRenderer.getTextureLocation
(Zombie pEntity) Returns the location of an entity's texture.ElderGuardianRenderer.getTextureLocation
(Guardian pEntity) Returns the location of an entity's texture.EndCrystalRenderer.getTextureLocation
(EndCrystal pEntity) Returns the location of an entity's texture.EnderDragonRenderer.getTextureLocation
(EnderDragon pEntity) Returns the location of an entity's texture.EndermanRenderer.getTextureLocation
(EnderMan pEntity) Returns the location of an entity's texture.EndermiteRenderer.getTextureLocation
(Endermite pEntity) Returns the location of an entity's texture.abstract ResourceLocation
EntityRenderer.getTextureLocation
(T pEntity) Returns the location of an entity's texture.EvokerFangsRenderer.getTextureLocation
(EvokerFangs pEntity) Returns the location of an entity's texture.EvokerRenderer.getTextureLocation
(T pEntity) Returns the location of an entity's texture.ExperienceOrbRenderer.getTextureLocation
(ExperienceOrb pEntity) Returns the location of an entity's texture.FallingBlockRenderer.getTextureLocation
(FallingBlockEntity pEntity) Returns the location of an entity's texture.FireworkEntityRenderer.getTextureLocation
(FireworkRocketEntity pEntity) Returns the location of an entity's texture.FishingHookRenderer.getTextureLocation
(FishingHook pEntity) Returns the location of an entity's texture.FoxRenderer.getTextureLocation
(Fox pEntity) Returns the location of an entity's texture.FrogRenderer.getTextureLocation
(Frog p_234623_) GhastRenderer.getTextureLocation
(Ghast pEntity) Returns the location of an entity's texture.GiantMobRenderer.getTextureLocation
(Giant pEntity) Returns the location of an entity's texture.GlowSquidRenderer.getTextureLocation
(GlowSquid p_174144_) GoatRenderer.getTextureLocation
(Goat p_174157_) GuardianRenderer.getTextureLocation
(Guardian pEntity) Returns the location of an entity's texture.HoglinRenderer.getTextureLocation
(Hoglin pEntity) Returns the location of an entity's texture.HorseRenderer.getTextureLocation
(Horse pEntity) Returns the location of an entity's texture.HuskRenderer.getTextureLocation
(Zombie pEntity) Returns the location of an entity's texture.IllusionerRenderer.getTextureLocation
(Illusioner pEntity) Returns the location of an entity's texture.IronGolemRenderer.getTextureLocation
(IronGolem pEntity) Returns the location of an entity's texture.ItemEntityRenderer.getTextureLocation
(ItemEntity pEntity) Returns the location of an entity's texture.ItemFrameRenderer.getTextureLocation
(T pEntity) Returns the location of an entity's texture.LeashKnotRenderer.getTextureLocation
(LeashFenceKnotEntity pEntity) Returns the location of an entity's texture.LightningBoltRenderer.getTextureLocation
(LightningBolt pEntity) Returns the location of an entity's texture.LlamaRenderer.getTextureLocation
(Llama pEntity) Returns the location of an entity's texture.LlamaSpitRenderer.getTextureLocation
(LlamaSpit pEntity) Returns the location of an entity's texture.MagmaCubeRenderer.getTextureLocation
(MagmaCube pEntity) Returns the location of an entity's texture.MinecartRenderer.getTextureLocation
(T pEntity) Returns the location of an entity's texture.MushroomCowRenderer.getTextureLocation
(MushroomCow pEntity) Returns the location of an entity's texture.NoopRenderer.getTextureLocation
(T p_174328_) OcelotRenderer.getTextureLocation
(Ocelot pEntity) Returns the location of an entity's texture.OminousItemSpawnerRenderer.getTextureLocation
(OminousItemSpawner p_338515_) PaintingRenderer.getTextureLocation
(Painting pEntity) Returns the location of an entity's texture.PandaRenderer.getTextureLocation
(Panda pEntity) Returns the location of an entity's texture.ParrotRenderer.getTextureLocation
(Parrot pEntity) Returns the location of an entity's texture.PhantomRenderer.getTextureLocation
(Phantom pEntity) Returns the location of an entity's texture.PiglinRenderer.getTextureLocation
(Mob pEntity) Returns the location of an entity's texture.PigRenderer.getTextureLocation
(Pig pEntity) Returns the location of an entity's texture.PillagerRenderer.getTextureLocation
(Pillager pEntity) Returns the location of an entity's texture.PolarBearRenderer.getTextureLocation
(PolarBear pEntity) Returns the location of an entity's texture.PufferfishRenderer.getTextureLocation
(Pufferfish pEntity) Returns the location of an entity's texture.RabbitRenderer.getTextureLocation
(Rabbit pEntity) Returns the location of an entity's texture.RavagerRenderer.getTextureLocation
(Ravager pEntity) Returns the location of an entity's texture.RenderLayerParent.getTextureLocation
(T pEntity) Returns the location of an entity's texture.SalmonRenderer.getTextureLocation
(Salmon pEntity) Returns the location of an entity's texture.SheepRenderer.getTextureLocation
(Sheep pEntity) Returns the location of an entity's texture.ShulkerBulletRenderer.getTextureLocation
(ShulkerBullet pEntity) Returns the location of an entity's texture.ShulkerRenderer.getTextureLocation
(Shulker pEntity) Returns the location of an entity's texture.static ResourceLocation
ShulkerRenderer.getTextureLocation
(DyeColor pColor) SilverfishRenderer.getTextureLocation
(Silverfish pEntity) Returns the location of an entity's texture.SkeletonRenderer.getTextureLocation
(T pEntity) Returns the location of an entity's texture.SlimeRenderer.getTextureLocation
(Slime pEntity) Returns the location of an entity's texture.SnifferRenderer.getTextureLocation
(Sniffer p_273552_) SnowGolemRenderer.getTextureLocation
(SnowGolem pEntity) Returns the location of an entity's texture.SpectralArrowRenderer.getTextureLocation
(SpectralArrow pEntity) Returns the location of an entity's texture.SpiderRenderer.getTextureLocation
(T pEntity) Returns the location of an entity's texture.SquidRenderer.getTextureLocation
(T pEntity) Returns the location of an entity's texture.StrayRenderer.getTextureLocation
(Stray pEntity) Returns the location of an entity's texture.StriderRenderer.getTextureLocation
(Strider pEntity) Returns the location of an entity's texture.TadpoleRenderer.getTextureLocation
(Tadpole p_234659_) ThrownItemRenderer.getTextureLocation
(Entity pEntity) Returns the location of an entity's texture.ThrownTridentRenderer.getTextureLocation
(ThrownTrident pEntity) Returns the location of an entity's texture.TippableArrowRenderer.getTextureLocation
(Arrow pEntity) Returns the location of an entity's texture.TntRenderer.getTextureLocation
(PrimedTnt pEntity) Returns the location of an entity's texture.TropicalFishRenderer.getTextureLocation
(TropicalFish pEntity) Returns the location of an entity's texture.TurtleRenderer.getTextureLocation
(Turtle pEntity) Returns the location of an entity's texture.UndeadHorseRenderer.getTextureLocation
(AbstractHorse pEntity) Returns the location of an entity's texture.VexRenderer.getTextureLocation
(Vex pEntity) Returns the location of an entity's texture.VillagerRenderer.getTextureLocation
(Villager pEntity) Returns the location of an entity's texture.VindicatorRenderer.getTextureLocation
(Vindicator pEntity) Returns the location of an entity's texture.WanderingTraderRenderer.getTextureLocation
(WanderingTrader pEntity) Returns the location of an entity's texture.WardenRenderer.getTextureLocation
(Warden p_234791_) WindChargeRenderer.getTextureLocation
(AbstractWindCharge pEntity) Returns the location of an entity's texture.WitchRenderer.getTextureLocation
(Witch pEntity) Returns the location of an entity's texture.WitherBossRenderer.getTextureLocation
(WitherBoss pEntity) Returns the location of an entity's texture.WitherSkeletonRenderer.getTextureLocation
(WitherSkeleton pEntity) Returns the location of an entity's texture.WitherSkullRenderer.getTextureLocation
(WitherSkull pEntity) Returns the location of an entity's texture.WolfRenderer.getTextureLocation
(Wolf pEntity) Returns the location of an entity's texture.ZoglinRenderer.getTextureLocation
(Zoglin pEntity) Returns the location of an entity's texture.ZombieVillagerRenderer.getTextureLocation
(ZombieVillager pEntity) Returns the location of an entity's texture.static ResourceLocation
ParrotRenderer.getVariantTexture
(Parrot.Variant pVariant) Methods in net.minecraft.client.renderer.entity that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair
<ResourceLocation, ListModel<Boat>> BoatRenderer.getModelWithLocation
(Boat boat) -
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
TropicalFishPatternLayer.KOB_TEXTURE
private static final ResourceLocation
CreeperPowerLayer.POWER_LOCATION
private static final ResourceLocation
SheepFurLayer.SHEEP_FUR_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
WardenEmissiveLayer.texture
static final ResourceLocation
SpinAttackEffectLayer.TEXTURE
private static final ResourceLocation
BreezeWindLayer.TEXTURE_LOCATION
private static final ResourceLocation[]
LlamaDecorLayer.TEXTURE_LOCATION
private final ResourceLocation
SaddleLayer.textureLocation
private static final ResourceLocation
LlamaDecorLayer.TRADER_LLAMA
private static final ResourceLocation
ElytraLayer.WINGS_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 static final Map
<String, ResourceLocation> HumanoidArmorLayer.ARMOR_LOCATION_CACHE
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 TypeMethodDescriptionElytraLayer.getElytraTexture
(ItemStack stack, T entity) Gets the texture to use with this ElytraLayer.private ResourceLocation
VillagerProfessionLayer.getResourceLocation
(String pFolder, ResourceLocation pLocation) protected ResourceLocation
CreeperPowerLayer.getTextureLocation()
protected abstract ResourceLocation
EnergySwirlLayer.getTextureLocation()
protected ResourceLocation
RenderLayer.getTextureLocation
(T pEntity) protected ResourceLocation
WitherArmorLayer.getTextureLocation()
Methods in net.minecraft.client.renderer.entity.layers with parameters of type ResourceLocationModifier and TypeMethodDescriptionprotected static <T extends LivingEntity>
voidRenderLayer.coloredCutoutModelCopyLayerRender
(EntityModel<T> pModelParent, EntityModel<T> pModel, ResourceLocation pTextureLocation, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch, float pPartialTick, int pColor) private ResourceLocation
VillagerProfessionLayer.getResourceLocation
(String pFolder, ResourceLocation pLocation) protected static <T extends LivingEntity>
voidRenderLayer.renderColoredCutoutModel
(EntityModel<T> pModel, ResourceLocation pTextureLocation, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, T pEntity, int pColor) private void
HumanoidArmorLayer.renderModel
(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, A pModel, int pDyeColor, ResourceLocation pTextureLocation) private void
HumanoidArmorLayer.renderModel
(PoseStack p_289664_, MultiBufferSource p_289689_, int p_289681_, Model p_289658_, int p_350798_, ResourceLocation p_324344_) Constructors in net.minecraft.client.renderer.entity.layers with parameters of type ResourceLocationModifierConstructorDescriptionSaddleLayer
(RenderLayerParent<T, M> pRenderer, M pModel, ResourceLocation pTextureLocation) SkeletonClothingLayer
(RenderLayerParent<T, M> pRenderer, EntityModelSet pModels, ModelLayerLocation pModelLayerLocation, ResourceLocation pClothesLocation) WardenEmissiveLayer
(RenderLayerParent<T, M> pRenderer, ResourceLocation pTexture, WardenEmissiveLayer.AlphaFunction<T> pAlphaFunction, WardenEmissiveLayer.DrawSelector<T, M> pDrawSelector) -
Uses of ResourceLocation in net.minecraft.client.renderer.entity.player
Methods in net.minecraft.client.renderer.entity.player that return ResourceLocationModifier and TypeMethodDescriptionPlayerRenderer.getTextureLocation
(AbstractClientPlayer pEntity) Returns the location of an entity's texture. -
Uses of ResourceLocation in net.minecraft.client.renderer.item
Fields in net.minecraft.client.renderer.item declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
ItemProperties.DAMAGE
private static final ResourceLocation
ItemProperties.DAMAGED
Fields in net.minecraft.client.renderer.item with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Map
<ResourceLocation, ItemPropertyFunction> ItemProperties.GENERIC_PROPERTIES
private static final Map
<Item, Map<ResourceLocation, ItemPropertyFunction>> ItemProperties.PROPERTIES
Methods in net.minecraft.client.renderer.item with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic ItemPropertyFunction
ItemProperties.getProperty
(ItemStack pStack, ResourceLocation pLocation) private static void
ItemProperties.register
(Item pItem, ResourceLocation pName, ClampedItemPropertyFunction pProperty) static void
ItemProperties.register
(Item p_174571_, ResourceLocation p_174572_, ItemPropertyFunction p_174573_) private static ClampedItemPropertyFunction
ItemProperties.registerGeneric
(ResourceLocation pName, ClampedItemPropertyFunction pProperty) static ItemPropertyFunction
ItemProperties.registerGeneric
(ResourceLocation p_174582_, ItemPropertyFunction p_174583_) -
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
protected final ResourceLocation
SimpleTexture.location
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
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()
TextureManager.register
(String pName, DynamicTexture pTexture) Methods in net.minecraft.client.renderer.texture that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate Map
<ResourceLocation, TextureAtlasSprite> SpriteLoader.getStitchedSprites
(Stitcher<SpriteContents> pStitcher, int pX, int pY) TextureAtlas.getTextures()
SpriteLoader.Preparations.regions()
Returns the value of theregions
record component.Methods in net.minecraft.client.renderer.texture with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate void
TextureManager._bind
(ResourceLocation pPath) void
TextureManager.bindForSetup
(ResourceLocation pPath) 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) TextureManager.getTexture
(ResourceLocation pPath, AbstractTexture pDefaultTexture) static SimpleTexture.TextureImage
SimpleTexture.TextureImage.load
(ResourceManager pResourceManager, ResourceLocation pLocation) SpriteLoader.loadAndStitch
(ResourceManager pResouceManager, ResourceLocation pLocation, int pMipLevel, Executor pExecutor) SpriteLoader.loadAndStitch
(ResourceManager pResourceManager, ResourceLocation pLocation, int pMipLevel, Executor pExecutor, Collection<MetadataSectionSerializer<?>> pSectionSerializers) private AbstractTexture
TextureManager.loadTexture
(ResourceLocation pPath, AbstractTexture pTexture) TextureManager.preload
(ResourceLocation pPath, Executor pBackgroundExecutor) void
TextureManager.register
(ResourceLocation pPath, AbstractTexture pTexture) void
TextureManager.release
(ResourceLocation pPath) void
AbstractTexture.reset
(TextureManager pTextureManager, ResourceManager pResourceManager, ResourceLocation pPath, Executor pExecutor) void
PreloadedTexture.reset
(TextureManager pTextureManager, ResourceManager pResourceManager, ResourceLocation pResourceLocation, Executor pExecutor) private void
TextureManager.safeClose
(ResourceLocation p_118509_, AbstractTexture p_118510_) 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 ResourceLocationModifierConstructorDescriptionHttpTexture
(File pFile, String pUrlString, ResourceLocation pLocation, boolean pProcessLegacySkin, Runnable pOnDownloaded) PreloadedTexture
(ResourceManager pResourceManager, ResourceLocation pLocation, Executor pBackgroundExecutor) 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 com.google.common.collect.BiMap
<ResourceLocation, SpriteSourceType> SpriteSources.TYPES
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
private final ResourceLocation
PalettedPermutations.PalettedSpriteSupplier.permutationLocation
The field for thepermutationLocation
record component.private final ResourceLocation
Unstitcher.resource
private final ResourceLocation
SingleFile.resourceId
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
private final Optional
<ResourceLocation> SingleFile.spriteId
private final List
<ResourceLocation> PalettedPermutations.textures
Methods in net.minecraft.client.renderer.texture.atlas.sources that return ResourceLocationModifier and TypeMethodDescriptionPalettedPermutations.PalettedSpriteSupplier.permutationLocation()
Returns the value of thepermutationLocation
record component.Unstitcher.Region.sprite()
Returns the value of thesprite
record component.Methods in net.minecraft.client.renderer.texture.atlas.sources with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic int[]
PalettedPermutations.loadPaletteEntryFromImage
(ResourceManager pResourceMananger, 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_) 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_261658_, Optional<ResourceLocation> p_261712_) Unstitcher
(ResourceLocation p_261679_, List<Unstitcher.Region> p_261974_, double p_262181_, double p_261631_) 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_) SingleFile
(ResourceLocation p_261658_, Optional<ResourceLocation> p_261712_) -
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.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 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) 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_) 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.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<MetadataSectionSerializer<?>> pMetadataSections) -
Uses of ResourceLocation in net.minecraft.client.resources.model
Fields in net.minecraft.client.resources.model declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
AtlasSet.AtlasEntry.atlasInfoLocation
The field for theatlasInfoLocation
record component.private final ResourceLocation
Material.atlasLocation
private final ResourceLocation
ModelBakery.BakedCacheKey.id
The field for theid
record component.private final ResourceLocation
ModelResourceLocation.id
The field for theid
record component.static final ResourceLocation
ModelBakery.MISSING_MODEL_LOCATION
private final ResourceLocation
Material.texture
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 final Map
<ResourceLocation, List<BlockStateModelLoader.LoadedJson>> BlockStateModelLoader.blockStateResources
static final List
<ResourceLocation> ModelBakery.BREAKING_LOCATIONS
static final List
<ResourceLocation> ModelBakery.DESTROY_STAGES
private final Set
<ResourceLocation> ModelBakery.loadingStack
private final Map
<ResourceLocation, BlockModel> ModelBakery.modelResources
private static final Map
<ResourceLocation, StateDefinition<Block, BlockState>> BlockStateModelLoader.STATIC_DEFINITIONS
private final Map
<ResourceLocation, UnbakedModel> ModelBakery.unbakedCache
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()
ModelBakery.BakedCacheKey.id()
Returns the value of theid
record component.ModelResourceLocation.id()
Returns the value of theid
record component.Material.texture()
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.UnbakedModel.getDependencies()
private static CompletableFuture
<Map<ResourceLocation, BlockModel>> ModelManager.loadBlockModels
(ResourceManager pResourceManager, Executor pExecutor) private static CompletableFuture
<Map<ResourceLocation, List<BlockStateModelLoader.LoadedJson>>> ModelManager.loadBlockStates
(ResourceManager pResourceManager, Executor pExecutor) AtlasSet.scheduleLoad
(ResourceManager pResourceManager, int pMipLevel, Executor pExecutor) Methods in net.minecraft.client.resources.model with parameters of type ResourceLocationModifier and TypeMethodDescriptionModelBaker.bake
(ResourceLocation pLocation, ModelState pTransform) Deprecated.ModelBakery.ModelBakerImpl.bake
(ResourceLocation pLocation, ModelState pTransform) ModelBakery.ModelBakerImpl.bake
(ResourceLocation pLocation, ModelState pTransform, Function<Material, TextureAtlasSprite> sprites) AtlasSet.getAtlas
(ResourceLocation pLocation) ModelManager.getAtlas
(ResourceLocation pLocation) ModelBaker.getModel
(ResourceLocation pLocation) (package private) UnbakedModel
ModelBakery.getModel
(ResourceLocation p_119342_) ModelBakery.ModelBakerImpl.getModel
(ResourceLocation pLocation) AtlasSet.StitchResult.getSprite
(ResourceLocation pLocation) static ModelResourceLocation
ModelResourceLocation.inventory
(ResourceLocation pId) private BlockModel
ModelBakery.loadBlockModel
(ResourceLocation pLocation) private void
BlockStateModelLoader.loadBlockStateDefinitions
(ResourceLocation p_352059_, StateDefinition<Block, BlockState> p_352064_) private void
ModelBakery.loadItemModelAndDependencies
(ResourceLocation pModelLocation) (package private) BlockModelDefinition
BlockStateModelLoader.LoadedJson.parse
(ResourceLocation pBlockStateId, BlockModelDefinition.Context pContext) static ModelResourceLocation
ModelResourceLocation.standalone
(ResourceLocation id) Construct aModelResourceLocation
for use in theModelEvent.RegisterAdditional
to load a model at the given path directly instead of going through blockstates or item model auto-prefixing.Method parameters in net.minecraft.client.resources.model with type arguments of type ResourceLocationModifier and TypeMethodDescriptionMaterial.buffer
(MultiBufferSource pBuffer, Function<ResourceLocation, RenderType> pRenderTypeGetter) Material.buffer
(MultiBufferSource pBuffer, Function<ResourceLocation, RenderType> pRenderTypeGetter, boolean pWithGlint) private ModelManager.ReloadState
ModelManager.loadModels
(ProfilerFiller pProfilerFiller, Map<ResourceLocation, AtlasSet.StitchResult> pAtlasPreparations, ModelBakery pModelBakery) Material.renderType
(Function<ResourceLocation, RenderType> pRenderTypeGetter) void
UnbakedModel.resolveParents
(Function<ResourceLocation, UnbakedModel> pResolver) 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.(package private)
BakedCacheKey
(ResourceLocation id, Transformation transformation, boolean isUvLocked) Creates an instance of aBakedCacheKey
record class.Material
(ResourceLocation pAtlasLocation, ResourceLocation pTexture) ModelResourceLocation
(ResourceLocation id, String variant) Creates an instance of aModelResourceLocation
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) BlockStateModelLoader
(Map<ResourceLocation, List<BlockStateModelLoader.LoadedJson>> pBlockStateResources, ProfilerFiller pProfiler, UnbakedModel pMissingModel, BlockColors pBlockColors, BiConsumer<ModelResourceLocation, UnbakedModel> pDiscoveredModelOutput) ModelBakery
(BlockColors pBlockColors, ProfilerFiller pProfilerFiller, Map<ResourceLocation, BlockModel> pModelResources, Map<ResourceLocation, List<BlockStateModelLoader.LoadedJson>> pBlockStateResources) -
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()
CommandSourceStack.getRecipeNames()
SharedSuggestionProvider.getRecipeNames()
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_) -
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
(Atom<ResourceLocation> pIdParser, ComponentPredicateParser.Context<T, C, P> pContext) (package private)
ElementLookupRule
(Atom<ResourceLocation> pIdParser, ComponentPredicateParser.Context<T, C, P> pContext) (package private)
PredicateLookupRule
(Atom<ResourceLocation> pIdParser, ComponentPredicateParser.Context<T, C, P> pContext) (package private)
TagLookupRule
(Atom<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.DEFAULT_NAME
(package private) final ResourceLocation
SuggestionProviders.Wrapper.name
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<SharedSuggestionProvider> p_121655_) Methods in net.minecraft.commands.synchronization with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic com.mojang.brigadier.suggestion.SuggestionProvider
<SharedSuggestionProvider> 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 ResourceLocationModifierConstructorDescriptionWrapper
(ResourceLocation p_121678_, com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> p_121679_) -
Uses of ResourceLocation in net.minecraft.core
Fields in net.minecraft.core declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
DefaultedMappedRegistry.defaultKey
private final ResourceLocation
RegistrySynchronization.PackedRegistryEntry.id
The field for theid
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) RegistrySynchronization.PackedRegistryEntry.id()
Returns the value of theid
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) DefaultedMappedRegistry.get
(ResourceLocation pName) DefaultedRegistry.get
(ResourceLocation p_122328_) MappedRegistry.get
(ResourceLocation pName) Registry.get
(ResourceLocation pName) MappedRegistry.getHolder
(ResourceLocation pLocation) Registry.getHolder
(ResourceLocation pLocation) int
MappedRegistry.getId
(ResourceLocation name) DefaultedMappedRegistry.getOptional
(ResourceLocation pName) Registry.getOptional
(ResourceLocation pName) 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 ResourceLocationModifierConstructorDescriptionPackedRegistryEntry
(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.NOTE_BLOCK_SOUND
static final DataComponentType
<List<ResourceLocation>> DataComponents.RECIPES
-
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) -
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.models
Fields in net.minecraft.data.models declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
BlockModelGenerators.BlockEntityModelGenerator.baseModel
private ResourceLocation
BlockModelGenerators.BlockFamilyProvider.fullBlock
static final ResourceLocation
ItemModelGenerators.TRIM_TYPE_PREDICATE_ID
Fields in net.minecraft.data.models with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Map
<BlockModelGenerators.BookSlotModelCacheKey, ResourceLocation> BlockModelGenerators.CHISELED_BOOKSHELF_SLOT_MODEL_CACHE
(package private) final BiConsumer
<ResourceLocation, Supplier<com.google.gson.JsonElement>> BlockModelGenerators.modelOutput
private final Map
<ModelTemplate, ResourceLocation> BlockModelGenerators.BlockFamilyProvider.models
static final List
<com.mojang.datafixers.util.Pair<BooleanProperty, Function<ResourceLocation, Variant>>> BlockModelGenerators.MULTIFACE_GENERATOR
private final BiConsumer
<ResourceLocation, Supplier<com.google.gson.JsonElement>> ItemModelGenerators.output
Methods in net.minecraft.data.models that return ResourceLocationModifier and TypeMethodDescriptionprivate ResourceLocation
BlockModelGenerators.createSuffixedVariant
(Block pBlock, String pSuffix, ModelTemplate pModelTemplate, Function<ResourceLocation, TextureMapping> pTextureMappingGetter) private ResourceLocation
BlockModelGenerators.createTurtleEggModel
(int pHatchAmount, String pVariantName, TextureMapping pTextureMapping) private ResourceLocation
BlockModelGenerators.createTurtleEggModel
(Integer pEggAmount, Integer pVariantId) private ResourceLocation
ItemModelGenerators.getItemModelForTrimMaterial
(ResourceLocation pModelLocation, String pTrimId) private ResourceLocation
BlockModelGenerators.BlockFamilyProvider.getOrCreateModel
(ModelTemplate pModelTemplate, Block pBlock) Methods in net.minecraft.data.models that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate List
<ResourceLocation> BlockModelGenerators.createFloorFireModels
(Block pFireBlock) private List
<ResourceLocation> BlockModelGenerators.createSideFireModels
(Block pFireBlock) private List
<ResourceLocation> BlockModelGenerators.createTopFireModels
(Block pFireBlock) Methods in net.minecraft.data.models with parameters of type ResourceLocationModifier and TypeMethodDescriptionBlockModelGenerators.blockEntityModels
(ResourceLocation pEntityBlockModelLocation, Block pParticleBlock) private static PropertyDispatch.C4
<Direction, DoubleBlockHalf, DoorHingeSide, Boolean> BlockModelGenerators.configureDoorHalf
(PropertyDispatch.C4<Direction, DoubleBlockHalf, DoorHingeSide, Boolean> pProperties, DoubleBlockHalf pHalf, ResourceLocation pLeftModelLocation, ResourceLocation pLeftOpenModelLocation, ResourceLocation pRightModelLocation, ResourceLocation pRightOpenModelLocation) BlockModelGenerators.BlockStateGeneratorSupplier.create
(Block pBlock, ResourceLocation pModelLocation, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pModelOutput) private void
BlockModelGenerators.createAirLikeBlock
(Block pAirLikeBlock, ResourceLocation pParticleTexture) (package private) static BlockStateGenerator
BlockModelGenerators.createAxisAlignedPillarBlock
(Block pAxisAlignedPillarBlock, ResourceLocation pModelLocation) private void
BlockModelGenerators.createAxisAlignedPillarBlockCustomModel
(Block pAxisAlignedPillarBlock, ResourceLocation pModelLocation) private static PropertyDispatch
BlockModelGenerators.createBooleanModelDispatch
(BooleanProperty pProperty, ResourceLocation pTrueModelLocation, ResourceLocation pFalseModelLocation) (package private) static BlockStateGenerator
BlockModelGenerators.createButton
(Block pButtonBlock, ResourceLocation pUnpoweredModelLocation, ResourceLocation pPoweredModelLocation) private BlockStateGenerator
BlockModelGenerators.createCopperBulb
(Block pBulbBlock, ResourceLocation pUnlit, ResourceLocation pUnlitPowered, ResourceLocation pLit, ResourceLocation pLitPowered) (package private) static BlockStateGenerator
BlockModelGenerators.createCustomFence
(Block pCustomFenceBlock, ResourceLocation pPostModelId, ResourceLocation pNorthModelId, ResourceLocation pEastModelId, ResourceLocation pSouthModelId, ResourceLocation pWestModelId) private static BlockStateGenerator
BlockModelGenerators.createDoor
(Block pDoorBlock, ResourceLocation pTopLeftModelLocation, ResourceLocation pTopLeftOpenModelLocation, ResourceLocation pTopRightModelLocation, ResourceLocation pTopRightOpenModelLocation, ResourceLocation pBottomLeftModelLocation, ResourceLocation pBottomLeftOpenModelLocation, ResourceLocation pBottomRightModelLocation, ResourceLocation pBottomRightOpenModelLocation) private void
BlockModelGenerators.createDoubleBlock
(Block pDoubleBlock, ResourceLocation pTopHalfModelLocation, ResourceLocation pBottomHalfModelLocation) private static <T extends Comparable<T>>
PropertyDispatchBlockModelGenerators.createEmptyOrFullDispatch
(Property<T> pProperty, T pMinimumValueForFullVariant, ResourceLocation pFullVariantModelLocation, ResourceLocation pEmptyVariantModelLocation) (package private) static BlockStateGenerator
BlockModelGenerators.createFence
(Block pFenceBlock, ResourceLocation pFencePostModelLocation, ResourceLocation pFenceSideModelLocation) (package private) static BlockStateGenerator
BlockModelGenerators.createFenceGate
(Block pFenceGateBlock, ResourceLocation pOpenModelLocation, ResourceLocation pClosedModelLocation, ResourceLocation pWallOpenModelLocation, ResourceLocation pWallClosedModelLocation, boolean pUvLock) private void
BlockModelGenerators.createGrassLikeBlock
(Block pGrassLikeBlock, ResourceLocation pModelLocation, Variant pVariant) private static BlockStateGenerator
BlockModelGenerators.createMirroredColumnGenerator
(Block p_176180_, ResourceLocation p_176181_, TextureMapping p_176182_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_176183_) private static BlockStateGenerator
BlockModelGenerators.createMirroredCubeGenerator
(Block p_176110_, ResourceLocation p_176111_, TextureMapping p_176112_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_176113_) private static BlockStateGenerator
BlockModelGenerators.createNorthWestMirroredCubeGenerator
(Block p_236317_, ResourceLocation p_236318_, TextureMapping p_236319_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_236320_) private static BlockStateGenerator
BlockModelGenerators.createOrientableTrapdoor
(Block pOrientableTrapdoorBlock, ResourceLocation pTopModelLocation, ResourceLocation pBottomModelLocation, ResourceLocation pOpenModelLocation) private void
BlockModelGenerators.createPistonVariant
(Block pPistonBlock, ResourceLocation pBaseModelLocation, TextureMapping pTopTextureMapping) (package private) static BlockStateGenerator
BlockModelGenerators.createPressurePlate
(Block pPressurePlateBlock, ResourceLocation pUnpoweredModelLocation, ResourceLocation pPoweredModelLocation) (package private) static BlockStateGenerator
BlockModelGenerators.createRotatedPillarWithHorizontalVariant
(Block pRotatedPillarBlock, ResourceLocation pModelLocation, ResourceLocation pHorizontalModelLocation) private static MultiVariantGenerator
BlockModelGenerators.createRotatedVariant
(Block pBlock, ResourceLocation pModelLocation) private static MultiVariantGenerator
BlockModelGenerators.createRotatedVariant
(Block pBlock, ResourceLocation pNormalModelLocation, ResourceLocation pMirroredModelLocation) private static Variant[]
BlockModelGenerators.createRotatedVariants
(ResourceLocation pModelLocation) (package private) static MultiVariantGenerator
BlockModelGenerators.createSimpleBlock
(Block pBlock, ResourceLocation pModelLocation) (package private) static BlockStateGenerator
BlockModelGenerators.createSlab
(Block pSlabBlock, ResourceLocation pBottomHalfModelLocation, ResourceLocation pTopHalfModelLocation, ResourceLocation pDoubleModelLocation) (package private) static BlockStateGenerator
BlockModelGenerators.createStairs
(Block pStairsBlock, ResourceLocation pInnerModelLocation, ResourceLocation pStraightModelLocation, ResourceLocation pOuterModelLocation) private static BlockStateGenerator
BlockModelGenerators.createTrapdoor
(Block pTrapdoorBlock, ResourceLocation pTopModelLocation, ResourceLocation pBottomModelLocation, ResourceLocation pOpenModelLocation) (package private) static BlockStateGenerator
BlockModelGenerators.createWall
(Block pWallBlock, ResourceLocation pPostModelLocation, ResourceLocation pLowSideModelLocation, ResourceLocation pTallSideModelLocation) private void
BlockModelGenerators.delegateItemModel
(Item pItem, ResourceLocation pDelegateModelLocation) (package private) void
BlockModelGenerators.delegateItemModel
(Block pBlock, ResourceLocation pDelegateModelLocation) private com.google.gson.JsonObject
ItemModelGenerators.generateBaseArmorTrimTemplate
(ResourceLocation p_266939_, Map<TextureSlot, ResourceLocation> p_267324_, Holder<ArmorMaterial> p_323559_) private void
ItemModelGenerators.generateLayeredItem
(ResourceLocation pModelLocation, ResourceLocation pLayer0, ResourceLocation pLayer1) private void
ItemModelGenerators.generateLayeredItem
(ResourceLocation pModelLocation, ResourceLocation pLayer0, ResourceLocation pLayer1, ResourceLocation pLayer2) private ResourceLocation
ItemModelGenerators.getItemModelForTrimMaterial
(ResourceLocation pModelLocation, String pTrimId) Method parameters in net.minecraft.data.models with type arguments of type ResourceLocationModifier and TypeMethodDescriptionBlockModelGenerators.BlockStateGeneratorSupplier.create
(Block pBlock, ResourceLocation pModelLocation, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pModelOutput) private static BlockStateGenerator
BlockModelGenerators.createMirroredColumnGenerator
(Block p_176180_, ResourceLocation p_176181_, TextureMapping p_176182_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_176183_) private static BlockStateGenerator
BlockModelGenerators.createMirroredCubeGenerator
(Block p_176110_, ResourceLocation p_176111_, TextureMapping p_176112_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_176113_) private static BlockStateGenerator
BlockModelGenerators.createNorthWestMirroredCubeGenerator
(Block p_236317_, ResourceLocation p_236318_, TextureMapping p_236319_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_236320_) (package private) static BlockStateGenerator
BlockModelGenerators.createPillarBlockUVLocked
(Block pBlock, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pModelOutput) private ResourceLocation
BlockModelGenerators.createSuffixedVariant
(Block pBlock, String pSuffix, ModelTemplate pModelTemplate, Function<ResourceLocation, TextureMapping> pTextureMappingGetter) private com.google.gson.JsonObject
ItemModelGenerators.generateBaseArmorTrimTemplate
(ResourceLocation p_266939_, Map<TextureSlot, ResourceLocation> p_267324_, Holder<ArmorMaterial> p_323559_) BlockModelGenerators.wrapModels
(List<ResourceLocation> pModelLocations, UnaryOperator<Variant> pVariantMapper) Constructors in net.minecraft.data.models with parameters of type ResourceLocationModifierConstructorDescriptionBlockEntityModelGenerator
(ResourceLocation pBaseModel, Block pParticleBlock) Constructor parameters in net.minecraft.data.models with type arguments of type ResourceLocationModifierConstructorDescriptionBlockModelGenerators
(Consumer<BlockStateGenerator> pBlockStateOutput, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pModelOutput, Consumer<Item> pSkippedAutoModelsOutput) ItemModelGenerators
(BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pOutput) -
Uses of ResourceLocation in net.minecraft.data.models.blockstates
Fields in net.minecraft.data.models.blockstates with type parameters of type ResourceLocationModifier and TypeFieldDescriptionstatic final VariantProperty
<ResourceLocation> VariantProperties.MODEL
-
Uses of ResourceLocation in net.minecraft.data.models.model
Fields in net.minecraft.data.models.model declared as ResourceLocationFields in net.minecraft.data.models.model with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Optional
<ResourceLocation> ModelTemplate.model
private final Map
<TextureSlot, ResourceLocation> TextureMapping.slots
Methods in net.minecraft.data.models.model that return ResourceLocationModifier and TypeMethodDescriptionModelTemplate.create
(ResourceLocation pModelLocation, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pModelOutput) ModelTemplate.create
(ResourceLocation pModelLocation, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pModelOutput, ModelTemplate.JsonFactory pFactory) ModelTemplate.create
(Block pModelBlock, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pModelOutput) TexturedModel.create
(Block pModelBlock, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pModelOutput) default ResourceLocation
TexturedModel.Provider.create
(Block pModelBlock, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pModelOutput) ModelTemplate.createWithOverride
(Block pModelBlock, String pModelLocationSuffix, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pModelOutput) ModelTemplate.createWithSuffix
(Block pModelBlock, String pModelLocationSuffix, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pModelOutput) TexturedModel.createWithSuffix
(Block pModelBlock, String pModelLocationSuffix, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pModelOutput) default ResourceLocation
TexturedModel.Provider.createWithSuffix
(Block pModelBlock, String pModelLocationSuffix, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pModelOutput) static ResourceLocation
ModelLocationUtils.decorateBlockModelLocation
(String pBlockModelLocation) Deprecated.static ResourceLocation
ModelLocationUtils.decorateItemModelLocation
(String pItemModelLocation) TextureMapping.get
(TextureSlot pTextureSlot) static ResourceLocation
TextureMapping.getBlockTexture
(Block pBlock) static ResourceLocation
TextureMapping.getBlockTexture
(Block pBlock, String pTextureSuffix) ModelTemplate.getDefaultModelLocation
(Block pBlock) static ResourceLocation
TextureMapping.getItemTexture
(Item pItem) static ResourceLocation
TextureMapping.getItemTexture
(Item pItem, String pTextureSuffix) static ResourceLocation
ModelLocationUtils.getModelLocation
(Item pItem) static ResourceLocation
ModelLocationUtils.getModelLocation
(Item pItem, String pModelLocationSuffix) static ResourceLocation
ModelLocationUtils.getModelLocation
(Block pBlock) static ResourceLocation
ModelLocationUtils.getModelLocation
(Block pBlock, String pModelLocationSuffix) Methods in net.minecraft.data.models.model that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate Map
<TextureSlot, ResourceLocation> ModelTemplate.createMap
(TextureMapping pTextureMapping) Methods in net.minecraft.data.models.model with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic TextureMapping
TextureMapping.cauldron
(ResourceLocation pCauldronContentTextureLocation) static TextureMapping
TextureMapping.column
(ResourceLocation pSideTextureLocation, ResourceLocation pEndTextureLocation) TextureMapping.copyAndUpdate
(TextureSlot pTextureSlot, ResourceLocation pTextureLocation) ModelTemplate.create
(ResourceLocation pModelLocation, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pModelOutput) ModelTemplate.create
(ResourceLocation pModelLocation, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pModelOutput, ModelTemplate.JsonFactory pFactory) com.google.gson.JsonObject
ModelTemplate.JsonFactory.create
(ResourceLocation p_266987_, Map<TextureSlot, ResourceLocation> p_266933_) static TexturedModel
TexturedModel.createAllSame
(ResourceLocation pAllTextureLocation) com.google.gson.JsonObject
ModelTemplate.createBaseTemplate
(ResourceLocation p_266830_, Map<TextureSlot, ResourceLocation> p_266912_) static TextureMapping
TextureMapping.crop
(ResourceLocation pCropTextureLocation) static TextureMapping
TextureMapping.cross
(ResourceLocation pCrossTextureLocation) static TextureMapping
TextureMapping.cube
(ResourceLocation pAllTextureLocation) static TextureMapping
TextureMapping.defaultTexture
(ResourceLocation pTextureLocation) static TextureMapping
TextureMapping.door
(ResourceLocation pTopTextureLocation, ResourceLocation pBottomTextureLocation) static TextureMapping
TextureMapping.layer0
(ResourceLocation pLayerZeroTextureLocation) static TextureMapping
TextureMapping.layered
(ResourceLocation pLayer0, ResourceLocation pLayer1) static TextureMapping
TextureMapping.layered
(ResourceLocation pLayer0, ResourceLocation pLayer1, ResourceLocation pLayer2) static TextureMapping
TextureMapping.particle
(ResourceLocation pTextureLocation) static TextureMapping
TextureMapping.plant
(ResourceLocation pPlantTextureLocation) TextureMapping.put
(TextureSlot pTextureSlot, ResourceLocation pTextureLocation) TextureMapping.putForced
(TextureSlot pTextureSlot, ResourceLocation pTextureLocation) static TextureMapping
TextureMapping.rail
(ResourceLocation pRailTextureLocation) static TextureMapping
TextureMapping.singleSlot
(TextureSlot pTextureSlot, ResourceLocation pTextureLocation) static TextureMapping
TextureMapping.torch
(ResourceLocation pTorchTextureLocation) static TextureMapping
TextureMapping.wool
(ResourceLocation pWoolTextureLocation) Method parameters in net.minecraft.data.models.model with type arguments of type ResourceLocationModifier and TypeMethodDescriptionModelTemplate.create
(ResourceLocation pModelLocation, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pModelOutput) ModelTemplate.create
(ResourceLocation pModelLocation, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pModelOutput, ModelTemplate.JsonFactory pFactory) ModelTemplate.create
(Block pModelBlock, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pModelOutput) com.google.gson.JsonObject
ModelTemplate.JsonFactory.create
(ResourceLocation p_266987_, Map<TextureSlot, ResourceLocation> p_266933_) TexturedModel.create
(Block pModelBlock, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pModelOutput) default ResourceLocation
TexturedModel.Provider.create
(Block pModelBlock, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pModelOutput) com.google.gson.JsonObject
ModelTemplate.createBaseTemplate
(ResourceLocation p_266830_, Map<TextureSlot, ResourceLocation> p_266912_) ModelTemplate.createWithOverride
(Block pModelBlock, String pModelLocationSuffix, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pModelOutput) ModelTemplate.createWithSuffix
(Block pModelBlock, String pModelLocationSuffix, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pModelOutput) TexturedModel.createWithSuffix
(Block pModelBlock, String pModelLocationSuffix, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pModelOutput) default ResourceLocation
TexturedModel.Provider.createWithSuffix
(Block pModelBlock, String pModelLocationSuffix, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> pModelOutput) Constructors in net.minecraft.data.models.model with parameters of type ResourceLocationConstructor parameters in net.minecraft.data.models.model with type arguments of type ResourceLocationModifierConstructorDescriptionModelTemplate
(Optional<ResourceLocation> pModel, Optional<String> pSuffix, TextureSlot... pRequiredSlots) -
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) Methods in net.minecraft.data.recipes with parameters of type ResourceLocationModifier and TypeMethodDescriptiondefault void
RecipeOutput.accept
(ResourceLocation pLocation, Recipe<?> pRecipe, AdvancementHolder pAdvancement) private ShapedRecipePattern
ShapedRecipeBuilder.ensureValid
(ResourceLocation pLoaction) private void
ShapelessRecipeBuilder.ensureValid
(ResourceLocation pId) Makes sure that this recipe is valid and obtainable.private void
SimpleCookingRecipeBuilder.ensureValid
(ResourceLocation pId) Makes sure that this obtainable.private void
SingleItemRecipeBuilder.ensureValid
(ResourceLocation pId) private void
SmithingTransformRecipeBuilder.ensureValid
(ResourceLocation pLocation) private void
SmithingTrimRecipeBuilder.ensureValid
(ResourceLocation pLocation) void
RecipeBuilder.save
(RecipeOutput pRecipeOutput, ResourceLocation pId) void
ShapedRecipeBuilder.save
(RecipeOutput pRecipeOutput, ResourceLocation pId) void
ShapelessRecipeBuilder.save
(RecipeOutput pRecipeOutput, ResourceLocation pId) void
SimpleCookingRecipeBuilder.save
(RecipeOutput pRecipeOutput, ResourceLocation pId) void
SingleItemRecipeBuilder.save
(RecipeOutput pRecipeOutput, ResourceLocation pId) void
SmithingTransformRecipeBuilder.save
(RecipeOutput pRecipeOutput, ResourceLocation pRecipeId) void
SmithingTrimRecipeBuilder.save
(RecipeOutput pRecipeOutput, ResourceLocation pRecipeId) void
SpecialRecipeBuilder.save
(RecipeOutput pRecipeOutput, ResourceLocation pRecipeId) protected static void
RecipeProvider.trimSmithing
(RecipeOutput pRecipeOutput, Item pIngredientItem, ResourceLocation pLocation) -
Uses of ResourceLocation in net.minecraft.data.recipes.packs
Fields in net.minecraft.data.recipes.packs declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
VanillaRecipeProvider.TrimTemplate.id
The field for theid
record component.Methods in net.minecraft.data.recipes.packs that return ResourceLocationModifier and TypeMethodDescriptionVanillaRecipeProvider.TrimTemplate.id()
Returns the value of theid
record component.Constructors in net.minecraft.data.recipes.packs with parameters of type ResourceLocationModifierConstructorDescriptionTrimTemplate
(Item template, ResourceLocation id) Creates an instance of aTrimTemplate
record class. -
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 TypeMethodDescriptionTagsProvider.TagAppender.addOptional
(ResourceLocation pLocation) TagsProvider.TagAppender.addOptionalTag
(ResourceLocation pLocation) protected @Nullable Path
TagsProvider.getPath
(ResourceLocation id) -
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
Methods in net.minecraft.network.chat that return ResourceLocationMethods 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 ResourceLocationModifierConstructorDescriptionprivate
Style
(TextColor pColor, 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
ClientboundStoreCookiePacket.key
The field for thekey
record component.Methods in net.minecraft.network.protocol.common that return ResourceLocationModifier and TypeMethodDescriptionClientboundStoreCookiePacket.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. -
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
ClientboundStopSoundPacket.name
private final ResourceLocation
ServerboundSetJigsawBlockPacket.name
private final ResourceLocation
ServerboundSetJigsawBlockPacket.pool
private final ResourceLocation
ClientboundPlaceGhostRecipePacket.recipe
private final ResourceLocation
ServerboundPlaceRecipePacket.recipe
private final ResourceLocation
ServerboundRecipeBookSeenRecipePacket.recipe
private final ResourceLocation
ClientboundCommandsPacket.ArgumentNodeStub.suggestionId
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 List
<ResourceLocation> ClientboundRecipePacket.recipes
private final Set
<ResourceLocation> ClientboundUpdateAdvancementsPacket.removed
private final List
<ResourceLocation> ClientboundRecipePacket.toHighlight
Methods in net.minecraft.network.protocol.game that return ResourceLocationModifier and TypeMethodDescriptionClientboundStopSoundPacket.getName()
ServerboundSetJigsawBlockPacket.getName()
ServerboundSetJigsawBlockPacket.getPool()
ClientboundPlaceGhostRecipePacket.getRecipe()
ServerboundPlaceRecipePacket.getRecipe()
ServerboundRecipeBookSeenRecipePacket.getRecipe()
private static ResourceLocation
ClientboundCommandsPacket.ArgumentNodeStub.getSuggestionId
(com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> p_237654_) ClientboundSelectAdvancementsTabPacket.getTab()
ServerboundSeenAdvancementsPacket.getTab()
ServerboundSetJigsawBlockPacket.getTarget()
Methods in net.minecraft.network.protocol.game that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionClientboundRecipePacket.getHighlights()
ClientboundUpdateAdvancementsPacket.getProgress()
ClientboundRecipePacket.getRecipes()
ClientboundUpdateAdvancementsPacket.getRemoved()
Constructors in net.minecraft.network.protocol.game with parameters of type ResourceLocationModifierConstructorDescription(package private)
ArgumentNodeStub
(String pId, ArgumentTypeInfo.Template<?> pArgumentType, ResourceLocation pSuggestionId) 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 ResourceLocationModifierConstructorDescriptionClientboundRecipePacket
(ClientboundRecipePacket.State pState, Collection<ResourceLocation> pRecipes, Collection<ResourceLocation> pToHighlight, RecipeBookSettings pBookSettings) ClientboundUpdateAdvancementsPacket
(boolean pReset, Collection<AdvancementHolder> pAdded, Set<ResourceLocation> pRemoved, Map<ResourceLocation, AdvancementProgress> pProgress) ClientboundUpdateAdvancementsPacket
(boolean pReset, Collection<AdvancementHolder> pAdded, Set<ResourceLocation> pRemoved, Map<ResourceLocation, AdvancementProgress> pProgress) -
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.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 pSeperator) private static ResourceLocation
ResourceLocation.createUntrusted
(String pNamespace, String pPath) ResourceLocation.Serializer.deserialize
(com.google.gson.JsonElement p_135851_, Type p_135852_, com.google.gson.JsonDeserializationContext p_135853_) 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) com.google.gson.JsonElement
ResourceLocation.Serializer.serialize
(ResourceLocation p_135855_, Type p_135856_, com.google.gson.JsonSerializationContext p_135857_) 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.ServerFunctionLibrary.tags
Methods in net.minecraft.server that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionServerFunctionLibrary.getAvailableTags()
ServerFunctionManager.getFunctionNames()
ServerFunctionLibrary.getFunctions()
ReloadableServerRegistries.Holder.getKeys
(ResourceKey<? extends Registry<?>> pRegistryKey) 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 pFunctionIdentifier) ServerFunctionLibrary.getFunction
(ResourceLocation p_136090_) ServerFunctionLibrary.getTag
(ResourceLocation pLocation) ServerFunctionManager.getTag
(ResourceLocation pFunctionTagIdentifier) 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, com.google.gson.JsonElement> 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
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
(CompoundTag pTag, ResourceLocation pId, HolderLookup.Provider pLevelRegistry) 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 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) 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.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 ResourceLocationMethod parameters in net.minecraft.server.level with type arguments of type ResourceLocationModifier and TypeMethodDescriptionvoid
ServerPlayer.awardRecipesByKey
(List<ResourceLocation> pRecipes) -
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, com.google.gson.JsonElement> 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 void
SimpleJsonResourceReloadListener.scanDirectory
(ResourceManager p_279308_, String p_279131_, com.google.gson.Gson p_279261_, Map<ResourceLocation, com.google.gson.JsonElement> p_279404_) 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 ResourceLocationMethods in net.minecraft.sounds that return ResourceLocationMethods 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 ResourceLocationModifierConstructorDescriptionprivate
SoundEvent
(ResourceLocation pLocation, float pRange, boolean pNewSystem) -
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.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 ResourceLocationModifier and TypeFieldDescriptionstatic final StatType
<ResourceLocation> Stats.CUSTOM
protected final Set
<ResourceLocation> RecipeBook.highlight
protected final Set
<ResourceLocation> RecipeBook.known
Methods in net.minecraft.stats that return ResourceLocationModifier and TypeMethodDescriptionprivate static <T> ResourceLocation
private static ResourceLocation
Stats.makeCustomStat
(String pKey, StatFormatter pFormatter) Methods in net.minecraft.stats with parameters of type ResourceLocationModifier and TypeMethodDescriptionprotected void
RecipeBook.add
(ResourceLocation pRecipeId) protected void
RecipeBook.addHighlight
(ResourceLocation pRecipeId) boolean
RecipeBook.contains
(ResourceLocation pRecipeId) private static <T> String
Stat.locationToKey
(ResourceLocation pLocation) protected void
RecipeBook.remove
(ResourceLocation pRecipeId) Method parameters in net.minecraft.stats with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate void
ServerRecipeBook.sendRecipes
(ClientboundRecipePacket.State pState, ServerPlayer pPlayer, List<ResourceLocation> pRecipes) -
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 Function
<ResourceLocation, Optional<? extends T>> TagLoader.idToValue
private final Map
<ResourceLocation, Collection<Holder<T>>> TagManager.LoadResult.tags
The field for thetags
record component.(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) TagLoader.loadAndBuild
(ResourceManager pResourceManager) TagManager.LoadResult.tags()
Returns the value of thetags
record component.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 pElementLocation) static TagEntry
TagEntry.optionalElement
(ResourceLocation pElementLocation) static TagEntry
TagEntry.optionalTag
(ResourceLocation pTagLocation) TagEntry.Lookup.tag
(ResourceLocation pTagLocation) 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) 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 ResourceLocationModifierConstructorDescriptionLoadResult
(ResourceKey<? extends Registry<T>> key, Map<ResourceLocation, Collection<Holder<T>>> tags) Creates an instance of aLoadResult
record class.(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.parsing.packrat.commands
Fields in net.minecraft.util.parsing.packrat.commands with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Atom
<ResourceLocation> ResourceLookupRule.idParser
static final Rule
<com.mojang.brigadier.StringReader, ResourceLocation> ResourceLocationParseRule.INSTANCE
Methods in net.minecraft.util.parsing.packrat.commands that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionResourceLocationParseRule.parse
(ParseState<com.mojang.brigadier.StringReader> p_335633_) ResourceSuggestion.possibleResources()
Methods 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
(Atom<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 ResourceLocation -
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 TypeFieldDescriptionprivate final ResourceLocation
WolfVariant.angryTexture
private final ResourceLocation
WolfVariant.angryTextureFull
private static final ResourceLocation
Rabbit.EVIL_ATTACK_POWER_MODIFIER
private static final ResourceLocation
Rabbit.KILLER_BUNNY
private final ResourceLocation
WolfVariant.tameTexture
private final ResourceLocation
WolfVariant.tameTextureFull
private final ResourceLocation
CatVariant.texture
The field for thetexture
record component.private final ResourceLocation
FrogVariant.texture
The field for thetexture
record component.private final ResourceLocation
WolfVariant.wildTexture
private final ResourceLocation
WolfVariant.wildTextureFull
Methods in net.minecraft.world.entity.animal that return ResourceLocationModifier and TypeMethodDescriptionWolfVariant.angryTexture()
private static ResourceLocation
WolfVariant.fullTextureId
(ResourceLocation pTexture) Wolf.getTexture()
Cat.getTextureId()
WolfVariant.tameTexture()
CatVariant.texture()
Returns the value of thetexture
record component.FrogVariant.texture()
Returns the value of thetexture
record component.WolfVariant.wildTexture()
Methods in net.minecraft.world.entity.animal with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceLocation
WolfVariant.fullTextureId
(ResourceLocation pTexture) Constructors in net.minecraft.world.entity.animal with parameters of type ResourceLocationModifierConstructorDescriptionCatVariant
(ResourceLocation texture) Creates an instance of aCatVariant
record class.FrogVariant
(ResourceLocation texture) Creates an instance of aFrogVariant
record class.WolfVariant
(ResourceLocation p_332712_, ResourceLocation p_332714_, ResourceLocation p_332788_, HolderSet<Biome> p_332717_) -
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) 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) Method parameters in net.minecraft.world.entity.player with type arguments 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 TypeFieldDescriptionstatic final ResourceLocation
InventoryMenu.BLOCK_ATLAS
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
EnchantmentMenu.EMPTY_SLOT_LAPIS_LAZULI
private final ResourceLocation
ArmorSlot.emptyIcon
Fields in net.minecraft.world.inventory with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate com.mojang.datafixers.util.Pair
<ResourceLocation, ResourceLocation> Slot.backgroundPair
private com.mojang.datafixers.util.Pair
<ResourceLocation, ResourceLocation> Slot.backgroundPair
private static final Map
<EquipmentSlot, ResourceLocation> InventoryMenu.TEXTURE_EMPTY_SLOTS
Methods in net.minecraft.world.inventory that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair
<ResourceLocation, ResourceLocation> ArmorSlot.getNoItemIcon()
com.mojang.datafixers.util.Pair
<ResourceLocation, ResourceLocation> ArmorSlot.getNoItemIcon()
com.mojang.datafixers.util.Pair
<ResourceLocation, ResourceLocation> Slot.getNoItemIcon()
com.mojang.datafixers.util.Pair
<ResourceLocation, ResourceLocation> Slot.getNoItemIcon()
Methods in net.minecraft.world.inventory with parameters of type ResourceLocationModifier and TypeMethodDescriptionSlot.setBackground
(ResourceLocation atlas, 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 TypeFieldDescriptionprivate final ResourceLocation
ArmorMaterial.Layer.assetName
(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 final ResourceLocation
ArmorMaterial.Layer.innerTexture
private static final ResourceLocation
CreativeModeTabs.INVENTORY_BACKGROUND
private final ResourceLocation
ArmorMaterial.Layer.outerTexture
private final ResourceLocation
AnimalArmorItem.overlayTextureLocation
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
private final ResourceLocation
AnimalArmorItem.textureLocation
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 List
<ResourceLocation> CreativeModeTab.Builder.tabsAfter
final List
<ResourceLocation> CreativeModeTab.tabsAfter
private final List
<ResourceLocation> CreativeModeTab.Builder.tabsBefore
final List
<ResourceLocation> CreativeModeTab.tabsBefore
(package private) final Function
<ResourceLocation, ResourceLocation> AnimalArmorItem.BodyType.textureLocator
(package private) final Function
<ResourceLocation, ResourceLocation> AnimalArmorItem.BodyType.textureLocator
Methods in net.minecraft.world.item that return ResourceLocationModifier and TypeMethodDescriptionstatic ResourceLocation
CreativeModeTab.createTextureLocation
(String pName) CreativeModeTab.getBackgroundTexture()
AnimalArmorItem.getOverlayTexture()
CreativeModeTab.getScrollerSprite()
CreativeModeTab.getTabsImage()
AnimalArmorItem.getTexture()
private ResourceLocation
ArmorMaterial.Layer.resolveTexture
(boolean pInnerTexture) ArmorMaterial.Layer.texture
(boolean pInnerTexture) 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 TypeMethodDescriptionCreativeModeTab.Builder.backgroundTexture
(ResourceLocation pBackgroundTexture) static SmithingTemplateItem
SmithingTemplateItem.createArmorTrimTemplate
(ResourceLocation pName, FeatureFlag... pRequiredFeatures) static Item
Items.registerItem
(ResourceLocation pKey, Item pItem) 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) Layer
(ResourceLocation pAssetName) Layer
(ResourceLocation pAssetName, String pSuffix, boolean pDyeable) Constructor parameters in net.minecraft.world.item with type arguments of type ResourceLocationModifierConstructorDescriptionprivate
BodyType
(Function<ResourceLocation, ResourceLocation> pTextureLocator, SoundEvent pBreakingSound) private
BodyType
(Function<ResourceLocation, ResourceLocation> pTextureLocator, SoundEvent pBreakingSound) (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 pUpgradeDescription, Component pBaseSlotDescription, Component pAdditionsSlotDescription, List<ResourceLocation> pBaseSlotEmptyIcons, List<ResourceLocation> pAdditionalSlotEmptyIcons, FeatureFlag... pRequiredFeatures) -
Uses of ResourceLocation in net.minecraft.world.item.armortrim
Fields in net.minecraft.world.item.armortrim declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
TrimPattern.assetId
The field for theassetId
record component.Fields in net.minecraft.world.item.armortrim with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Function
<Holder<ArmorMaterial>, ResourceLocation> ArmorTrim.innerTexture
private final Function
<Holder<ArmorMaterial>, ResourceLocation> ArmorTrim.outerTexture
Methods in net.minecraft.world.item.armortrim that return ResourceLocationModifier and TypeMethodDescriptionTrimPattern.assetId()
Returns the value of theassetId
record component.ArmorTrim.innerTexture
(Holder<ArmorMaterial> pArmorMaterial) ArmorTrim.outerTexture
(Holder<ArmorMaterial> pArmorMaterial) Constructors in net.minecraft.world.item.armortrim with parameters of type ResourceLocationModifierConstructorDescriptionTrimPattern
(ResourceLocation assetId, Holder<Item> templateItem, Component description, boolean decal) Creates an instance of aTrimPattern
record class.Constructor parameters in net.minecraft.world.item.armortrim with type arguments of type ResourceLocationModifierConstructorDescriptionprivate
ArmorTrim
(Holder<TrimMaterial> pMaterial, Holder<TrimPattern> pPattern, boolean pShowInTooltip, Function<Holder<ArmorMaterial>, ResourceLocation> pInnerTexture, Function<Holder<ArmorMaterial>, ResourceLocation> pOuterTexture) -
Uses of ResourceLocation in net.minecraft.world.item.component
Methods in net.minecraft.world.item.component with parameters of type ResourceLocationModifier and TypeMethodDescriptionboolean
ItemAttributeModifiers.Entry.matches
(Holder<Attribute> pAttribute, ResourceLocation pId) -
Uses of ResourceLocation in net.minecraft.world.item.crafting
Fields in net.minecraft.world.item.crafting declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
RecipeHolder.id
The field for theid
record component.Fields in net.minecraft.world.item.crafting with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate Map
<ResourceLocation, RecipeHolder<?>> RecipeManager.byName
Methods in net.minecraft.world.item.crafting that return ResourceLocationModifier and TypeMethodDescriptionRecipeHolder.id()
Returns the value of theid
record component.Methods in net.minecraft.world.item.crafting that return types with arguments of type ResourceLocationMethods in net.minecraft.world.item.crafting with parameters of type ResourceLocationModifier and TypeMethodDescriptionOptional
<RecipeHolder<?>> RecipeManager.byKey
(ResourceLocation pRecipeId) private <T extends Recipe<?>>
RecipeHolder<T> RecipeManager.byKeyTyped
(RecipeType<T> pType, ResourceLocation pName) protected static RecipeHolder
<?> RecipeManager.fromJson
(ResourceLocation p_44046_, com.google.gson.JsonObject p_44047_, HolderLookup.Provider p_323755_) <I extends RecipeInput,
T extends Recipe<I>>
Optional<RecipeHolder<T>> RecipeManager.getRecipeFor
(RecipeType<T> pRecipeType, I pInput, Level pLevel, ResourceLocation pLastRecipe) static <T extends Recipe<?>>
RecipeType<T> RecipeType.simple
(ResourceLocation name) Method parameters in net.minecraft.world.item.crafting with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprotected void
RecipeManager.apply
(Map<ResourceLocation, com.google.gson.JsonElement> pObject, ResourceManager pResourceManager, ProfilerFiller pProfiler) Constructors in net.minecraft.world.item.crafting with parameters of type ResourceLocationModifierConstructorDescriptionRecipeHolder
(ResourceLocation id, T value) Creates an instance of aRecipeHolder
record class. -
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.level
Methods in net.minecraft.world.level that return ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceLocation
Spawner.getEntityKey
(CompoundTag pTag, String pSpawnDataKey) -
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.private ResourceLocation
JigsawBlockEntity.name
private ResourceLocation
SkullBlockEntity.noteBlockSound
private ResourceLocation
StructureBlockEntity.structureName
private ResourceLocation
JigsawBlockEntity.target
Fields in net.minecraft.world.level.block.entity with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap
<ResourceLocation> AbstractFurnaceBlockEntity.recipesUsed
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 with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoid
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, 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 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 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 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 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) 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) LootDataType.deserialize
(ResourceLocation p_279253_, com.mojang.serialization.DynamicOps<V> p_324006_, V p_324329_) 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) (package private)
LootTable
(LootContextParamSet p_287716_, 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 declared as ResourceLocationFields in net.minecraft.world.level.storage.loot.parameters with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final com.google.common.collect.BiMap
<ResourceLocation, LootContextParamSet> LootContextParamSets.REGISTRY
Methods in net.minecraft.world.level.storage.loot.parameters that return ResourceLocationConstructors in net.minecraft.world.level.storage.loot.parameters with parameters of type ResourceLocation -
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 TypeFieldDescription(package private) final ResourceLocation
FunctionCallback.functionId
private final ResourceLocation
TimerCallback.Serializer.id
(package private) final ResourceLocation
FunctionTagCallback.tagId
Fields in net.minecraft.world.level.timers with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, TimerCallback.Serializer<C, ?>> TimerCallbacks.idToSerializer
Methods in net.minecraft.world.level.timers that return ResourceLocationConstructors in net.minecraft.world.level.timers with parameters of type ResourceLocationModifierConstructorDescriptionFunctionCallback
(ResourceLocation pFunctionId) FunctionTagCallback
(ResourceLocation pTagId) Serializer
(ResourceLocation pId, Class<?> pCls) -
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
private static final com.google.common.collect.BiMap
<ResourceLocation, SpriteSourceType> ClientHooks.SPRITE_SOURCE_TYPES_MAP
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_INTENSITY
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_INTENSITY_POLYGON_OFFSET
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_INTENSITY_SEETHROUGH
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_POLYGON_OFFSET
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_SEETHROUGH
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
(Entity entity, ItemStack armor, ArmorMaterial.Layer layer, boolean innerModel, EquipmentSlot slot) static ResourceLocation
ClientHooks.getShaderImportLocation
(String basePath, boolean isRelative, String importPath) 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) ClientCommandSourceStack.getRecipeNames()
Returns aStream
of recipe ids that are available on the client.static com.google.common.collect.BiMap
<ResourceLocation, SpriteSourceType> ClientHooks.makeSpriteSourceTypesMap()
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.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 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.getText
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.getText
(ResourceLocation locationIn) static RenderType
NeoForgeRenderTypes.getTextIntensity
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.getTextIntensity
(ResourceLocation locationIn) static RenderType
NeoForgeRenderTypes.getTextIntensityPolygonOffset
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.getTextIntensityPolygonOffset
(ResourceLocation locationIn) static RenderType
NeoForgeRenderTypes.getTextIntensitySeeThrough
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.getTextIntensitySeeThrough
(ResourceLocation locationIn) static RenderType
NeoForgeRenderTypes.getTextPolygonOffset
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.getTextPolygonOffset
(ResourceLocation locationIn) static RenderType
NeoForgeRenderTypes.getTextSeeThrough
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.getTextSeeThrough
(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) 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 Map
<ResourceLocation, ResourceLocation> ClientHooks.gatherMaterialAtlases
(Map<ResourceLocation, ResourceLocation> vanillaAtlases) static Map
<ResourceLocation, ResourceLocation> ClientHooks.gatherMaterialAtlases
(Map<ResourceLocation, ResourceLocation> vanillaAtlases) 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 ResourceLocationModifierConstructorDescriptionprivate
CustomizableTextureState
(ResourceLocation resLoc, BooleanSupplier blur, BooleanSupplier mipmap) -
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, com.google.gson.JsonElement> 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 ResourceLocationFields 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 Map
<ResourceLocation, DimensionSpecialEffects> RegisterDimensionSpecialEffectsEvent.effects
private final com.google.common.collect.ImmutableMap.Builder
<ResourceLocation, AnimationChannel.Interpolation> RegisterJsonAnimationTypesEvent.interpolations
private final Map
<ResourceLocation, IGeometryLoader<?>> ModelEvent.RegisterGeometryLoaders.loaders
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 @Nullable Set
<ResourceLocation> GatherSkippedAttributeTooltipsEvent.skippedIds
private final com.google.common.collect.ImmutableMap.Builder
<ResourceLocation, AnimationTarget> RegisterJsonAnimationTypesEvent.targets
private final com.google.common.collect.BiMap
<ResourceLocation, SpriteSourceType> RegisterSpriteSourceTypesEvent.types
Methods in net.neoforged.neoforge.client.event that return ResourceLocationMethods in net.neoforged.neoforge.client.event that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprotected Set
<ResourceLocation> GatherSkippedAttributeTooltipsEvent.getSkippedIds()
InitializesGatherSkippedAttributeTooltipsEvent.skippedIds
if necessary, and returns it.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) boolean
GatherSkippedAttributeTooltipsEvent.isSkipped
(ResourceLocation id) Checks if a given id is skipped or not.void
ModelEvent.RegisterGeometryLoaders.register
(ResourceLocation key, IGeometryLoader<?> loader) Registers a new geometry loader.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, LayeredDraw.Layer layer) void
RegisterMaterialAtlasesEvent.register
(ResourceLocation atlasLocation, ResourceLocation atlasInfoLocation) Register a texture atlas with the given name and info locationvoid
RegisterNamedRenderTypesEvent.register
(ResourceLocation key, RenderType blockRenderType, RenderType entityRenderType) Registers a namedRenderTypeGroup
.void
RegisterNamedRenderTypesEvent.register
(ResourceLocation key, RenderType blockRenderType, RenderType entityRenderType, RenderType fabulousEntityRenderType) Registers a namedRenderTypeGroup
.RegisterSpriteSourceTypesEvent.register
(ResourceLocation id, com.mojang.serialization.MapCodec<? extends SpriteSource> codec) Deprecated, for removal: This API element is subject to removal in a future version.void
RegisterSpriteSourceTypesEvent.register
(ResourceLocation id, SpriteSourceType sourceType) Registers the givenSpriteSourceType
under the given id.RenderLevelStageEvent.RegisterStageEvent.register
(ResourceLocation name, @Nullable RenderType renderType) private static RenderLevelStageEvent.Stage
RenderLevelStageEvent.Stage.register
(ResourceLocation name, @Nullable RenderType renderType) void
RegisterGuiLayersEvent.registerAbove
(ResourceLocation other, ResourceLocation id, LayeredDraw.Layer layer) Registers an layer that renders above another.void
RegisterGuiLayersEvent.registerAboveAll
(ResourceLocation id, LayeredDraw.Layer layer) Registers a layer that renders above all others.void
RegisterGuiLayersEvent.registerBelow
(ResourceLocation other, ResourceLocation id, LayeredDraw.Layer layer) Registers a layer that renders below another.void
RegisterGuiLayersEvent.registerBelowAll
(ResourceLocation id, LayeredDraw.Layer layer) Registers a layer that renders below all others.void
RegisterJsonAnimationTypesEvent.registerInterpolation
(ResourceLocation key, AnimationChannel.Interpolation interpolation) Register a custominterpolation function
with the specifiedkey
.void
RegisterJsonAnimationTypesEvent.registerTarget
(ResourceLocation key, AnimationTarget target) Register a customAnimationTarget
with the specifiedkey
.void
GatherSkippedAttributeTooltipsEvent.skipId
(ResourceLocation id) Marks the id of a specific attribute modifier as skipped, causing it to not be displayed in the tooltip.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, LayeredDraw.Layer layer) Pre
(GuiGraphics guiGraphics, DeltaTracker partialTick, ResourceLocation name, LayeredDraw.Layer layer) protected
RenderGuiLayerEvent
(GuiGraphics guiGraphics, DeltaTracker partialTick, ResourceLocation name, LayeredDraw.Layer layer) Constructor parameters in net.neoforged.neoforge.client.event with type arguments of type ResourceLocationModifierConstructorDescriptionRegisterEntitySpectatorShadersEvent
(Map<EntityType<?>, ResourceLocation> shaders) RegisterGeometryLoaders
(Map<ResourceLocation, IGeometryLoader<?>> loaders) RegisterJsonAnimationTypesEvent
(com.google.common.collect.ImmutableMap.Builder<ResourceLocation, AnimationTarget> targets, com.google.common.collect.ImmutableMap.Builder<ResourceLocation, AnimationChannel.Interpolation> interpolations) RegisterNamedRenderTypesEvent
(Map<ResourceLocation, RenderTypeGroup> renderTypes) RegisterSpriteSourceTypesEvent
(com.google.common.collect.BiMap<ResourceLocation, SpriteSourceType> types) -
Uses of ResourceLocation in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions with parameters of type ResourceLocationModifier and TypeMethodDescription@Nullable BakedModel
IModelBakerExtension.bake
(ResourceLocation location, ModelState state, Function<Material, TextureAtlasSprite> sprites) default 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) default void
IGuiGraphicsExtension.blitWithBorder
(ResourceLocation texture, int x, int y, int u, int v, int width, int height, int textureWidth, int textureHeight, int borderSize) Draws a textured box of any size (smallest size is borderSize * 2 square) based on a fixed size textured box with continuous borders and filler.default void
IGuiGraphicsExtension.blitWithBorder
(ResourceLocation texture, int x, int y, int u, int v, int width, int height, int textureWidth, int textureHeight, int topBorder, int bottomBorder, int leftBorder, int rightBorder) Draws a textured box of any size (smallest size is borderSize * 2 square) based on a fixed size textured box with continuous borders and filler. -
Uses of ResourceLocation in net.neoforged.neoforge.client.extensions.common
Methods in net.neoforged.neoforge.client.extensions.common that return ResourceLocationModifier and TypeMethodDescriptiondefault 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. -
Uses of ResourceLocation in net.neoforged.neoforge.client.gui
Fields in net.neoforged.neoforge.client.gui declared as ResourceLocationModifier and TypeFieldDescriptionstatic 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.CROSSHAIR
static final ResourceLocation
VanillaGuiLayers.DEBUG_OVERLAY
static final ResourceLocation
VanillaGuiLayers.DEMO_OVERLAY
static final ResourceLocation
VanillaGuiLayers.EFFECTS
static final ResourceLocation
VanillaGuiLayers.EXPERIENCE_BAR
static final ResourceLocation
VanillaGuiLayers.EXPERIENCE_LEVEL
static final ResourceLocation
VanillaGuiLayers.FOOD_LEVEL
static final ResourceLocation
VanillaGuiLayers.HOTBAR
static final ResourceLocation
VanillaGuiLayers.JUMP_METER
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.SAVING_INDICATOR
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, LayeredDraw.Layer layer) static void
ScreenUtils.blitInscribed
(GuiGraphics guiGraphics, ResourceLocation texture, int x, int y, int boundsWidth, int boundsHeight, int rectWidth, int rectHeight) Deprecated, for removal: This API element is subject to removal in a future version.static void
ScreenUtils.blitInscribed
(GuiGraphics guiGraphics, ResourceLocation texture, int x, int y, int boundsWidth, int boundsHeight, int rectWidth, int rectHeight, boolean centerX, boolean centerY) Deprecated, for removal: This API element is subject to removal in a future version.static void
ScreenUtils.blitWithBorder
(GuiGraphics guiGraphics, ResourceLocation res, int x, int y, int u, int v, int width, int height, int textureWidth, int textureHeight, int borderSize, float zLevel) Deprecated, for removal: This API element is subject to removal in a future version.Draws a textured box of any size (smallest size is borderSize * 2 square) based on a fixed size textured box with continuous borders and filler.static void
ScreenUtils.blitWithBorder
(GuiGraphics guiGraphics, ResourceLocation res, int x, int y, int u, int v, int width, int height, int textureWidth, int textureHeight, int topBorder, int bottomBorder, int leftBorder, int rightBorder, float zLevel) Deprecated, for removal: This API element is subject to removal in a future version.Draws a textured box of any size (smallest size is borderSize * 2 square) based on a fixed size textured box with continuous borders and filler.(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, LayeredDraw.Layer 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.model
Fields in net.neoforged.neoforge.client.model with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.ints.Int2ObjectMap
<ResourceLocation> ItemLayerModel.renderTypeNames
Method parameters in net.neoforged.neoforge.client.model with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprotected void
ItemLayerModel.Loader.readLayerData
(com.google.gson.JsonObject jsonObject, String name, it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap<ResourceLocation> renderTypeNames, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ExtraFaceData> layerData, boolean logWarning) void
CompositeModel.resolveParents
(Function<ResourceLocation, UnbakedModel> modelGetter, IGeometryBakingContext context) void
SeparateTransformsModel.resolveParents
(Function<ResourceLocation, UnbakedModel> modelGetter, IGeometryBakingContext context) -
Uses of ResourceLocation in net.neoforged.neoforge.client.model.generators
Fields in net.neoforged.neoforge.client.model.generators declared as ResourceLocationModifier and TypeFieldDescriptionprotected final ResourceLocation
CustomLoaderBuilder.loaderId
protected ResourceLocation
ModelFile.location
Fields in net.neoforged.neoforge.client.model.generators with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprotected final Function
<ResourceLocation, T> ModelProvider.factory
final Map
<ResourceLocation, T> ModelProvider.generatedModels
private final Map
<ResourceLocation, Float> ItemModelBuilder.OverrideBuilder.predicates
Methods in net.neoforged.neoforge.client.model.generators that return ResourceLocationModifier and TypeMethodDescriptionBlockStateProvider.blockTexture
(Block block) private ResourceLocation
BlockStateProvider.extend
(ResourceLocation rl, String suffix) private ResourceLocation
ModelProvider.extendWithFolder
(ResourceLocation rl) ModelFile.getLocation()
ModelFile.getUncheckedLocation()
private ResourceLocation
Methods in net.neoforged.neoforge.client.model.generators with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoid
BlockStateProvider.axisBlock
(RotatedPillarBlock block, ResourceLocation baseName) void
BlockStateProvider.axisBlock
(RotatedPillarBlock block, ResourceLocation side, ResourceLocation end) void
BlockStateProvider.axisBlockWithRenderType
(RotatedPillarBlock block, ResourceLocation renderType) void
BlockStateProvider.axisBlockWithRenderType
(RotatedPillarBlock block, ResourceLocation baseName, String renderType) void
BlockStateProvider.axisBlockWithRenderType
(RotatedPillarBlock block, ResourceLocation baseName, ResourceLocation renderType) void
BlockStateProvider.axisBlockWithRenderType
(RotatedPillarBlock block, ResourceLocation side, ResourceLocation end, String renderType) void
BlockStateProvider.axisBlockWithRenderType
(RotatedPillarBlock block, ResourceLocation side, ResourceLocation end, ResourceLocation renderType) ItemModelProvider.basicItem
(ResourceLocation item) ModelProvider.button
(String name, ResourceLocation texture) void
BlockStateProvider.buttonBlock
(ButtonBlock block, ResourceLocation texture) ModelProvider.buttonInventory
(String name, ResourceLocation texture) ModelProvider.buttonPressed
(String name, ResourceLocation texture) ModelProvider.carpet
(String name, ResourceLocation wool) ModelProvider.crop
(String name, ResourceLocation crop) ModelProvider.cross
(String name, ResourceLocation cross) ModelProvider.cube
(String name, ResourceLocation down, ResourceLocation up, ResourceLocation north, ResourceLocation south, ResourceLocation east, ResourceLocation west) ModelProvider.cubeAll
(String name, ResourceLocation texture) ModelProvider.cubeBottomTop
(String name, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) ModelProvider.cubeColumn
(String name, ResourceLocation side, ResourceLocation end) ModelProvider.cubeColumnHorizontal
(String name, ResourceLocation side, ResourceLocation end) ModelProvider.cubeTop
(String name, ResourceLocation side, ResourceLocation top) private T
ModelProvider.door
(String name, String model, ResourceLocation bottom, ResourceLocation top) void
BlockStateProvider.doorBlock
(DoorBlock block, String name, ResourceLocation bottom, ResourceLocation top) void
BlockStateProvider.doorBlock
(DoorBlock block, ResourceLocation bottom, ResourceLocation top) private void
BlockStateProvider.doorBlockInternal
(DoorBlock block, String baseName, ResourceLocation bottom, ResourceLocation top) private void
BlockStateProvider.doorBlockInternalWithRenderType
(DoorBlock block, String baseName, ResourceLocation bottom, ResourceLocation top, ResourceLocation renderType) void
BlockStateProvider.doorBlockWithRenderType
(DoorBlock block, String name, ResourceLocation bottom, ResourceLocation top, String renderType) void
BlockStateProvider.doorBlockWithRenderType
(DoorBlock block, String name, ResourceLocation bottom, ResourceLocation top, ResourceLocation renderType) void
BlockStateProvider.doorBlockWithRenderType
(DoorBlock block, ResourceLocation bottom, ResourceLocation top, String renderType) void
BlockStateProvider.doorBlockWithRenderType
(DoorBlock block, ResourceLocation bottom, ResourceLocation top, ResourceLocation renderType) ModelProvider.doorBottomLeft
(String name, ResourceLocation bottom, ResourceLocation top) ModelProvider.doorBottomLeftOpen
(String name, ResourceLocation bottom, ResourceLocation top) ModelProvider.doorBottomRight
(String name, ResourceLocation bottom, ResourceLocation top) ModelProvider.doorBottomRightOpen
(String name, ResourceLocation bottom, ResourceLocation top) ModelProvider.doorTopLeft
(String name, ResourceLocation bottom, ResourceLocation top) ModelProvider.doorTopLeftOpen
(String name, ResourceLocation bottom, ResourceLocation top) ModelProvider.doorTopRight
(String name, ResourceLocation bottom, ResourceLocation top) ModelProvider.doorTopRightOpen
(String name, ResourceLocation bottom, ResourceLocation top) private ResourceLocation
BlockStateProvider.extend
(ResourceLocation rl, String suffix) private ResourceLocation
ModelProvider.extendWithFolder
(ResourceLocation rl) void
BlockStateProvider.fenceBlock
(FenceBlock block, String name, ResourceLocation texture) void
BlockStateProvider.fenceBlock
(FenceBlock block, ResourceLocation texture) void
BlockStateProvider.fenceBlockWithRenderType
(FenceBlock block, String name, ResourceLocation texture, String renderType) void
BlockStateProvider.fenceBlockWithRenderType
(FenceBlock block, String name, ResourceLocation texture, ResourceLocation renderType) void
BlockStateProvider.fenceBlockWithRenderType
(FenceBlock block, ResourceLocation texture, String renderType) void
BlockStateProvider.fenceBlockWithRenderType
(FenceBlock block, ResourceLocation texture, ResourceLocation renderType) ModelProvider.fenceGate
(String name, ResourceLocation texture) void
BlockStateProvider.fenceGateBlock
(FenceGateBlock block, String name, ResourceLocation texture) void
BlockStateProvider.fenceGateBlock
(FenceGateBlock block, ResourceLocation texture) private void
BlockStateProvider.fenceGateBlockInternal
(FenceGateBlock block, String baseName, ResourceLocation texture) private void
BlockStateProvider.fenceGateBlockInternalWithRenderType
(FenceGateBlock block, String baseName, ResourceLocation texture, ResourceLocation renderType) void
BlockStateProvider.fenceGateBlockWithRenderType
(FenceGateBlock block, String name, ResourceLocation texture, String renderType) void
BlockStateProvider.fenceGateBlockWithRenderType
(FenceGateBlock block, String name, ResourceLocation texture, ResourceLocation renderType) void
BlockStateProvider.fenceGateBlockWithRenderType
(FenceGateBlock block, ResourceLocation texture, String renderType) void
BlockStateProvider.fenceGateBlockWithRenderType
(FenceGateBlock block, ResourceLocation texture, ResourceLocation renderType) ModelProvider.fenceGateOpen
(String name, ResourceLocation texture) ModelProvider.fenceGateWall
(String name, ResourceLocation texture) ModelProvider.fenceGateWallOpen
(String name, ResourceLocation texture) ModelProvider.fenceInventory
(String name, ResourceLocation texture) ModelProvider.fencePost
(String name, ResourceLocation texture) ModelProvider.fenceSide
(String name, ResourceLocation texture) ModelProvider.getExistingFile
(ResourceLocation path) ItemModelProvider.handheldItem
(ResourceLocation item) void
BlockStateProvider.hangingSignBlock
(CeilingHangingSignBlock hangingSignBlock, WallHangingSignBlock wallHangingSignBlock, ResourceLocation texture) void
BlockStateProvider.horizontalBlock
(Block block, ResourceLocation side, ResourceLocation front, ResourceLocation top) ModelProvider.leaves
(String name, ResourceLocation texture) void
BlockStateProvider.logBlockWithRenderType
(RotatedPillarBlock block, ResourceLocation renderType) ModelProvider.orientable
(String name, ResourceLocation side, ResourceLocation front, ResourceLocation top) ModelProvider.orientableVertical
(String name, ResourceLocation side, ResourceLocation front) ModelProvider.orientableWithBottom
(String name, ResourceLocation side, ResourceLocation front, ResourceLocation bottom, ResourceLocation top) private T
ModelProvider.pane
(String name, String parent, ResourceLocation pane, ResourceLocation edge) void
BlockStateProvider.paneBlock
(IronBarsBlock block, String name, ResourceLocation pane, ResourceLocation edge) void
BlockStateProvider.paneBlock
(IronBarsBlock block, ResourceLocation pane, ResourceLocation edge) private void
BlockStateProvider.paneBlockInternal
(IronBarsBlock block, String baseName, ResourceLocation pane, ResourceLocation edge) private void
BlockStateProvider.paneBlockInternalWithRenderType
(IronBarsBlock block, String baseName, ResourceLocation pane, ResourceLocation edge, ResourceLocation renderType) void
BlockStateProvider.paneBlockWithRenderType
(IronBarsBlock block, String name, ResourceLocation pane, ResourceLocation edge, String renderType) void
BlockStateProvider.paneBlockWithRenderType
(IronBarsBlock block, String name, ResourceLocation pane, ResourceLocation edge, ResourceLocation renderType) void
BlockStateProvider.paneBlockWithRenderType
(IronBarsBlock block, ResourceLocation pane, ResourceLocation edge, String renderType) void
BlockStateProvider.paneBlockWithRenderType
(IronBarsBlock block, ResourceLocation pane, ResourceLocation edge, ResourceLocation renderType) ModelProvider.paneNoSide
(String name, ResourceLocation pane) ModelProvider.paneNoSideAlt
(String name, ResourceLocation pane) ModelProvider.panePost
(String name, ResourceLocation pane, ResourceLocation edge) ModelProvider.paneSide
(String name, ResourceLocation pane, ResourceLocation edge) ModelProvider.paneSideAlt
(String name, ResourceLocation pane, ResourceLocation edge) ItemModelBuilder.OverrideBuilder.predicate
(ResourceLocation key, float value) ModelProvider.pressurePlate
(String name, ResourceLocation texture) void
BlockStateProvider.pressurePlateBlock
(PressurePlateBlock block, ResourceLocation texture) ModelProvider.pressurePlateDown
(String name, ResourceLocation texture) ModelBuilder.renderType
(ResourceLocation renderType) Set the render type for this model.private T
ModelProvider.sideBottomTop
(String name, String parent, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) ModelProvider.sign
(String name, ResourceLocation texture) void
BlockStateProvider.signBlock
(StandingSignBlock signBlock, WallSignBlock wallSignBlock, ResourceLocation texture) ItemModelProvider.simpleBlockItem
(ResourceLocation block) private T
ModelProvider.singleTexture
(String name, String parent, String textureKey, ResourceLocation texture) private T
ModelProvider.singleTexture
(String name, String parent, ResourceLocation texture) ModelProvider.singleTexture
(String name, ResourceLocation parent, String textureKey, ResourceLocation texture) ModelProvider.singleTexture
(String name, ResourceLocation parent, ResourceLocation texture) ModelProvider.slab
(String name, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) void
BlockStateProvider.slabBlock
(SlabBlock block, ResourceLocation doubleslab, ResourceLocation texture) void
BlockStateProvider.slabBlock
(SlabBlock block, ResourceLocation doubleslab, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) ModelProvider.slabTop
(String name, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) ItemModelProvider.spawnEggItem
(ResourceLocation item) ModelProvider.stairs
(String name, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) void
BlockStateProvider.stairsBlock
(StairBlock block, String name, ResourceLocation texture) void
BlockStateProvider.stairsBlock
(StairBlock block, String name, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) void
BlockStateProvider.stairsBlock
(StairBlock block, ResourceLocation texture) void
BlockStateProvider.stairsBlock
(StairBlock block, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) private void
BlockStateProvider.stairsBlockInternal
(StairBlock block, String baseName, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) private void
BlockStateProvider.stairsBlockInternalWithRenderType
(StairBlock block, String baseName, ResourceLocation side, ResourceLocation bottom, ResourceLocation top, ResourceLocation renderType) void
BlockStateProvider.stairsBlockWithRenderType
(StairBlock block, String name, ResourceLocation texture, String renderType) void
BlockStateProvider.stairsBlockWithRenderType
(StairBlock block, String name, ResourceLocation texture, ResourceLocation renderType) void
BlockStateProvider.stairsBlockWithRenderType
(StairBlock block, String name, ResourceLocation side, ResourceLocation bottom, ResourceLocation top, String renderType) void
BlockStateProvider.stairsBlockWithRenderType
(StairBlock block, String name, ResourceLocation side, ResourceLocation bottom, ResourceLocation top, ResourceLocation renderType) void
BlockStateProvider.stairsBlockWithRenderType
(StairBlock block, ResourceLocation texture, String renderType) void
BlockStateProvider.stairsBlockWithRenderType
(StairBlock block, ResourceLocation texture, ResourceLocation renderType) void
BlockStateProvider.stairsBlockWithRenderType
(StairBlock block, ResourceLocation side, ResourceLocation bottom, ResourceLocation top, String renderType) void
BlockStateProvider.stairsBlockWithRenderType
(StairBlock block, ResourceLocation side, ResourceLocation bottom, ResourceLocation top, ResourceLocation renderType) ModelProvider.stairsInner
(String name, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) ModelProvider.stairsOuter
(String name, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) ModelBuilder.texture
(String key, ResourceLocation texture) Set the texture for a given dictionary key.ModelProvider.torch
(String name, ResourceLocation torch) ModelProvider.torchWall
(String name, ResourceLocation torch) void
BlockStateProvider.trapdoorBlock
(TrapDoorBlock block, String name, ResourceLocation texture, boolean orientable) void
BlockStateProvider.trapdoorBlock
(TrapDoorBlock block, ResourceLocation texture, boolean orientable) private void
BlockStateProvider.trapdoorBlockInternal
(TrapDoorBlock block, String baseName, ResourceLocation texture, boolean orientable) private void
BlockStateProvider.trapdoorBlockInternalWithRenderType
(TrapDoorBlock block, String baseName, ResourceLocation texture, boolean orientable, ResourceLocation renderType) void
BlockStateProvider.trapdoorBlockWithRenderType
(TrapDoorBlock block, String name, ResourceLocation texture, boolean orientable, String renderType) void
BlockStateProvider.trapdoorBlockWithRenderType
(TrapDoorBlock block, String name, ResourceLocation texture, boolean orientable, ResourceLocation renderType) void
BlockStateProvider.trapdoorBlockWithRenderType
(TrapDoorBlock block, ResourceLocation texture, boolean orientable, String renderType) void
BlockStateProvider.trapdoorBlockWithRenderType
(TrapDoorBlock block, ResourceLocation texture, boolean orientable, ResourceLocation renderType) ModelProvider.trapdoorBottom
(String name, ResourceLocation texture) ModelProvider.trapdoorOpen
(String name, ResourceLocation texture) ModelProvider.trapdoorOrientableBottom
(String name, ResourceLocation texture) ModelProvider.trapdoorOrientableOpen
(String name, ResourceLocation texture) ModelProvider.trapdoorOrientableTop
(String name, ResourceLocation texture) ModelProvider.trapdoorTop
(String name, ResourceLocation texture) void
BlockStateProvider.wallBlock
(WallBlock block, String name, ResourceLocation texture) void
BlockStateProvider.wallBlock
(WallBlock block, ResourceLocation texture) private void
BlockStateProvider.wallBlockInternal
(WallBlock block, String baseName, ResourceLocation texture) private void
BlockStateProvider.wallBlockInternalWithRenderType
(WallBlock block, String baseName, ResourceLocation texture, ResourceLocation renderType) void
BlockStateProvider.wallBlockWithRenderType
(WallBlock block, String name, ResourceLocation texture, String renderType) void
BlockStateProvider.wallBlockWithRenderType
(WallBlock block, String name, ResourceLocation texture, ResourceLocation renderType) void
BlockStateProvider.wallBlockWithRenderType
(WallBlock block, ResourceLocation texture, String renderType) void
BlockStateProvider.wallBlockWithRenderType
(WallBlock block, ResourceLocation texture, ResourceLocation renderType) ModelProvider.wallInventory
(String name, ResourceLocation wall) ModelProvider.wallPost
(String name, ResourceLocation wall) ModelProvider.wallSide
(String name, ResourceLocation wall) ModelProvider.wallSideTall
(String name, ResourceLocation wall) ModelProvider.withExistingParent
(String name, ResourceLocation parent) Constructors in net.neoforged.neoforge.client.model.generators with parameters of type ResourceLocationModifierConstructorDescriptionBlockModelBuilder
(ResourceLocation outputLocation, ExistingFileHelper existingFileHelper) protected
CustomLoaderBuilder
(ResourceLocation loaderId, T parent, ExistingFileHelper existingFileHelper, boolean allowInlineElements) ExistingModelFile
(ResourceLocation location, ExistingFileHelper existingHelper) ItemModelBuilder
(ResourceLocation outputLocation, ExistingFileHelper existingFileHelper) protected
ModelBuilder
(ResourceLocation outputLocation, ExistingFileHelper existingFileHelper) protected
ModelFile
(ResourceLocation location) UncheckedModelFile
(ResourceLocation location) Constructor parameters in net.neoforged.neoforge.client.model.generators with type arguments of type ResourceLocationModifierConstructorDescriptionModelProvider
(PackOutput output, String modid, String folder, BiFunction<ResourceLocation, ExistingFileHelper, T> builderFromModId, ExistingFileHelper existingFileHelper) ModelProvider
(PackOutput output, String modid, String folder, Function<ResourceLocation, T> factory, ExistingFileHelper existingFileHelper) -
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 ResourceLocation
DynamicFluidContainerModelBuilder.fluid
private ResourceLocation
ObjModelBuilder.modelLocation
private ResourceLocation
ObjModelBuilder.mtlOverride
Fields in net.neoforged.neoforge.client.model.generators.loaders with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, it.unimi.dsi.fastutil.ints.IntSet> ItemLayerModelBuilder.renderTypes
Methods in net.neoforged.neoforge.client.model.generators.loaders with parameters of type ResourceLocationModifier and TypeMethodDescriptionObjModelBuilder.modelLocation
(ResourceLocation modelLocation) ObjModelBuilder.overrideMaterialLibrary
(ResourceLocation mtlOverride) ItemLayerModelBuilder.renderType
(ResourceLocation renderType, int... layers) Set the render type for a set of layers. -
Uses of ResourceLocation in net.neoforged.neoforge.client.model.geometry
Fields in net.neoforged.neoforge.client.model.geometry declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
StandaloneGeometryBakingContext.LOCATION
private final ResourceLocation
StandaloneGeometryBakingContext.modelName
private @Nullable ResourceLocation
BlockGeometryBakingContext.renderTypeHint
private @Nullable ResourceLocation
StandaloneGeometryBakingContext.Builder.renderTypeHint
private final @Nullable ResourceLocation
StandaloneGeometryBakingContext.renderTypeHint
Fields in net.neoforged.neoforge.client.model.geometry with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static com.google.common.collect.ImmutableMap
<ResourceLocation, IGeometryLoader<?>> GeometryLoaderManager.LOADERS
Methods in net.neoforged.neoforge.client.model.geometry that return ResourceLocationModifier and TypeMethodDescription@Nullable ResourceLocation
BlockGeometryBakingContext.getRenderTypeHint()
@Nullable ResourceLocation
IGeometryBakingContext.getRenderTypeHint()
Returns a hint of the render type this model should use. Custom loaders may ignore this..@Nullable ResourceLocation
StandaloneGeometryBakingContext.getRenderTypeHint()
Methods in net.neoforged.neoforge.client.model.geometry with parameters of type ResourceLocationModifier and TypeMethodDescriptionStandaloneGeometryBakingContext.Builder.build
(ResourceLocation modelName) StandaloneGeometryBakingContext.create
(ResourceLocation modelName) StandaloneGeometryBakingContext.create
(ResourceLocation modelName, Map<String, ResourceLocation> textures) static @Nullable IGeometryLoader
<?> GeometryLoaderManager.get
(ResourceLocation name) Finds theIGeometryLoader
for a given name, or null if not found.default RenderTypeGroup
IGeometryBakingContext.getRenderType
(ResourceLocation name) Returns aRenderTypeGroup
with the given name, or the empty group if not found..void
BlockGeometryBakingContext.setRenderTypeHint
(ResourceLocation renderTypeHint) StandaloneGeometryBakingContext.Builder.withRenderTypeHint
(ResourceLocation renderTypeHint) StandaloneGeometryBakingContext.Builder.withTextures
(Map<String, ResourceLocation> textures, ResourceLocation defaultTexture) StandaloneGeometryBakingContext.Builder.withTextures
(ResourceLocation atlasLocation, Map<String, ResourceLocation> textures, ResourceLocation defaultTexture) Method parameters in net.neoforged.neoforge.client.model.geometry with type arguments of type ResourceLocationModifier and TypeMethodDescriptionStandaloneGeometryBakingContext.create
(Map<String, ResourceLocation> textures) StandaloneGeometryBakingContext.create
(ResourceLocation modelName, Map<String, ResourceLocation> textures) default void
IUnbakedGeometry.resolveParents
(Function<ResourceLocation, UnbakedModel> modelGetter, IGeometryBakingContext context) Resolve parents of nestedBlockModel
s which are later used inIUnbakedGeometry.bake(IGeometryBakingContext, ModelBaker, Function, ModelState, ItemOverrides)
viaBlockModel.resolveParents(Function)
StandaloneGeometryBakingContext.Builder.withTextures
(Map<String, ResourceLocation> textures, ResourceLocation defaultTexture) StandaloneGeometryBakingContext.Builder.withTextures
(ResourceLocation atlasLocation, Map<String, ResourceLocation> textures, ResourceLocation defaultTexture) Constructors in net.neoforged.neoforge.client.model.geometry with parameters of type ResourceLocationModifierConstructorDescriptionprivate
StandaloneGeometryBakingContext
(ResourceLocation modelName, Predicate<String> materialCheck, Function<String, Material> materialLookup, boolean isGui3d, boolean useBlockLight, boolean useAmbientOcclusion, ItemTransforms transforms, Transformation rootTransform, @Nullable ResourceLocation renderTypeHint, BiPredicate<String, Boolean> visibilityTest) -
Uses of ResourceLocation in net.neoforged.neoforge.client.model.obj
Fields in net.neoforged.neoforge.client.model.obj declared as ResourceLocationModifier and TypeFieldDescriptionfinal ResourceLocation
ObjModel.modelLocation
private final ResourceLocation
ObjModel.ModelSettings.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 TypeMethodDescriptionObjModel.ModelSettings.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) Method parameters in net.neoforged.neoforge.client.model.obj with type arguments of type ResourceLocationModifier and TypeMethodDescriptionObjModel.ModelGroup.getTextures
(IGeometryBakingContext owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) ObjModel.ModelObject.getTextures
(IGeometryBakingContext owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) Constructors in net.neoforged.neoforge.client.model.obj with parameters of type ResourceLocationModifierConstructorDescriptionModelSettings
(ResourceLocation modelLocation, boolean automaticCulling, boolean shadeQuads, boolean flipV, boolean emissiveAmbient, @Nullable String mtlOverride) Creates an instance of aModelSettings
record class. -
Uses of ResourceLocation in net.neoforged.neoforge.client.model.renderable
Fields in net.neoforged.neoforge.client.model.renderable declared as ResourceLocationMethods in net.neoforged.neoforge.client.model.renderable with parameters of type ResourceLocationModifier and TypeMethodDescriptionCompositeRenderable.PartBuilder.addMesh
(ResourceLocation texture, List<BakedQuad> quads) ITextureRenderTypeLookup.get
(ResourceLocation name) Constructors in net.neoforged.neoforge.client.model.renderable with parameters of type ResourceLocation -
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
Fields in net.neoforged.neoforge.common.conditions declared as ResourceLocationFields in net.neoforged.neoforge.common.conditions with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate @Nullable Map
<ResourceKey<?>, Map<ResourceLocation, Collection<Holder<?>>>> ConditionContext.loadedTags
Methods in net.neoforged.neoforge.common.conditions that return ResourceLocationMethods in net.neoforged.neoforge.common.conditions that return types with arguments of type ResourceLocationModifier and TypeMethodDescription<T> Map
<ResourceLocation, Collection<Holder<T>>> ConditionContext.getAllTags
(ResourceKey<? extends Registry<T>> registry) <T> Map
<ResourceLocation, Collection<Holder<T>>> ICondition.IContext.getAllTags
(ResourceKey<? extends Registry<T>> registry) Return all the loaded tags for the passed registry, or an empty map if none is available.Constructors in net.neoforged.neoforge.common.conditions with parameters of type ResourceLocationModifierConstructorDescription -
Uses of ResourceLocation in net.neoforged.neoforge.common.crafting
Methods in net.neoforged.neoforge.common.crafting with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoid
ConditionalRecipeOutput.accept
(ResourceLocation id, Recipe<?> recipe, @Nullable AdvancementHolder advancement, ICondition... conditions) -
Uses of ResourceLocation in net.neoforged.neoforge.common.data
Fields in net.neoforged.neoforge.common.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
private final ResourceLocation
SoundDefinition.Sound.name
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.common.data with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, SpriteSourceProvider.SourceList> SpriteSourceProvider.atlases
protected final Map
<ResourceLocation, WithConditions<T>> JsonCodecProvider.conditions
protected final Map
<ResourceLocation, List<String>> ParticleDescriptionProvider.descriptions
private final com.google.common.collect.Multimap
<PackType, ResourceLocation> ExistingFileHelper.generated
Methods in net.neoforged.neoforge.common.data that return ResourceLocationModifier and TypeMethodDescriptionprivate ResourceLocation
ExistingFileHelper.getLocation
(ResourceLocation base, String suffix, String prefix) (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) protected void
SoundDefinitionsProvider.add
(ResourceLocation soundEvent, SoundDefinition definition) protected final SpriteSourceProvider.SourceList
SpriteSourceProvider.atlas
(ResourceLocation id) Get or create aSpriteSourceProvider.SourceList
for the given atlasvoid
JsonCodecProvider.conditionally
(ResourceLocation id, Consumer<WithConditions.Builder<T>> configurator) boolean
ExistingFileHelper.exists
(ResourceLocation loc, PackType packType) Check if a given resource exists in the known resource packs.boolean
ExistingFileHelper.exists
(ResourceLocation loc, PackType packType, String pathSuffix, String pathPrefix) Check if a given resource exists in the known resource packs.boolean
ExistingFileHelper.exists
(ResourceLocation loc, ExistingFileHelper.IResourceType type) Check if a given resource exists in the known resource packs.private ResourceLocation
ExistingFileHelper.getLocation
(ResourceLocation base, String suffix, String prefix) ExistingFileHelper.getResource
(ResourceLocation loc, PackType packType) ExistingFileHelper.getResource
(ResourceLocation loc, PackType packType, String pathSuffix, String pathPrefix) ExistingFileHelper.getResourceStack
(ResourceLocation loc, PackType packType) 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.protected 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
.private String
SoundDefinition.Sound.stripMcPrefix
(ResourceLocation name) void
ExistingFileHelper.trackGenerated
(ResourceLocation loc, PackType packType, String pathSuffix, String pathPrefix) Track the existence of a generated file.void
ExistingFileHelper.trackGenerated
(ResourceLocation loc, ExistingFileHelper.IResourceType type) Track the existence of a generated file.void
JsonCodecProvider.unconditional
(ResourceLocation id, T value) private boolean
SoundDefinitionsProvider.validateEvent
(String soundName, ResourceLocation name) private boolean
SoundDefinitionsProvider.validateSound
(String soundName, ResourceLocation name) Method parameters in net.neoforged.neoforge.common.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
.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 Set
<ResourceLocation> NeoForgeRecipeProvider.excludes
private final Map
<ResourceLocation, TagBuilder> NeoForgeDamageTypeTagsProvider.vanillaBuilders
Methods in net.neoforged.neoforge.common.data.internal with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate @Nullable Ingredient
NeoForgeRecipeProvider.enhance
(ResourceLocation name, Ingredient vanilla) private @Nullable Recipe
<?> NeoForgeRecipeProvider.enhance
(ResourceLocation id, Recipe<?> vanilla) private @Nullable ShapedRecipe
NeoForgeRecipeProvider.enhance
(ResourceLocation id, ShapedRecipe vanilla) private @Nullable ShapelessRecipe
NeoForgeRecipeProvider.enhance
(ResourceLocation id, ShapelessRecipe vanilla) -
Uses of ResourceLocation in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return ResourceLocationModifier and TypeMethodDescriptiondefault @Nullable ResourceLocation
IItemExtension.getArmorTexture
(ItemStack stack, Entity entity, EquipmentSlot slot, ArmorMaterial.Layer layer, boolean innerModel) Called by RenderBiped and RenderPlayer to determine the armor texture that should be use for the currently equipped item.default @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 TypeMethodDescriptionvoid
IRecipeOutputExtension.accept
(ResourceLocation id, Recipe<?> recipe, @Nullable AdvancementHolder advancement, ICondition... conditions) Generates a recipe with the given conditions.default AdvancementHolder
ICommandSourceStackExtension.getAdvancement
(ResourceLocation id) default boolean
ICommonPacketListener.hasChannel
(ResourceLocation payloadId) Checks if the connection has negotiated and opened a channel for the payload.IIntrinsicHolderTagAppenderExtension.remove
(ResourceLocation location) IIntrinsicHolderTagAppenderExtension.remove
(ResourceLocation first, ResourceLocation... locations) default TagsProvider.TagAppender
<T> ITagAppenderExtension.remove
(ResourceLocation location) Adds a single element's ID to the tag json's remove list.default TagsProvider.TagAppender
<T> ITagAppenderExtension.remove
(ResourceLocation first, ResourceLocation... locations) Adds multiple elements' IDs to the tag json's remove list.default TagBuilder
ITagBuilderExtension.removeElement
(ResourceLocation elementID) Adds a single-element entry to the remove list.default TagBuilder
ITagBuilderExtension.removeElement
(ResourceLocation elementID, String source) Deprecated, for removal: This API element is subject to removal in a future version.UseITagBuilderExtension.removeElement(ResourceLocation)
instead.default TagBuilder
ITagBuilderExtension.removeTag
(ResourceLocation tagID) Adds a tag to the remove list.default TagBuilder
ITagBuilderExtension.removeTag
(ResourceLocation tagID, String source) Deprecated, for removal: This API element is subject to removal in a future version.UseITagBuilderExtension.removeElement(ResourceLocation)
instead.default AdvancementHolder
IAdvancementBuilderExtension.save
(Consumer<AdvancementHolder> saver, ResourceLocation id, ExistingFileHelper fileHelper) Saves this builder with the given id using theExistingFileHelper
to check if the parent is already known. -
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. -
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
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 TypeMethodDescriptionTicketController.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) 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 ticking, TicketType<ForcedChunkManager.TicketOwner<T>> type, Function<ForcedChunksSavedData, ForcedChunkManager.TicketTracker<T>> ticketGetter) Forces a chunk to be loaded for the given mod with the given "owner".private static void
ForcedChunkManager.readBlockForcedChunks
(ResourceLocation controllerId, long chunkPos, CompoundTag modEntry, String key, Map<ForcedChunkManager.TicketOwner<BlockPos>, it.unimi.dsi.fastutil.longs.LongSet> blockForcedChunks) Reads the forge block forced chunks.private static void
ForcedChunkManager.readEntityForcedChunks
(ResourceLocation controllerId, long chunkPos, CompoundTag modEntry, String key, Map<ForcedChunkManager.TicketOwner<UUID>, it.unimi.dsi.fastutil.longs.LongSet> entityForcedChunks) Reads the forge entity forced chunks.Method parameters in net.neoforged.neoforge.common.world.chunk with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static <T extends Comparable<? super T>>
voidForcedChunkManager.writeForcedChunkOwners
(Map<ResourceLocation, it.unimi.dsi.fastutil.longs.Long2ObjectMap<CompoundTag>> forcedEntries, Map<ForcedChunkManager.TicketOwner<T>, it.unimi.dsi.fastutil.longs.LongSet> forcedChunks, String listKey, int listType, BiConsumer<T, ListTag> ownerWriter) private static <T extends Comparable<? super T>>
voidForcedChunkManager.writeForcedChunkOwners
(Map<ResourceLocation, it.unimi.dsi.fastutil.longs.Long2ObjectMap<CompoundTag>> forcedEntries, ForcedChunkManager.TicketTracker<T> tracker, String listKey, int listType, BiConsumer<T, ListTag> ownerWriter) Constructors in net.neoforged.neoforge.common.world.chunk with parameters of type ResourceLocationModifierConstructorDescriptionCreates a ticket controller without a validation callback.TicketController
(ResourceLocation id, @Nullable LoadingValidationCallback callback) Creates an instance of aTicketController
record class.(package private)
TicketHelper
(ForcedChunksSavedData 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.debug.client
Fields in net.neoforged.neoforge.debug.client declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
DimensionTransitionScreenTests.CustomLevelScreen.bgTexture
static final ResourceLocation
DimensionTransitionScreenTests.END_BG
static final ResourceLocation
DimensionTransitionScreenTests.NETHER_BG
private final ResourceLocation
CustomGlyphProviderTypeTest.Reference2.what
The field for thewhat
record component.Methods in net.neoforged.neoforge.debug.client that return ResourceLocationModifier and TypeMethodDescriptionCustomGlyphProviderTypeTest.Reference2.what()
Returns the value of thewhat
record component.Constructors in net.neoforged.neoforge.debug.client with parameters of type ResourceLocationModifierConstructorDescriptionCustomLevelScreen
(BooleanSupplier supplier, ReceivingLevelScreen.Reason reason, ResourceLocation bgTexture, Component message) Reference2
(ResourceLocation what) Creates an instance of aReference2
record class. -
Uses of ResourceLocation in net.neoforged.neoforge.debug.crafting
Methods in net.neoforged.neoforge.debug.crafting with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoid
IngredientTests.CompressedShapelessRecipeBuilder.save
(RecipeOutput recipeOutput, ResourceLocation location) -
Uses of ResourceLocation in net.neoforged.neoforge.debug.entity
Methods in net.neoforged.neoforge.debug.entity that return ResourceLocationModifier and TypeMethodDescriptionEntityDataSerializerTest.TestEntityRenderer.getTextureLocation
(EntityDataSerializerTest.TestEntity entity) -
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
Methods in net.neoforged.neoforge.event that return ResourceLocationModifier and TypeMethodDescriptionLootTableLoadEvent.getName()
ItemAttributeModifierEvent.ItemAttributeModifiersBuilder.Key.id()
Returns the value of theid
record component.Methods in net.neoforged.neoforge.event with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoid
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.static @Nullable LootTable
EventHooks.loadLootTable
(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.(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 idConstructors in net.neoforged.neoforge.event with parameters of type ResourceLocationModifierConstructorDescriptionprivate
Key
(Holder<Attribute> attr, ResourceLocation id) Creates an instance of aKey
record class.LootTableLoadEvent
(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.handlers
Fields in net.neoforged.neoforge.network.handlers 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.network.handling
Fields in net.neoforged.neoforge.network.handling declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
ClientPayloadContext.payloadId
The field for thepayloadId
record component.private final ResourceLocation
ServerPayloadContext.payloadId
The field for thepayloadId
record component.Methods in net.neoforged.neoforge.network.handling that return ResourceLocationModifier and TypeMethodDescriptionClientPayloadContext.payloadId()
Returns the value of thepayloadId
record component.ServerPayloadContext.payloadId()
Returns the value of thepayloadId
record component.Constructors in net.neoforged.neoforge.network.handling with parameters of type ResourceLocationModifierConstructorDescriptionClientPayloadContext
(ClientCommonPacketListener listener, ResourceLocation payloadId) Creates an instance of aClientPayloadContext
record class.ServerPayloadContext
(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
.private 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.static final io.netty.util.AttributeKey
<Map<ConnectionProtocol, Set<ResourceLocation>>> ChannelAttributes.COMMON_CHANNELS
Known common channels fromCommonRegisterPayload
.private static final Map
<ConnectionProtocol, Map<ResourceLocation, PayloadRegistration<?>>> NetworkRegistry.PAYLOAD_REGISTRATIONS
Registry of all custom payload 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.private 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.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.oldtest
Fields in net.neoforged.neoforge.oldtest declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
DuplicateOptionalTagTest.TAG_NAME
Fields in net.neoforged.neoforge.oldtest with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Set
<ResourceLocation> DataGeneratorTest.BlockStates.CUSTOM_MODELS
private static final Set
<ResourceLocation> DataGeneratorTest.BlockStates.IGNORED_MODELS
Methods in net.neoforged.neoforge.oldtest that return ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceLocation
private static ResourceLocation
Method parameters in net.neoforged.neoforge.oldtest with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static <T extends ModelBuilder<T>>
List<String> DataGeneratorTest.testModelResults
(Map<ResourceLocation, T> models, ExistingFileHelper existingFileHelper, Set<ResourceLocation> toIgnore) private static <T extends ModelBuilder<T>>
List<String> DataGeneratorTest.testModelResults
(Map<ResourceLocation, T> models, ExistingFileHelper existingFileHelper, Set<ResourceLocation> toIgnore) -
Uses of ResourceLocation in net.neoforged.neoforge.oldtest.block
Fields in net.neoforged.neoforge.oldtest.block declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
FullPotsAccessorDemo.ClientHandler.DioritePotModel.DIRT_TEXTURE
private static final ResourceLocation
FullPotsAccessorDemo.ClientHandler.DioritePotModel.POT_TEXTURE
Method parameters in net.neoforged.neoforge.oldtest.block with type arguments of type ResourceLocationModifier and TypeMethodDescriptionvoid
FullPotsAccessorDemo.ClientHandler.DioritePotModelGeometry.resolveParents
(Function<ResourceLocation, UnbakedModel> modelGetter, IGeometryBakingContext context) -
Uses of ResourceLocation in net.neoforged.neoforge.oldtest.client
Fields in net.neoforged.neoforge.oldtest.client declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
CustomArmorModelTest.EndermanArmorItem.ARMOR_TEXTURE
private final ResourceLocation
CustomSpriteSourceTest.CustomSpriteSource.id
The field for theid
record component.Methods in net.neoforged.neoforge.oldtest.client that return ResourceLocationModifier and TypeMethodDescription@Nullable ResourceLocation
CustomArmorModelTest.EndermanArmorItem.getArmorTexture
(ItemStack stack, Entity entity, EquipmentSlot slot, ArmorMaterial.Layer layer, boolean innerModel) CustomSpriteSourceTest.CustomSpriteSource.id()
Returns the value of theid
record component.Constructors in net.neoforged.neoforge.oldtest.client with parameters of type ResourceLocationModifierConstructorDescriptionCustomSpriteContents
(ResourceLocation name, FrameSize size, NativeImage image, ResourceMetadata metadata) private
Creates an instance of aCustomSpriteSource
record class.Constructor parameters in net.neoforged.neoforge.oldtest.client with type arguments of type ResourceLocationModifierConstructorDescriptionprivate
TintedArmorModel
(Function<ResourceLocation, RenderType> renderTypeFunction) -
Uses of ResourceLocation in net.neoforged.neoforge.oldtest.client.rendering
Fields in net.neoforged.neoforge.oldtest.client.rendering declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
EntityRendererEventsTest.MY_ENTITY
private static final ResourceLocation
EntityRendererEventsTest.EntityRenderEventsTestClientModStuff.MyEntityRenderer.TEXTURE
Methods in net.neoforged.neoforge.oldtest.client.rendering that return ResourceLocationModifier and TypeMethodDescriptionEntityRendererEventsTest.EntityRenderEventsTestClientModStuff.MyEntityRenderer.getTextureLocation
(EntityRendererEventsTest.MyEntity p_114482_) Methods in net.neoforged.neoforge.oldtest.client.rendering with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static RenderType
RenderableTest.Client.getRenderType
(RenderLevelStageEvent.Stage stage, ResourceLocation texture) -
Uses of ResourceLocation in net.neoforged.neoforge.oldtest.fluid
Fields in net.neoforged.neoforge.oldtest.fluid declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
NewFluidTest.FLUID_FLOWING
static final ResourceLocation
NewFluidTest.FLUID_OVERLAY
static final ResourceLocation
NewFluidTest.FLUID_STILL
-
Uses of ResourceLocation in net.neoforged.neoforge.oldtest.item
Fields in net.neoforged.neoforge.oldtest.item declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
MayFlyAttributeTest.MODIFIER_ID
private static final ResourceLocation
CustomElytraTest.CustomElytraLayer.TEXTURE_ELYTRA
Methods in net.neoforged.neoforge.oldtest.item that return ResourceLocationModifier and TypeMethodDescriptionCustomElytraTest.CustomElytraLayer.getElytraTexture
(ItemStack stack, AbstractClientPlayer entity) -
Uses of ResourceLocation in net.neoforged.neoforge.oldtest.misc
Fields in net.neoforged.neoforge.oldtest.misc declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
DataPackRegistriesTest.TEST_RL
-
Uses of ResourceLocation in net.neoforged.neoforge.oldtest.recipebook
Fields in net.neoforged.neoforge.oldtest.recipebook declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation
RecipeBookTestScreen.TEXTURE
Methods in net.neoforged.neoforge.oldtest.recipebook that return ResourceLocation -
Uses of ResourceLocation in net.neoforged.neoforge.oldtest.world
Fields in net.neoforged.neoforge.oldtest.world declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocation
StructureModifierTest.ADD_SPAWNS_TO_STRUCTURE_RL
static final ResourceLocation
StructureModifierTest.MODIFY_STRONGHOLD_RL
Fields in net.neoforged.neoforge.oldtest.world with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, Supplier<byte[]>> LoginPacketSplitTest.InMemoryResourcePack.data
Methods in net.neoforged.neoforge.oldtest.world that return ResourceLocationModifier and TypeMethodDescriptionprivate static @Nullable ResourceLocation
ChunkWatchEventTest.getDimensionName
(Level w) Methods in net.neoforged.neoforge.oldtest.world with parameters of type ResourceLocationModifier and TypeMethodDescription@Nullable IoSupplier
<InputStream> LoginPacketSplitTest.InMemoryResourcePack.getResource
(PackType type, ResourceLocation loc) void
LoginPacketSplitTest.InMemoryResourcePack.putData
(ResourceLocation path, com.google.gson.JsonObject json) void
LoginPacketSplitTest.InMemoryResourcePack.putData
(ResourceLocation path, Supplier<byte[]> data) -
Uses of ResourceLocation in net.neoforged.neoforge.registries
Fields in net.neoforged.neoforge.registries declared as ResourceLocationModifier and TypeFieldDescriptionprivate @Nullable ResourceLocation
RegistryBuilder.defaultKey
final ResourceLocation
IdMappingEvent.ModRemapping.key
final ResourceLocation
IdMappingEvent.ModRemapping.registry
Fields 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 final com.google.common.collect.ImmutableSet
<ResourceLocation> IdMappingEvent.keys
private static Set
<ResourceLocation> RegistryManager.pendingModdedRegistries
private final Map
<ResourceLocation, com.google.common.collect.ImmutableList<IdMappingEvent.ModRemapping>> IdMappingEvent.remaps
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.com.google.common.collect.ImmutableSet
<ResourceLocation> IdMappingEvent.getRegistries()
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.com.google.common.collect.ImmutableList
<IdMappingEvent.ModRemapping> IdMappingEvent.getRemaps
(ResourceLocation registry) 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
.(package private) static void
GameData.fireRemapEvent
(Map<ResourceLocation, Map<ResourceLocation, IdMappingEvent.IdRemapping>> remaps, boolean isFreezing) (package private) static void
GameData.fireRemapEvent
(Map<ResourceLocation, Map<ResourceLocation, IdMappingEvent.IdRemapping>> remaps, boolean isFreezing) <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.Constructors in net.neoforged.neoforge.registries with parameters of type ResourceLocationModifierConstructorDescriptionprivate
ModRemapping
(ResourceLocation registry, ResourceLocation key, int oldId, int newId) Constructor parameters in net.neoforged.neoforge.registries with type arguments of type ResourceLocationModifierConstructorDescriptionIdMappingEvent
(Map<ResourceLocation, Map<ResourceLocation, IdMappingEvent.IdRemapping>> remaps, boolean isFrozen) IdMappingEvent
(Map<ResourceLocation, Map<ResourceLocation, IdMappingEvent.IdRemapping>> remaps, boolean isFrozen) -
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
Methods in net.neoforged.neoforge.resource with parameters of type ResourceLocationModifier and TypeMethodDescription@Nullable IoSupplier
<InputStream> EmptyPackResources.getResource
(PackType type, ResourceLocation location) -
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 -
Uses of ResourceLocation in net.neoforged.testframework
Methods in net.neoforged.testframework that return ResourceLocation -
Uses of ResourceLocation in net.neoforged.testframework.client
Fields in net.neoforged.testframework.client declared as ResourceLocationFields in net.neoforged.testframework.client with type parameters of type ResourceLocationModifier and TypeFieldDescription(package private) static final Map
<Test.Result, ResourceLocation> TestsOverlay.ICON_BY_RESULT
Methods in net.neoforged.testframework.client with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static void
TestsOverlay.blitTiled
(GuiGraphics pose, int x, int y, int width, int height, int u, int v, int textureDrawWidth, int textureDrawHeight, int textureWidth, int textureHeight, ResourceLocation texture) private static void
TestsOverlay.renderTilledTexture
(GuiGraphics pose, ResourceLocation texture, int x, int y, int width, int height, int borderWidth, int borderHeight, int textureWidth, int textureHeight, float alpha) -
Uses of ResourceLocation in net.neoforged.testframework.conf
Fields in net.neoforged.testframework.conf declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
FrameworkConfiguration.Builder.id
private final ResourceLocation
FrameworkConfiguration.id
The field for theid
record component.Methods in net.neoforged.testframework.conf that return ResourceLocationModifier and TypeMethodDescriptionFrameworkConfiguration.id()
Returns the value of theid
record component.Methods in net.neoforged.testframework.conf with parameters of type ResourceLocationConstructors in net.neoforged.testframework.conf with parameters of type ResourceLocationModifierConstructorDescriptionFrameworkConfiguration
(ResourceLocation id, Collection<Feature> enabledFeatures, int commandRequiredPermission, List<String> enabledTests, @Nullable Supplier<ClientConfiguration> clientConfiguration, List<SummaryDumper> dumpers, MissingDescriptionAction onMissingDescription) Creates an instance of aFrameworkConfiguration
record class. -
Uses of ResourceLocation in net.neoforged.testframework.gametest
Fields in net.neoforged.testframework.gametest with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, Supplier<StructureTemplate>> DynamicStructureTemplates.templates
Methods in net.neoforged.testframework.gametest that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate Stream
<ResourceLocation> DynamicStructureTemplates.list()
Methods in net.neoforged.testframework.gametest with parameters of type ResourceLocationModifier and TypeMethodDescriptionboolean
DynamicStructureTemplates.contains
(ResourceLocation id) private Optional
<StructureTemplate> DynamicStructureTemplates.load
(ResourceLocation location) void
DynamicStructureTemplates.register
(ResourceLocation id, Supplier<StructureTemplate> template) void
DynamicStructureTemplates.register
(ResourceLocation id, StructureTemplate template) -
Uses of ResourceLocation in net.neoforged.testframework.impl
Fields in net.neoforged.testframework.impl declared as ResourceLocationMethods in net.neoforged.testframework.impl that return ResourceLocationMethods in net.neoforged.testframework.impl with parameters of type ResourceLocationModifier and TypeMethodDescriptionDefaultMarkdownFileSummaryDumper.outputPath
(ResourceLocation frameworkId) Method parameters in net.neoforged.testframework.impl with type arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic void
FrameworkCollectors.templatesWithAnnotation
(net.neoforged.fml.ModContainer container, BiConsumer<ResourceLocation, Supplier<StructureTemplate>> acceptor) This method collects structure templates based on static fields containing either aStructureTemplate
, aSupplier
of StructureTemplate or aStructureTemplateBuilder
, annotated withRegisterStructureTemplate
. -
Uses of ResourceLocation in net.neoforged.testframework.registration
Methods in net.neoforged.testframework.registration with parameters of type ResourceLocationModifier and TypeMethodDescriptionprotected <I extends Block>
DeferredBlockBuilder<I> DeferredBlocks.createHolder
(ResourceKey<? extends Registry<Block>> registryKey, ResourceLocation key) protected <I extends EntityType<?>>
DeferredEntityTypeBuilderDeferredEntityTypes.createHolder
(ResourceKey<? extends Registry<EntityType<?>>> registryKey, ResourceLocation key) protected <I extends Item>
DeferredItemBuilder<I> DeferredItems.createHolder
(ResourceKey<? extends Registry<Item>> registryKey, ResourceLocation key) Method parameters in net.neoforged.testframework.registration with type arguments of type ResourceLocationModifier and TypeMethodDescription<B extends Block>
DeferredBlockBuilder<B> DeferredBlocks.register
(String name, Function<ResourceLocation, ? extends B> func) <I extends Item>
DeferredItemBuilder<I> DeferredItems.register
(String name, Function<ResourceLocation, ? extends I> func) -
Uses of ResourceLocation in net.neoforged.testframework.summary
Fields in net.neoforged.testframework.summary declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocation
TestSummary.Builder.frameworkId
private final ResourceLocation
TestSummary.frameworkId
The field for theframeworkId
record component.Methods in net.neoforged.testframework.summary that return ResourceLocationModifier and TypeMethodDescriptionTestSummary.frameworkId()
Returns the value of theframeworkId
record component.Methods in net.neoforged.testframework.summary with parameters of type ResourceLocationModifier and TypeMethodDescriptionFileSummaryDumper.outputPath
(ResourceLocation frameworkId) GitHubActionsStepSummaryDumper.outputPath
(ResourceLocation frameworkId) JUnitSummaryDumper.outputPath
(ResourceLocation frameworkId) Constructors in net.neoforged.testframework.summary with parameters of type ResourceLocationModifierConstructorDescriptionBuilder
(ResourceLocation frameworkId, boolean isGameTestRun) TestSummary
(ResourceLocation frameworkId, boolean isGameTestRun, List<TestSummary.TestInfo> testInfos) Creates an instance of aTestSummary
record class.
CommonListenerCookie(GameProfile, WorldSessionTelemetryManager, RegistryAccess.Frozen, FeatureFlagSet, String, ServerData, Screen, Map, ChatComponent.State, boolean, Map, ServerLinks, net.neoforged.neoforge.network.connection.ConnectionType)
instead,to indicate whether the connection is modded.