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 shaderTexture, ResourceLocation textureId) static void
RenderSystem.setShaderTexture
(int shaderTexture, ResourceLocation textureId) -
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 guiGraphics, int x, int y, int mouseX, int mouseY, ResourceLocation spriteLocation, Supplier<Component> tooltipSupplier) Constructors in com.mojang.realmsclient with parameters of type ResourceLocationModifierConstructorDescriptionNotificationButton
(Component message, ResourceLocation sprite, Button.OnPress onPress) -
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 notification, RealmsText title, RealmsText message, ResourceLocation image, RealmsNotification.UrlButton urlButton) -
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 guiGraphics, int x, int y, int mouseX, int mouseY, ResourceLocation sprite, Supplier<Component> tooltipSupplier) Constructors in com.mojang.realmsclient.gui.screens with parameters of type ResourceLocationModifierConstructorDescription(package private)
FrameButton
(Font font, Component message, ResourceLocation image, Button.OnPress onPress) -
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 key, String image) RealmsTextureManager.RealmsTexture.textureId()
Returns the value of thetextureId
record component.static ResourceLocation
RealmsTextureManager.worldTemplate
(String key, String image) 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 type, ResourceLocation id) -
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 recipeId) Adds the given recipe to the rewards.Advancement.Builder.build
(ResourceLocation id) Advancement.Builder.display
(ItemStack icon, Component title, Component description, ResourceLocation background, AdvancementType type, boolean showToast, boolean announceChat, boolean hidden) Advancement.Builder.display
(ItemLike icon, Component title, Component description, ResourceLocation background, AdvancementType type, boolean showToast, boolean announceChat, boolean hidden) static AdvancementRewards.Builder
AdvancementRewards.Builder.function
(ResourceLocation functionId) AdvancementTree.get
(ResourceLocation id) Advancement.Builder.parent
(ResourceLocation parentId) Deprecated, for removal: This API element is subject to removal in a future version.static AdvancementRewards.Builder
AdvancementRewards.Builder.recipe
(ResourceLocation recipeId) Creates a new builder with the given recipe as a reward.AdvancementRewards.Builder.runs
(ResourceLocation functionId) Method parameters in net.minecraft.advancements with type arguments of type ResourceLocationModifier and TypeMethodDescriptionvoid
AdvancementTree.remove
(Set<ResourceLocation> advancements) 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 icon, Component title, Component description, Optional<ResourceLocation> background, AdvancementType type, boolean showToast, boolean announceChat, boolean hidden) -
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 recipe, boolean unlocked) PlayerPredicate.Builder.checkAdvancementCriterions
(ResourceLocation advancement, Map<String, Boolean> criterions) PlayerPredicate.Builder.checkAdvancementDone
(ResourceLocation advancement, boolean done) RecipeCraftedTrigger.TriggerInstance.craftedItem
(ResourceLocation recipeId) RecipeCraftedTrigger.TriggerInstance.craftedItem
(ResourceLocation recipeId, List<ItemPredicate.Builder> ingredients) RecipeCraftedTrigger.TriggerInstance.crafterCraftedItem
(ResourceLocation recipeId) (package private) boolean
RecipeCraftedTrigger.TriggerInstance.matches
(ResourceLocation recipeId, List<ItemStack> items) void
RecipeCraftedTrigger.trigger
(ServerPlayer player, ResourceLocation recipeId, List<ItemStack> items) RecipeUnlockedTrigger.unlocked
(ResourceLocation recipeId) 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 entityId, Vec3 pos, CompoundTag compound) Minecraft.getTextureAtlas
(ResourceLocation location) Constructors in net.minecraft.client with parameters of type ResourceLocationModifierConstructorDescriptionprivate
Icon
(ResourceLocation sprite, int width, int height) PeriodicNotificationManager
(ResourceLocation notifications, it.unimi.dsi.fastutil.objects.Object2BooleanFunction<String> selector) -
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 hardcore, boolean halfHeart, boolean blinking) Methods in net.minecraft.client.gui with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoid
GuiGraphics.blit
(ResourceLocation atlasLocation, int x, int y, float uOffset, float vOffset, int width, int height, int textureWidth, int textureHeight) 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 atlasLocation, int x, int y, int blitOffset, float uOffset, float vOffset, int uWidth, int vHeight, int textureWidth, int textureHeight) 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 atlasLocation, int x, int y, int width, int height, float uOffset, float vOffset, int uWidth, int vHeight, int textureWidth, int textureHeight) 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 atlasLocation, int x, int y, int uOffset, int vOffset, int uWidth, int vHeight) Blits a portion of the texture specified by the atlas location onto the screen at the given coordinates.(package private) void
GuiGraphics.blit
(ResourceLocation atlasLocation, int x1, int x2, int y1, int y2, int blitOffset, int uWidth, int vHeight, float uOffset, float vOffset, int textureWidth, int textureHeight) Performs the inner blit operation for rendering a texture with the specified coordinates and texture coordinates.void
GuiGraphics.blitSprite
(ResourceLocation sprite, int x, int y, int width, int height) void
GuiGraphics.blitSprite
(ResourceLocation sprite, int x, int y, int blitOffset, int width, int height) void
GuiGraphics.blitSprite
(ResourceLocation sprite, int textureWidth, int textureHeight, int uPosition, int vPosition, int x, int y, int uWidth, int vHeight) void
GuiGraphics.blitSprite
(ResourceLocation sprite, int textureWidth, int textureHeight, int uPosition, int vPosition, int x, int y, int blitOffset, int uWidth, int vHeight) (package private) FontSet
Font.getFontSet
(ResourceLocation fontLocation) GuiSpriteManager.getSprite
(ResourceLocation location) Gets a sprite associated with the passed resource location.(package private) void
GuiGraphics.innerBlit
(ResourceLocation atlasLocation, int x1, int x2, int y1, int y2, int blitOffset, float minU, float maxU, float minV, float maxV) 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 atlasLocation, int x1, int x2, int y1, int y2, int blitOffset, float minU, float maxU, float minV, float maxV, float red, float green, float blue, float alpha) Performs the inner blit operation for rendering a texture with the specified coordinates, texture coordinates, and color tint.private void
Gui.renderTextureOverlay
(GuiGraphics guiGraphics, ResourceLocation shaderLocation, float alpha) 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 full, ResourceLocation fullBlinking, ResourceLocation half, ResourceLocation halfBlinking, ResourceLocation hardcoreFull, ResourceLocation hardcoreBlinking, ResourceLocation hardcoreHalf, ResourceLocation hardcoreHalfBlinking) Constructor parameters in net.minecraft.client.gui with type arguments of type ResourceLocationModifierConstructorDescriptionFont
(Function<ResourceLocation, FontSet> fonts, boolean filterFishyGlyphs) -
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 enabled, boolean focused) 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 guiGraphics, ResourceLocation atlasLocation, int x, int y, int size) static void
PlayerFaceRenderer.draw
(GuiGraphics guiGraphics, ResourceLocation atlasLocation, int x, int y, int size, boolean p_drawHat, boolean upsideDown) private void
BossHealthOverlay.drawBar
(GuiGraphics guiGraphics, int x, int y, BossEvent bossEvent, int progress, ResourceLocation[] barProgressSprites, ResourceLocation[] overlayProgressSprites) private static void
PlayerFaceRenderer.drawHat
(GuiGraphics guiGraphics, ResourceLocation atlasLocation, int x, int y, int size, boolean upsideDown) PopupScreen.Builder.setImage
(ResourceLocation image) static ImageWidget
ImageWidget.sprite
(int width, int height, ResourceLocation sprite) SpriteIconButton.Builder.sprite
(ResourceLocation sprite, int spriteWidth, int spriteHeight) static ImageWidget
ImageWidget.texture
(int width, int height, ResourceLocation texture, int textureWidth, int textureHeight) 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 sprite) (package private)
PopupScreen
(Screen backgroundScreen, int width, ResourceLocation image, Component title, Component message, List<PopupScreen.ButtonOption> buttons, Runnable onClose) Sprite
(int x, int y, int width, int height, ResourceLocation sprite) (package private)
SpriteIconButton
(int width, int height, Component message, int spriteWidth, int spriteHeight, ResourceLocation sprite, Button.OnPress onPress, Button.CreateNarration createNarration) 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 x, int y, int width, int height, ResourceLocation texture, int textureWidth, int textureHeight) 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> unresolvedBuilderBundles) 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 id) static GlyphRenderTypes
GlyphRenderTypes.createForIntensityTexture
(ResourceLocation id) void
FontTexture.dumpContents
(ResourceLocation resourceLocation, Path path) private FontSet
FontManager.getFontSetCached
(ResourceLocation fontSet) private FontSet
FontManager.getFontSetRaw
(ResourceLocation fontSet) private static List
<com.mojang.datafixers.util.Pair<FontManager.BuilderId, GlyphProviderDefinition.Conditional>> FontManager.loadResourceStack
(List<Resource> resources, ResourceLocation fontId) Method parameters in net.minecraft.client.gui.font with type arguments of type ResourceLocationModifier and TypeMethodDescriptionFontManager.BuilderResult.resolve
(Function<ResourceLocation, List<GlyphProvider.Conditional>> providerResolver) FontManager.UnresolvedBuilderBundle.resolve
(Function<ResourceLocation, List<GlyphProvider.Conditional>> providerResolver) void
FontManager.UnresolvedBuilderBundle.visitOptionalDependencies
(Consumer<ResourceLocation> visitor) void
FontManager.UnresolvedBuilderBundle.visitRequiredDependencies
(Consumer<ResourceLocation> visitor) 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 textureManager, ResourceLocation name) 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 hexFile, List<UnihexProvider.OverrideRange> sizeOverrides) 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 guiGraphics, ResourceLocation texture, int x, int y, float uOffset, float vOffset, int width, int height) private void
WinScreen.wrapCreditsIO
(ResourceLocation location, WinScreen.CreditsReader p_reader) Constructors in net.minecraft.client.gui.screens with parameters of type ResourceLocationModifierConstructorDescriptionprivate
FaviconTexture
(TextureManager textureManager, ResourceLocation textureLocation) -
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> stat) 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 type) 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 boxSprite, ResourceLocation taskFrameSprite, ResourceLocation challengeFrameSprite, ResourceLocation goalFrameSprite) (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 slot, ResourceLocation icon, float alpha, GuiGraphics guiGraphics, int x, int y) 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 menu, AbstractFurnaceRecipeBookComponent recipeBookComponent, Inventory playerInventory, Component title, ResourceLocation texture, ResourceLocation listProgressSprite, ResourceLocation burnProgressSprite) protected
BeaconSpriteScreenButton
(int x, int y, ResourceLocation sprite, Component message) ItemCombinerScreen
(T menu, Inventory playerInventory, Component title, ResourceLocation menuResource) -
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 guiGraphics, int x, int y, ResourceLocation icon) -
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 pack) private ResourceLocation
PackSelectionScreen.loadPackIcon
(TextureManager textureManager, Pack pack) Constructor parameters in net.minecraft.client.gui.screens.packs with type arguments of type ResourceLocationModifierConstructorDescriptionPackSelectionModel
(Runnable onListChanged, Function<Pack, ResourceLocation> iconGetter, PackRepository repository, Consumer<PackRepository> output) -
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 location) Constructor parameters in net.minecraft.client.model with type arguments of type ResourceLocationModifierConstructorDescriptionAgeableHierarchicalModel
(float youngScaleFactor, float bodyYOffset, Function<ResourceLocation, RenderType> renderType) protected
AgeableListModel
(Function<ResourceLocation, RenderType> renderType, boolean scaleHead, float babyYHeadOffset, float babyZHeadOffset, float babyHeadScale, float babyBodyScale, float bodyYOffset) protected
EntityModel
(Function<ResourceLocation, RenderType> renderType) HierarchicalModel
(Function<ResourceLocation, RenderType> renderType) HumanoidModel
(ModelPart root, Function<ResourceLocation, RenderType> renderType) ListModel
(Function<ResourceLocation, RenderType> p_103011_) Model
(Function<ResourceLocation, RenderType> renderType) -
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 registryName, Resource resource) Methods in net.minecraft.client.particle with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate Optional
<List<ResourceLocation>> ParticleEngine.loadParticleDescription
(ResourceLocation registryName, Resource resource) 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 texture, boolean blur, boolean mipmap) static RenderType
RenderType.armorCutoutNoCull
(ResourceLocation location) static RenderType
RenderType.beaconBeam
(ResourceLocation location, boolean colorFlag) static RenderType
RenderType.breezeEyes
(ResourceLocation location) static RenderType
RenderType.breezeWind
(ResourceLocation location, float u, float v) private static RenderType.CompositeRenderType
RenderType.createArmorCutoutNoCull
(String name, ResourceLocation id, boolean equalDepthTest) static RenderType
RenderType.createArmorDecalCutoutNoCull
(ResourceLocation id) private static Material
Sheets.createDecoratedPotMaterial
(ResourceLocation assetId) static RenderType
RenderType.crumbling
(ResourceLocation location) static RenderType
RenderType.dragonExplosionAlpha
(ResourceLocation id) static RenderType
RenderType.energySwirl
(ResourceLocation location, float u, float v) static RenderType
RenderType.entityCutout
(ResourceLocation location) static RenderType
RenderType.entityCutoutNoCull
(ResourceLocation location) static RenderType
RenderType.entityCutoutNoCull
(ResourceLocation location, boolean outline) static RenderType
RenderType.entityCutoutNoCullZOffset
(ResourceLocation location) static RenderType
RenderType.entityCutoutNoCullZOffset
(ResourceLocation location, boolean outline) static RenderType
RenderType.entityDecal
(ResourceLocation location) static RenderType
RenderType.entityNoOutline
(ResourceLocation location) static RenderType
RenderType.entityShadow
(ResourceLocation location) static RenderType
RenderType.entitySmoothCutout
(ResourceLocation location) static RenderType
RenderType.entitySolid
(ResourceLocation location) static RenderType
RenderType.entityTranslucent
(ResourceLocation location) static RenderType
RenderType.entityTranslucent
(ResourceLocation location, boolean outline) static RenderType
RenderType.entityTranslucentCull
(ResourceLocation location) static RenderType
RenderType.entityTranslucentEmissive
(ResourceLocation location) static RenderType
RenderType.entityTranslucentEmissive
(ResourceLocation location, boolean outline) static RenderType
RenderType.eyes
(ResourceLocation location) GameRenderer.ResourceCache.getResource
(ResourceLocation p_251007_) static RenderType
RenderType.itemEntityTranslucentCull
(ResourceLocation location) private void
PostChain.load
(TextureManager textureManager, ResourceLocation resourceLocation) void
GameRenderer.loadEffect
(ResourceLocation resourceLocation) static RenderType
RenderType.outline
(ResourceLocation location) static void
ScreenEffectRenderer.renderFluid
(Minecraft p_110726_, PoseStack p_110727_, ResourceLocation texture) static RenderType
RenderType.text
(ResourceLocation location) static RenderType
RenderType.textIntensity
(ResourceLocation id) static RenderType
RenderType.textIntensityPolygonOffset
(ResourceLocation id) static RenderType
RenderType.textIntensitySeeThrough
(ResourceLocation id) static RenderType
RenderType.textPolygonOffset
(ResourceLocation id) static RenderType
RenderType.textSeeThrough
(ResourceLocation location) Constructors in net.minecraft.client.renderer with parameters of type ResourceLocationModifierConstructorDescriptionCubeMap
(ResourceLocation baseImageLocation) PostChain
(TextureManager textureManager, ResourceProvider resourceProvider, RenderTarget screenTarget, ResourceLocation resourceLocation) ShaderInstance
(ResourceProvider p_173336_, ResourceLocation shaderLocation, VertexFormat p_173338_) TextureStateShard
(ResourceLocation texture, boolean blur, boolean mipmap) 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>> textures) 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 location, BlockState state) -
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 json) 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 location, String name) Method parameters in net.minecraft.client.renderer.block.model with type arguments of type ResourceLocationModifier and TypeMethodDescriptionvoid
BlockModel.resolveParents
(Function<ResourceLocation, UnbakedModel> resolver) void
MultiVariant.resolveParents
(Function<ResourceLocation, UnbakedModel> resolver) Constructors in net.minecraft.client.renderer.block.model with parameters of type ResourceLocationModifierConstructorDescriptionBlockModel
(ResourceLocation parentLocation, List<BlockElement> elements, Map<String, com.mojang.datafixers.util.Either<Material, String>> textureMap, Boolean hasAmbientOcclusion, BlockModel.GuiLight guiLight, ItemTransforms transforms, List<ItemOverride> overrides) ItemOverride
(ResourceLocation model, List<ItemOverride.Predicate> predicates) Predicate
(ResourceLocation property, float value) Variant
(ResourceLocation modelLocation, Transformation rotation, boolean uvLock, int weight) -
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> resolver) -
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 poseStack, MultiBufferSource bufferSource, ResourceLocation beamLocation, float partialTick, float textureScale, long gameTime, int yOffset, int height, int color, float beamRadius, float glowRadius) -
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 entity) Returns the location of an entity's texture.AllayRenderer.getTextureLocation
(Allay p_234558_) ArmadilloRenderer.getTextureLocation
(Armadillo p_316224_) ArmorStandRenderer.getTextureLocation
(ArmorStand entity) Returns the location of an entity's texture.AxolotlRenderer.getTextureLocation
(Axolotl p_173925_) BatRenderer.getTextureLocation
(Bat entity) Returns the location of an entity's texture.BeeRenderer.getTextureLocation
(Bee entity) Returns the location of an entity's texture.BlazeRenderer.getTextureLocation
(Blaze entity) Returns the location of an entity's texture.BoatRenderer.getTextureLocation
(Boat entity) Deprecated.private static ResourceLocation
BoatRenderer.getTextureLocation
(Boat.Type type, boolean chestBoat) BoggedRenderer.getTextureLocation
(Bogged p_331017_) BreezeRenderer.getTextureLocation
(Breeze entity) Returns the location of an entity's texture.CamelRenderer.getTextureLocation
(Camel entity) Returns the location of an entity's texture.CatRenderer.getTextureLocation
(Cat entity) Returns the location of an entity's texture.CaveSpiderRenderer.getTextureLocation
(CaveSpider entity) Returns the location of an entity's texture.ChestedHorseRenderer.getTextureLocation
(T entity) Returns the location of an entity's texture.ChickenRenderer.getTextureLocation
(Chicken entity) Returns the location of an entity's texture.CodRenderer.getTextureLocation
(Cod entity) Returns the location of an entity's texture.CowRenderer.getTextureLocation
(Cow entity) Returns the location of an entity's texture.CreeperRenderer.getTextureLocation
(Creeper entity) Returns the location of an entity's texture.DisplayRenderer.getTextureLocation
(T entity) Returns the location of an entity's texture.DolphinRenderer.getTextureLocation
(Dolphin entity) Returns the location of an entity's texture.DragonFireballRenderer.getTextureLocation
(DragonFireball entity) Returns the location of an entity's texture.DrownedRenderer.getTextureLocation
(Zombie entity) Returns the location of an entity's texture.ElderGuardianRenderer.getTextureLocation
(Guardian entity) Returns the location of an entity's texture.EndCrystalRenderer.getTextureLocation
(EndCrystal entity) Returns the location of an entity's texture.EnderDragonRenderer.getTextureLocation
(EnderDragon entity) Returns the location of an entity's texture.EndermanRenderer.getTextureLocation
(EnderMan entity) Returns the location of an entity's texture.EndermiteRenderer.getTextureLocation
(Endermite entity) Returns the location of an entity's texture.abstract ResourceLocation
EntityRenderer.getTextureLocation
(T entity) Returns the location of an entity's texture.EvokerFangsRenderer.getTextureLocation
(EvokerFangs entity) Returns the location of an entity's texture.EvokerRenderer.getTextureLocation
(T entity) Returns the location of an entity's texture.ExperienceOrbRenderer.getTextureLocation
(ExperienceOrb entity) Returns the location of an entity's texture.FallingBlockRenderer.getTextureLocation
(FallingBlockEntity entity) Returns the location of an entity's texture.FireworkEntityRenderer.getTextureLocation
(FireworkRocketEntity entity) Returns the location of an entity's texture.FishingHookRenderer.getTextureLocation
(FishingHook entity) Returns the location of an entity's texture.FoxRenderer.getTextureLocation
(Fox entity) Returns the location of an entity's texture.FrogRenderer.getTextureLocation
(Frog p_234623_) GhastRenderer.getTextureLocation
(Ghast entity) Returns the location of an entity's texture.GiantMobRenderer.getTextureLocation
(Giant entity) Returns the location of an entity's texture.GlowSquidRenderer.getTextureLocation
(GlowSquid p_174144_) GoatRenderer.getTextureLocation
(Goat p_174157_) GuardianRenderer.getTextureLocation
(Guardian entity) Returns the location of an entity's texture.HoglinRenderer.getTextureLocation
(Hoglin entity) Returns the location of an entity's texture.HorseRenderer.getTextureLocation
(Horse entity) Returns the location of an entity's texture.HuskRenderer.getTextureLocation
(Zombie entity) Returns the location of an entity's texture.IllusionerRenderer.getTextureLocation
(Illusioner entity) Returns the location of an entity's texture.IronGolemRenderer.getTextureLocation
(IronGolem entity) Returns the location of an entity's texture.ItemEntityRenderer.getTextureLocation
(ItemEntity entity) Returns the location of an entity's texture.ItemFrameRenderer.getTextureLocation
(T entity) Returns the location of an entity's texture.LeashKnotRenderer.getTextureLocation
(LeashFenceKnotEntity entity) Returns the location of an entity's texture.LightningBoltRenderer.getTextureLocation
(LightningBolt entity) Returns the location of an entity's texture.LlamaRenderer.getTextureLocation
(Llama entity) Returns the location of an entity's texture.LlamaSpitRenderer.getTextureLocation
(LlamaSpit entity) Returns the location of an entity's texture.MagmaCubeRenderer.getTextureLocation
(MagmaCube entity) Returns the location of an entity's texture.MinecartRenderer.getTextureLocation
(T entity) Returns the location of an entity's texture.MushroomCowRenderer.getTextureLocation
(MushroomCow entity) Returns the location of an entity's texture.NoopRenderer.getTextureLocation
(T p_174328_) OcelotRenderer.getTextureLocation
(Ocelot entity) Returns the location of an entity's texture.OminousItemSpawnerRenderer.getTextureLocation
(OminousItemSpawner p_338515_) PaintingRenderer.getTextureLocation
(Painting entity) Returns the location of an entity's texture.PandaRenderer.getTextureLocation
(Panda entity) Returns the location of an entity's texture.ParrotRenderer.getTextureLocation
(Parrot entity) Returns the location of an entity's texture.PhantomRenderer.getTextureLocation
(Phantom entity) Returns the location of an entity's texture.PiglinRenderer.getTextureLocation
(Mob entity) Returns the location of an entity's texture.PigRenderer.getTextureLocation
(Pig entity) Returns the location of an entity's texture.PillagerRenderer.getTextureLocation
(Pillager entity) Returns the location of an entity's texture.PolarBearRenderer.getTextureLocation
(PolarBear entity) Returns the location of an entity's texture.PufferfishRenderer.getTextureLocation
(Pufferfish entity) Returns the location of an entity's texture.RabbitRenderer.getTextureLocation
(Rabbit entity) Returns the location of an entity's texture.RavagerRenderer.getTextureLocation
(Ravager entity) Returns the location of an entity's texture.RenderLayerParent.getTextureLocation
(T entity) Returns the location of an entity's texture.SalmonRenderer.getTextureLocation
(Salmon entity) Returns the location of an entity's texture.SheepRenderer.getTextureLocation
(Sheep entity) Returns the location of an entity's texture.ShulkerBulletRenderer.getTextureLocation
(ShulkerBullet entity) Returns the location of an entity's texture.ShulkerRenderer.getTextureLocation
(Shulker entity) Returns the location of an entity's texture.static ResourceLocation
ShulkerRenderer.getTextureLocation
(DyeColor color) SilverfishRenderer.getTextureLocation
(Silverfish entity) Returns the location of an entity's texture.SkeletonRenderer.getTextureLocation
(T entity) Returns the location of an entity's texture.SlimeRenderer.getTextureLocation
(Slime entity) Returns the location of an entity's texture.SnifferRenderer.getTextureLocation
(Sniffer p_273552_) SnowGolemRenderer.getTextureLocation
(SnowGolem entity) Returns the location of an entity's texture.SpectralArrowRenderer.getTextureLocation
(SpectralArrow entity) Returns the location of an entity's texture.SpiderRenderer.getTextureLocation
(T entity) Returns the location of an entity's texture.SquidRenderer.getTextureLocation
(T entity) Returns the location of an entity's texture.StrayRenderer.getTextureLocation
(Stray entity) Returns the location of an entity's texture.StriderRenderer.getTextureLocation
(Strider entity) Returns the location of an entity's texture.TadpoleRenderer.getTextureLocation
(Tadpole p_234659_) ThrownItemRenderer.getTextureLocation
(Entity entity) Returns the location of an entity's texture.ThrownTridentRenderer.getTextureLocation
(ThrownTrident entity) Returns the location of an entity's texture.TippableArrowRenderer.getTextureLocation
(Arrow entity) Returns the location of an entity's texture.TntRenderer.getTextureLocation
(PrimedTnt entity) Returns the location of an entity's texture.TropicalFishRenderer.getTextureLocation
(TropicalFish entity) Returns the location of an entity's texture.TurtleRenderer.getTextureLocation
(Turtle entity) Returns the location of an entity's texture.UndeadHorseRenderer.getTextureLocation
(AbstractHorse entity) Returns the location of an entity's texture.VexRenderer.getTextureLocation
(Vex entity) Returns the location of an entity's texture.VillagerRenderer.getTextureLocation
(Villager entity) Returns the location of an entity's texture.VindicatorRenderer.getTextureLocation
(Vindicator entity) Returns the location of an entity's texture.WanderingTraderRenderer.getTextureLocation
(WanderingTrader entity) Returns the location of an entity's texture.WardenRenderer.getTextureLocation
(Warden p_234791_) WindChargeRenderer.getTextureLocation
(AbstractWindCharge entity) Returns the location of an entity's texture.WitchRenderer.getTextureLocation
(Witch entity) Returns the location of an entity's texture.WitherBossRenderer.getTextureLocation
(WitherBoss entity) Returns the location of an entity's texture.WitherSkeletonRenderer.getTextureLocation
(WitherSkeleton entity) Returns the location of an entity's texture.WitherSkullRenderer.getTextureLocation
(WitherSkull entity) Returns the location of an entity's texture.WolfRenderer.getTextureLocation
(Wolf entity) Returns the location of an entity's texture.ZoglinRenderer.getTextureLocation
(Zoglin entity) Returns the location of an entity's texture.ZombieVillagerRenderer.getTextureLocation
(ZombieVillager entity) Returns the location of an entity's texture.static ResourceLocation
ParrotRenderer.getVariantTexture
(Parrot.Variant variant) 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 folder, ResourceLocation location) protected ResourceLocation
CreeperPowerLayer.getTextureLocation()
protected abstract ResourceLocation
EnergySwirlLayer.getTextureLocation()
protected ResourceLocation
RenderLayer.getTextureLocation
(T entity) 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> modelParent, EntityModel<T> model, ResourceLocation textureLocation, PoseStack poseStack, MultiBufferSource buffer, int packedLight, T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float partialTick, int color) private ResourceLocation
VillagerProfessionLayer.getResourceLocation
(String folder, ResourceLocation location) protected static <T extends LivingEntity>
voidRenderLayer.renderColoredCutoutModel
(EntityModel<T> model, ResourceLocation textureLocation, PoseStack poseStack, MultiBufferSource buffer, int packedLight, T entity, int color) private void
HumanoidArmorLayer.renderModel
(PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, A model, int dyeColor, ResourceLocation textureLocation) 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> renderer, M model, ResourceLocation textureLocation) SkeletonClothingLayer
(RenderLayerParent<T, M> renderer, EntityModelSet models, ModelLayerLocation modelLayerLocation, ResourceLocation clothesLocation) WardenEmissiveLayer
(RenderLayerParent<T, M> renderer, ResourceLocation texture, WardenEmissiveLayer.AlphaFunction<T> alphaFunction, WardenEmissiveLayer.DrawSelector<T, M> drawSelector) -
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 entity) 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 stack, ResourceLocation location) private static void
ItemProperties.register
(Item item, ResourceLocation name, ClampedItemPropertyFunction property) static void
ItemProperties.register
(Item p_174571_, ResourceLocation p_174572_, ItemPropertyFunction p_174573_) private static ClampedItemPropertyFunction
ItemProperties.registerGeneric
(ResourceLocation name, ClampedItemPropertyFunction property) 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 name, DynamicTexture texture) Methods in net.minecraft.client.renderer.texture that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate Map
<ResourceLocation, TextureAtlasSprite> SpriteLoader.getStitchedSprites
(Stitcher<SpriteContents> stitcher, int x, int y) 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 path) void
TextureManager.bindForSetup
(ResourceLocation path) void
Dumpable.dumpContents
(ResourceLocation resourceLocation, Path path) void
DynamicTexture.dumpContents
(ResourceLocation resourceLocation, Path p_path) void
TextureAtlas.dumpContents
(ResourceLocation resourceLocation, Path path) TextureAtlas.getSprite
(ResourceLocation name) TextureManager.getTexture
(ResourceLocation path) TextureManager.getTexture
(ResourceLocation path, AbstractTexture defaultTexture) static SimpleTexture.TextureImage
SimpleTexture.TextureImage.load
(ResourceManager resourceManager, ResourceLocation location) SpriteLoader.loadAndStitch
(ResourceManager resouceManager, ResourceLocation location, int mipLevel, Executor executor) SpriteLoader.loadAndStitch
(ResourceManager resourceManager, ResourceLocation location, int mipLevel, Executor executor, Collection<MetadataSectionSerializer<?>> sectionSerializers) private AbstractTexture
TextureManager.loadTexture
(ResourceLocation path, AbstractTexture texture) TextureManager.preload
(ResourceLocation path, Executor backgroundExecutor) void
TextureManager.register
(ResourceLocation path, AbstractTexture texture) void
TextureManager.release
(ResourceLocation path) void
AbstractTexture.reset
(TextureManager textureManager, ResourceManager resourceManager, ResourceLocation path, Executor executor) void
PreloadedTexture.reset
(TextureManager textureManager, ResourceManager resourceManager, ResourceLocation resourceLocation, Executor p_executor) private void
TextureManager.safeClose
(ResourceLocation path, AbstractTexture texture) Method parameters in net.minecraft.client.renderer.texture with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static void
TextureAtlas.dumpSpriteNames
(Path outputDir, String outputFilename, Map<ResourceLocation, TextureAtlasSprite> sprites) Constructors in net.minecraft.client.renderer.texture with parameters of type ResourceLocationModifierConstructorDescriptionHttpTexture
(File file, String urlString, ResourceLocation location, boolean processLegacySkin, Runnable onDownloaded) PreloadedTexture
(ResourceManager resourceManager, ResourceLocation location, Executor backgroundExecutor) SimpleTexture
(ResourceLocation location) SpriteContents
(ResourceLocation name, FrameSize frameSize, NativeImage originalImage, ResourceMetadata metadata) SpriteLoader
(ResourceLocation location, int maxSupportedTextureSize, int minWidth, int minHeight) TextureAtlas
(ResourceLocation location) protected
TextureAtlasSprite
(ResourceLocation atlasLocation, SpriteContents contents, int originX, int originY, int x, int y) 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 location, SpriteSource.SpriteSupplier sprite) default void
SpriteSource.Output.add
(ResourceLocation location, Resource resource) static SpriteSourceList
SpriteSourceList.load
(ResourceManager resourceManager, ResourceLocation sprite) default SpriteContents
SpriteResourceLoader.loadSprite
(ResourceLocation location, Resource resource) SpriteResourceLoader.loadSprite
(ResourceLocation location, Resource resource, SpriteContentsConstructor constructor) Method parameters in net.minecraft.client.renderer.texture.atlas with type arguments of type ResourceLocationModifier and TypeMethodDescriptionvoid
SpriteSource.Output.removeAll
(Predicate<ResourceLocation> predicate) -
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 resourceMananger, ResourceLocation palette) Constructors in net.minecraft.client.renderer.texture.atlas.sources with parameters of type ResourceLocationModifierConstructorDescriptionLazyLoadedImage
(ResourceLocation id, Resource resource, int referenceCount) PalettedPermutations
(List<ResourceLocation> textures, ResourceLocation paletteKey, Map<String, ResourceLocation> permutations) 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 resourceId, Optional<ResourceLocation> spriteId) Unstitcher
(ResourceLocation resource, List<Unstitcher.Region> regions, double xDivisor, double yDivisor) Constructor parameters in net.minecraft.client.renderer.texture.atlas.sources with type arguments of type ResourceLocationModifierConstructorDescriptionPalettedPermutations
(List<ResourceLocation> textures, ResourceLocation paletteKey, Map<String, ResourceLocation> permutations) PalettedPermutations
(List<ResourceLocation> textures, ResourceLocation paletteKey, Map<String, ResourceLocation> permutations) SingleFile
(ResourceLocation resourceId, Optional<ResourceLocation> spriteId) -
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 name) 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 texture) private CompletableFuture
<ResourceLocation> SkinManager.TextureCache.registerTexture
(com.mojang.authlib.minecraft.MinecraftProfileTexture texture) Methods in net.minecraft.client.resources with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic int[]
LegacyStuffWrapper.getPixels
(ResourceManager manager, ResourceLocation location) Deprecated.protected TextureAtlasSprite
TextureAtlasHolder.getSprite
(ResourceLocation location) 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 textureManager, ResourceLocation textureAtlasLocation, ResourceLocation atlasInfoLocation) TextureAtlasHolder
(TextureManager textureManager, ResourceLocation textureAtlasLocation, ResourceLocation atlasInfoLocation, Set<MetadataSectionSerializer<?>> metadataSections) -
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 resourceManager, Executor executor) private static CompletableFuture
<Map<ResourceLocation, List<BlockStateModelLoader.LoadedJson>>> ModelManager.loadBlockStates
(ResourceManager resourceManager, Executor executor) AtlasSet.scheduleLoad
(ResourceManager resourceManager, int mipLevel, Executor executor) Methods in net.minecraft.client.resources.model with parameters of type ResourceLocationModifier and TypeMethodDescriptionModelBaker.bake
(ResourceLocation location, ModelState transform) Deprecated.ModelBakery.ModelBakerImpl.bake
(ResourceLocation location, ModelState transform) ModelBakery.ModelBakerImpl.bake
(ResourceLocation location, ModelState transform, Function<Material, TextureAtlasSprite> sprites) AtlasSet.getAtlas
(ResourceLocation location) ModelManager.getAtlas
(ResourceLocation location) ModelBaker.getModel
(ResourceLocation location) (package private) UnbakedModel
ModelBakery.getModel
(ResourceLocation modelLocation) ModelBakery.ModelBakerImpl.getModel
(ResourceLocation location) AtlasSet.StitchResult.getSprite
(ResourceLocation location) static ModelResourceLocation
ModelResourceLocation.inventory
(ResourceLocation id) private BlockModel
ModelBakery.loadBlockModel
(ResourceLocation location) private void
BlockStateModelLoader.loadBlockStateDefinitions
(ResourceLocation blockStateId, StateDefinition<Block, BlockState> stateDefenition) private void
ModelBakery.loadItemModelAndDependencies
(ResourceLocation modelLocation) (package private) BlockModelDefinition
BlockStateModelLoader.LoadedJson.parse
(ResourceLocation blockStateId, BlockModelDefinition.Context context) 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 buffer, Function<ResourceLocation, RenderType> renderTypeGetter) Material.buffer
(MultiBufferSource buffer, Function<ResourceLocation, RenderType> renderTypeGetter, boolean withGlint) private ModelManager.ReloadState
ModelManager.loadModels
(ProfilerFiller profilerFiller, Map<ResourceLocation, AtlasSet.StitchResult> atlasPreparations, ModelBakery modelBakery) Material.renderType
(Function<ResourceLocation, RenderType> renderTypeGetter) void
UnbakedModel.resolveParents
(Function<ResourceLocation, UnbakedModel> resolver) 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 atlasLocation, ResourceLocation texture) 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> atlasMap, TextureManager textureManager) AtlasSet
(Map<ResourceLocation, ResourceLocation> atlasMap, TextureManager textureManager) BlockStateModelLoader
(Map<ResourceLocation, List<BlockStateModelLoader.LoadedJson>> blockStateResources, ProfilerFiller profiler, UnbakedModel missingModel, BlockColors blockColors, BiConsumer<ModelResourceLocation, UnbakedModel> discoveredModelOutput) ModelBakery
(BlockColors blockColors, ProfilerFiller profilerFiller, Map<ResourceLocation, BlockModel> modelResources, Map<ResourceLocation, List<BlockStateModelLoader.LoadedJson>> blockStateResources) -
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 location, SoundSource source, RandomSource random) SimpleSoundInstance
(ResourceLocation location, SoundSource source, float volume, float pitch, RandomSource random, boolean looping, int delay, SoundInstance.Attenuation attenuation, double x, double y, double z, boolean relative) Sound
(ResourceLocation location, SampledFloat volume, SampledFloat pitch, int weight, Sound.Type type, boolean stream, boolean preload, int attenuationDistance) -
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> contents, Function<T, Stream<ResourceLocation>> idGetter) Constructor parameters in net.minecraft.client.searchtree with type arguments of type ResourceLocationModifierConstructorDescriptionIdSearchTree
(Function<T, Stream<ResourceLocation>> idGetter, List<T> contents) -
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 soundID) Returns Returns a CompletableFuture containing the complete SoundBuffer. The SoundBuffer is loaded asynchronously and cached..SoundManager.getSoundEvent
(ResourceLocation location) Returns The sound event associated with the specific ResourceLocation, ornull
if not found.SoundBufferLibrary.getStream
(ResourceLocation resourceLocation, boolean isWrapper) Returns Returns a CompletableFuture containing the AudioStream. The AudioStream is loaded asynchronously..(package private) void
SoundManager.Preparations.handleRegistration
(ResourceLocation location, SoundEventRegistration registration) void
SoundEngine.stop
(ResourceLocation soundName, SoundSource category) void
SoundManager.stop
(ResourceLocation id, SoundSource category) Stops all sounds associated with the specified ID and category.(package private) static boolean
SoundManager.validateSoundResource
(Sound sound, ResourceLocation location, ResourceProvider resourceProvider) Validates a sound resourceMethod parameters in net.minecraft.client.sounds with type arguments of type ResourceLocationModifier and TypeMethodDescriptionvoid
SoundManager.Preparations.apply
(Map<ResourceLocation, WeighedSoundEvents> soundRegistry, Map<ResourceLocation, Resource> cache, SoundEngine soundEngine) Applies the prepared sound event registrations and caches to the sound manager.Constructors in net.minecraft.client.sounds with parameters of type ResourceLocation -
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> resources, String remaining, String prefix, Function<T, ResourceLocation> locationFunction, Consumer<T> resourceConsumer) static <T> void
SharedSuggestionProvider.filterResources
(Iterable<T> resources, String input, Function<T, ResourceLocation> locationFunction, Consumer<T> resourceConsumer) static CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestResource
(Iterable<ResourceLocation> resources, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) static CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestResource
(Iterable<ResourceLocation> resources, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, String prefix) static <T> CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestResource
(Iterable<T> resources, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Function<T, ResourceLocation> locationFunction, Function<T, com.mojang.brigadier.Message> suggestionFunction) static CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestResource
(Stream<ResourceLocation> resourceLocations, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) static CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestResource
(Stream<ResourceLocation> resources, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, String prefix) static <T> CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestResource
(Stream<T> resources, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Function<T, ResourceLocation> locationFunction, Function<T, com.mojang.brigadier.Message> suggestionFunction) 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> context, String name) DimensionArgument.parse
(com.mojang.brigadier.StringReader reader) ResourceLocationArgument.parse
(com.mojang.brigadier.StringReader reader) -
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> context, String name) 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> context, String name) 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> context) com.mojang.datafixers.util.Pair
<ResourceLocation, Collection<CommandFunction<CommandSourceStack>>> FunctionArgument.Result.unwrapToCollection
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) Methods in net.minecraft.commands.arguments.item with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic <T> ItemPredicateArgument.ComponentWrapper
ItemPredicateArgument.ComponentWrapper.create
(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation id, DataComponentType<T> componentType) ComponentPredicateParser.Context.forElementType
(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation elementType) ItemPredicateArgument.Context.forElementType
(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation elementType) ComponentPredicateParser.Context.forTagType
(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation tagType) ItemPredicateArgument.Context.forTagType
(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation tagType) (package private) static CommandFunction
<CommandSourceStack> FunctionArgument.getFunction
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, ResourceLocation id) (package private) static Collection
<CommandFunction<CommandSourceStack>> FunctionArgument.getFunctionTag
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, ResourceLocation id) ComponentPredicateParser.Context.lookupComponentType
(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation componentType) ItemPredicateArgument.Context.lookupComponentType
(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation componentType) ComponentPredicateParser.Context.lookupPredicateType
(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation predicateType) ItemPredicateArgument.Context.lookupPredicateType
(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation predicateType) protected C
ComponentPredicateParser.ComponentLookupRule.validateElement
(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation elementType) protected T
ComponentPredicateParser.ElementLookupRule.validateElement
(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation elementType) protected P
ComponentPredicateParser.PredicateLookupRule.validateElement
(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation elementType) protected T
ComponentPredicateParser.TagLookupRule.validateElement
(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation elementType) 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> idParser, ComponentPredicateParser.Context<T, C, P> context) (package private)
ElementLookupRule
(Atom<ResourceLocation> idParser, ComponentPredicateParser.Context<T, C, P> context) (package private)
PredicateLookupRule
(Atom<ResourceLocation> idParser, ComponentPredicateParser.Context<T, C, P> context) (package private)
TagLookupRule
(Atom<ResourceLocation> idParser, ComponentPredicateParser.Context<T, C, P> context) -
Uses of ResourceLocation in net.minecraft.commands.execution
Methods in net.minecraft.commands.execution with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoid
TraceCallbacks.onCall
(int depth, ResourceLocation function, int commands) -
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 id) static <T extends ExecutionCommandSource<T>>
CommandFunction<T> CommandFunction.fromLines
(ResourceLocation id, com.mojang.brigadier.CommandDispatcher<T> dispatcher, T source, List<String> lines) MacroFunction.Entry.instantiate
(List<String> arguments, com.mojang.brigadier.CommandDispatcher<T> dispatcher, ResourceLocation function) MacroFunction.MacroEntry.instantiate
(List<String> arguments, com.mojang.brigadier.CommandDispatcher<T> dispatcher, ResourceLocation function) MacroFunction.PlainTextEntry.instantiate
(List<String> arguments, com.mojang.brigadier.CommandDispatcher<T> dispatcher, ResourceLocation function) Constructors in net.minecraft.commands.functions with parameters of type ResourceLocationModifierConstructorDescriptionMacroFunction
(ResourceLocation id, List<MacroFunction.Entry<T>> entries, List<String> parameters) 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> provider) Gets the ID for the given provider.Methods in net.minecraft.commands.synchronization with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic com.mojang.brigadier.suggestion.SuggestionProvider
<SharedSuggestionProvider> SuggestionProviders.getProvider
(ResourceLocation name) static <S extends SharedSuggestionProvider>
com.mojang.brigadier.suggestion.SuggestionProvider<S> SuggestionProviders.register
(ResourceLocation name, com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> provider) Constructors in net.minecraft.commands.synchronization with parameters of type ResourceLocationModifierConstructorDescriptionWrapper
(ResourceLocation name, com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> delegate) -
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 name) boolean
Registry.containsKey
(ResourceLocation name) DefaultedMappedRegistry.get
(ResourceLocation name) DefaultedRegistry.get
(ResourceLocation p_122328_) MappedRegistry.get
(ResourceLocation name) Registry.get
(ResourceLocation name) MappedRegistry.getHolder
(ResourceLocation location) Registry.getHolder
(ResourceLocation location) int
MappedRegistry.getId
(ResourceLocation name) DefaultedMappedRegistry.getOptional
(ResourceLocation name) Registry.getOptional
(ResourceLocation name) boolean
Holder.Direct.is
(ResourceLocation p_205727_) boolean
Holder.is
(ResourceLocation location) boolean
Holder.Reference.is
(ResourceLocation location) static <V,
T extends V>
TRegistry.register
(Registry<V> registry, ResourceLocation name, T value) static <T> Holder.Reference
<T> Registry.registerForHolder
(Registry<T> registry, ResourceLocation name, T value) 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 location, String extension) PackOutput.PathProvider.json
(ResourceLocation location) -
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 location) -
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> lootTable) -
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 block, String suffix, ModelTemplate modelTemplate, Function<ResourceLocation, TextureMapping> textureMappingGetter) private ResourceLocation
BlockModelGenerators.createTurtleEggModel
(int hatchAmount, String variantName, TextureMapping textureMapping) private ResourceLocation
BlockModelGenerators.createTurtleEggModel
(Integer eggAmount, Integer variantId) private ResourceLocation
ItemModelGenerators.getItemModelForTrimMaterial
(ResourceLocation modelLocation, String trimId) private ResourceLocation
BlockModelGenerators.BlockFamilyProvider.getOrCreateModel
(ModelTemplate modelTemplate, Block block) Methods in net.minecraft.data.models that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate List
<ResourceLocation> BlockModelGenerators.createFloorFireModels
(Block fireBlock) private List
<ResourceLocation> BlockModelGenerators.createSideFireModels
(Block fireBlock) private List
<ResourceLocation> BlockModelGenerators.createTopFireModels
(Block fireBlock) Methods in net.minecraft.data.models with parameters of type ResourceLocationModifier and TypeMethodDescriptionBlockModelGenerators.blockEntityModels
(ResourceLocation entityBlockModelLocation, Block particleBlock) private static PropertyDispatch.C4
<Direction, DoubleBlockHalf, DoorHingeSide, Boolean> BlockModelGenerators.configureDoorHalf
(PropertyDispatch.C4<Direction, DoubleBlockHalf, DoorHingeSide, Boolean> properties, DoubleBlockHalf half, ResourceLocation leftModelLocation, ResourceLocation leftOpenModelLocation, ResourceLocation rightModelLocation, ResourceLocation rightOpenModelLocation) BlockModelGenerators.BlockStateGeneratorSupplier.create
(Block block, ResourceLocation modelLocation, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) private void
BlockModelGenerators.createAirLikeBlock
(Block airLikeBlock, ResourceLocation particleTexture) (package private) static BlockStateGenerator
BlockModelGenerators.createAxisAlignedPillarBlock
(Block axisAlignedPillarBlock, ResourceLocation modelLocation) private void
BlockModelGenerators.createAxisAlignedPillarBlockCustomModel
(Block axisAlignedPillarBlock, ResourceLocation modelLocation) private static PropertyDispatch
BlockModelGenerators.createBooleanModelDispatch
(BooleanProperty property, ResourceLocation trueModelLocation, ResourceLocation falseModelLocation) (package private) static BlockStateGenerator
BlockModelGenerators.createButton
(Block buttonBlock, ResourceLocation unpoweredModelLocation, ResourceLocation poweredModelLocation) private BlockStateGenerator
BlockModelGenerators.createCopperBulb
(Block bulbBlock, ResourceLocation unlit, ResourceLocation unlitPowered, ResourceLocation lit, ResourceLocation litPowered) (package private) static BlockStateGenerator
BlockModelGenerators.createCustomFence
(Block customFenceBlock, ResourceLocation postModelId, ResourceLocation northModelId, ResourceLocation eastModelId, ResourceLocation southModelId, ResourceLocation westModelId) private static BlockStateGenerator
BlockModelGenerators.createDoor
(Block doorBlock, ResourceLocation topLeftModelLocation, ResourceLocation topLeftOpenModelLocation, ResourceLocation topRightModelLocation, ResourceLocation topRightOpenModelLocation, ResourceLocation bottomLeftModelLocation, ResourceLocation bottomLeftOpenModelLocation, ResourceLocation bottomRightModelLocation, ResourceLocation bottomRightOpenModelLocation) private void
BlockModelGenerators.createDoubleBlock
(Block doubleBlock, ResourceLocation topHalfModelLocation, ResourceLocation bottomHalfModelLocation) private static <T extends Comparable<T>>
PropertyDispatchBlockModelGenerators.createEmptyOrFullDispatch
(Property<T> property, T minimumValueForFullVariant, ResourceLocation fullVariantModelLocation, ResourceLocation emptyVariantModelLocation) (package private) static BlockStateGenerator
BlockModelGenerators.createFence
(Block fenceBlock, ResourceLocation fencePostModelLocation, ResourceLocation fenceSideModelLocation) (package private) static BlockStateGenerator
BlockModelGenerators.createFenceGate
(Block fenceGateBlock, ResourceLocation openModelLocation, ResourceLocation closedModelLocation, ResourceLocation wallOpenModelLocation, ResourceLocation wallClosedModelLocation, boolean uvLock) private void
BlockModelGenerators.createGrassLikeBlock
(Block grassLikeBlock, ResourceLocation modelLocation, Variant variant) private static BlockStateGenerator
BlockModelGenerators.createMirroredColumnGenerator
(Block columnBlock, ResourceLocation location, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) private static BlockStateGenerator
BlockModelGenerators.createMirroredCubeGenerator
(Block cubeBlock, ResourceLocation location, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) private static BlockStateGenerator
BlockModelGenerators.createNorthWestMirroredCubeGenerator
(Block cubeBlock, ResourceLocation location, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) private static BlockStateGenerator
BlockModelGenerators.createOrientableTrapdoor
(Block orientableTrapdoorBlock, ResourceLocation topModelLocation, ResourceLocation bottomModelLocation, ResourceLocation openModelLocation) private void
BlockModelGenerators.createPistonVariant
(Block pistonBlock, ResourceLocation baseModelLocation, TextureMapping topTextureMapping) (package private) static BlockStateGenerator
BlockModelGenerators.createPressurePlate
(Block pressurePlateBlock, ResourceLocation unpoweredModelLocation, ResourceLocation poweredModelLocation) (package private) static BlockStateGenerator
BlockModelGenerators.createRotatedPillarWithHorizontalVariant
(Block rotatedPillarBlock, ResourceLocation modelLocation, ResourceLocation horizontalModelLocation) private static MultiVariantGenerator
BlockModelGenerators.createRotatedVariant
(Block block, ResourceLocation modelLocation) private static MultiVariantGenerator
BlockModelGenerators.createRotatedVariant
(Block block, ResourceLocation normalModelLocation, ResourceLocation mirroredModelLocation) private static Variant[]
BlockModelGenerators.createRotatedVariants
(ResourceLocation modelLocation) (package private) static MultiVariantGenerator
BlockModelGenerators.createSimpleBlock
(Block block, ResourceLocation modelLocation) (package private) static BlockStateGenerator
BlockModelGenerators.createSlab
(Block slabBlock, ResourceLocation bottomHalfModelLocation, ResourceLocation topHalfModelLocation, ResourceLocation doubleModelLocation) (package private) static BlockStateGenerator
BlockModelGenerators.createStairs
(Block stairsBlock, ResourceLocation innerModelLocation, ResourceLocation straightModelLocation, ResourceLocation outerModelLocation) private static BlockStateGenerator
BlockModelGenerators.createTrapdoor
(Block trapdoorBlock, ResourceLocation topModelLocation, ResourceLocation bottomModelLocation, ResourceLocation openModelLocation) (package private) static BlockStateGenerator
BlockModelGenerators.createWall
(Block wallBlock, ResourceLocation postModelLocation, ResourceLocation lowSideModelLocation, ResourceLocation tallSideModelLocation) private void
BlockModelGenerators.delegateItemModel
(Item item, ResourceLocation delegateModelLocation) (package private) void
BlockModelGenerators.delegateItemModel
(Block block, ResourceLocation delegateModelLocation) private com.google.gson.JsonObject
ItemModelGenerators.generateBaseArmorTrimTemplate
(ResourceLocation modelLocation, Map<TextureSlot, ResourceLocation> modelGetter, Holder<ArmorMaterial> armorMaterial) private void
ItemModelGenerators.generateLayeredItem
(ResourceLocation modelLocation, ResourceLocation layer0, ResourceLocation layer1) private void
ItemModelGenerators.generateLayeredItem
(ResourceLocation modelLocation, ResourceLocation layer0, ResourceLocation layer1, ResourceLocation layer2) private ResourceLocation
ItemModelGenerators.getItemModelForTrimMaterial
(ResourceLocation modelLocation, String trimId) Method parameters in net.minecraft.data.models with type arguments of type ResourceLocationModifier and TypeMethodDescriptionBlockModelGenerators.BlockStateGeneratorSupplier.create
(Block block, ResourceLocation modelLocation, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) private static BlockStateGenerator
BlockModelGenerators.createMirroredColumnGenerator
(Block columnBlock, ResourceLocation location, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) private static BlockStateGenerator
BlockModelGenerators.createMirroredCubeGenerator
(Block cubeBlock, ResourceLocation location, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) private static BlockStateGenerator
BlockModelGenerators.createNorthWestMirroredCubeGenerator
(Block cubeBlock, ResourceLocation location, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) (package private) static BlockStateGenerator
BlockModelGenerators.createPillarBlockUVLocked
(Block block, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) private ResourceLocation
BlockModelGenerators.createSuffixedVariant
(Block block, String suffix, ModelTemplate modelTemplate, Function<ResourceLocation, TextureMapping> textureMappingGetter) private com.google.gson.JsonObject
ItemModelGenerators.generateBaseArmorTrimTemplate
(ResourceLocation modelLocation, Map<TextureSlot, ResourceLocation> modelGetter, Holder<ArmorMaterial> armorMaterial) BlockModelGenerators.wrapModels
(List<ResourceLocation> modelLocations, UnaryOperator<Variant> variantMapper) Constructors in net.minecraft.data.models with parameters of type ResourceLocationModifierConstructorDescriptionBlockEntityModelGenerator
(ResourceLocation baseModel, Block particleBlock) Constructor parameters in net.minecraft.data.models with type arguments of type ResourceLocationModifierConstructorDescriptionBlockModelGenerators
(Consumer<BlockStateGenerator> blockStateOutput, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput, Consumer<Item> skippedAutoModelsOutput) ItemModelGenerators
(BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> output) -
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 modelLocation, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) ModelTemplate.create
(ResourceLocation modelLocation, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput, ModelTemplate.JsonFactory factory) ModelTemplate.create
(Block modelBlock, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) TexturedModel.create
(Block modelBlock, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) default ResourceLocation
TexturedModel.Provider.create
(Block modelBlock, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) ModelTemplate.createWithOverride
(Block modelBlock, String modelLocationSuffix, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) ModelTemplate.createWithSuffix
(Block modelBlock, String modelLocationSuffix, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) TexturedModel.createWithSuffix
(Block modelBlock, String modelLocationSuffix, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) default ResourceLocation
TexturedModel.Provider.createWithSuffix
(Block modelBlock, String modelLocationSuffix, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) static ResourceLocation
ModelLocationUtils.decorateBlockModelLocation
(String blockModelLocation) Deprecated.static ResourceLocation
ModelLocationUtils.decorateItemModelLocation
(String itemModelLocation) TextureMapping.get
(TextureSlot textureSlot) static ResourceLocation
TextureMapping.getBlockTexture
(Block block) static ResourceLocation
TextureMapping.getBlockTexture
(Block block, String textureSuffix) ModelTemplate.getDefaultModelLocation
(Block block) static ResourceLocation
TextureMapping.getItemTexture
(Item item) static ResourceLocation
TextureMapping.getItemTexture
(Item item, String textureSuffix) static ResourceLocation
ModelLocationUtils.getModelLocation
(Item item) static ResourceLocation
ModelLocationUtils.getModelLocation
(Item item, String modelLocationSuffix) static ResourceLocation
ModelLocationUtils.getModelLocation
(Block block) static ResourceLocation
ModelLocationUtils.getModelLocation
(Block block, String modelLocationSuffix) Methods in net.minecraft.data.models.model that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate Map
<TextureSlot, ResourceLocation> ModelTemplate.createMap
(TextureMapping textureMapping) Methods in net.minecraft.data.models.model with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic TextureMapping
TextureMapping.cauldron
(ResourceLocation cauldronContentTextureLocation) static TextureMapping
TextureMapping.column
(ResourceLocation sideTextureLocation, ResourceLocation endTextureLocation) TextureMapping.copyAndUpdate
(TextureSlot textureSlot, ResourceLocation textureLocation) ModelTemplate.create
(ResourceLocation modelLocation, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) ModelTemplate.create
(ResourceLocation modelLocation, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput, ModelTemplate.JsonFactory factory) com.google.gson.JsonObject
ModelTemplate.JsonFactory.create
(ResourceLocation modelLocation, Map<TextureSlot, ResourceLocation> modelGetter) static TexturedModel
TexturedModel.createAllSame
(ResourceLocation allTextureLocation) com.google.gson.JsonObject
ModelTemplate.createBaseTemplate
(ResourceLocation modelLocation, Map<TextureSlot, ResourceLocation> modelGetter) static TextureMapping
TextureMapping.crop
(ResourceLocation cropTextureLocation) static TextureMapping
TextureMapping.cross
(ResourceLocation crossTextureLocation) static TextureMapping
TextureMapping.cube
(ResourceLocation allTextureLocation) static TextureMapping
TextureMapping.defaultTexture
(ResourceLocation textureLocation) static TextureMapping
TextureMapping.door
(ResourceLocation topTextureLocation, ResourceLocation bottomTextureLocation) static TextureMapping
TextureMapping.layer0
(ResourceLocation layerZeroTextureLocation) static TextureMapping
TextureMapping.layered
(ResourceLocation layer0, ResourceLocation layer1) static TextureMapping
TextureMapping.layered
(ResourceLocation layer0, ResourceLocation layer1, ResourceLocation layer2) static TextureMapping
TextureMapping.particle
(ResourceLocation textureLocation) static TextureMapping
TextureMapping.plant
(ResourceLocation plantTextureLocation) TextureMapping.put
(TextureSlot textureSlot, ResourceLocation textureLocation) TextureMapping.putForced
(TextureSlot textureSlot, ResourceLocation textureLocation) static TextureMapping
TextureMapping.rail
(ResourceLocation railTextureLocation) static TextureMapping
TextureMapping.singleSlot
(TextureSlot textureSlot, ResourceLocation textureLocation) static TextureMapping
TextureMapping.torch
(ResourceLocation torchTextureLocation) static TextureMapping
TextureMapping.wool
(ResourceLocation woolTextureLocation) Method parameters in net.minecraft.data.models.model with type arguments of type ResourceLocationModifier and TypeMethodDescriptionModelTemplate.create
(ResourceLocation modelLocation, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) ModelTemplate.create
(ResourceLocation modelLocation, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput, ModelTemplate.JsonFactory factory) ModelTemplate.create
(Block modelBlock, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) com.google.gson.JsonObject
ModelTemplate.JsonFactory.create
(ResourceLocation modelLocation, Map<TextureSlot, ResourceLocation> modelGetter) TexturedModel.create
(Block modelBlock, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) default ResourceLocation
TexturedModel.Provider.create
(Block modelBlock, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) com.google.gson.JsonObject
ModelTemplate.createBaseTemplate
(ResourceLocation modelLocation, Map<TextureSlot, ResourceLocation> modelGetter) ModelTemplate.createWithOverride
(Block modelBlock, String modelLocationSuffix, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) ModelTemplate.createWithSuffix
(Block modelBlock, String modelLocationSuffix, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) TexturedModel.createWithSuffix
(Block modelBlock, String modelLocationSuffix, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) default ResourceLocation
TexturedModel.Provider.createWithSuffix
(Block modelBlock, String modelLocationSuffix, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) 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> model, Optional<String> suffix, TextureSlot... requiredSlots) -
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 itemLike) Methods in net.minecraft.data.recipes with parameters of type ResourceLocationModifier and TypeMethodDescriptiondefault void
RecipeOutput.accept
(ResourceLocation location, Recipe<?> recipe, AdvancementHolder advancement) private ShapedRecipePattern
ShapedRecipeBuilder.ensureValid
(ResourceLocation loaction) private void
ShapelessRecipeBuilder.ensureValid
(ResourceLocation id) Makes sure that this recipe is valid and obtainable.private void
SimpleCookingRecipeBuilder.ensureValid
(ResourceLocation id) Makes sure that this obtainable.private void
SingleItemRecipeBuilder.ensureValid
(ResourceLocation id) private void
SmithingTransformRecipeBuilder.ensureValid
(ResourceLocation location) private void
SmithingTrimRecipeBuilder.ensureValid
(ResourceLocation location) void
RecipeBuilder.save
(RecipeOutput recipeOutput, ResourceLocation id) void
ShapedRecipeBuilder.save
(RecipeOutput recipeOutput, ResourceLocation id) void
ShapelessRecipeBuilder.save
(RecipeOutput recipeOutput, ResourceLocation id) void
SimpleCookingRecipeBuilder.save
(RecipeOutput recipeOutput, ResourceLocation id) void
SingleItemRecipeBuilder.save
(RecipeOutput recipeOutput, ResourceLocation id) void
SmithingTransformRecipeBuilder.save
(RecipeOutput recipeOutput, ResourceLocation recipeId) void
SmithingTrimRecipeBuilder.save
(RecipeOutput recipeOutput, ResourceLocation recipeId) void
SpecialRecipeBuilder.save
(RecipeOutput recipeOutput, ResourceLocation recipeId) protected static void
RecipeProvider.trimSmithing
(RecipeOutput recipeOutput, Item ingredientItem, ResourceLocation location) -
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 location) TagsProvider.TagAppender.addOptionalTag
(ResourceLocation location) 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 resourceLocation) 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 location) Style.withFont
(ResourceLocation fontId) Constructors in net.minecraft.network.chat with parameters of type ResourceLocationModifierConstructorDescriptionprivate
Style
(TextColor color, Boolean bold, Boolean italic, Boolean underlined, Boolean strikethrough, Boolean obfuscated, ClickEvent clickEvent, HoverEvent hoverEvent, String insertion, ResourceLocation font) -
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 id, int maxSize) StreamCodec
<B, ? extends CustomPacketPayload> CustomPacketPayload.FallbackProvider.create
(ResourceLocation id) 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> provider) 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 id, ArgumentTypeInfo.Template<?> argumentType, ResourceLocation suggestionId) ClientboundStopSoundPacket
(ResourceLocation name, SoundSource source) ServerboundSeenAdvancementsPacket
(ServerboundSeenAdvancementsPacket.Action action, ResourceLocation tab) ServerboundSetJigsawBlockPacket
(BlockPos pos, ResourceLocation name, ResourceLocation target, ResourceLocation pool, String finalState, JigsawBlockEntity.JointType joint, int selectionPriority, int placementPriority) Constructor parameters in net.minecraft.network.protocol.game with type arguments of type ResourceLocationModifierConstructorDescriptionClientboundRecipePacket
(ClientboundRecipePacket.State state, Collection<ResourceLocation> recipes, Collection<ResourceLocation> toHighlight, RecipeBookSettings bookSettings) ClientboundUpdateAdvancementsPacket
(boolean reset, Collection<AdvancementHolder> added, Set<ResourceLocation> removed, Map<ResourceLocation, AdvancementProgress> progress) ClientboundUpdateAdvancementsPacket
(boolean reset, Collection<AdvancementHolder> added, Set<ResourceLocation> removed, Map<ResourceLocation, AdvancementProgress> progress) -
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 id, FriendlyByteBuf buffer) private static DiscardedQueryPayload
ClientboundCustomQueryPacket.readUnknownPayload
(ResourceLocation id, FriendlyByteBuf buffer) -
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 location, char seperator) private static ResourceLocation
ResourceLocation.createUntrusted
(String namespace, String path) ResourceLocation.Serializer.deserialize
(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) FileToIdConverter.fileToId
(ResourceLocation file) static ResourceLocation
ResourceLocation.fromNamespaceAndPath
(String namespace, String path) FileToIdConverter.idToFile
(ResourceLocation id) ResourceKey.InternKey.location()
Returns the value of thelocation
record component.ResourceKey.location()
static ResourceLocation
static ResourceLocation
ResourceLocation.read
(com.mojang.brigadier.StringReader reader) static ResourceLocation
ResourceLocation.readNonEmpty
(com.mojang.brigadier.StringReader reader) ResourceKey.InternKey.registry()
Returns the value of theregistry
record component.ResourceKey.registry()
static ResourceLocation
static ResourceLocation
ResourceLocation.tryBySeparator
(String location, char seperator) 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 location) ResourceLocation.withPath
(UnaryOperator<String> pathOperator) ResourceLocation.withPrefix
(String pathPrefix) ResourceLocation.withSuffix
(String pathSuffix) Methods in net.minecraft.resources that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionFileToIdConverter.listMatchingResources
(ResourceManager resourceManager) FileToIdConverter.listMatchingResourcesFromNamespace
(ResourceManager manager, String namespace) List all resources under the given namespace which match this converterFileToIdConverter.listMatchingResourceStacks
(ResourceManager resourceManager) 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 other) static <T> ResourceKey
<T> ResourceKey.create
(ResourceKey<? extends Registry<T>> registryKey, ResourceLocation location) Constructs a newResourceKey
for a resource with the specifiedlocation
within the registry specified by the givenregistryKey
.private static <T> ResourceKey
<T> ResourceKey.create
(ResourceLocation registryName, ResourceLocation location) static <T> ResourceKey
<Registry<T>> ResourceKey.createRegistryKey
(ResourceLocation location) FileToIdConverter.fileToId
(ResourceLocation file) FileToIdConverter.idToFile
(ResourceLocation id) com.google.gson.JsonElement
ResourceLocation.Serializer.serialize
(ResourceLocation src, Type typeOfSrc, com.google.gson.JsonSerializationContext context) 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 registryName, ResourceLocation location) -
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<?>> registryKey) 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>> functionObjects, ResourceLocation identifier) ServerAdvancementManager.get
(ResourceLocation location) ServerFunctionManager.get
(ResourceLocation functionIdentifier) ServerFunctionLibrary.getFunction
(ResourceLocation location) ServerFunctionLibrary.getTag
(ResourceLocation location) ServerFunctionManager.getTag
(ResourceLocation functionTagIdentifier) private void
ServerAdvancementManager.validate
(ResourceLocation location, Advancement advancement) Method parameters in net.minecraft.server with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprotected void
ServerAdvancementManager.apply
(Map<ResourceLocation, com.google.gson.JsonElement> object, ResourceManager resourceManager, ProfilerFiller profiler) void
PlayerAdvancements.Data.forEach
(BiConsumer<ResourceLocation, AdvancementProgress> action) 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 id, Component name) CustomBossEvents.get
(ResourceLocation id) static CustomBossEvent
CustomBossEvent.load
(CompoundTag p_tag, ResourceLocation id, HolderLookup.Provider levelRegistry) 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 source, Entity entity, Holder<Attribute> attribute, ResourceLocation id, double amount, AttributeModifier.Operation operation) private static int
BossBarCommands.createBar
(CommandSourceStack source, ResourceLocation id, Component displayName) private static <T extends ExecutionCommandSource<T>>
CommandResultCallbackFunctionCommand.decorateOutputIfNeeded
(T source, FunctionCommand.Callbacks<T> callbacks, ResourceLocation function, CommandResultCallback resultCallback) private static int
AttributeCommand.getAttributeModifier
(CommandSourceStack source, Entity entity, Holder<Attribute> attribute, ResourceLocation id, double scale) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.instantiateAndQueueFunctions
(CompoundTag arguments, ExecutionControl<T> executionControl, com.mojang.brigadier.CommandDispatcher<T> dispatcher, T source, CommandFunction<T> function, ResourceLocation functionId, CommandResultCallback resultCallback, boolean returnParentFrame) void
DebugCommand.Tracer.onCall
(int depth, ResourceLocation function, int commands) static int
PlaceCommand.placeJigsaw
(CommandSourceStack source, Holder<StructureTemplatePool> templatePool, ResourceLocation target, int maxDepth, BlockPos pos) static int
PlaceCommand.placeTemplate
(CommandSourceStack source, ResourceLocation template, BlockPos pos, Rotation rotation, Mirror mirror, float integrity, int seed) private static int
PlaySoundCommand.playSound
(CommandSourceStack source, Collection<ServerPlayer> targets, ResourceLocation sound, SoundSource category, Vec3 pos, float volume, float pitch, float minVolume) private static int
RandomCommand.randomSample
(CommandSourceStack source, MinMaxBounds.Ints range, ResourceLocation sequence, boolean displayResult) private static int
AttributeCommand.removeModifier
(CommandSourceStack source, Entity entity, Holder<Attribute> attribute, ResourceLocation id) private static int
RandomCommand.resetSequence
(CommandSourceStack source, ResourceLocation sequence) private static int
RandomCommand.resetSequence
(CommandSourceStack source, ResourceLocation sequence, int seed, boolean includeWorldSeed, boolean includeSequenceId) void
FunctionCommand.Callbacks.signalResult
(T source, ResourceLocation function, int commands) private static int
StopSoundCommand.stopSound
(CommandSourceStack source, Collection<ServerPlayer> targets, SoundSource category, ResourceLocation sound) Method parameters in net.minecraft.server.commands with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static int
ScheduleCommand.schedule
(CommandSourceStack source, com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> function, int time, boolean append) -
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 storage, ResourceLocation id) -
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> recipes) -
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 packType, ResourceLocation location) CompositePackResources.getResource
(PackType packType, ResourceLocation location) FilePackResources.getResource
(PackType packType, ResourceLocation location) PackResources.getResource
(PackType packType, ResourceLocation location) static IoSupplier
<InputStream> PathPackResources.getResource
(ResourceLocation location, Path p_path) PathPackResources.getResource
(PackType packType, ResourceLocation location) VanillaPackResources.getResource
(PackType packType, ResourceLocation location) void
VanillaPackResources.listRawPaths
(PackType packType, ResourceLocation packLocation, Consumer<Path> output) -
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 packType, VanillaPackResources vanillaPack, ResourceLocation packDir, DirectoryValidator validator) -
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 location) protected ResourceLocation
SimpleJsonResourceReloadListener.getPreparedPath
(ResourceLocation rl) private static ResourceLocation
FallbackResourceManager.getResourceLocationFromMetadata
(ResourceLocation metadataResourceLocation) 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 path, Predicate<ResourceLocation> filter) MultiPackResourceManager.listResources
(String path, Predicate<ResourceLocation> filter) ReloadableResourceManager.listResources
(String path, Predicate<ResourceLocation> filter) ResourceManager.Empty.listResources
(String p_215570_, Predicate<ResourceLocation> p_215571_) ResourceManager.listResources
(String path, Predicate<ResourceLocation> filter) FallbackResourceManager.listResourceStacks
(String path, Predicate<ResourceLocation> filter) MultiPackResourceManager.listResourceStacks
(String path, Predicate<ResourceLocation> filter) ReloadableResourceManager.listResourceStacks
(String path, Predicate<ResourceLocation> filter) ResourceManager.Empty.listResourceStacks
(String p_215573_, Predicate<ResourceLocation> p_215574_) ResourceManager.listResourceStacks
(String path, Predicate<ResourceLocation> filter) protected Map
<ResourceLocation, com.google.gson.JsonElement> SimpleJsonResourceReloadListener.prepare
(ResourceManager resourceManager, ProfilerFiller profiler) 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 source, ResourceLocation location, IoSupplier<InputStream> streamSupplier, IoSupplier<ResourceMetadata> metadataSupplier) private IoSupplier
<ResourceMetadata> FallbackResourceManager.createStackMetadataFinder
(ResourceLocation location, int fallbackIndex) (package private) static ResourceLocation
FallbackResourceManager.getMetadataLocation
(ResourceLocation location) protected ResourceLocation
SimpleJsonResourceReloadListener.getPreparedPath
(ResourceLocation rl) FallbackResourceManager.getResource
(ResourceLocation location) MultiPackResourceManager.getResource
(ResourceLocation location) ReloadableResourceManager.getResource
(ResourceLocation location) ResourceManager.Empty.getResource
(ResourceLocation p_215576_) ResourceProvider.getResource
(ResourceLocation location) private static ResourceLocation
FallbackResourceManager.getResourceLocationFromMetadata
(ResourceLocation metadataResourceLocation) default Resource
ResourceProvider.getResourceOrThrow
(ResourceLocation location) FallbackResourceManager.getResourceStack
(ResourceLocation location) MultiPackResourceManager.getResourceStack
(ResourceLocation location) ReloadableResourceManager.getResourceStack
(ResourceLocation location) ResourceManager.Empty.getResourceStack
(ResourceLocation p_215568_) ResourceManager.getResourceStack
(ResourceLocation location) boolean
FallbackResourceManager.PackEntry.isFiltered
(ResourceLocation location) private static boolean
FallbackResourceManager.isMetadata
(ResourceLocation location) default InputStream
ResourceProvider.open
(ResourceLocation location) default BufferedReader
ResourceProvider.openAsReader
(ResourceLocation location) private static IoSupplier
<InputStream> FallbackResourceManager.wrapForDebug
(ResourceLocation location, PackResources packResources, IoSupplier<InputStream> stream) Method parameters in net.minecraft.server.packs.resources with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static void
FallbackResourceManager.applyPackFiltersToExistingResources
(FallbackResourceManager.PackEntry packEntry, Map<ResourceLocation, FallbackResourceManager.EntryStack> resources) void
FallbackResourceManager.PackEntry.filterAll
(Collection<ResourceLocation> locations) static ResourceProvider
ResourceProvider.fromMap
(Map<ResourceLocation, Resource> resources) private void
FallbackResourceManager.listPackResources
(FallbackResourceManager.PackEntry entry, String path, Predicate<ResourceLocation> filter, Map<ResourceLocation, FallbackResourceManager.EntryStack> output) private void
FallbackResourceManager.listPackResources
(FallbackResourceManager.PackEntry entry, String path, Predicate<ResourceLocation> filter, Map<ResourceLocation, FallbackResourceManager.EntryStack> output) FallbackResourceManager.listResources
(String path, Predicate<ResourceLocation> filter) MultiPackResourceManager.listResources
(String path, Predicate<ResourceLocation> filter) ReloadableResourceManager.listResources
(String path, Predicate<ResourceLocation> filter) ResourceManager.Empty.listResources
(String p_215570_, Predicate<ResourceLocation> p_215571_) ResourceManager.listResources
(String path, Predicate<ResourceLocation> filter) FallbackResourceManager.listResourceStacks
(String path, Predicate<ResourceLocation> filter) MultiPackResourceManager.listResourceStacks
(String path, Predicate<ResourceLocation> filter) ReloadableResourceManager.listResourceStacks
(String path, Predicate<ResourceLocation> filter) ResourceManager.Empty.listResourceStacks
(String p_215573_, Predicate<ResourceLocation> p_215574_) ResourceManager.listResourceStacks
(String path, Predicate<ResourceLocation> filter) void
FallbackResourceManager.push
(PackResources resources, Predicate<ResourceLocation> filter) void
FallbackResourceManager.pushFilterOnly
(String name, Predicate<ResourceLocation> filter) private void
FallbackResourceManager.pushInternal
(String name, PackResources resources, Predicate<ResourceLocation> filter) static void
SimpleJsonResourceReloadListener.scanDirectory
(ResourceManager resourceManager, String name, com.google.gson.Gson gson, Map<ResourceLocation, com.google.gson.JsonElement> output) 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 inputStream, ResourceLocation resourceLocation, String packName) 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 location, Optional<Float> range) static SoundEvent
SoundEvent.createFixedRangeEvent
(ResourceLocation location, float range) static SoundEvent
SoundEvent.createVariableRangeEvent
(ResourceLocation location) private static SoundEvent
SoundEvents.register
(ResourceLocation name) private static SoundEvent
SoundEvents.register
(ResourceLocation name, ResourceLocation location) private static Holder
<SoundEvent> SoundEvents.register
(ResourceLocation name, ResourceLocation location, float range) private static Holder.Reference
<SoundEvent> SoundEvents.registerForHolder
(ResourceLocation name) private static Holder.Reference
<SoundEvent> SoundEvents.registerForHolder
(ResourceLocation name, ResourceLocation location) Constructors in net.minecraft.sounds with parameters of type ResourceLocationModifierConstructorDescriptionprivate
SoundEvent
(ResourceLocation location, float range, boolean newSystem) -
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 key, StatFormatter formatter) Methods in net.minecraft.stats with parameters of type ResourceLocationModifier and TypeMethodDescriptionprotected void
RecipeBook.add
(ResourceLocation recipeId) protected void
RecipeBook.addHighlight
(ResourceLocation recipeId) boolean
RecipeBook.contains
(ResourceLocation recipeId) private static <T> String
Stat.locationToKey
(ResourceLocation location) protected void
RecipeBook.remove
(ResourceLocation recipeId) Method parameters in net.minecraft.stats with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate void
ServerRecipeBook.sendRecipes
(ClientboundRecipePacket.State state, ServerPlayer player, List<ResourceLocation> recipes) -
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>> builders) TagLoader.load
(ResourceManager resourceManager) TagLoader.loadAndBuild
(ResourceManager resourceManager) TagManager.LoadResult.tags()
Returns the value of thetags
record component.Methods in net.minecraft.tags with parameters of type ResourceLocationModifier and TypeMethodDescriptionTagBuilder.addElement
(ResourceLocation elementLocation) TagBuilder.addOptionalElement
(ResourceLocation elementLocation) TagBuilder.addOptionalTag
(ResourceLocation tagLocation) TagBuilder.addTag
(ResourceLocation tagLocation) BlockTags.create
(ResourceLocation name) FluidTags.create
(ResourceLocation name) ItemTags.create
(ResourceLocation name) static <T> TagKey
<T> TagKey.create
(ResourceKey<? extends Registry<T>> registry, ResourceLocation location) static TagEntry
TagEntry.element
(ResourceLocation elementLocation) TagEntry.Lookup.element
(ResourceLocation elementLocation) static TagEntry
TagEntry.optionalElement
(ResourceLocation elementLocation) static TagEntry
TagEntry.optionalTag
(ResourceLocation tagLocation) TagEntry.Lookup.tag
(ResourceLocation tagLocation) static TagEntry
TagEntry.tag
(ResourceLocation tagLocation) Method parameters in net.minecraft.tags with type arguments of type ResourceLocationModifier and TypeMethodDescriptionTagLoader.build
(Map<ResourceLocation, List<TagLoader.EntryWithSource>> builders) boolean
TagEntry.verifyIfPresent
(Predicate<ResourceLocation> elementPredicate, Predicate<ResourceLocation> tagPredicate) void
TagEntry.visitOptionalDependencies
(Consumer<ResourceLocation> visitor) void
TagLoader.SortingEntry.visitOptionalDependencies
(Consumer<ResourceLocation> visitor) void
TagEntry.visitRequiredDependencies
(Consumer<ResourceLocation> visitor) void
TagLoader.SortingEntry.visitRequiredDependencies
(Consumer<ResourceLocation> visitor) Constructors in net.minecraft.tags with parameters of type ResourceLocationModifierConstructorDescriptionprivate
TagEntry
(ResourceLocation id, boolean tag, boolean required) 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> tags) -
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 reader, ResourceLocation elementType) Constructor parameters in net.minecraft.util.parsing.packrat.commands with type arguments of type ResourceLocationModifierConstructorDescriptionprotected
ResourceLookupRule
(Atom<ResourceLocation> idParser, C context) -
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 location) private RandomSequence
RandomSequences.createSequence
(ResourceLocation location, int salt, boolean includeWorldSeed, boolean includeSequenceId) RandomSequences.get
(ResourceLocation location) void
RandomSequences.reset
(ResourceLocation sequence) void
RandomSequences.reset
(ResourceLocation sequence, int seed, boolean includeWorldSeed, boolean includeSequenceId) static RandomSupport.Seed128bit
RandomSequence.seedForKey
(ResourceLocation key) Method parameters in net.minecraft.world with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static XoroshiroRandomSource
RandomSequence.createSequence
(long seed, Optional<ResourceLocation> location) void
RandomSequences.forAllSequences
(BiConsumer<ResourceLocation, RandomSequence> action) 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> attribute, ResourceLocation id, double amount, AttributeModifier.Operation operation) 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<?> entityType) -
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 operation) Methods in net.minecraft.world.entity.ai.attributes with parameters of type ResourceLocationModifier and TypeMethodDescriptionAttributeInstance.getModifier
(ResourceLocation id) double
AttributeMap.getModifierValue
(Holder<Attribute> attribute, ResourceLocation id) double
AttributeSupplier.getModifierValue
(Holder<Attribute> attribute, ResourceLocation id) boolean
AttributeInstance.hasModifier
(ResourceLocation id) boolean
AttributeMap.hasModifier
(Holder<Attribute> attribute, ResourceLocation id) boolean
AttributeSupplier.hasModifier
(Holder<Attribute> attribute, ResourceLocation id) boolean
AttributeModifier.is
(ResourceLocation id) boolean
AttributeInstance.removeModifier
(ResourceLocation id) 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 texture) 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 texture) 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 wildTexture, ResourceLocation tameTexture, ResourceLocation angryTexture, HolderSet<Biome> biomes) -
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 statKey) void
Player.awardStat
(ResourceLocation stat, int increment) 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 p_set) Methods in net.minecraft.world.flag with parameters of type ResourceLocationModifier and TypeMethodDescriptionFeatureFlagRegistry.Builder.create
(ResourceLocation location) Deprecated.Neo: useFeatureFlagRegistry.Builder.create(ResourceLocation, boolean)
insteadFeatureFlagRegistry.Builder.create
(ResourceLocation location, boolean modded) FeatureFlagRegistry.getFlag
(ResourceLocation name) Method parameters in net.minecraft.world.flag with type arguments of type ResourceLocationModifier and TypeMethodDescriptionFeatureFlagRegistry.fromNames
(Iterable<ResourceLocation> names) FeatureFlagRegistry.fromNames
(Iterable<ResourceLocation> names, Consumer<ResourceLocation> onError) FeatureFlagRegistry.fromNames
(Iterable<ResourceLocation> names, Consumer<ResourceLocation> onError) Constructor parameters in net.minecraft.world.flag with type arguments of type ResourceLocationModifierConstructorDescription(package private)
FeatureFlagRegistry
(FeatureFlagUniverse universe, FeatureFlagSet allFlags, Map<ResourceLocation, FeatureFlag> names) -
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 container, LivingEntity owner, EquipmentSlot slot, int slotIndex, int x, int y, ResourceLocation emptyIcon) -
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 name) CreativeModeTab.getBackgroundTexture()
AnimalArmorItem.getOverlayTexture()
CreativeModeTab.getScrollerSprite()
CreativeModeTab.getTabsImage()
AnimalArmorItem.getTexture()
private ResourceLocation
ArmorMaterial.Layer.resolveTexture
(boolean innerTexture) ArmorMaterial.Layer.texture
(boolean innerTexture) 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 backgroundTexture) static SmithingTemplateItem
SmithingTemplateItem.createArmorTrimTemplate
(ResourceLocation name, FeatureFlag... requiredFeatures) static Item
Items.registerItem
(ResourceLocation key, Item item) 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 row, int column, CreativeModeTab.Type type, Component displayName, Supplier<ItemStack> iconGenerator, CreativeModeTab.DisplayItemsGenerator displayItemGenerator, ResourceLocation scrollerSpriteLocation, boolean hasSearchBar, int searchBarWidth, ResourceLocation tabsImage, int labelColor, int slotColor, List<ResourceLocation> tabsBefore, List<ResourceLocation> tabsAfter) Layer
(ResourceLocation assetName) Layer
(ResourceLocation assetName, String suffix, boolean dyeable) Constructor parameters in net.minecraft.world.item with type arguments of type ResourceLocationModifierConstructorDescriptionprivate
BodyType
(Function<ResourceLocation, ResourceLocation> textureLocator, SoundEvent breakingSound) private
BodyType
(Function<ResourceLocation, ResourceLocation> textureLocator, SoundEvent breakingSound) (package private)
CreativeModeTab
(CreativeModeTab.Row row, int column, CreativeModeTab.Type type, Component displayName, Supplier<ItemStack> iconGenerator, CreativeModeTab.DisplayItemsGenerator displayItemGenerator, ResourceLocation scrollerSpriteLocation, boolean hasSearchBar, int searchBarWidth, ResourceLocation tabsImage, int labelColor, int slotColor, List<ResourceLocation> tabsBefore, List<ResourceLocation> tabsAfter) SmithingTemplateItem
(Component appliesTo, Component ingredients, Component upgradeDescription, Component baseSlotDescription, Component additionsSlotDescription, List<ResourceLocation> baseSlotEmptyIcons, List<ResourceLocation> additionalSlotEmptyIcons, FeatureFlag... requiredFeatures) -
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> armorMaterial) ArmorTrim.outerTexture
(Holder<ArmorMaterial> armorMaterial) 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> material, Holder<TrimPattern> pattern, boolean showInTooltip, Function<Holder<ArmorMaterial>, ResourceLocation> innerTexture, Function<Holder<ArmorMaterial>, ResourceLocation> outerTexture) -
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> attribute, ResourceLocation id) -
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 recipeId) private <T extends Recipe<?>>
RecipeHolder<T> RecipeManager.byKeyTyped
(RecipeType<T> type, ResourceLocation name) protected static RecipeHolder
<?> RecipeManager.fromJson
(ResourceLocation recipeId, com.google.gson.JsonObject json, HolderLookup.Provider registries) <I extends RecipeInput,
T extends Recipe<I>>
Optional<RecipeHolder<T>> RecipeManager.getRecipeFor
(RecipeType<T> recipeType, I input, Level level, ResourceLocation lastRecipe) 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> object, ResourceManager resourceManager, ProfilerFiller profiler) 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 slot) 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 tag, String spawnDataKey) -
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 level, BlockPos pos) 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<?> blockEntityType) JigsawBlockEntity.getName()
SkullBlockEntity.getNoteBlockSound()
JigsawBlockEntity.getTarget()
Methods in net.minecraft.world.level.block.entity with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoid
JigsawBlockEntity.setName
(ResourceLocation name) void
StructureBlockEntity.setStructureName
(ResourceLocation structureName) void
JigsawBlockEntity.setTarget
(ResourceLocation target) 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 name) RandomState.getOrCreateRandomFactory
(ResourceLocation location) 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> fossilStructures, List<ResourceLocation> overlayStructures, Holder<StructureProcessorList> fossilProcessors, Holder<StructureProcessorList> overlayProcessors, int maxEmptyCornersAllowed) -
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 type, int genDepth, StructureTemplateManager structureTemplateManager, ResourceLocation location, String templateName, StructurePlaceSettings placeSettings, BlockPos templatePosition) Constructor parameters in net.minecraft.world.level.levelgen.structure with type arguments of type ResourceLocationModifierConstructorDescriptionTemplateStructurePiece
(StructurePieceType type, CompoundTag tag, StructureTemplateManager structureTemplateManager, Function<ResourceLocation, StructurePlaceSettings> placeSettingsFactory) -
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 level, Holder<StructureTemplatePool> startPool, ResourceLocation startJigsawName, int maxDepth, BlockPos pos, boolean keepJigsaws) JigsawPlacement.getRandomNamedJigsaw
(StructurePoolElement element, ResourceLocation startJigsawName, BlockPos pos, Rotation rotation, StructureTemplateManager structureTemplateManager, WorldgenRandom random) 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 context, Holder<StructureTemplatePool> startPool, Optional<ResourceLocation> startJigsawName, int maxDepth, BlockPos pos, boolean useExpansionHack, Optional<Heightmap.Types> projectStartToHeightmap, int maxDistanceFromCenter, PoolAliasLookup aliasLookup, DimensionPadding dimensionPadding, LiquidSettings liquidSettings) private static <T> com.mojang.serialization.DataResult
<T> SinglePoolElement.encodeTemplate
(com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> template, com.mojang.serialization.DynamicOps<T> ops, T values) 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> template, Holder<StructureProcessorList> processors, StructureTemplatePool.Projection projection, Optional<LiquidSettings> overrideLiquidSettings) -
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 random) private static ResourceLocation
OceanRuinPieces.getSmallWarmRuin
(RandomSource random) private static ResourceLocation
WoodlandMansionPieces.WoodlandMansionPiece.makeLocation
(String name) private static ResourceLocation
EndCityPieces.EndCityPiece.makeResourceLocation
(String name) 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 location, BlockPos pos, int down) private static StructurePlaceSettings
IglooPieces.IglooPiece.makeSettings
(Rotation rotation, ResourceLocation location) private static StructurePlaceSettings
RuinedPortalPiece.makeSettings
(StructureTemplateManager structureTemplateManager, CompoundTag tag, ResourceLocation location) Constructors in net.minecraft.world.level.levelgen.structure.structures with parameters of type ResourceLocationModifierConstructorDescriptionIglooPiece
(StructureTemplateManager structureTemplateManager, ResourceLocation location, BlockPos startPos, Rotation rotation, int down) NetherFossilPiece
(StructureTemplateManager structureManager, ResourceLocation location, BlockPos pos, Rotation rotation) OceanRuinPiece
(StructureTemplateManager structureTemplateManager, ResourceLocation location, BlockPos pos, Rotation rotation, float integrity, OceanRuinStructure.Type biomeType, boolean isLarge) RuinedPortalPiece
(StructureTemplateManager structureTemplateManager, BlockPos templatePosition, RuinedPortalPiece.VerticalPlacement verticalPlacement, RuinedPortalPiece.Properties properties, ResourceLocation location, StructureTemplate template, Rotation rotation, Mirror mirror, BlockPos pivotPos) ShipwreckPiece
(StructureTemplateManager structureTemplateManager, ResourceLocation location, BlockPos pos, Rotation rotation, boolean isBeached) Constructor parameters in net.minecraft.world.level.levelgen.structure.structures with type arguments of type ResourceLocationModifierConstructorDescriptionJigsawStructure
(Structure.StructureSettings settings, Holder<StructureTemplatePool> startPool, Optional<ResourceLocation> startJigsawName, int maxDepth, HeightProvider startHeight, boolean useExpansionHack, Optional<Heightmap.Types> projectStartToHeightmap, int maxDistanceFromCenter, List<PoolAliasBinding> poolAliases, DimensionPadding dimensionPadding, LiquidSettings liquidSettings) -
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 location, String extension) StructureTemplateManager.get
(ResourceLocation id) StructureTemplateManager.getOrCreate
(ResourceLocation id) private Optional
<StructureTemplate> StructureTemplateManager.loadFromGenerated
(ResourceLocation id) private Optional
<StructureTemplate> StructureTemplateManager.loadFromResource
(ResourceLocation id) private Optional
<StructureTemplate> StructureTemplateManager.loadFromSnbt
(ResourceLocation id, Path p_path) private Optional
<StructureTemplate> StructureTemplateManager.loadFromTestStructures
(ResourceLocation id) void
StructureTemplateManager.remove
(ResourceLocation id) boolean
StructureTemplateManager.save
(ResourceLocation id) private Optional
<StructureTemplate> StructureTemplateManager.tryLoad
(ResourceLocation id) Method parameters in net.minecraft.world.level.levelgen.structure.templatesystem with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate void
StructureTemplateManager.listFolderContents
(Path folder, String namespace, String extension, Consumer<ResourceLocation> output) 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 id) void
CommandStorage.set
(ResourceLocation id, CompoundTag nbt) -
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 name, Consumer<ItemStack> consumer) Add the dynamic drops for the given dynamic drops name to the given consumer.void
LootParams.addDynamicDrops
(ResourceLocation location, Consumer<ItemStack> consumer) LootDataType.deserialize
(ResourceLocation resourceLocation, com.mojang.serialization.DynamicOps<V> ops, V p_value) void
LootTable.setLootTableId
(ResourceLocation id) void
LootContext.setQueriedLootTableId
(@Nullable ResourceLocation queriedLootTableId) LootTable.Builder.setRandomSequence
(ResourceLocation randomSequence) LootParams.Builder.withDynamicDrop
(ResourceLocation name, LootParams.DynamicDrop dynamicDrop) 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> sequence) Constructors in net.minecraft.world.level.storage.loot with parameters of type ResourceLocationModifierConstructorDescriptionprivate
LootContext
(LootParams params, RandomSource random, HolderGetter.Provider lootDataResolver, 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 paramSet, Optional<ResourceLocation> randomSequence, List<LootPool> pools, List<LootItemFunction> functions) -
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 dynamicDropsName) Constructors in net.minecraft.world.level.storage.loot.entries with parameters of type ResourceLocationModifierConstructorDescriptionprivate
DynamicLoot
(ResourceLocation name, int weight, int quality, List<LootItemCondition> conditions, List<LootItemFunction> functions) -
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 id, Holder<Attribute> attribute, AttributeModifier.Operation operation, NumberProvider amount) 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 id, Holder<Attribute> attribute, AttributeModifier.Operation operation, NumberProvider amount) -
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 functionId) Serializer
(ResourceLocation id, Class<?> cls) -
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> statType, ResourceLocation resourceLocation) -
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.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.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
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.