Uses of Class
net.minecraft.resources.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
Modifier and TypeMethodDescriptionstatic void
RenderSystem._setShaderTexture
(int p_157180_, ResourceLocation p_157181_) static void
RenderSystem.setShaderTexture
(int p_157457_, ResourceLocation p_157458_) -
Uses of ResourceLocation in com.mojang.realmsclient
Modifier 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
Modifier and TypeMethodDescriptionprivate void
RealmsMainScreen.Entry.drawRealmStatus
(GuiGraphics p_306047_, int p_306257_, int p_306190_, int p_306269_, int p_306067_, ResourceLocation p_306301_, Supplier<Component> p_306129_) ModifierConstructorDescriptionNotificationButton
(Component p_296209_, ResourceLocation p_295363_, Button.OnPress p_294154_) -
Uses of ResourceLocation in com.mojang.realmsclient.dto
Modifier and TypeFieldDescriptionprivate final ResourceLocation
RealmsNotification.InfoPopup.image
ModifierConstructorDescriptionprivate
InfoPopup
(RealmsNotification p_304992_, RealmsText p_304968_, RealmsText p_304788_, ResourceLocation p_304749_, RealmsNotification.UrlButton p_304471_) -
Uses of ResourceLocation in com.mojang.realmsclient.gui
Modifier 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
Modifier 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
Modifier and TypeFieldDescriptionprivate static List
<ResourceLocation> AddRealmPopupScreen.carouselImages
Modifier and TypeMethodDescriptionprivate void
RealmsConfigureWorldScreen.drawRealmStatus
(GuiGraphics p_299311_, int p_298280_, int p_298913_, int p_299030_, int p_299045_, ResourceLocation p_299141_, Supplier<Component> p_298702_) ModifierConstructorDescription(package private)
FrameButton
(Font p_335556_, Component p_89441_, ResourceLocation p_89442_, Button.OnPress p_89443_) -
Uses of ResourceLocation in com.mojang.realmsclient.util
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
RealmsTextureManager.TEMPLATE_ICON_LOCATION
private final ResourceLocation
RealmsTextureManager.RealmsTexture.textureId
The field for thetextureId
record component.Modifier and TypeMethodDescriptionprivate static ResourceLocation
RealmsTextureManager.getTexture
(String p_90197_, String p_90198_) RealmsTextureManager.RealmsTexture.textureId()
Returns the value of thetextureId
record component.static ResourceLocation
RealmsTextureManager.worldTemplate
(String p_270945_, String p_270612_) ModifierConstructorDescriptionRealmsTexture
(String image, ResourceLocation textureId) Creates an instance of aRealmsTexture
record class. -
Uses of ResourceLocation in net.minecraft
Modifier and TypeMethodDescriptionstatic String
Util.makeDescriptionId
(String p_137493_, ResourceLocation p_137494_) -
Uses of ResourceLocation in net.minecraft.advancements
Modifier and TypeFieldDescriptionprivate final ResourceLocation
AdvancementHolder.id
The field for theid
record component.Modifier 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.Modifier and TypeMethodDescriptionAdvancementHolder.id()
Returns the value of theid
record component.Modifier and TypeMethodDescriptionDisplayInfo.getBackground()
Advancement.parent()
Returns the value of theparent
record component.AdvancementRewards.recipes()
Returns the value of therecipes
record component.Modifier and TypeMethodDescriptionAdvancementRewards.Builder.addRecipe
(ResourceLocation p_10012_) Advancement.Builder.build
(ResourceLocation p_138404_) Advancement.Builder.display
(ItemStack p_312724_, Component p_138373_, Component p_138374_, ResourceLocation p_138375_, AdvancementType p_312711_, boolean p_138377_, boolean p_138378_, boolean p_138379_) Advancement.Builder.display
(ItemLike p_311787_, Component p_138364_, Component p_138365_, ResourceLocation p_138366_, AdvancementType p_312847_, boolean p_138368_, boolean p_138369_, boolean p_138370_) static AdvancementRewards.Builder
AdvancementRewards.Builder.function
(ResourceLocation p_144827_) AdvancementTree.get
(ResourceLocation p_301217_) Advancement.Builder.parent
(ResourceLocation p_138397_) Deprecated, for removal: This API element is subject to removal in a future version.static AdvancementRewards.Builder
AdvancementRewards.Builder.recipe
(ResourceLocation p_10010_) AdvancementRewards.Builder.runs
(ResourceLocation p_144829_) ModifierConstructorDescriptionAdvancementHolder
(ResourceLocation id, Advancement value) Creates an instance of aAdvancementHolder
record class.ModifierConstructorDescriptionAdvancement
(Optional<ResourceLocation> p_300893_, Optional<DisplayInfo> p_301147_, AdvancementRewards p_286389_, Map<String, Criterion<?>> p_286635_, AdvancementRequirements p_301002_, boolean p_286478_) Advancement
(Optional<ResourceLocation> parent, Optional<DisplayInfo> display, AdvancementRewards rewards, Map<String, Criterion<?>> criteria, AdvancementRequirements requirements, boolean sendsTelemetryEvent, Optional<Component> name) Creates an instance of aAdvancement
record class.DisplayInfo
(ItemStack p_14969_, Component p_14970_, Component p_14971_, Optional<ResourceLocation> p_312452_, AdvancementType p_312497_, boolean p_14974_, boolean p_14975_, boolean p_14976_) -
Uses of ResourceLocation in net.minecraft.advancements.critereon
Modifier 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.Modifier 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.Modifier and TypeMethodDescriptionRecipeUnlockedTrigger.TriggerInstance.recipe()
Returns the value of therecipe
record component.RecipeCraftedTrigger.TriggerInstance.recipeId()
Returns the value of therecipeId
record component.Modifier 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.Modifier and TypeMethodDescriptionPlayerPredicate.Builder.addRecipe
(ResourceLocation p_156781_, boolean p_156782_) PlayerPredicate.Builder.checkAdvancementCriterions
(ResourceLocation p_156778_, Map<String, Boolean> p_156779_) PlayerPredicate.Builder.checkAdvancementDone
(ResourceLocation p_156784_, boolean p_156785_) RecipeCraftedTrigger.TriggerInstance.craftedItem
(ResourceLocation p_283538_) RecipeCraftedTrigger.TriggerInstance.craftedItem
(ResourceLocation p_282794_, List<ItemPredicate.Builder> p_281369_) RecipeCraftedTrigger.TriggerInstance.crafterCraftedItem
(ResourceLocation p_335404_) (package private) boolean
RecipeCraftedTrigger.TriggerInstance.matches
(ResourceLocation p_283528_, List<ItemStack> p_283698_) void
RecipeCraftedTrigger.trigger
(ServerPlayer p_281468_, ResourceLocation p_282903_, List<ItemStack> p_282070_) RecipeUnlockedTrigger.unlocked
(ResourceLocation p_63729_) ModifierConstructorDescriptionTriggerInstance
(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.ModifierConstructorDescriptionPlayerPredicate
(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
Modifier 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
Modifier and TypeMethodDescriptionprivate void
KeyboardHandler.copyCreateEntityCommand
(ResourceLocation p_90923_, Vec3 p_90924_, CompoundTag p_90925_) Minecraft.getTextureAtlas
(ResourceLocation p_91259_) ModifierConstructorDescriptionprivate
Icon
(ResourceLocation p_296008_, int p_240599_, int p_240544_) PeriodicNotificationManager
(ResourceLocation p_205293_, it.unimi.dsi.fastutil.objects.Object2BooleanFunction<String> p_205294_) -
Uses of ResourceLocation in net.minecraft.client.gui
Modifier 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
Modifier and TypeMethodDescriptionGui.HeartType.getSprite
(boolean p_295909_, boolean p_295387_, boolean p_294486_) Modifier and TypeMethodDescriptionvoid
GuiGraphics.blit
(ResourceLocation p_283272_, int p_283605_, int p_281879_, float p_282809_, float p_282942_, int p_281922_, int p_282385_, int p_282596_, int p_281699_) void
GuiGraphics.blit
(ResourceLocation p_283573_, int p_283574_, int p_283670_, int p_283545_, float p_283029_, float p_283061_, int p_282845_, int p_282558_, int p_282832_, int p_281851_) void
GuiGraphics.blit
(ResourceLocation p_282034_, int p_283671_, int p_282377_, int p_282058_, int p_281939_, float p_282285_, float p_283199_, int p_282186_, int p_282322_, int p_282481_, int p_281887_) void
GuiGraphics.blit
(ResourceLocation p_283377_, int p_281970_, int p_282111_, int p_283134_, int p_282778_, int p_281478_, int p_281821_) (package private) void
GuiGraphics.blit
(ResourceLocation p_282639_, int p_282732_, int p_283541_, int p_281760_, int p_283298_, int p_283429_, int p_282193_, int p_281980_, float p_282660_, float p_281522_, int p_282315_, int p_281436_) void
GuiGraphics.blitSprite
(ResourceLocation p_294915_, int p_295058_, int p_294415_, int p_294535_, int p_295510_) void
GuiGraphics.blitSprite
(ResourceLocation p_294549_, int p_294560_, int p_295075_, int p_294098_, int p_295872_, int p_294414_) void
GuiGraphics.blitSprite
(ResourceLocation p_295983_, int p_295194_, int p_295164_, int p_294823_, int p_295650_, int p_295401_, int p_295170_, int p_294104_, int p_294577_) void
GuiGraphics.blitSprite
(ResourceLocation p_295389_, int p_294223_, int p_296245_, int p_296255_, int p_295669_, int p_296061_, int p_295546_, int p_294648_, int p_296423_, int p_295837_) (package private) FontSet
Font.getFontSet
(ResourceLocation p_92864_) GuiSpriteManager.getSprite
(ResourceLocation p_296464_) (package private) void
GuiGraphics.innerBlit
(ResourceLocation p_283461_, int p_281399_, int p_283222_, int p_283615_, int p_283430_, int p_281729_, float p_283247_, float p_282598_, float p_282883_, float p_283017_) (package private) void
GuiGraphics.innerBlit
(ResourceLocation p_283254_, int p_283092_, int p_281930_, int p_282113_, int p_281388_, int p_283583_, float p_281327_, float p_281676_, float p_283166_, float p_282630_, float p_282800_, float p_282850_, float p_282375_, float p_282754_) private void
Gui.renderTextureOverlay
(GuiGraphics p_282304_, ResourceLocation p_281622_, float p_281504_) ModifierConstructorDescriptionprivate
HeartType
(ResourceLocation p_294435_, ResourceLocation p_294438_, ResourceLocation p_295036_, ResourceLocation p_295439_, ResourceLocation p_296249_, ResourceLocation p_295479_, ResourceLocation p_296219_, ResourceLocation p_296437_) ModifierConstructorDescriptionFont
(Function<ResourceLocation, FontSet> p_243253_, boolean p_243245_) -
Uses of ResourceLocation in net.minecraft.client.gui.components
Modifier 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
Modifier 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 p_296269_, boolean p_295773_) protected ResourceLocation
AbstractSliderButton.getHandleSprite()
protected ResourceLocation
AbstractSliderButton.getSprite()
Modifier and TypeMethodDescriptionstatic void
PlayerFaceRenderer.draw
(GuiGraphics p_281827_, ResourceLocation p_281637_, int p_282126_, int p_281693_, int p_281565_) static void
PlayerFaceRenderer.draw
(GuiGraphics p_283244_, ResourceLocation p_281495_, int p_282035_, int p_282441_, int p_281801_, boolean p_283149_, boolean p_283555_) private void
BossHealthOverlay.drawBar
(GuiGraphics p_281657_, int p_283675_, int p_282498_, BossEvent p_281288_, int p_283619_, ResourceLocation[] p_296156_, ResourceLocation[] p_296292_) private static void
PlayerFaceRenderer.drawHat
(GuiGraphics p_282228_, ResourceLocation p_282835_, int p_282585_, int p_282234_, int p_282576_, boolean p_281523_) PopupScreen.Builder.setImage
(ResourceLocation p_304597_) static ImageWidget
ImageWidget.sprite
(int p_295244_, int p_296002_, ResourceLocation p_295131_) SpriteIconButton.Builder.sprite
(ResourceLocation p_295718_, int p_296046_, int p_295188_) static ImageWidget
ImageWidget.texture
(int p_294719_, int p_294578_, ResourceLocation p_295560_, int p_295321_, int p_296474_) ModifierConstructorDescriptionprotected
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 p_294269_) (package private)
PopupScreen
(Screen p_304589_, int p_304486_, ResourceLocation p_304853_, Component p_304839_, Component p_304571_, List<PopupScreen.ButtonOption> p_304767_, Runnable p_304826_) Sprite
(int p_295957_, int p_294219_, int p_296365_, int p_294849_, ResourceLocation p_296297_) (package private)
SpriteIconButton
(int p_294218_, int p_294461_, Component p_294760_, int p_296342_, int p_296291_, ResourceLocation p_294131_, Button.OnPress p_295667_, Button.CreateNarration p_332100_) 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 p_294324_, int p_296206_, int p_294604_, int p_294607_, ResourceLocation p_294536_, int p_295196_, int p_294112_) 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
Modifier 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
Modifier 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
-
Uses of ResourceLocation in net.minecraft.client.gui.font
Modifier 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
Modifier 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.Modifier and TypeMethodDescriptionFontManager.BuilderId.fontId()
Returns the value of thefontId
record component.FontManager.UnresolvedBuilderBundle.fontId()
Returns the value of thefontId
record component.FontSet.name()
Modifier 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> p_285282_) com.mojang.datafixers.util.Either
<CompletableFuture<Optional<GlyphProvider>>, ResourceLocation> FontManager.BuilderResult.result()
Returns the value of theresult
record component.Modifier and TypeMethodDescriptionstatic GlyphRenderTypes
GlyphRenderTypes.createForColorTexture
(ResourceLocation p_285486_) static GlyphRenderTypes
GlyphRenderTypes.createForIntensityTexture
(ResourceLocation p_285411_) void
FontTexture.dumpContents
(ResourceLocation p_285121_, Path p_285511_) private FontSet
FontManager.getFontSetCached
(ResourceLocation p_326503_) private FontSet
FontManager.getFontSetRaw
(ResourceLocation p_325954_) private static List
<com.mojang.datafixers.util.Pair<FontManager.BuilderId, GlyphProviderDefinition.Conditional>> FontManager.loadResourceStack
(List<Resource> p_284976_, ResourceLocation p_285272_) Modifier and TypeMethodDescriptionFontManager.BuilderResult.resolve
(Function<ResourceLocation, List<GlyphProvider.Conditional>> p_284942_) FontManager.UnresolvedBuilderBundle.resolve
(Function<ResourceLocation, List<GlyphProvider.Conditional>> p_285118_) void
FontManager.UnresolvedBuilderBundle.visitOptionalDependencies
(Consumer<ResourceLocation> p_285405_) void
FontManager.UnresolvedBuilderBundle.visitRequiredDependencies
(Consumer<ResourceLocation> p_285391_) ModifierConstructorDescription(package private)
BuilderId
(ResourceLocation fontId, String pack, int index) Creates an instance of aBuilderId
record class.FontSet
(TextureManager p_95062_, ResourceLocation p_95063_) UnresolvedBuilderBundle
(ResourceLocation p_284984_) (package private)
UnresolvedBuilderBundle
(ResourceLocation fontId, List<FontManager.BuilderResult> builders, Set<ResourceLocation> dependencies) Creates an instance of aUnresolvedBuilderBundle
record class.ModifierConstructorDescription(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
Modifier 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.Modifier 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.ModifierConstructorDescriptionDefinition
(ResourceLocation file, int height, int ascent, int[][] codepointGrid) Creates an instance of aDefinition
record class.private
Definition
(ResourceLocation p_286378_, List<UnihexProvider.OverrideRange> p_286770_) Creates an instance of aProviderReferenceDefinition
record class.Creates an instance of aReference
record class.TrueTypeGlyphProviderDefinition
(ResourceLocation location, float size, float oversample, TrueTypeGlyphProviderDefinition.Shift shift, String skip) Creates an instance of aTrueTypeGlyphProviderDefinition
record class. -
Uses of ResourceLocation in net.minecraft.client.gui.screens
Modifier 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
Modifier and TypeMethodDescriptionstatic void
Screen.renderMenuBackgroundTexture
(GuiGraphics p_331514_, ResourceLocation p_333918_, int p_330327_, int p_331282_, float p_334038_, float p_334054_, int p_331309_, int p_331449_) private void
WinScreen.wrapCreditsIO
(ResourceLocation p_350854_, WinScreen.CreditsReader p_197400_) ModifierConstructorDescriptionprivate
FaviconTexture
(TextureManager p_289556_, ResourceLocation p_289549_) -
Uses of ResourceLocation in net.minecraft.client.gui.screens.achievement
Modifier 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
Modifier and TypeFieldDescriptionprivate final Stat
<ResourceLocation> StatsScreen.GeneralStatisticsList.Entry.stat
Modifier and TypeMethodDescription(package private) static String
StatsScreen.getTranslationKey
(Stat<ResourceLocation> p_96947_) -
Uses of ResourceLocation in net.minecraft.client.gui.screens.advancements
Modifier 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
Modifier and TypeMethodDescriptionAdvancementWidgetType.boxSprite()
AdvancementTabType.Sprites.first()
Returns the value of thefirst
record component.AdvancementWidgetType.frameSprite
(AdvancementType p_312712_) AdvancementTabType.Sprites.last()
Returns the value of thelast
record component.AdvancementTabType.Sprites.middle()
Returns the value of themiddle
record component.ModifierConstructorDescriptionprivate
AdvancementWidgetType
(ResourceLocation p_295820_, ResourceLocation p_294158_, ResourceLocation p_294676_, ResourceLocation p_296261_) (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
Modifier 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
Modifier 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
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
private static final ResourceLocation
EnchantmentScreen.ENCHANTING_TABLE_LOCATION
private 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
private static final ResourceLocation
HorseInventoryScreen.HORSE_INVENTORY_LOCATION
static final ResourceLocation
AbstractContainerScreen.INVENTORY_LOCATION
private 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
Modifier and TypeFieldDescriptionprivate static final List
<ResourceLocation> SmithingScreen.EMPTY_SLOT_SMITHING_TEMPLATES
private List
<ResourceLocation> CyclingSlotBackground.icons
Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair
<ResourceLocation, ResourceLocation> CreativeModeInventoryScreen.SlotWrapper.getNoItemIcon()
com.mojang.datafixers.util.Pair
<ResourceLocation, ResourceLocation> CreativeModeInventoryScreen.SlotWrapper.getNoItemIcon()
Modifier and TypeMethodDescriptionprivate void
CyclingSlotBackground.renderIcon
(Slot p_283532_, ResourceLocation p_283004_, float p_282627_, GuiGraphics p_282825_, int p_281375_, int p_283041_) CreativeModeInventoryScreen.SlotWrapper.setBackground
(ResourceLocation atlas, ResourceLocation sprite) Modifier and TypeMethodDescriptionvoid
CyclingSlotBackground.tick
(List<ResourceLocation> p_267074_) ModifierConstructorDescriptionAbstractFurnaceScreen
(T p_97825_, AbstractFurnaceRecipeBookComponent p_97826_, Inventory p_97827_, Component p_97828_, ResourceLocation p_97829_, ResourceLocation p_296257_, ResourceLocation p_295751_) protected
BeaconSpriteScreenButton
(int p_169663_, int p_169664_, ResourceLocation p_294501_, Component p_169667_) ItemCombinerScreen
(T p_98901_, Inventory p_98902_, Component p_98903_, ResourceLocation p_98904_) -
Uses of ResourceLocation in net.minecraft.client.gui.screens.inventory.tooltip
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
ClientBundleTooltip.BACKGROUND_SPRITE
final ResourceLocation
ClientBundleTooltip.Texture.sprite
ModifierConstructorDescriptionprivate
Texture
(ResourceLocation p_295000_, int p_169928_, int p_169929_) -
Uses of ResourceLocation in net.minecraft.client.gui.screens.multiplayer
Modifier 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
Modifier and TypeMethodDescriptionprotected void
ServerSelectionList.OnlineServerEntry.drawIcon
(GuiGraphics p_281338_, int p_283001_, int p_282834_, ResourceLocation p_282534_) -
Uses of ResourceLocation in net.minecraft.client.gui.screens.packs
Modifier 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
Modifier and TypeFieldDescription(package private) final Function
<Pack, ResourceLocation> PackSelectionModel.iconGetter
private final Map
<String, ResourceLocation> PackSelectionScreen.packIcons
Modifier and TypeMethodDescriptionPackSelectionModel.Entry.getIconTexture()
PackSelectionModel.EntryBase.getIconTexture()
private ResourceLocation
PackSelectionScreen.getPackIcon
(Pack p_99990_) private ResourceLocation
PackSelectionScreen.loadPackIcon
(TextureManager p_100017_, Pack p_100018_) ModifierConstructorDescriptionPackSelectionModel
(Runnable p_99909_, Function<Pack, ResourceLocation> p_99910_, PackRepository p_99911_, Consumer<PackRepository> p_99912_) -
Uses of ResourceLocation in net.minecraft.client.gui.screens.recipebook
Modifier 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
Modifier and TypeFieldDescription(package private) static final ResourceLocation
ChatSelectionScreen.CHECKMARK_SPRITE
-
Uses of ResourceLocation in net.minecraft.client.gui.screens.social
Modifier 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
Modifier 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
Modifier 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
Modifier 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
Modifier and TypeFieldDescriptionprotected final Function
<ResourceLocation, RenderType> Model.renderType
ModifierConstructorDescriptionAgeableHierarchicalModel
(float p_273130_, float p_273302_, Function<ResourceLocation, RenderType> p_273636_) protected
AgeableListModel
(Function<ResourceLocation, RenderType> p_102015_, boolean p_102016_, float p_102017_, float p_102018_, float p_102019_, float p_102020_, float p_102021_) protected
EntityModel
(Function<ResourceLocation, RenderType> p_102613_) HierarchicalModel
(Function<ResourceLocation, RenderType> p_170623_) HumanoidModel
(ModelPart p_170679_, Function<ResourceLocation, RenderType> p_170680_) ListModel
(Function<ResourceLocation, RenderType> p_103011_) Model
(Function<ResourceLocation, RenderType> p_103110_) -
Uses of ResourceLocation in net.minecraft.client.model.geom
-
Uses of ResourceLocation in net.minecraft.client.multiplayer
Modifier 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.Modifier 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.ModifierConstructorDescriptionCommonListenerCookie
(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
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
ParticleEngine.PARTICLES_ATLAS_INFO
Modifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, ParticleProvider<?>> ParticleEngine.providers
private final Map
<ResourceLocation, ParticleEngine.MutableSpriteSet> ParticleEngine.spriteSets
private final List
<ResourceLocation> ParticleDescription.textures
Modifier and TypeMethodDescriptionParticleDescription.getTextures()
private Optional
<List<ResourceLocation>> ParticleEngine.loadParticleDescription
(ResourceLocation p_250648_, Resource p_248793_) Modifier and TypeMethodDescriptionprivate Optional
<List<ResourceLocation>> ParticleEngine.loadParticleDescription
(ResourceLocation p_250648_, Resource p_248793_) -
Uses of ResourceLocation in net.minecraft.client.renderer
Modifier 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
Modifier 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
Modifier 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()
Modifier and TypeMethodDescriptionRenderStateShard.MultiTextureStateShard.Builder.add
(ResourceLocation p_173133_, boolean p_173134_, boolean p_173135_) static RenderType
RenderType.armorCutoutNoCull
(ResourceLocation p_110432_) static RenderType
RenderType.beaconBeam
(ResourceLocation p_110461_, boolean p_110462_) static RenderType
RenderType.breezeEyes
(ResourceLocation p_312754_) static RenderType
RenderType.breezeWind
(ResourceLocation p_312312_, float p_312776_, float p_312709_) private static RenderType.CompositeRenderType
RenderType.createArmorCutoutNoCull
(String p_299164_, ResourceLocation p_299169_, boolean p_298490_) static RenderType
RenderType.createArmorDecalCutoutNoCull
(ResourceLocation p_298411_) private static Material
Sheets.createDecoratedPotMaterial
(ResourceLocation p_347474_) static RenderType
RenderType.crumbling
(ResourceLocation p_110495_) static RenderType
RenderType.dragonExplosionAlpha
(ResourceLocation p_173236_) static RenderType
RenderType.energySwirl
(ResourceLocation p_110437_, float p_110438_, float p_110439_) static RenderType
RenderType.entityCutout
(ResourceLocation p_110453_) static RenderType
RenderType.entityCutoutNoCull
(ResourceLocation p_110459_) static RenderType
RenderType.entityCutoutNoCull
(ResourceLocation p_110444_, boolean p_110445_) static RenderType
RenderType.entityCutoutNoCullZOffset
(ResourceLocation p_110465_) static RenderType
RenderType.entityCutoutNoCullZOffset
(ResourceLocation p_110449_, boolean p_110450_) static RenderType
RenderType.entityDecal
(ResourceLocation p_110480_) static RenderType
RenderType.entityNoOutline
(ResourceLocation p_110483_) static RenderType
RenderType.entityShadow
(ResourceLocation p_110486_) static RenderType
RenderType.entitySmoothCutout
(ResourceLocation p_110477_) static RenderType
RenderType.entitySolid
(ResourceLocation p_110447_) static RenderType
RenderType.entityTranslucent
(ResourceLocation p_110474_) static RenderType
RenderType.entityTranslucent
(ResourceLocation p_110455_, boolean p_110456_) static RenderType
RenderType.entityTranslucentCull
(ResourceLocation p_110471_) static RenderType
RenderType.entityTranslucentEmissive
(ResourceLocation p_234339_) static RenderType
RenderType.entityTranslucentEmissive
(ResourceLocation p_234336_, boolean p_234337_) static RenderType
RenderType.eyes
(ResourceLocation p_110489_) GameRenderer.ResourceCache.getResource
(ResourceLocation p_251007_) static RenderType
RenderType.itemEntityTranslucentCull
(ResourceLocation p_110468_) private void
PostChain.load
(TextureManager p_110034_, ResourceLocation p_110035_) void
GameRenderer.loadEffect
(ResourceLocation p_109129_) static RenderType
RenderType.outline
(ResourceLocation p_110492_) static void
ScreenEffectRenderer.renderFluid
(Minecraft p_110726_, PoseStack p_110727_, ResourceLocation texture) static RenderType
RenderType.text
(ResourceLocation p_110498_) static RenderType
RenderType.textIntensity
(ResourceLocation p_173238_) static RenderType
RenderType.textIntensityPolygonOffset
(ResourceLocation p_181447_) static RenderType
RenderType.textIntensitySeeThrough
(ResourceLocation p_173241_) static RenderType
RenderType.textPolygonOffset
(ResourceLocation p_181445_) static RenderType
RenderType.textSeeThrough
(ResourceLocation p_110501_) ModifierConstructorDescriptionCubeMap
(ResourceLocation p_108848_) PostChain
(TextureManager p_110018_, ResourceProvider p_330592_, RenderTarget p_110020_, ResourceLocation p_110021_) ShaderInstance
(ResourceProvider p_173336_, ResourceLocation shaderLocation, VertexFormat p_173338_) TextureStateShard
(ResourceLocation p_110333_, boolean p_110334_, boolean p_110335_) ModifierConstructorDescription(package private)
MultiTextureStateShard
(com.google.common.collect.ImmutableList<org.apache.commons.lang3.tuple.Triple<ResourceLocation, Boolean, Boolean>> p_173123_) ResourceCache
(ResourceProvider original, Map<ResourceLocation, Resource> cache) Creates an instance of aResourceCache
record class. -
Uses of ResourceLocation in net.minecraft.client.renderer.block
Modifier and TypeMethodDescriptionstatic ModelResourceLocation
BlockModelShaper.stateToModelLocation
(ResourceLocation p_110890_, BlockState p_110891_) -
Uses of ResourceLocation in net.minecraft.client.renderer.block.model
Modifier 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
Modifier and TypeMethodDescriptionItemOverride.getModel()
protected ResourceLocation
Variant.Deserializer.getModel
(com.google.gson.JsonObject p_111899_) Variant.getModelLocation()
BlockModel.getParentLocation()
ItemOverride.Predicate.getProperty()
Modifier and TypeMethodDescriptionBlockModel.Deserializer.parseTextureLocationOrReference
(ResourceLocation p_111504_, String p_111505_) Modifier and TypeMethodDescriptionvoid
BlockModel.resolveParents
(Function<ResourceLocation, UnbakedModel> p_249059_) void
MultiVariant.resolveParents
(Function<ResourceLocation, UnbakedModel> p_249314_) ModifierConstructorDescriptionBlockModel
(ResourceLocation p_273263_, List<BlockElement> p_272668_, Map<String, com.mojang.datafixers.util.Either<Material, String>> p_272821_, Boolean p_272676_, BlockModel.GuiLight p_273072_, ItemTransforms p_273480_, List<ItemOverride> p_273099_) ItemOverride
(ResourceLocation p_173447_, List<ItemOverride.Predicate> p_173448_) Predicate
(ResourceLocation p_173457_, float p_173458_) Variant
(ResourceLocation p_111879_, Transformation p_111880_, boolean p_111881_, int p_111882_) -
Uses of ResourceLocation in net.minecraft.client.renderer.block.model.multipart
Modifier and TypeMethodDescriptionvoid
MultiPart.resolveParents
(Function<ResourceLocation, UnbakedModel> p_251539_) -
Uses of ResourceLocation in net.minecraft.client.renderer.blockentity
Modifier 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
Modifier and TypeFieldDescriptionstatic final Map
<SkullBlock.Type, ResourceLocation> SkullBlockRenderer.SKIN_BY_TYPE
Modifier and TypeMethodDescriptionstatic void
BeaconRenderer.renderBeaconBeam
(PoseStack p_112177_, MultiBufferSource p_112178_, ResourceLocation p_350504_, float p_112179_, float p_350618_, long p_112180_, int p_112181_, int p_112182_, int p_350915_, float p_350604_, float p_350669_) -
Uses of ResourceLocation in net.minecraft.client.renderer.entity
Modifier 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
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
Modifier 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
Modifier and TypeMethodDescriptionAbstractZombieRenderer.getTextureLocation
(Zombie p_113771_) AllayRenderer.getTextureLocation
(Allay p_234558_) ArmadilloRenderer.getTextureLocation
(Armadillo p_316224_) ArmorStandRenderer.getTextureLocation
(ArmorStand p_113798_) AxolotlRenderer.getTextureLocation
(Axolotl p_173925_) BatRenderer.getTextureLocation
(Bat p_113876_) BeeRenderer.getTextureLocation
(Bee p_113897_) BlazeRenderer.getTextureLocation
(Blaze p_113908_) BoatRenderer.getTextureLocation
(Boat p_113927_) Deprecated.private static ResourceLocation
BoatRenderer.getTextureLocation
(Boat.Type p_234566_, boolean p_234567_) BoggedRenderer.getTextureLocation
(Bogged p_331017_) BreezeRenderer.getTextureLocation
(Breeze p_311864_) CamelRenderer.getTextureLocation
(Camel p_249584_) CatRenderer.getTextureLocation
(Cat p_113950_) CaveSpiderRenderer.getTextureLocation
(CaveSpider p_113972_) ChestedHorseRenderer.getTextureLocation
(T p_113987_) ChickenRenderer.getTextureLocation
(Chicken p_113998_) CodRenderer.getTextureLocation
(Cod p_114015_) CowRenderer.getTextureLocation
(Cow p_114029_) CreeperRenderer.getTextureLocation
(Creeper p_114041_) DisplayRenderer.getTextureLocation
(T p_270675_) DolphinRenderer.getTextureLocation
(Dolphin p_114059_) DragonFireballRenderer.getTextureLocation
(DragonFireball p_114078_) DrownedRenderer.getTextureLocation
(Zombie p_114115_) ElderGuardianRenderer.getTextureLocation
(Guardian p_114127_) EndCrystalRenderer.getTextureLocation
(EndCrystal p_114157_) EnderDragonRenderer.getTextureLocation
(EnderDragon p_114206_) EndermanRenderer.getTextureLocation
(EnderMan p_114334_) EndermiteRenderer.getTextureLocation
(Endermite p_114354_) abstract ResourceLocation
EntityRenderer.getTextureLocation
(T p_114482_) EvokerFangsRenderer.getTextureLocation
(EvokerFangs p_114526_) EvokerRenderer.getTextureLocation
(T p_114541_) ExperienceOrbRenderer.getTextureLocation
(ExperienceOrb p_114597_) FallingBlockRenderer.getTextureLocation
(FallingBlockEntity p_114632_) FireworkEntityRenderer.getTextureLocation
(FireworkRocketEntity p_114654_) FishingHookRenderer.getTextureLocation
(FishingHook p_114703_) FoxRenderer.getTextureLocation
(Fox p_114736_) FrogRenderer.getTextureLocation
(Frog p_234623_) GhastRenderer.getTextureLocation
(Ghast p_114755_) GiantMobRenderer.getTextureLocation
(Giant p_114773_) GlowSquidRenderer.getTextureLocation
(GlowSquid p_174144_) GoatRenderer.getTextureLocation
(Goat p_174157_) GuardianRenderer.getTextureLocation
(Guardian p_114827_) HoglinRenderer.getTextureLocation
(Hoglin p_114862_) HorseRenderer.getTextureLocation
(Horse p_114872_) HuskRenderer.getTextureLocation
(Zombie p_114905_) IllusionerRenderer.getTextureLocation
(Illusioner p_114950_) IronGolemRenderer.getTextureLocation
(IronGolem p_115012_) ItemEntityRenderer.getTextureLocation
(ItemEntity p_115034_) ItemFrameRenderer.getTextureLocation
(T p_115071_) LeashKnotRenderer.getTextureLocation
(LeashFenceKnotEntity p_115244_) LightningBoltRenderer.getTextureLocation
(LightningBolt p_115264_) LlamaRenderer.getTextureLocation
(Llama p_115355_) LlamaSpitRenderer.getTextureLocation
(LlamaSpit p_115371_) MagmaCubeRenderer.getTextureLocation
(MagmaCube p_115393_) MinecartRenderer.getTextureLocation
(T p_115416_) MushroomCowRenderer.getTextureLocation
(MushroomCow p_115514_) NoopRenderer.getTextureLocation
(T p_174328_) OcelotRenderer.getTextureLocation
(Ocelot p_115524_) OminousItemSpawnerRenderer.getTextureLocation
(OminousItemSpawner p_338515_) PaintingRenderer.getTextureLocation
(Painting p_115550_) PandaRenderer.getTextureLocation
(Panda p_115639_) ParrotRenderer.getTextureLocation
(Parrot p_115658_) PhantomRenderer.getTextureLocation
(Phantom p_115679_) PiglinRenderer.getTextureLocation
(Mob p_115708_) PigRenderer.getTextureLocation
(Pig p_115697_) PillagerRenderer.getTextureLocation
(Pillager p_115720_) PolarBearRenderer.getTextureLocation
(PolarBear p_115732_) PufferfishRenderer.getTextureLocation
(Pufferfish p_115775_) RabbitRenderer.getTextureLocation
(Rabbit p_115803_) RavagerRenderer.getTextureLocation
(Ravager p_115811_) RenderLayerParent.getTextureLocation
(T p_115812_) SalmonRenderer.getTextureLocation
(Salmon p_115826_) SheepRenderer.getTextureLocation
(Sheep p_115840_) ShulkerBulletRenderer.getTextureLocation
(ShulkerBullet p_115860_) ShulkerRenderer.getTextureLocation
(Shulker p_115902_) static ResourceLocation
ShulkerRenderer.getTextureLocation
(DyeColor p_174376_) SilverfishRenderer.getTextureLocation
(Silverfish p_115929_) SkeletonRenderer.getTextureLocation
(T p_115941_) SlimeRenderer.getTextureLocation
(Slime p_115974_) SnifferRenderer.getTextureLocation
(Sniffer p_273552_) SnowGolemRenderer.getTextureLocation
(SnowGolem p_115993_) SpectralArrowRenderer.getTextureLocation
(SpectralArrow p_116001_) SpiderRenderer.getTextureLocation
(T p_116009_) SquidRenderer.getTextureLocation
(T p_116030_) StrayRenderer.getTextureLocation
(Stray p_331809_) StriderRenderer.getTextureLocation
(Strider p_116064_) TadpoleRenderer.getTextureLocation
(Tadpole p_234659_) ThrownItemRenderer.getTextureLocation
(Entity p_116083_) ThrownTridentRenderer.getTextureLocation
(ThrownTrident p_116109_) TippableArrowRenderer.getTextureLocation
(Arrow p_116140_) TntRenderer.getTextureLocation
(PrimedTnt p_116175_) TropicalFishRenderer.getTextureLocation
(TropicalFish p_116217_) TurtleRenderer.getTextureLocation
(Turtle p_116259_) UndeadHorseRenderer.getTextureLocation
(AbstractHorse p_116274_) VexRenderer.getTextureLocation
(Vex p_116292_) VillagerRenderer.getTextureLocation
(Villager p_116312_) VindicatorRenderer.getTextureLocation
(Vindicator p_116324_) WanderingTraderRenderer.getTextureLocation
(WanderingTrader p_116373_) WardenRenderer.getTextureLocation
(Warden p_234791_) WindChargeRenderer.getTextureLocation
(AbstractWindCharge p_326149_) WitchRenderer.getTextureLocation
(Witch p_116410_) WitherBossRenderer.getTextureLocation
(WitherBoss p_116437_) WitherSkeletonRenderer.getTextureLocation
(WitherSkeleton p_332150_) WitherSkullRenderer.getTextureLocation
(WitherSkull p_116482_) WolfRenderer.getTextureLocation
(Wolf p_116526_) ZoglinRenderer.getTextureLocation
(Zoglin p_116544_) ZombieVillagerRenderer.getTextureLocation
(ZombieVillager p_116559_) static ResourceLocation
ParrotRenderer.getVariantTexture
(Parrot.Variant p_262577_) Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair
<ResourceLocation, ListModel<Boat>> BoatRenderer.getModelWithLocation
(Boat boat) -
Uses of ResourceLocation in net.minecraft.client.renderer.entity.layers
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionElytraLayer.getElytraTexture
(ItemStack stack, T entity) Gets the texture to use with this ElytraLayer.private ResourceLocation
VillagerProfessionLayer.getResourceLocation
(String p_117669_, ResourceLocation p_117670_) protected ResourceLocation
CreeperPowerLayer.getTextureLocation()
protected abstract ResourceLocation
EnergySwirlLayer.getTextureLocation()
protected ResourceLocation
RenderLayer.getTextureLocation
(T p_117348_) protected ResourceLocation
WitherArmorLayer.getTextureLocation()
Modifier and TypeMethodDescriptionprotected static <T extends LivingEntity>
voidRenderLayer.coloredCutoutModelCopyLayerRender
(EntityModel<T> p_117360_, EntityModel<T> p_117361_, ResourceLocation p_117362_, PoseStack p_117363_, MultiBufferSource p_117364_, int p_117365_, T p_117366_, float p_117367_, float p_117368_, float p_117369_, float p_117370_, float p_117371_, float p_117372_, int p_350559_) private ResourceLocation
VillagerProfessionLayer.getResourceLocation
(String p_117669_, ResourceLocation p_117670_) protected static <T extends LivingEntity>
voidRenderLayer.renderColoredCutoutModel
(EntityModel<T> p_117377_, ResourceLocation p_117378_, PoseStack p_117379_, MultiBufferSource p_117380_, int p_117381_, T p_117382_, int p_350384_) private void
HumanoidArmorLayer.renderModel
(PoseStack p_289664_, MultiBufferSource p_289689_, int p_289681_, A p_289658_, int p_350798_, ResourceLocation p_324344_) private void
HumanoidArmorLayer.renderModel
(PoseStack p_289664_, MultiBufferSource p_289689_, int p_289681_, Model p_289658_, int p_350798_, ResourceLocation p_324344_) ModifierConstructorDescriptionSaddleLayer
(RenderLayerParent<T, M> p_117390_, M p_117391_, ResourceLocation p_117392_) SkeletonClothingLayer
(RenderLayerParent<T, M> p_326918_, EntityModelSet p_326830_, ModelLayerLocation p_326794_, ResourceLocation p_326858_) WardenEmissiveLayer
(RenderLayerParent<T, M> p_234885_, ResourceLocation p_234886_, WardenEmissiveLayer.AlphaFunction<T> p_234887_, WardenEmissiveLayer.DrawSelector<T, M> p_234888_) -
Uses of ResourceLocation in net.minecraft.client.renderer.entity.player
Modifier and TypeMethodDescriptionPlayerRenderer.getTextureLocation
(AbstractClientPlayer p_117783_) -
Uses of ResourceLocation in net.minecraft.client.renderer.item
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
ItemProperties.DAMAGE
private static final ResourceLocation
ItemProperties.DAMAGED
Modifier and TypeFieldDescriptionprivate static final Map
<ResourceLocation, ItemPropertyFunction> ItemProperties.GENERIC_PROPERTIES
private static final Map
<Item, Map<ResourceLocation, ItemPropertyFunction>> ItemProperties.PROPERTIES
Modifier and TypeMethodDescriptionstatic ItemPropertyFunction
ItemProperties.getProperty
(ItemStack p_336078_, ResourceLocation p_117831_) private static void
ItemProperties.register
(Item p_174571_, ResourceLocation p_174572_, ClampedItemPropertyFunction p_174573_) static void
ItemProperties.register
(Item p_174571_, ResourceLocation p_174572_, ItemPropertyFunction p_174573_) private static ClampedItemPropertyFunction
ItemProperties.registerGeneric
(ResourceLocation p_174582_, ClampedItemPropertyFunction p_174583_) static ItemPropertyFunction
ItemProperties.registerGeneric
(ResourceLocation p_174582_, ItemPropertyFunction p_174583_) -
Uses of ResourceLocation in net.minecraft.client.renderer.texture
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionTextureAtlasSprite.atlasLocation()
static ResourceLocation
MissingTextureAtlasSprite.getLocation()
TextureAtlas.location()
SpriteContents.name()
Stitcher.Entry.name()
TextureManager.register
(String p_118491_, DynamicTexture p_118492_) Modifier and TypeMethodDescriptionprivate Map
<ResourceLocation, TextureAtlasSprite> SpriteLoader.getStitchedSprites
(Stitcher<SpriteContents> p_276117_, int p_276111_, int p_276112_) TextureAtlas.getTextures()
SpriteLoader.Preparations.regions()
Returns the value of theregions
record component.Modifier and TypeMethodDescriptionprivate void
TextureManager._bind
(ResourceLocation p_118520_) void
TextureManager.bindForSetup
(ResourceLocation p_174785_) void
Dumpable.dumpContents
(ResourceLocation p_276124_, Path p_276123_) void
DynamicTexture.dumpContents
(ResourceLocation p_276119_, Path p_276105_) void
TextureAtlas.dumpContents
(ResourceLocation p_276106_, Path p_276127_) TextureAtlas.getSprite
(ResourceLocation p_118317_) TextureManager.getTexture
(ResourceLocation p_118507_) TextureManager.getTexture
(ResourceLocation p_174787_, AbstractTexture p_174788_) static SimpleTexture.TextureImage
SimpleTexture.TextureImage.load
(ResourceManager p_118156_, ResourceLocation p_118157_) SpriteLoader.loadAndStitch
(ResourceManager p_262108_, ResourceLocation p_261754_, int p_262104_, Executor p_261687_) SpriteLoader.loadAndStitch
(ResourceManager p_295469_, ResourceLocation p_294925_, int p_294855_, Executor p_294720_, Collection<MetadataSectionSerializer<?>> p_294816_) private AbstractTexture
TextureManager.loadTexture
(ResourceLocation p_118516_, AbstractTexture p_118517_) TextureManager.preload
(ResourceLocation p_118502_, Executor p_118503_) void
TextureManager.register
(ResourceLocation p_118496_, AbstractTexture p_118497_) void
TextureManager.release
(ResourceLocation p_118514_) void
AbstractTexture.reset
(TextureManager p_117956_, ResourceManager p_117957_, ResourceLocation p_117958_, Executor p_117959_) void
PreloadedTexture.reset
(TextureManager p_118114_, ResourceManager p_118115_, ResourceLocation p_118116_, Executor p_118117_) private void
TextureManager.safeClose
(ResourceLocation p_118509_, AbstractTexture p_118510_) Modifier and TypeMethodDescriptionprivate static void
TextureAtlas.dumpSpriteNames
(Path p_261769_, String p_262102_, Map<ResourceLocation, TextureAtlasSprite> p_261722_) ModifierConstructorDescriptionHttpTexture
(File p_118002_, String p_118003_, ResourceLocation p_118004_, boolean p_118005_, Runnable p_118006_) PreloadedTexture
(ResourceManager p_118102_, ResourceLocation p_118103_, Executor p_118104_) SimpleTexture
(ResourceLocation p_118133_) SpriteContents
(ResourceLocation p_249787_, FrameSize p_251031_, NativeImage p_252131_, ResourceMetadata p_294742_) SpriteLoader
(ResourceLocation p_276126_, int p_276121_, int p_276110_, int p_276114_) TextureAtlas
(ResourceLocation p_118269_) protected
TextureAtlasSprite
(ResourceLocation p_250211_, SpriteContents p_248526_, int p_248950_, int p_249741_, int p_248672_, int p_248637_) ModifierConstructorDescriptionPreparations
(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
Modifier and TypeFieldDescriptionprivate static final com.google.common.collect.BiMap
<ResourceLocation, SpriteSourceType> SpriteSources.TYPES
Modifier and TypeMethodDescriptionvoid
SpriteSource.Output.add
(ResourceLocation p_261821_, SpriteSource.SpriteSupplier p_261760_) default void
SpriteSource.Output.add
(ResourceLocation p_261841_, Resource p_261651_) static SpriteSourceList
SpriteSourceList.load
(ResourceManager p_295606_, ResourceLocation p_295617_) default SpriteContents
SpriteResourceLoader.loadSprite
(ResourceLocation p_295581_, Resource p_294329_) SpriteResourceLoader.loadSprite
(ResourceLocation id, Resource resource, SpriteContentsConstructor constructor) Modifier and TypeMethodDescriptionvoid
SpriteSource.Output.removeAll
(Predicate<ResourceLocation> p_261532_) -
Uses of ResourceLocation in net.minecraft.client.renderer.texture.atlas.sources
Modifier 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.Modifier and TypeFieldDescriptionprivate final Map
<String, ResourceLocation> PalettedPermutations.permutations
private final Optional
<ResourceLocation> SingleFile.spriteId
private final List
<ResourceLocation> PalettedPermutations.textures
Modifier and TypeMethodDescriptionPalettedPermutations.PalettedSpriteSupplier.permutationLocation()
Returns the value of thepermutationLocation
record component.Unstitcher.Region.sprite()
Returns the value of thesprite
record component.Modifier and TypeMethodDescriptionstatic int[]
PalettedPermutations.loadPaletteEntryFromImage
(ResourceManager p_267184_, ResourceLocation p_267059_) ModifierConstructorDescriptionLazyLoadedImage
(ResourceLocation p_267104_, Resource p_266995_, int p_266778_) PalettedPermutations
(List<ResourceLocation> p_267282_, ResourceLocation p_266681_, Map<String, ResourceLocation> p_266741_) PalettedSpriteSupplier
(LazyLoadedImage baseImage, Supplier<IntUnaryOperator> palette, ResourceLocation permutationLocation) Creates an instance of aPalettedSpriteSupplier
record class.Region
(ResourceLocation sprite, double x, double y, double width, double height) Creates an instance of aRegion
record class.SingleFile
(ResourceLocation p_261658_, Optional<ResourceLocation> p_261712_) Unstitcher
(ResourceLocation p_261679_, List<Unstitcher.Region> p_261974_, double p_262181_, double p_261631_) ModifierConstructorDescriptionPalettedPermutations
(List<ResourceLocation> p_267282_, ResourceLocation p_266681_, Map<String, ResourceLocation> p_266741_) PalettedPermutations
(List<ResourceLocation> p_267282_, ResourceLocation p_266681_, Map<String, ResourceLocation> p_266741_) SingleFile
(ResourceLocation p_261658_, Optional<ResourceLocation> p_261712_) -
Uses of ResourceLocation in net.minecraft.client.resources
Modifier 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
private static final ResourceLocation
SplashManager.SPLASHES_LOCATION
private final ResourceLocation
PlayerSkin.texture
The field for thetexture
record component.Modifier and TypeFieldDescriptionprivate final Map
<String, CompletableFuture<ResourceLocation>> SkinManager.TextureCache.textures
Modifier 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 p_295006_) PlayerSkin.texture()
Returns the value of thetexture
record component.Modifier and TypeMethodDescriptionSkinManager.TextureCache.getOrLoad
(com.mojang.authlib.minecraft.MinecraftProfileTexture p_294862_) private CompletableFuture
<ResourceLocation> SkinManager.TextureCache.registerTexture
(com.mojang.authlib.minecraft.MinecraftProfileTexture p_295647_) Modifier and TypeMethodDescriptionstatic int[]
LegacyStuffWrapper.getPixels
(ResourceManager p_118727_, ResourceLocation p_118728_) Deprecated.protected TextureAtlasSprite
TextureAtlasHolder.getSprite
(ResourceLocation p_118902_) ModifierConstructorDescriptionPlayerSkin
(ResourceLocation texture, String textureUrl, ResourceLocation capeTexture, ResourceLocation elytraTexture, PlayerSkin.Model model, boolean secure) Creates an instance of aPlayerSkin
record class.TextureAtlasHolder
(TextureManager p_262057_, ResourceLocation p_261554_, ResourceLocation p_262147_) TextureAtlasHolder
(TextureManager p_294921_, ResourceLocation p_295514_, ResourceLocation p_294920_, Set<MetadataSectionSerializer<?>> p_295003_) -
Uses of ResourceLocation in net.minecraft.client.resources.model
Modifier 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
Modifier 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
Modifier 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()
Modifier and TypeMethodDescriptionModelManager.ReloadState.atlasPreparations()
Returns the value of theatlasPreparations
record component.UnbakedModel.getDependencies()
private static CompletableFuture
<Map<ResourceLocation, BlockModel>> ModelManager.loadBlockModels
(ResourceManager p_251361_, Executor p_252189_) private static CompletableFuture
<Map<ResourceLocation, List<BlockStateModelLoader.LoadedJson>>> ModelManager.loadBlockStates
(ResourceManager p_252084_, Executor p_249943_) AtlasSet.scheduleLoad
(ResourceManager p_249256_, int p_251059_, Executor p_250751_) Modifier and TypeMethodDescriptionModelBaker.bake
(ResourceLocation p_250776_, ModelState p_251280_) Deprecated.ModelBakery.ModelBakerImpl.bake
(ResourceLocation p_252176_, ModelState p_249765_) ModelBakery.ModelBakerImpl.bake
(ResourceLocation p_252176_, ModelState p_249765_, Function<Material, TextureAtlasSprite> sprites) AtlasSet.getAtlas
(ResourceLocation p_250828_) ModelManager.getAtlas
(ResourceLocation p_119429_) ModelBaker.getModel
(ResourceLocation p_252194_) (package private) UnbakedModel
ModelBakery.getModel
(ResourceLocation p_119342_) ModelBakery.ModelBakerImpl.getModel
(ResourceLocation p_248568_) AtlasSet.StitchResult.getSprite
(ResourceLocation p_249039_) static ModelResourceLocation
ModelResourceLocation.inventory
(ResourceLocation p_352141_) private BlockModel
ModelBakery.loadBlockModel
(ResourceLocation p_119365_) private void
BlockStateModelLoader.loadBlockStateDefinitions
(ResourceLocation p_352059_, StateDefinition<Block, BlockState> p_352064_) private void
ModelBakery.loadItemModelAndDependencies
(ResourceLocation p_352200_) (package private) BlockModelDefinition
BlockStateModelLoader.LoadedJson.parse
(ResourceLocation p_352102_, BlockModelDefinition.Context p_352217_) 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.Modifier and TypeMethodDescriptionMaterial.buffer
(MultiBufferSource p_119195_, Function<ResourceLocation, RenderType> p_119196_) Material.buffer
(MultiBufferSource p_119198_, Function<ResourceLocation, RenderType> p_119199_, boolean p_119200_) private ModelManager.ReloadState
ModelManager.loadModels
(ProfilerFiller p_252136_, Map<ResourceLocation, AtlasSet.StitchResult> p_250646_, ModelBakery p_248945_) Material.renderType
(Function<ResourceLocation, RenderType> p_119202_) void
UnbakedModel.resolveParents
(Function<ResourceLocation, UnbakedModel> p_119538_) ModifierConstructorDescription(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 p_119191_, ResourceLocation p_119192_) ModelResourceLocation
(ResourceLocation id, String variant) Creates an instance of aModelResourceLocation
record class.ModifierConstructorDescriptionAtlasSet
(Map<ResourceLocation, ResourceLocation> p_249969_, TextureManager p_252059_) AtlasSet
(Map<ResourceLocation, ResourceLocation> p_249969_, TextureManager p_252059_) BlockStateModelLoader
(Map<ResourceLocation, List<BlockStateModelLoader.LoadedJson>> p_352185_, ProfilerFiller p_352252_, UnbakedModel p_352193_, BlockColors p_352120_, BiConsumer<ModelResourceLocation, UnbakedModel> p_352414_) ModelBakery
(BlockColors p_249183_, ProfilerFiller p_252014_, Map<ResourceLocation, BlockModel> p_251087_, Map<ResourceLocation, List<BlockStateModelLoader.LoadedJson>> p_250416_) -
Uses of ResourceLocation in net.minecraft.client.resources.sounds
Modifier and TypeFieldDescriptionprotected final ResourceLocation
AbstractSoundInstance.location
private final ResourceLocation
Sound.location
Modifier and TypeMethodDescriptionAbstractSoundInstance.getLocation()
Sound.getLocation()
SoundInstance.getLocation()
Sound.getPath()
ModifierConstructorDescriptionprotected
AbstractSoundInstance
(ResourceLocation p_235068_, SoundSource p_235069_, RandomSource p_235070_) SimpleSoundInstance
(ResourceLocation p_235087_, SoundSource p_235088_, float p_235089_, float p_235090_, RandomSource p_235091_, boolean p_235092_, int p_235093_, SoundInstance.Attenuation p_235094_, double p_235095_, double p_235096_, double p_235097_, boolean p_235098_) Sound
(ResourceLocation p_350972_, SampledFloat p_235135_, SampledFloat p_235136_, int p_235137_, Sound.Type p_235138_, boolean p_235139_, boolean p_235140_, int p_235141_) -
Uses of ResourceLocation in net.minecraft.client.searchtree
Modifier and TypeMethodDescriptionstatic <T> ResourceLocationSearchTree
<T> ResourceLocationSearchTree.create
(List<T> p_235213_, Function<T, Stream<ResourceLocation>> p_235214_) ModifierConstructorDescriptionIdSearchTree
(Function<T, Stream<ResourceLocation>> p_235167_, List<T> p_235168_) -
Uses of ResourceLocation in net.minecraft.client.sounds
Modifier and TypeFieldDescriptionstatic final ResourceLocation
SoundManager.EMPTY_SOUND_LOCATION
static final ResourceLocation
SoundManager.INTENTIONALLY_EMPTY_SOUND_LOCATION
Modifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, CompletableFuture<SoundBuffer>> SoundBufferLibrary.cache
private static final Set
<ResourceLocation> SoundEngine.ONLY_WARN_ONCE
(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
Modifier and TypeMethodDescriptionSoundBufferLibrary.getCompleteBuffer
(ResourceLocation p_120203_) SoundManager.getSoundEvent
(ResourceLocation p_120385_) SoundBufferLibrary.getStream
(ResourceLocation p_120205_, boolean p_120206_) (package private) void
SoundManager.Preparations.handleRegistration
(ResourceLocation p_250806_, SoundEventRegistration p_249632_) void
SoundEngine.stop
(ResourceLocation p_120300_, SoundSource p_120301_) void
SoundManager.stop
(ResourceLocation p_120387_, SoundSource p_120388_) (package private) static boolean
SoundManager.validateSoundResource
(Sound p_250396_, ResourceLocation p_250879_, ResourceProvider p_248737_) Modifier and TypeMethodDescriptionvoid
SoundManager.Preparations.apply
(Map<ResourceLocation, WeighedSoundEvents> p_251229_, Map<ResourceLocation, Resource> p_251045_, SoundEngine p_250302_) -
Uses of ResourceLocation in net.minecraft.commands
Modifier and TypeMethodDescriptionCommandSourceStack.getAvailableSounds()
SharedSuggestionProvider.getAvailableSounds()
CommandSourceStack.getRecipeNames()
SharedSuggestionProvider.getRecipeNames()
Modifier and TypeMethodDescriptionstatic <T> void
SharedSuggestionProvider.filterResources
(Iterable<T> p_82939_, String p_82940_, String p_82941_, Function<T, ResourceLocation> p_82942_, Consumer<T> p_82943_) static <T> void
SharedSuggestionProvider.filterResources
(Iterable<T> p_82945_, String p_82946_, Function<T, ResourceLocation> p_82947_, Consumer<T> p_82948_) static CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestResource
(Iterable<ResourceLocation> p_82927_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82928_) static CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestResource
(Iterable<ResourceLocation> p_82930_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82931_, String p_82932_) static <T> CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestResource
(Iterable<T> p_82934_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82935_, Function<T, ResourceLocation> p_82936_, Function<T, com.mojang.brigadier.Message> p_82937_) static CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestResource
(Stream<ResourceLocation> p_82958_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82959_) static CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestResource
(Stream<ResourceLocation> p_205107_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_205108_, String p_205109_) static <T> CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestResource
(Stream<T> p_82961_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82962_, Function<T, ResourceLocation> p_82963_, Function<T, com.mojang.brigadier.Message> p_82964_) -
Uses of ResourceLocation in net.minecraft.commands.arguments
Modifier and TypeMethodDescriptionstatic ResourceLocation
ResourceLocationArgument.getId
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_107012_, String p_107013_) DimensionArgument.parse
(com.mojang.brigadier.StringReader p_88807_) ResourceLocationArgument.parse
(com.mojang.brigadier.StringReader p_106986_) -
Uses of ResourceLocation in net.minecraft.commands.arguments.blocks
-
Uses of ResourceLocation in net.minecraft.commands.arguments.item
Modifier 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.Modifier and TypeFieldDescription(package private) static final Map
<ResourceLocation, ItemPredicateArgument.ComponentWrapper> ItemPredicateArgument.PSEUDO_COMPONENTS
(package private) static final Map
<ResourceLocation, ItemPredicateArgument.PredicateWrapper> ItemPredicateArgument.PSEUDO_PREDICATES
Modifier and TypeMethodDescriptionItemPredicateArgument.ComponentWrapper.id()
Returns the value of theid
record component.ItemPredicateArgument.PredicateWrapper.id()
Returns the value of theid
record component.Modifier and TypeMethodDescriptionstatic com.mojang.datafixers.util.Pair
<ResourceLocation, Collection<CommandFunction<CommandSourceStack>>> FunctionArgument.getFunctionCollection
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_314719_, String p_314716_) static com.mojang.datafixers.util.Pair
<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.getFunctionOrTag
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120921_, String p_120922_) ComponentPredicateParser.Context.listComponentTypes()
ItemPredicateArgument.Context.listComponentTypes()
ComponentPredicateParser.Context.listElementTypes()
ItemPredicateArgument.Context.listElementTypes()
ComponentPredicateParser.Context.listPredicateTypes()
ItemPredicateArgument.Context.listPredicateTypes()
ComponentPredicateParser.Context.listTagTypes()
ItemPredicateArgument.Context.listTagTypes()
ComponentPredicateParser.ComponentLookupRule.possibleResources()
ComponentPredicateParser.ElementLookupRule.possibleResources()
ComponentPredicateParser.PredicateLookupRule.possibleResources()
ComponentPredicateParser.TagLookupRule.possibleResources()
com.mojang.datafixers.util.Pair
<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.Result.unwrap
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120956_) com.mojang.datafixers.util.Pair
<ResourceLocation, Collection<CommandFunction<CommandSourceStack>>> FunctionArgument.Result.unwrapToCollection
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_314714_) Modifier and TypeMethodDescriptionstatic <T> ItemPredicateArgument.ComponentWrapper
ItemPredicateArgument.ComponentWrapper.create
(com.mojang.brigadier.ImmutableStringReader p_335592_, ResourceLocation p_335737_, DataComponentType<T> p_335860_) ComponentPredicateParser.Context.forElementType
(com.mojang.brigadier.ImmutableStringReader p_335757_, ResourceLocation p_336070_) ItemPredicateArgument.Context.forElementType
(com.mojang.brigadier.ImmutableStringReader p_335407_, ResourceLocation p_335837_) ComponentPredicateParser.Context.forTagType
(com.mojang.brigadier.ImmutableStringReader p_335809_, ResourceLocation p_335925_) ItemPredicateArgument.Context.forTagType
(com.mojang.brigadier.ImmutableStringReader p_335801_, ResourceLocation p_336117_) (package private) static CommandFunction
<CommandSourceStack> FunctionArgument.getFunction
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120929_, ResourceLocation p_120930_) (package private) static Collection
<CommandFunction<CommandSourceStack>> FunctionArgument.getFunctionTag
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_235274_, ResourceLocation p_235275_) ComponentPredicateParser.Context.lookupComponentType
(com.mojang.brigadier.ImmutableStringReader p_335515_, ResourceLocation p_335733_) ItemPredicateArgument.Context.lookupComponentType
(com.mojang.brigadier.ImmutableStringReader p_336180_, ResourceLocation p_335872_) ComponentPredicateParser.Context.lookupPredicateType
(com.mojang.brigadier.ImmutableStringReader p_336079_, ResourceLocation p_335954_) ItemPredicateArgument.Context.lookupPredicateType
(com.mojang.brigadier.ImmutableStringReader p_335514_, ResourceLocation p_335709_) protected C
ComponentPredicateParser.ComponentLookupRule.validateElement
(com.mojang.brigadier.ImmutableStringReader p_335604_, ResourceLocation p_335964_) protected T
ComponentPredicateParser.ElementLookupRule.validateElement
(com.mojang.brigadier.ImmutableStringReader p_335629_, ResourceLocation p_335530_) protected P
ComponentPredicateParser.PredicateLookupRule.validateElement
(com.mojang.brigadier.ImmutableStringReader p_336035_, ResourceLocation p_335697_) protected T
ComponentPredicateParser.TagLookupRule.validateElement
(com.mojang.brigadier.ImmutableStringReader p_335858_, ResourceLocation p_335888_) ModifierConstructorDescription(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.ModifierConstructorDescription(package private)
ComponentLookupRule
(Atom<ResourceLocation> p_335669_, ComponentPredicateParser.Context<T, C, P> p_335692_) (package private)
ElementLookupRule
(Atom<ResourceLocation> p_335457_, ComponentPredicateParser.Context<T, C, P> p_335797_) (package private)
PredicateLookupRule
(Atom<ResourceLocation> p_335495_, ComponentPredicateParser.Context<T, C, P> p_335572_) (package private)
TagLookupRule
(Atom<ResourceLocation> p_335960_, ComponentPredicateParser.Context<T, C, P> p_335934_) -
Uses of ResourceLocation in net.minecraft.commands.execution
Modifier and TypeMethodDescriptionvoid
TraceCallbacks.onCall
(int p_306072_, ResourceLocation p_306313_, int p_306250_) -
Uses of ResourceLocation in net.minecraft.commands.functions
Modifier and TypeFieldDescriptionprivate final ResourceLocation
MacroFunction.id
private final ResourceLocation
PlainTextFunction.id
The field for theid
record component.Modifier and TypeMethodDescriptionCommandFunction.id()
InstantiatedFunction.id()
MacroFunction.id()
PlainTextFunction.id()
Returns the value of theid
record component.Modifier and TypeMethodDescriptionFunctionBuilder.build
(ResourceLocation p_306219_) static <T extends ExecutionCommandSource<T>>
CommandFunction<T> CommandFunction.fromLines
(ResourceLocation p_306082_, com.mojang.brigadier.CommandDispatcher<T> p_306046_, T p_305973_, List<String> p_306307_) MacroFunction.Entry.instantiate
(List<String> p_305908_, com.mojang.brigadier.CommandDispatcher<T> p_305826_, ResourceLocation p_305778_) MacroFunction.MacroEntry.instantiate
(List<String> p_306061_, com.mojang.brigadier.CommandDispatcher<T> p_306059_, ResourceLocation p_306158_) MacroFunction.PlainTextEntry.instantiate
(List<String> p_306111_, com.mojang.brigadier.CommandDispatcher<T> p_305941_, ResourceLocation p_305903_) ModifierConstructorDescriptionMacroFunction
(ResourceLocation p_305933_, List<MacroFunction.Entry<T>> p_305814_, List<String> p_306148_) PlainTextFunction
(ResourceLocation id, List<UnboundEntryAction<T>> entries) Creates an instance of aPlainTextFunction
record class. -
Uses of ResourceLocation in net.minecraft.commands.synchronization
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
SuggestionProviders.DEFAULT_NAME
(package private) final ResourceLocation
SuggestionProviders.Wrapper.name
Modifier and TypeFieldDescriptionprivate static final Map
<ResourceLocation, com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider>> SuggestionProviders.PROVIDERS_BY_NAME
Modifier and TypeMethodDescriptionstatic ResourceLocation
SuggestionProviders.getName
(com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> p_121655_) Modifier and TypeMethodDescriptionstatic com.mojang.brigadier.suggestion.SuggestionProvider
<SharedSuggestionProvider> SuggestionProviders.getProvider
(ResourceLocation p_121657_) static <S extends SharedSuggestionProvider>
com.mojang.brigadier.suggestion.SuggestionProvider<S> SuggestionProviders.register
(ResourceLocation p_121659_, com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> p_121660_) ModifierConstructorDescriptionWrapper
(ResourceLocation p_121678_, com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> p_121679_) -
Uses of ResourceLocation in net.minecraft.core
Modifier and TypeFieldDescriptionprivate final ResourceLocation
DefaultedMappedRegistry.defaultKey
private final ResourceLocation
RegistrySynchronization.PackedRegistryEntry.id
The field for theid
record component.Modifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, Holder.Reference<T>> MappedRegistry.byLocation
private final Map
<ResourceLocation, HolderGetter<?>> RegistrySetBuilder.BuildState.registries
The field for theregistries
record component.Modifier and TypeMethodDescriptionDefaultedMappedRegistry.getDefaultKey()
DefaultedRegistry.getDefaultKey()
RegistrySynchronization.PackedRegistryEntry.id()
Returns the value of theid
record component.Modifier and TypeMethodDescriptionMappedRegistry.keySet()
Registry.keySet()
RegistrySetBuilder.BuildState.registries()
Returns the value of theregistries
record component.Modifier and TypeMethodDescriptionboolean
MappedRegistry.containsKey
(ResourceLocation p_122761_) boolean
Registry.containsKey
(ResourceLocation p_123011_) DefaultedMappedRegistry.get
(ResourceLocation p_260004_) DefaultedRegistry.get
(ResourceLocation p_122328_) MappedRegistry.get
(ResourceLocation p_122739_) Registry.get
(ResourceLocation p_123002_) MappedRegistry.getHolder
(ResourceLocation p_316743_) Registry.getHolder
(ResourceLocation p_316492_) int
MappedRegistry.getId
(ResourceLocation name) DefaultedMappedRegistry.getOptional
(ResourceLocation p_260078_) Registry.getOptional
(ResourceLocation p_123007_) boolean
Holder.Direct.is
(ResourceLocation p_205727_) boolean
Holder.is
(ResourceLocation p_205713_) boolean
Holder.Reference.is
(ResourceLocation p_205779_) static <V,
T extends V>
TRegistry.register
(Registry<V> p_122966_, ResourceLocation p_122967_, T p_122968_) static <T> Holder.Reference
<T> Registry.registerForHolder
(Registry<T> p_263351_, ResourceLocation p_263363_, T p_263423_) ModifierConstructorDescriptionPackedRegistryEntry
(ResourceLocation id, Optional<Tag> data) Creates an instance of aPackedRegistryEntry
record class.ModifierConstructorDescription(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
Modifier and TypeFieldDescriptionstatic final DataComponentType
<ResourceLocation> DataComponents.NOTE_BLOCK_SOUND
static final DataComponentType
<List<ResourceLocation>> DataComponents.RECIPES
-
Uses of ResourceLocation in net.minecraft.core.registries
Modifier and TypeFieldDescriptionstatic final Registry
<ResourceLocation> BuiltInRegistries.CUSTOM_STAT
static final ResourceKey
<Registry<ResourceLocation>> Registries.CUSTOM_STAT
private static final Map
<ResourceLocation, Supplier<?>> BuiltInRegistries.LOADERS
Modifier and TypeMethodDescriptionstatic Set
<ResourceLocation> BuiltInRegistries.getVanillaRegistrationOrder()
-
Uses of ResourceLocation in net.minecraft.data
Modifier and TypeMethodDescriptionPackOutput.PathProvider.file
(ResourceLocation p_250940_, String p_251208_) PackOutput.PathProvider.json
(ResourceLocation p_251634_) -
Uses of ResourceLocation in net.minecraft.data.info
Modifier and TypeMethodDescriptionprivate Path
BiomeParametersDumpReport.createPath
(ResourceLocation p_236179_) -
Uses of ResourceLocation in net.minecraft.data.loot
Modifier and TypeMethodDescriptionprivate static ResourceLocation
LootTableProvider.sequenceIdForLootTable
(ResourceKey<LootTable> p_336172_) -
Uses of ResourceLocation in net.minecraft.data.models
Modifier and TypeFieldDescriptionprivate final ResourceLocation
BlockModelGenerators.BlockEntityModelGenerator.baseModel
private ResourceLocation
BlockModelGenerators.BlockFamilyProvider.fullBlock
static final ResourceLocation
ItemModelGenerators.TRIM_TYPE_PREDICATE_ID
Modifier 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
Modifier and TypeMethodDescriptionprivate ResourceLocation
BlockModelGenerators.createSuffixedVariant
(Block p_124579_, String p_124580_, ModelTemplate p_124581_, Function<ResourceLocation, TextureMapping> p_124582_) private ResourceLocation
BlockModelGenerators.createTurtleEggModel
(int p_124514_, String p_124515_, TextureMapping p_124516_) private ResourceLocation
BlockModelGenerators.createTurtleEggModel
(Integer p_124677_, Integer p_124678_) private ResourceLocation
ItemModelGenerators.getItemModelForTrimMaterial
(ResourceLocation p_266817_, String p_267030_) private ResourceLocation
BlockModelGenerators.BlockFamilyProvider.getOrCreateModel
(ModelTemplate p_176262_, Block p_176263_) Modifier and TypeMethodDescriptionprivate List
<ResourceLocation> BlockModelGenerators.createFloorFireModels
(Block p_124996_) private List
<ResourceLocation> BlockModelGenerators.createSideFireModels
(Block p_124999_) private List
<ResourceLocation> BlockModelGenerators.createTopFireModels
(Block p_125002_) Modifier and TypeMethodDescriptionBlockModelGenerators.blockEntityModels
(ResourceLocation p_124691_, Block p_124692_) private static PropertyDispatch.C4
<Direction, DoubleBlockHalf, DoorHingeSide, Boolean> BlockModelGenerators.configureDoorHalf
(PropertyDispatch.C4<Direction, DoubleBlockHalf, DoorHingeSide, Boolean> p_236305_, DoubleBlockHalf p_236306_, ResourceLocation p_236307_, ResourceLocation p_236308_, ResourceLocation p_236309_, ResourceLocation p_236310_) BlockModelGenerators.BlockStateGeneratorSupplier.create
(Block p_176278_, ResourceLocation p_176279_, TextureMapping p_176280_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_176281_) private void
BlockModelGenerators.createAirLikeBlock
(Block p_124922_, ResourceLocation p_124923_) (package private) static BlockStateGenerator
BlockModelGenerators.createAxisAlignedPillarBlock
(Block p_124882_, ResourceLocation p_124883_) private void
BlockModelGenerators.createAxisAlignedPillarBlockCustomModel
(Block p_124902_, ResourceLocation p_124903_) private static PropertyDispatch
BlockModelGenerators.createBooleanModelDispatch
(BooleanProperty p_124623_, ResourceLocation p_124624_, ResourceLocation p_124625_) (package private) static BlockStateGenerator
BlockModelGenerators.createButton
(Block p_124885_, ResourceLocation p_124886_, ResourceLocation p_124887_) private BlockStateGenerator
BlockModelGenerators.createCopperBulb
(Block p_309175_, ResourceLocation p_309189_, ResourceLocation p_308957_, ResourceLocation p_308948_, ResourceLocation p_309019_) (package private) static BlockStateGenerator
BlockModelGenerators.createCustomFence
(Block p_248625_, ResourceLocation p_248654_, ResourceLocation p_249827_, ResourceLocation p_248819_, ResourceLocation p_251062_, ResourceLocation p_249076_) private static BlockStateGenerator
BlockModelGenerators.createDoor
(Block p_236284_, ResourceLocation p_236285_, ResourceLocation p_236286_, ResourceLocation p_236287_, ResourceLocation p_236288_, ResourceLocation p_236289_, ResourceLocation p_236290_, ResourceLocation p_236291_, ResourceLocation p_236292_) private void
BlockModelGenerators.createDoubleBlock
(Block p_124954_, ResourceLocation p_124955_, ResourceLocation p_124956_) private static <T extends Comparable<T>>
PropertyDispatchBlockModelGenerators.createEmptyOrFullDispatch
(Property<T> p_124627_, T p_124628_, ResourceLocation p_124629_, ResourceLocation p_124630_) (package private) static BlockStateGenerator
BlockModelGenerators.createFence
(Block p_124905_, ResourceLocation p_124906_, ResourceLocation p_124907_) (package private) static BlockStateGenerator
BlockModelGenerators.createFenceGate
(Block p_124810_, ResourceLocation p_124811_, ResourceLocation p_124812_, ResourceLocation p_124813_, ResourceLocation p_124814_, boolean p_251730_) private void
BlockModelGenerators.createGrassLikeBlock
(Block p_124600_, ResourceLocation p_124601_, Variant p_124602_) private static BlockStateGenerator
BlockModelGenerators.createMirroredColumnGenerator
(Block p_176180_, ResourceLocation p_176181_, TextureMapping p_176182_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_176183_) private static BlockStateGenerator
BlockModelGenerators.createMirroredCubeGenerator
(Block p_176110_, ResourceLocation p_176111_, TextureMapping p_176112_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_176113_) private static BlockStateGenerator
BlockModelGenerators.createNorthWestMirroredCubeGenerator
(Block p_236317_, ResourceLocation p_236318_, TextureMapping p_236319_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_236320_) private static BlockStateGenerator
BlockModelGenerators.createOrientableTrapdoor
(Block p_124889_, ResourceLocation p_124890_, ResourceLocation p_124891_, ResourceLocation p_124892_) private void
BlockModelGenerators.createPistonVariant
(Block p_124604_, ResourceLocation p_124605_, TextureMapping p_124606_) (package private) static BlockStateGenerator
BlockModelGenerators.createPressurePlate
(Block p_124942_, ResourceLocation p_124943_, ResourceLocation p_124944_) (package private) static BlockStateGenerator
BlockModelGenerators.createRotatedPillarWithHorizontalVariant
(Block p_124925_, ResourceLocation p_124926_, ResourceLocation p_124927_) private static MultiVariantGenerator
BlockModelGenerators.createRotatedVariant
(Block p_124832_, ResourceLocation p_124833_) private static MultiVariantGenerator
BlockModelGenerators.createRotatedVariant
(Block p_124863_, ResourceLocation p_124864_, ResourceLocation p_124865_) private static Variant[]
BlockModelGenerators.createRotatedVariants
(ResourceLocation p_124689_) (package private) static MultiVariantGenerator
BlockModelGenerators.createSimpleBlock
(Block p_124860_, ResourceLocation p_124861_) (package private) static BlockStateGenerator
BlockModelGenerators.createSlab
(Block p_124929_, ResourceLocation p_124930_, ResourceLocation p_124931_, ResourceLocation p_124932_) (package private) static BlockStateGenerator
BlockModelGenerators.createStairs
(Block p_124867_, ResourceLocation p_124868_, ResourceLocation p_124869_, ResourceLocation p_124870_) private static BlockStateGenerator
BlockModelGenerators.createTrapdoor
(Block p_124909_, ResourceLocation p_124910_, ResourceLocation p_124911_, ResourceLocation p_124912_) (package private) static BlockStateGenerator
BlockModelGenerators.createWall
(Block p_124839_, ResourceLocation p_124840_, ResourceLocation p_124841_, ResourceLocation p_124842_) private void
BlockModelGenerators.delegateItemModel
(Item p_124520_, ResourceLocation p_124521_) (package private) void
BlockModelGenerators.delegateItemModel
(Block p_124798_, ResourceLocation p_124799_) private com.google.gson.JsonObject
ItemModelGenerators.generateBaseArmorTrimTemplate
(ResourceLocation p_266939_, Map<TextureSlot, ResourceLocation> p_267324_, Holder<ArmorMaterial> p_323559_) private void
ItemModelGenerators.generateLayeredItem
(ResourceLocation p_267272_, ResourceLocation p_266738_, ResourceLocation p_267328_) private void
ItemModelGenerators.generateLayeredItem
(ResourceLocation p_268353_, ResourceLocation p_268162_, ResourceLocation p_268173_, ResourceLocation p_268312_) private ResourceLocation
ItemModelGenerators.getItemModelForTrimMaterial
(ResourceLocation p_266817_, String p_267030_) Modifier and TypeMethodDescriptionBlockModelGenerators.BlockStateGeneratorSupplier.create
(Block p_176278_, ResourceLocation p_176279_, TextureMapping p_176280_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_176281_) private static BlockStateGenerator
BlockModelGenerators.createMirroredColumnGenerator
(Block p_176180_, ResourceLocation p_176181_, TextureMapping p_176182_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_176183_) private static BlockStateGenerator
BlockModelGenerators.createMirroredCubeGenerator
(Block p_176110_, ResourceLocation p_176111_, TextureMapping p_176112_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_176113_) private static BlockStateGenerator
BlockModelGenerators.createNorthWestMirroredCubeGenerator
(Block p_236317_, ResourceLocation p_236318_, TextureMapping p_236319_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_236320_) (package private) static BlockStateGenerator
BlockModelGenerators.createPillarBlockUVLocked
(Block p_259670_, TextureMapping p_259852_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_259181_) private ResourceLocation
BlockModelGenerators.createSuffixedVariant
(Block p_124579_, String p_124580_, ModelTemplate p_124581_, Function<ResourceLocation, TextureMapping> p_124582_) private com.google.gson.JsonObject
ItemModelGenerators.generateBaseArmorTrimTemplate
(ResourceLocation p_266939_, Map<TextureSlot, ResourceLocation> p_267324_, Holder<ArmorMaterial> p_323559_) BlockModelGenerators.wrapModels
(List<ResourceLocation> p_124683_, UnaryOperator<Variant> p_124684_) ModifierConstructorDescriptionBlockEntityModelGenerator
(ResourceLocation p_125020_, Block p_125021_) ModifierConstructorDescriptionBlockModelGenerators
(Consumer<BlockStateGenerator> p_124481_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_124482_, Consumer<Item> p_124483_) ItemModelGenerators
(BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125082_) -
Uses of ResourceLocation in net.minecraft.data.models.blockstates
Modifier and TypeFieldDescriptionstatic final VariantProperty
<ResourceLocation> VariantProperties.MODEL
-
Uses of ResourceLocation in net.minecraft.data.models.model
Modifier and TypeFieldDescriptionprivate final Optional
<ResourceLocation> ModelTemplate.model
private final Map
<TextureSlot, ResourceLocation> TextureMapping.slots
Modifier and TypeMethodDescriptionModelTemplate.create
(ResourceLocation p_125613_, TextureMapping p_125614_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125615_) ModelTemplate.create
(ResourceLocation p_266990_, TextureMapping p_267329_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_266768_, ModelTemplate.JsonFactory p_266906_) ModelTemplate.create
(Block p_125593_, TextureMapping p_125594_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125595_) TexturedModel.create
(Block p_125938_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125939_) default ResourceLocation
TexturedModel.Provider.create
(Block p_125957_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125958_) ModelTemplate.createWithOverride
(Block p_125617_, String p_125618_, TextureMapping p_125619_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125620_) ModelTemplate.createWithSuffix
(Block p_125597_, String p_125598_, TextureMapping p_125599_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125600_) TexturedModel.createWithSuffix
(Block p_125934_, String p_125935_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125936_) default ResourceLocation
TexturedModel.Provider.createWithSuffix
(Block p_125953_, String p_125954_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125955_) static ResourceLocation
ModelLocationUtils.decorateBlockModelLocation
(String p_125582_) Deprecated.static ResourceLocation
ModelLocationUtils.decorateItemModelLocation
(String p_125584_) TextureMapping.get
(TextureSlot p_125757_) static ResourceLocation
TextureMapping.getBlockTexture
(Block p_125741_) static ResourceLocation
TextureMapping.getBlockTexture
(Block p_125754_, String p_125755_) ModelTemplate.getDefaultModelLocation
(Block p_309103_) static ResourceLocation
TextureMapping.getItemTexture
(Item p_125779_) static ResourceLocation
TextureMapping.getItemTexture
(Item p_125746_, String p_125747_) static ResourceLocation
ModelLocationUtils.getModelLocation
(Item p_125572_) static ResourceLocation
ModelLocationUtils.getModelLocation
(Item p_125574_, String p_125575_) static ResourceLocation
ModelLocationUtils.getModelLocation
(Block p_125577_) static ResourceLocation
ModelLocationUtils.getModelLocation
(Block p_125579_, String p_125580_) Modifier and TypeMethodDescriptionprivate Map
<TextureSlot, ResourceLocation> ModelTemplate.createMap
(TextureMapping p_125609_) Modifier and TypeMethodDescriptionstatic TextureMapping
TextureMapping.cauldron
(ResourceLocation p_176489_) static TextureMapping
TextureMapping.column
(ResourceLocation p_125764_, ResourceLocation p_125765_) TextureMapping.copyAndUpdate
(TextureSlot p_125786_, ResourceLocation p_125787_) ModelTemplate.create
(ResourceLocation p_125613_, TextureMapping p_125614_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125615_) ModelTemplate.create
(ResourceLocation p_266990_, TextureMapping p_267329_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_266768_, ModelTemplate.JsonFactory p_266906_) com.google.gson.JsonObject
ModelTemplate.JsonFactory.create
(ResourceLocation p_266987_, Map<TextureSlot, ResourceLocation> p_266933_) static TexturedModel
TexturedModel.createAllSame
(ResourceLocation p_125950_) com.google.gson.JsonObject
ModelTemplate.createBaseTemplate
(ResourceLocation p_266830_, Map<TextureSlot, ResourceLocation> p_266912_) static TextureMapping
TextureMapping.crop
(ResourceLocation p_125809_) static TextureMapping
TextureMapping.cross
(ResourceLocation p_125789_) static TextureMapping
TextureMapping.cube
(ResourceLocation p_125777_) static TextureMapping
TextureMapping.defaultTexture
(ResourceLocation p_125762_) static TextureMapping
TextureMapping.door
(ResourceLocation p_176484_, ResourceLocation p_176485_) static TextureMapping
TextureMapping.layer0
(ResourceLocation p_125821_) static TextureMapping
TextureMapping.layered
(ResourceLocation p_267142_, ResourceLocation p_266884_) static TextureMapping
TextureMapping.layered
(ResourceLocation p_268096_, ResourceLocation p_268084_, ResourceLocation p_268063_) static TextureMapping
TextureMapping.particle
(ResourceLocation p_125813_) static TextureMapping
TextureMapping.plant
(ResourceLocation p_125799_) TextureMapping.put
(TextureSlot p_125759_, ResourceLocation p_125760_) TextureMapping.putForced
(TextureSlot p_176481_, ResourceLocation p_176482_) static TextureMapping
TextureMapping.rail
(ResourceLocation p_125803_) static TextureMapping
TextureMapping.singleSlot
(TextureSlot p_125796_, ResourceLocation p_125797_) static TextureMapping
TextureMapping.torch
(ResourceLocation p_125817_) static TextureMapping
TextureMapping.wool
(ResourceLocation p_176487_) Modifier and TypeMethodDescriptionModelTemplate.create
(ResourceLocation p_125613_, TextureMapping p_125614_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125615_) ModelTemplate.create
(ResourceLocation p_266990_, TextureMapping p_267329_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_266768_, ModelTemplate.JsonFactory p_266906_) ModelTemplate.create
(Block p_125593_, TextureMapping p_125594_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125595_) com.google.gson.JsonObject
ModelTemplate.JsonFactory.create
(ResourceLocation p_266987_, Map<TextureSlot, ResourceLocation> p_266933_) TexturedModel.create
(Block p_125938_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125939_) default ResourceLocation
TexturedModel.Provider.create
(Block p_125957_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125958_) com.google.gson.JsonObject
ModelTemplate.createBaseTemplate
(ResourceLocation p_266830_, Map<TextureSlot, ResourceLocation> p_266912_) ModelTemplate.createWithOverride
(Block p_125617_, String p_125618_, TextureMapping p_125619_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125620_) ModelTemplate.createWithSuffix
(Block p_125597_, String p_125598_, TextureMapping p_125599_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125600_) TexturedModel.createWithSuffix
(Block p_125934_, String p_125935_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125936_) default ResourceLocation
TexturedModel.Provider.createWithSuffix
(Block p_125953_, String p_125954_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125955_) ModifierConstructorDescriptionModelTemplate
(Optional<ResourceLocation> p_125589_, Optional<String> p_125590_, TextureSlot... p_125591_) -
Uses of ResourceLocation in net.minecraft.data.recipes
Modifier and TypeFieldDescriptionstatic final ResourceLocation
RecipeBuilder.ROOT_RECIPE_ADVANCEMENT
Modifier and TypeMethodDescriptionstatic ResourceLocation
RecipeBuilder.getDefaultRecipeId
(ItemLike p_176494_) Modifier and TypeMethodDescriptiondefault void
RecipeOutput.accept
(ResourceLocation p_312249_, Recipe<?> p_312328_, AdvancementHolder p_312176_) private ShapedRecipePattern
ShapedRecipeBuilder.ensureValid
(ResourceLocation p_126144_) private void
ShapelessRecipeBuilder.ensureValid
(ResourceLocation p_126208_) private void
SimpleCookingRecipeBuilder.ensureValid
(ResourceLocation p_126266_) private void
SingleItemRecipeBuilder.ensureValid
(ResourceLocation p_126330_) private void
SmithingTransformRecipeBuilder.ensureValid
(ResourceLocation p_267259_) private void
SmithingTrimRecipeBuilder.ensureValid
(ResourceLocation p_267040_) void
RecipeBuilder.save
(RecipeOutput p_301032_, ResourceLocation p_176504_) void
ShapedRecipeBuilder.save
(RecipeOutput p_301098_, ResourceLocation p_126142_) void
ShapelessRecipeBuilder.save
(RecipeOutput p_301215_, ResourceLocation p_126206_) void
SimpleCookingRecipeBuilder.save
(RecipeOutput p_301266_, ResourceLocation p_126264_) void
SingleItemRecipeBuilder.save
(RecipeOutput p_301137_, ResourceLocation p_126328_) void
SmithingTransformRecipeBuilder.save
(RecipeOutput p_301291_, ResourceLocation p_300873_) void
SmithingTrimRecipeBuilder.save
(RecipeOutput p_301110_, ResourceLocation p_266718_) void
SpecialRecipeBuilder.save
(RecipeOutput p_301123_, ResourceLocation p_301214_) protected static void
RecipeProvider.trimSmithing
(RecipeOutput p_301332_, Item p_285461_, ResourceLocation p_285044_) -
Uses of ResourceLocation in net.minecraft.data.recipes.packs
Modifier and TypeFieldDescriptionprivate final ResourceLocation
VanillaRecipeProvider.TrimTemplate.id
The field for theid
record component.Modifier and TypeMethodDescriptionVanillaRecipeProvider.TrimTemplate.id()
Returns the value of theid
record component.ModifierConstructorDescriptionTrimTemplate
(Item template, ResourceLocation id) Creates an instance of aTrimTemplate
record class. -
Uses of ResourceLocation in net.minecraft.data.tags
Modifier and TypeFieldDescriptionprotected final Map
<ResourceLocation, TagBuilder> TagsProvider.builders
Modifier and TypeMethodDescriptionTagsProvider.TagAppender.addOptional
(ResourceLocation p_176840_) TagsProvider.TagAppender.addOptionalTag
(ResourceLocation p_176842_) protected @Nullable Path
TagsProvider.getPath
(ResourceLocation id) -
Uses of ResourceLocation in net.minecraft.network
Modifier and TypeMethodDescriptionFriendlyByteBuf.writeResourceLocation
(ResourceLocation p_130086_) -
Uses of ResourceLocation in net.minecraft.network.chat
Modifier and TypeFieldDescriptionstatic final ResourceLocation
Style.DEFAULT_FONT
(package private) final ResourceLocation
Style.font
Modifier and TypeMethodDescriptionstatic Component
Component.translationArg
(ResourceLocation p_304849_) Style.withFont
(ResourceLocation p_131151_) ModifierConstructorDescriptionprivate
Style
(TextColor p_131113_, Boolean p_131114_, Boolean p_131115_, Boolean p_131116_, Boolean p_131117_, Boolean p_131118_, ClickEvent p_131119_, HoverEvent p_131120_, String p_131121_, ResourceLocation p_131122_) -
Uses of ResourceLocation in net.minecraft.network.chat.contents
Modifier and TypeFieldDescriptionprivate final ResourceLocation
StorageDataSource.id
The field for theid
record component.Modifier and TypeMethodDescriptionStorageDataSource.id()
Returns the value of theid
record component.ModifierConstructorDescriptionCreates an instance of aStorageDataSource
record class. -
Uses of ResourceLocation in net.minecraft.network.protocol
Modifier and TypeFieldDescriptionprivate final ResourceLocation
PacketType.id
The field for theid
record component.ModifierConstructorDescriptionPacketType
(PacketFlow flow, ResourceLocation id) Creates an instance of aPacketType
record class. -
Uses of ResourceLocation in net.minecraft.network.protocol.common
Modifier and TypeFieldDescriptionprivate final ResourceLocation
ClientboundStoreCookiePacket.key
The field for thekey
record component.Modifier and TypeMethodDescriptionClientboundStoreCookiePacket.key()
Returns the value of thekey
record component.ModifierConstructorDescriptionClientboundStoreCookiePacket
(ResourceLocation key, byte[] payload) Creates an instance of aClientboundStoreCookiePacket
record class. -
Uses of ResourceLocation in net.minecraft.network.protocol.common.custom
Modifier and TypeFieldDescriptionprivate final ResourceLocation
CustomPacketPayload.Type.id
The field for theid
record component.private final ResourceLocation
DiscardedPayload.id
The field for theid
record component.Modifier and TypeMethodDescriptionCustomPacketPayload.Type.id()
Returns the value of theid
record component.DiscardedPayload.id()
Returns the value of theid
record component.Modifier and TypeMethodDescriptionstatic <T extends FriendlyByteBuf>
StreamCodec<T, DiscardedPayload> DiscardedPayload.codec
(ResourceLocation p_320106_, int p_319929_) StreamCodec
<B, ? extends CustomPacketPayload> CustomPacketPayload.FallbackProvider.create
(ResourceLocation p_320236_) ModifierConstructorDescriptionCreates 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
Modifier and TypeFieldDescriptionprivate final Set
<ResourceLocation> ClientboundUpdateEnabledFeaturesPacket.features
The field for thefeatures
record component.Modifier and TypeMethodDescriptionClientboundUpdateEnabledFeaturesPacket.features()
Returns the value of thefeatures
record component.ModifierConstructorDescriptionCreates an instance of aClientboundUpdateEnabledFeaturesPacket
record class. -
Uses of ResourceLocation in net.minecraft.network.protocol.cookie
Modifier and TypeFieldDescriptionprivate final ResourceLocation
ClientboundCookieRequestPacket.key
The field for thekey
record component.private final ResourceLocation
ServerboundCookieResponsePacket.key
The field for thekey
record component.Modifier and TypeMethodDescriptionClientboundCookieRequestPacket.key()
Returns the value of thekey
record component.ServerboundCookieResponsePacket.key()
Returns the value of thekey
record component.ModifierConstructorDescriptionCreates 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
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionClientboundStopSoundPacket.getName()
ServerboundSetJigsawBlockPacket.getName()
ServerboundSetJigsawBlockPacket.getPool()
ClientboundPlaceGhostRecipePacket.getRecipe()
ServerboundPlaceRecipePacket.getRecipe()
ServerboundRecipeBookSeenRecipePacket.getRecipe()
private static ResourceLocation
ClientboundCommandsPacket.ArgumentNodeStub.getSuggestionId
(com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> p_237654_) ClientboundSelectAdvancementsTabPacket.getTab()
ServerboundSeenAdvancementsPacket.getTab()
ServerboundSetJigsawBlockPacket.getTarget()
Modifier and TypeMethodDescriptionClientboundRecipePacket.getHighlights()
ClientboundUpdateAdvancementsPacket.getProgress()
ClientboundRecipePacket.getRecipes()
ClientboundUpdateAdvancementsPacket.getRemoved()
ModifierConstructorDescription(package private)
ArgumentNodeStub
(String p_237650_, ArgumentTypeInfo.Template<?> p_237651_, ResourceLocation p_237652_) ClientboundStopSoundPacket
(ResourceLocation p_133468_, SoundSource p_133469_) ServerboundSeenAdvancementsPacket
(ServerboundSeenAdvancementsPacket.Action p_134434_, ResourceLocation p_134435_) ServerboundSetJigsawBlockPacket
(BlockPos p_134573_, ResourceLocation p_134574_, ResourceLocation p_134575_, ResourceLocation p_134576_, String p_134577_, JigsawBlockEntity.JointType p_134578_, int p_308944_, int p_309128_) ModifierConstructorDescriptionClientboundRecipePacket
(ClientboundRecipePacket.State p_132855_, Collection<ResourceLocation> p_132856_, Collection<ResourceLocation> p_132857_, RecipeBookSettings p_132858_) ClientboundUpdateAdvancementsPacket
(boolean p_133560_, Collection<AdvancementHolder> p_133561_, Set<ResourceLocation> p_133562_, Map<ResourceLocation, AdvancementProgress> p_133563_) ClientboundUpdateAdvancementsPacket
(boolean p_133560_, Collection<AdvancementHolder> p_133561_, Set<ResourceLocation> p_133562_, Map<ResourceLocation, AdvancementProgress> p_133563_) -
Uses of ResourceLocation in net.minecraft.network.protocol.login
Modifier and TypeMethodDescriptionprivate static CustomQueryPayload
ClientboundCustomQueryPacket.readPayload
(ResourceLocation p_295267_, FriendlyByteBuf p_295117_) private static DiscardedQueryPayload
ClientboundCustomQueryPacket.readUnknownPayload
(ResourceLocation p_294837_, FriendlyByteBuf p_296380_) -
Uses of ResourceLocation in net.minecraft.network.protocol.login.custom
Modifier and TypeFieldDescriptionprivate final ResourceLocation
DiscardedQueryPayload.id
The field for theid
record component.Modifier and TypeMethodDescriptionCustomQueryPayload.id()
DiscardedQueryPayload.id()
Returns the value of theid
record component.ModifierConstructorDescriptionCreates an instance of aDiscardedQueryPayload
record class. -
Uses of ResourceLocation in net.minecraft.resources
Modifier and TypeFieldDescriptionprivate final ResourceLocation
ResourceKey.InternKey.location
The field for thelocation
record component.private final ResourceLocation
ResourceKey.location
private final ResourceLocation
ResourceKey.InternKey.registry
The field for theregistry
record component.private final ResourceLocation
ResourceKey.registryName
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ResourceLocation> ResourceLocation.CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, ResourceLocation> ResourceLocation.STREAM_CODEC
Modifier and TypeMethodDescriptionstatic ResourceLocation
ResourceLocation.bySeparator
(String p_135823_, char p_135824_) private static ResourceLocation
ResourceLocation.createUntrusted
(String p_352179_, String p_352115_) ResourceLocation.Serializer.deserialize
(com.google.gson.JsonElement p_135851_, Type p_135852_, com.google.gson.JsonDeserializationContext p_135853_) FileToIdConverter.fileToId
(ResourceLocation p_249595_) static ResourceLocation
ResourceLocation.fromNamespaceAndPath
(String p_350583_, String p_350305_) FileToIdConverter.idToFile
(ResourceLocation p_251878_) ResourceKey.InternKey.location()
Returns the value of thelocation
record component.ResourceKey.location()
static ResourceLocation
static ResourceLocation
ResourceLocation.read
(com.mojang.brigadier.StringReader p_135819_) static ResourceLocation
ResourceLocation.readNonEmpty
(com.mojang.brigadier.StringReader p_336027_) ResourceKey.InternKey.registry()
Returns the value of theregistry
record component.ResourceKey.registry()
static ResourceLocation
static ResourceLocation
ResourceLocation.tryBySeparator
(String p_352469_, char p_352244_) static ResourceLocation
static ResourceLocation
ResourceLocation.withDefaultNamespace
(String p_350998_) ResourceLocation.withPath
(UnaryOperator<String> p_250342_) ResourceLocation.withPrefix
(String p_250620_) ResourceLocation.withSuffix
(String p_266769_) Modifier and TypeMethodDescriptionFileToIdConverter.listMatchingResources
(ResourceManager p_252045_) FileToIdConverter.listMatchingResourceStacks
(ResourceManager p_249881_) static com.mojang.serialization.DataResult
<ResourceLocation> Modifier and TypeMethodDescriptionint
ResourceLocation.compareNamespaced
(ResourceLocation o) int
ResourceLocation.compareTo
(ResourceLocation p_135826_) static <T> ResourceKey
<T> ResourceKey.create
(ResourceKey<? extends Registry<T>> p_135786_, ResourceLocation p_135787_) private static <T> ResourceKey
<T> ResourceKey.create
(ResourceLocation p_135791_, ResourceLocation p_135792_) static <T> ResourceKey
<Registry<T>> ResourceKey.createRegistryKey
(ResourceLocation p_135789_) FileToIdConverter.fileToId
(ResourceLocation p_249595_) FileToIdConverter.idToFile
(ResourceLocation p_251878_) com.google.gson.JsonElement
ResourceLocation.Serializer.serialize
(ResourceLocation p_135855_, Type p_135856_, com.google.gson.JsonSerializationContext p_135857_) ModifierConstructorDescription(package private)
InternKey
(ResourceLocation registry, ResourceLocation location) Creates an instance of aInternKey
record class.private
ResourceKey
(ResourceLocation p_135780_, ResourceLocation p_135781_) -
Uses of ResourceLocation in net.minecraft.server
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
ServerFunctionManager.LOAD_FUNCTION_TAG
private static final ResourceLocation
ServerFunctionManager.TICK_FUNCTION_TAG
Modifier 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
Modifier and TypeMethodDescriptionServerFunctionLibrary.getAvailableTags()
ServerFunctionManager.getFunctionNames()
ServerFunctionLibrary.getFunctions()
ReloadableServerRegistries.Holder.getKeys
(ResourceKey<? extends Registry<?>> p_335695_) ServerFunctionManager.getTagNames()
PlayerAdvancements.Data.map()
Returns the value of themap
record component.Modifier and TypeMethodDescriptionprivate void
ServerFunctionManager.executeTagFunctions
(Collection<CommandFunction<CommandSourceStack>> p_136116_, ResourceLocation p_136117_) ServerAdvancementManager.get
(ResourceLocation p_301079_) ServerFunctionManager.get
(ResourceLocation p_136119_) ServerFunctionLibrary.getFunction
(ResourceLocation p_136090_) ServerFunctionLibrary.getTag
(ResourceLocation p_214328_) ServerFunctionManager.getTag
(ResourceLocation p_214332_) private void
ServerAdvancementManager.validate
(ResourceLocation p_312696_, Advancement p_312110_) Modifier and TypeMethodDescriptionprotected void
ServerAdvancementManager.apply
(Map<ResourceLocation, com.google.gson.JsonElement> p_136034_, ResourceManager p_136035_, ProfilerFiller p_136036_) void
PlayerAdvancements.Data.forEach
(BiConsumer<ResourceLocation, AdvancementProgress> p_300973_) ModifierConstructorDescription(package private)
Creates an instance of aData
record class. -
Uses of ResourceLocation in net.minecraft.server.bossevents
Modifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, CustomBossEvent> CustomBossEvents.events
Modifier and TypeMethodDescriptionCustomBossEvents.create
(ResourceLocation p_136300_, Component p_136301_) CustomBossEvents.get
(ResourceLocation p_136298_) static CustomBossEvent
CustomBossEvent.load
(CompoundTag p_136273_, ResourceLocation p_136274_, HolderLookup.Provider p_331359_) -
Uses of ResourceLocation in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static int
AttributeCommand.addModifier
(CommandSourceStack p_136470_, Entity p_136471_, Holder<Attribute> p_251636_, ResourceLocation p_350414_, double p_136475_, AttributeModifier.Operation p_136476_) private static int
BossBarCommands.createBar
(CommandSourceStack p_136592_, ResourceLocation p_136593_, Component p_136594_) private static <T extends ExecutionCommandSource<T>>
CommandResultCallbackFunctionCommand.decorateOutputIfNeeded
(T p_309706_, FunctionCommand.Callbacks<T> p_309672_, ResourceLocation p_309690_, CommandResultCallback p_309608_) private static int
AttributeCommand.getAttributeModifier
(CommandSourceStack p_136464_, Entity p_136465_, Holder<Attribute> p_250680_, ResourceLocation p_350277_, double p_136468_) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.instantiateAndQueueFunctions
(CompoundTag p_309636_, ExecutionControl<T> p_309536_, com.mojang.brigadier.CommandDispatcher<T> p_309639_, T p_309605_, CommandFunction<T> p_309610_, ResourceLocation p_309719_, CommandResultCallback p_309544_, boolean p_309542_) void
DebugCommand.Tracer.onCall
(int p_180091_, ResourceLocation p_180092_, int p_180093_) static int
PlaceCommand.placeJigsaw
(CommandSourceStack p_214570_, Holder<StructureTemplatePool> p_214571_, ResourceLocation p_214572_, int p_214573_, BlockPos p_214574_) static int
PlaceCommand.placeTemplate
(CommandSourceStack p_214562_, ResourceLocation p_214563_, BlockPos p_214564_, Rotation p_214565_, Mirror p_214566_, float p_214567_, int p_214568_) private static int
PlaySoundCommand.playSound
(CommandSourceStack p_138161_, Collection<ServerPlayer> p_138162_, ResourceLocation p_138163_, SoundSource p_138164_, Vec3 p_138165_, float p_138166_, float p_138167_, float p_138168_) private static int
RandomCommand.randomSample
(CommandSourceStack p_295774_, MinMaxBounds.Ints p_295453_, ResourceLocation p_294336_, boolean p_296222_) private static int
AttributeCommand.removeModifier
(CommandSourceStack p_136459_, Entity p_136460_, Holder<Attribute> p_250830_, ResourceLocation p_350686_) private static int
RandomCommand.resetSequence
(CommandSourceStack p_295984_, ResourceLocation p_296220_) private static int
RandomCommand.resetSequence
(CommandSourceStack p_296416_, ResourceLocation p_294611_, int p_295199_, boolean p_295241_, boolean p_294844_) void
FunctionCommand.Callbacks.signalResult
(T p_306084_, ResourceLocation p_306003_, int p_305926_) private static int
StopSoundCommand.stopSound
(CommandSourceStack p_138801_, Collection<ServerPlayer> p_138802_, SoundSource p_138803_, ResourceLocation p_138804_) Modifier and TypeMethodDescriptionprivate static int
ScheduleCommand.schedule
(CommandSourceStack p_138429_, com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> p_138430_, int p_138431_, boolean p_138432_) -
Uses of ResourceLocation in net.minecraft.server.commands.data
ModifierConstructorDescription(package private)
StorageDataAccessor
(CommandStorage p_139537_, ResourceLocation p_139538_) -
Uses of ResourceLocation in net.minecraft.server.level
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
WorldGenRegion.WORLDGEN_REGION_RANDOM
Modifier and TypeMethodDescriptionvoid
ServerPlayer.awardRecipesByKey
(List<ResourceLocation> p_312811_) -
Uses of ResourceLocation in net.minecraft.server.network
-
Uses of ResourceLocation in net.minecraft.server.packs
Modifier and TypeMethodDescriptionprivate static String
FilePackResources.getPathFromLocation
(PackType p_250585_, ResourceLocation p_251470_) CompositePackResources.getResource
(PackType p_295406_, ResourceLocation p_296382_) FilePackResources.getResource
(PackType p_249605_, ResourceLocation p_252147_) PackResources.getResource
(PackType p_215339_, ResourceLocation p_249034_) static IoSupplier
<InputStream> PathPackResources.getResource
(ResourceLocation p_250145_, Path p_251046_) PathPackResources.getResource
(PackType p_249352_, ResourceLocation p_251715_) VanillaPackResources.getResource
(PackType p_250512_, ResourceLocation p_251554_) void
VanillaPackResources.listRawPaths
(PackType p_252103_, ResourceLocation p_250441_, Consumer<Path> p_251968_) -
Uses of ResourceLocation in net.minecraft.server.packs.repository
Modifier and TypeFieldDescriptionprivate final ResourceLocation
BuiltInPackSource.packDir
private static final ResourceLocation
ServerPacksSource.PACKS_DIR
ModifierConstructorDescriptionBuiltInPackSource
(PackType p_249137_, VanillaPackResources p_250453_, ResourceLocation p_251151_, DirectoryValidator p_294859_) -
Uses of ResourceLocation in net.minecraft.server.packs.resources
Modifier 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.Modifier and TypeFieldDescriptionprivate final Predicate
<ResourceLocation> FallbackResourceManager.PackEntry.filter
The field for thefilter
record component.Modifier and TypeMethodDescriptionFallbackResourceManager.EntryStack.fileLocation()
Returns the value of thefileLocation
record component.(package private) static ResourceLocation
FallbackResourceManager.getMetadataLocation
(ResourceLocation p_10625_) protected ResourceLocation
SimpleJsonResourceReloadListener.getPreparedPath
(ResourceLocation rl) private static ResourceLocation
FallbackResourceManager.getResourceLocationFromMetadata
(ResourceLocation p_249669_) FallbackResourceManager.EntryStack.metadataLocation()
Returns the value of themetadataLocation
record component.Modifier and TypeMethodDescriptionFallbackResourceManager.PackEntry.filter()
Returns the value of thefilter
record component.FallbackResourceManager.listResources
(String p_215413_, Predicate<ResourceLocation> p_215414_) MultiPackResourceManager.listResources
(String p_215476_, Predicate<ResourceLocation> p_215477_) ReloadableResourceManager.listResources
(String p_215488_, Predicate<ResourceLocation> p_215489_) ResourceManager.Empty.listResources
(String p_215570_, Predicate<ResourceLocation> p_215571_) ResourceManager.listResources
(String p_215563_, Predicate<ResourceLocation> p_215564_) FallbackResourceManager.listResourceStacks
(String p_215416_, Predicate<ResourceLocation> p_215417_) MultiPackResourceManager.listResourceStacks
(String p_215479_, Predicate<ResourceLocation> p_215480_) ReloadableResourceManager.listResourceStacks
(String p_215491_, Predicate<ResourceLocation> p_215492_) ResourceManager.Empty.listResourceStacks
(String p_215573_, Predicate<ResourceLocation> p_215574_) ResourceManager.listResourceStacks
(String p_215565_, Predicate<ResourceLocation> p_215566_) protected Map
<ResourceLocation, com.google.gson.JsonElement> SimpleJsonResourceReloadListener.prepare
(ResourceManager p_10771_, ProfilerFiller p_10772_) Modifier and TypeMethodDescriptionprivate static Resource
FallbackResourceManager.createResource
(PackResources p_249946_, ResourceLocation p_250632_, IoSupplier<InputStream> p_250514_, IoSupplier<ResourceMetadata> p_251676_) private IoSupplier
<ResourceMetadata> FallbackResourceManager.createStackMetadataFinder
(ResourceLocation p_215369_, int p_215370_) (package private) static ResourceLocation
FallbackResourceManager.getMetadataLocation
(ResourceLocation p_10625_) protected ResourceLocation
SimpleJsonResourceReloadListener.getPreparedPath
(ResourceLocation rl) FallbackResourceManager.getResource
(ResourceLocation p_215419_) MultiPackResourceManager.getResource
(ResourceLocation p_215482_) ReloadableResourceManager.getResource
(ResourceLocation p_215494_) ResourceManager.Empty.getResource
(ResourceLocation p_215576_) ResourceProvider.getResource
(ResourceLocation p_215592_) private static ResourceLocation
FallbackResourceManager.getResourceLocationFromMetadata
(ResourceLocation p_249669_) default Resource
ResourceProvider.getResourceOrThrow
(ResourceLocation p_215594_) FallbackResourceManager.getResourceStack
(ResourceLocation p_215367_) MultiPackResourceManager.getResourceStack
(ResourceLocation p_215466_) ReloadableResourceManager.getResourceStack
(ResourceLocation p_215486_) ResourceManager.Empty.getResourceStack
(ResourceLocation p_215568_) ResourceManager.getResourceStack
(ResourceLocation p_215562_) boolean
FallbackResourceManager.PackEntry.isFiltered
(ResourceLocation p_215441_) private static boolean
FallbackResourceManager.isMetadata
(ResourceLocation p_249381_) default InputStream
ResourceProvider.open
(ResourceLocation p_215596_) default BufferedReader
ResourceProvider.openAsReader
(ResourceLocation p_215598_) private static IoSupplier
<InputStream> FallbackResourceManager.wrapForDebug
(ResourceLocation p_248639_, PackResources p_251740_, IoSupplier<InputStream> p_249116_) Modifier and TypeMethodDescriptionprivate static void
FallbackResourceManager.applyPackFiltersToExistingResources
(FallbackResourceManager.PackEntry p_215393_, Map<ResourceLocation, FallbackResourceManager.EntryStack> p_215394_) void
FallbackResourceManager.PackEntry.filterAll
(Collection<ResourceLocation> p_215443_) static ResourceProvider
ResourceProvider.fromMap
(Map<ResourceLocation, Resource> p_251819_) private void
FallbackResourceManager.listPackResources
(FallbackResourceManager.PackEntry p_215388_, String p_215389_, Predicate<ResourceLocation> p_215390_, Map<ResourceLocation, FallbackResourceManager.EntryStack> p_215391_) private void
FallbackResourceManager.listPackResources
(FallbackResourceManager.PackEntry p_215388_, String p_215389_, Predicate<ResourceLocation> p_215390_, Map<ResourceLocation, FallbackResourceManager.EntryStack> p_215391_) FallbackResourceManager.listResources
(String p_215413_, Predicate<ResourceLocation> p_215414_) MultiPackResourceManager.listResources
(String p_215476_, Predicate<ResourceLocation> p_215477_) ReloadableResourceManager.listResources
(String p_215488_, Predicate<ResourceLocation> p_215489_) ResourceManager.Empty.listResources
(String p_215570_, Predicate<ResourceLocation> p_215571_) ResourceManager.listResources
(String p_215563_, Predicate<ResourceLocation> p_215564_) FallbackResourceManager.listResourceStacks
(String p_215416_, Predicate<ResourceLocation> p_215417_) MultiPackResourceManager.listResourceStacks
(String p_215479_, Predicate<ResourceLocation> p_215480_) ReloadableResourceManager.listResourceStacks
(String p_215491_, Predicate<ResourceLocation> p_215492_) ResourceManager.Empty.listResourceStacks
(String p_215573_, Predicate<ResourceLocation> p_215574_) ResourceManager.listResourceStacks
(String p_215565_, Predicate<ResourceLocation> p_215566_) void
FallbackResourceManager.push
(PackResources p_215383_, Predicate<ResourceLocation> p_215384_) void
FallbackResourceManager.pushFilterOnly
(String p_215400_, Predicate<ResourceLocation> p_215401_) private void
FallbackResourceManager.pushInternal
(String p_215396_, PackResources p_215397_, Predicate<ResourceLocation> p_215398_) static void
SimpleJsonResourceReloadListener.scanDirectory
(ResourceManager p_279308_, String p_279131_, com.google.gson.Gson p_279261_, Map<ResourceLocation, com.google.gson.JsonElement> p_279404_) ModifierConstructorDescription(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 p_10633_, ResourceLocation p_10634_, String p_10635_) ModifierConstructorDescription(package private)
PackEntry
(String name, PackResources resources, Predicate<ResourceLocation> filter) Creates an instance of aPackEntry
record class. -
Uses of ResourceLocation in net.minecraft.sounds
Modifier and TypeMethodDescriptionprivate static SoundEvent
SoundEvent.create
(ResourceLocation p_263406_, Optional<Float> p_263346_) static SoundEvent
SoundEvent.createFixedRangeEvent
(ResourceLocation p_263003_, float p_263029_) static SoundEvent
SoundEvent.createVariableRangeEvent
(ResourceLocation p_262973_) private static SoundEvent
SoundEvents.register
(ResourceLocation p_263332_) private static SoundEvent
SoundEvents.register
(ResourceLocation p_263388_, ResourceLocation p_263340_) private static Holder
<SoundEvent> SoundEvents.register
(ResourceLocation p_263323_, ResourceLocation p_263411_, float p_263385_) private static Holder.Reference
<SoundEvent> SoundEvents.registerForHolder
(ResourceLocation p_263361_) private static Holder.Reference
<SoundEvent> SoundEvents.registerForHolder
(ResourceLocation p_263362_, ResourceLocation p_263424_) ModifierConstructorDescriptionprivate
SoundEvent
(ResourceLocation p_215665_, float p_215666_, boolean p_215667_) -
Uses of ResourceLocation in net.minecraft.stats
Modifier 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
Modifier and TypeFieldDescriptionstatic final StatType
<ResourceLocation> Stats.CUSTOM
protected final Set
<ResourceLocation> RecipeBook.highlight
protected final Set
<ResourceLocation> RecipeBook.known
Modifier and TypeMethodDescriptionprivate static <T> ResourceLocation
private static ResourceLocation
Stats.makeCustomStat
(String p_13008_, StatFormatter p_13009_) Modifier and TypeMethodDescriptionprotected void
RecipeBook.add
(ResourceLocation p_12703_) protected void
RecipeBook.addHighlight
(ResourceLocation p_12720_) boolean
RecipeBook.contains
(ResourceLocation p_12712_) private static <T> String
Stat.locationToKey
(ResourceLocation p_12866_) protected void
RecipeBook.remove
(ResourceLocation p_12716_) Modifier and TypeMethodDescriptionprivate void
ServerRecipeBook.sendRecipes
(ClientboundRecipePacket.State p_12802_, ServerPlayer p_12803_, List<ResourceLocation> p_12804_) -
Uses of ResourceLocation in net.minecraft.tags
Modifier and TypeFieldDescriptionprivate final ResourceLocation
TagEntry.id
private final ResourceLocation
TagKey.location
The field for thelocation
record component.Modifier 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
Modifier and TypeMethodDescriptionTagEntry.getId()
TagKey.location()
Returns the value of thelocation
record component.Modifier and TypeMethodDescriptionTagLoader.build
(Map<ResourceLocation, List<TagLoader.EntryWithSource>> p_203899_) TagLoader.load
(ResourceManager p_144496_) TagLoader.loadAndBuild
(ResourceManager p_203901_) TagManager.LoadResult.tags()
Returns the value of thetags
record component.Modifier and TypeMethodDescriptionTagBuilder.addElement
(ResourceLocation p_215901_) TagBuilder.addOptionalElement
(ResourceLocation p_215906_) TagBuilder.addOptionalTag
(ResourceLocation p_215910_) TagBuilder.addTag
(ResourceLocation p_215908_) BlockTags.create
(ResourceLocation name) FluidTags.create
(ResourceLocation name) ItemTags.create
(ResourceLocation name) static <T> TagKey
<T> TagKey.create
(ResourceKey<? extends Registry<T>> p_203883_, ResourceLocation p_203884_) static TagEntry
TagEntry.element
(ResourceLocation p_215926_) TagEntry.Lookup.element
(ResourceLocation p_215956_) static TagEntry
TagEntry.optionalElement
(ResourceLocation p_215944_) static TagEntry
TagEntry.optionalTag
(ResourceLocation p_215954_) TagEntry.Lookup.tag
(ResourceLocation p_215957_) static TagEntry
TagEntry.tag
(ResourceLocation p_215950_) Modifier and TypeMethodDescriptionTagLoader.build
(Map<ResourceLocation, List<TagLoader.EntryWithSource>> p_203899_) boolean
TagEntry.verifyIfPresent
(Predicate<ResourceLocation> p_215941_, Predicate<ResourceLocation> p_215942_) void
TagEntry.visitOptionalDependencies
(Consumer<ResourceLocation> p_215948_) void
TagLoader.SortingEntry.visitOptionalDependencies
(Consumer<ResourceLocation> p_285469_) void
TagEntry.visitRequiredDependencies
(Consumer<ResourceLocation> p_215939_) void
TagLoader.SortingEntry.visitRequiredDependencies
(Consumer<ResourceLocation> p_285529_) ModifierConstructorDescriptionprivate
TagEntry
(ResourceLocation p_215918_, boolean p_215919_, boolean p_215920_) TagKey
(ResourceKey<? extends Registry<T>> registry, ResourceLocation location) Deprecated.ModifierConstructorDescriptionLoadResult
(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> p_203965_) -
Uses of ResourceLocation in net.minecraft.util
Modifier and TypeFieldDescriptionprivate final ResourceLocation
ExtraCodecs.TagOrElementLocation.id
The field for theid
record component.Modifier and TypeFieldDescriptionprivate final Predicate
<ResourceLocation> ResourceLocationPattern.locationPredicate
Modifier and TypeMethodDescriptionExtraCodecs.TagOrElementLocation.id()
Returns the value of theid
record component.ModifierConstructorDescriptionTagOrElementLocation
(ResourceLocation id, boolean tag) Creates an instance of aTagOrElementLocation
record class. -
Uses of ResourceLocation in net.minecraft.util.parsing.packrat.commands
Modifier and TypeFieldDescriptionprivate final Atom
<ResourceLocation> ResourceLookupRule.idParser
static final Rule
<com.mojang.brigadier.StringReader, ResourceLocation> ResourceLocationParseRule.INSTANCE
Modifier and TypeMethodDescriptionResourceLocationParseRule.parse
(ParseState<com.mojang.brigadier.StringReader> p_335633_) ResourceSuggestion.possibleResources()
Modifier and TypeMethodDescriptionprotected abstract V
ResourceLookupRule.validateElement
(com.mojang.brigadier.ImmutableStringReader p_335698_, ResourceLocation p_335462_) ModifierConstructorDescriptionprotected
ResourceLookupRule
(Atom<ResourceLocation> p_336007_, C p_335882_) -
Uses of ResourceLocation in net.minecraft.world
Modifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, RandomSequence> RandomSequences.sequences
Modifier and TypeMethodDescriptionprivate RandomSequence
RandomSequences.createSequence
(ResourceLocation p_295796_) private RandomSequence
RandomSequences.createSequence
(ResourceLocation p_295614_, int p_296284_, boolean p_296271_, boolean p_295917_) RandomSequences.get
(ResourceLocation p_287751_) void
RandomSequences.reset
(ResourceLocation p_296099_) void
RandomSequences.reset
(ResourceLocation p_294608_, int p_295700_, boolean p_296000_, boolean p_294735_) static RandomSupport.Seed128bit
RandomSequence.seedForKey
(ResourceLocation p_288989_) Modifier and TypeMethodDescriptionprivate static XoroshiroRandomSource
RandomSequence.createSequence
(long p_289567_, Optional<ResourceLocation> p_294573_) void
RandomSequences.forAllSequences
(BiConsumer<ResourceLocation, RandomSequence> p_294252_) ModifierConstructorDescriptionRandomSequence
(long p_295115_, Optional<ResourceLocation> p_295306_) -
Uses of ResourceLocation in net.minecraft.world.effect
Modifier and TypeFieldDescriptionprivate final ResourceLocation
MobEffect.AttributeTemplate.id
The field for theid
record component.Modifier and TypeMethodDescriptionMobEffect.AttributeTemplate.id()
Returns the value of theid
record component.Modifier and TypeMethodDescriptionMobEffect.addAttributeModifier
(Holder<Attribute> p_316656_, ResourceLocation p_350368_, double p_19475_, AttributeModifier.Operation p_19476_) ModifierConstructorDescription(package private)
AttributeTemplate
(ResourceLocation id, double amount, AttributeModifier.Operation operation) Creates an instance of aAttributeTemplate
record class. -
Uses of ResourceLocation in net.minecraft.world.entity
Modifier and TypeFieldDescriptionprotected static final ResourceLocation
private static final ResourceLocation
LivingEntity.SPEED_MODIFIER_POWDER_SNOW_ID
private static final ResourceLocation
LivingEntity.SPRINTING_MODIFIER_ID
Modifier and TypeMethodDescriptionstatic ResourceLocation
EntityType.getKey
(EntityType<?> p_20614_) -
Uses of ResourceLocation in net.minecraft.world.entity.ai.attributes
Modifier and TypeFieldDescriptionprivate final ResourceLocation
AttributeModifier.id
The field for theid
record component.Modifier 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
Modifier and TypeMethodDescriptionAttributeModifier.id()
Returns the value of theid
record component.Modifier and TypeMethodDescription(package private) Map
<ResourceLocation, AttributeModifier> AttributeInstance.getModifiers
(AttributeModifier.Operation p_22105_) Modifier and TypeMethodDescriptionAttributeInstance.getModifier
(ResourceLocation p_351007_) double
AttributeMap.getModifierValue
(Holder<Attribute> p_251534_, ResourceLocation p_350464_) double
AttributeSupplier.getModifierValue
(Holder<Attribute> p_316754_, ResourceLocation p_350708_) boolean
AttributeInstance.hasModifier
(ResourceLocation p_350421_) boolean
AttributeMap.hasModifier
(Holder<Attribute> p_250299_, ResourceLocation p_350963_) boolean
AttributeSupplier.hasModifier
(Holder<Attribute> p_316471_, ResourceLocation p_350394_) boolean
AttributeModifier.is
(ResourceLocation p_350471_) boolean
AttributeInstance.removeModifier
(ResourceLocation p_350300_) ModifierConstructorDescriptionAttributeModifier
(ResourceLocation id, double amount, AttributeModifier.Operation operation) Creates an instance of aAttributeModifier
record class. -
Uses of ResourceLocation in net.minecraft.world.entity.animal
Modifier 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
Modifier and TypeMethodDescriptionWolfVariant.angryTexture()
private static ResourceLocation
WolfVariant.fullTextureId
(ResourceLocation p_336042_) 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()
Modifier and TypeMethodDescriptionprivate static ResourceLocation
WolfVariant.fullTextureId
(ResourceLocation p_336042_) ModifierConstructorDescriptionCatVariant
(ResourceLocation texture) Creates an instance of aCatVariant
record class.FrogVariant
(ResourceLocation texture) Creates an instance of aFrogVariant
record class.WolfVariant
(ResourceLocation p_332712_, ResourceLocation p_332714_, ResourceLocation p_332788_, HolderSet<Biome> p_332717_) -
Uses of ResourceLocation in net.minecraft.world.entity.decoration
Modifier and TypeFieldDescriptionprivate final ResourceLocation
PaintingVariant.assetId
The field for theassetId
record component.Modifier and TypeMethodDescriptionPaintingVariant.assetId()
Returns the value of theassetId
record component.ModifierConstructorDescriptionPaintingVariant
(int width, int height, ResourceLocation assetId) Creates an instance of aPaintingVariant
record class. -
Uses of ResourceLocation in net.minecraft.world.entity.monster
Modifier 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
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
Piglin.SPEED_MODIFIER_BABY_ID
-
Uses of ResourceLocation in net.minecraft.world.entity.player
Modifier and TypeMethodDescriptionvoid
Player.awardStat
(ResourceLocation p_36221_) void
Player.awardStat
(ResourceLocation p_36223_, int p_36224_) Modifier and TypeMethodDescriptionvoid
Player.awardRecipesByKey
(List<ResourceLocation> p_312922_) -
Uses of ResourceLocation in net.minecraft.world.flag
Modifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, FeatureFlag> FeatureFlagRegistry.Builder.flags
private final Map
<ResourceLocation, FeatureFlag> FeatureFlagRegistry.names
Modifier and TypeMethodDescriptionFeatureFlagRegistry.fromNames
(Iterable<ResourceLocation> p_250759_) FeatureFlagRegistry.fromNames
(Iterable<ResourceLocation> p_251769_, Consumer<ResourceLocation> p_251521_) FeatureFlagRegistry.fromNames
(Iterable<ResourceLocation> p_251769_, Consumer<ResourceLocation> p_251521_) ModifierConstructorDescription(package private)
FeatureFlagRegistry
(FeatureFlagUniverse p_249715_, FeatureFlagSet p_249277_, Map<ResourceLocation, FeatureFlag> p_249557_) -
Uses of ResourceLocation in net.minecraft.world.inventory
Modifier 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
Modifier 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
Modifier 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()
Modifier and TypeMethodDescriptionSlot.setBackground
(ResourceLocation atlas, ResourceLocation sprite) Sets the background atlas and sprite location.ModifierConstructorDescriptionArmorSlot
(Container p_345898_, LivingEntity p_345231_, EquipmentSlot p_345728_, int p_345121_, int p_346000_, int p_346095_, ResourceLocation p_344841_) -
Uses of ResourceLocation in net.minecraft.world.item
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionstatic ResourceLocation
CreativeModeTab.createTextureLocation
(String p_350882_) CreativeModeTab.getBackgroundTexture()
AnimalArmorItem.getOverlayTexture()
CreativeModeTab.getScrollerSprite()
CreativeModeTab.getTabsImage()
AnimalArmorItem.getTexture()
private ResourceLocation
ArmorMaterial.Layer.resolveTexture
(boolean p_324124_) ArmorMaterial.Layer.texture
(boolean p_323901_) Modifier 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()
Modifier and TypeMethodDescriptionCreativeModeTab.Builder.backgroundTexture
(ResourceLocation p_350939_) static SmithingTemplateItem
SmithingTemplateItem.createArmorTrimTemplate
(ResourceLocation p_266880_, FeatureFlag... p_334025_) static Item
Items.registerItem
(ResourceLocation p_42817_, Item p_42818_) 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.ModifierConstructorDescription(package private)
CreativeModeTab
(CreativeModeTab.Row p_260217_, int p_259557_, CreativeModeTab.Type p_260176_, Component p_260100_, Supplier<ItemStack> p_259543_, CreativeModeTab.DisplayItemsGenerator p_259085_, ResourceLocation scrollerSpriteLocation, boolean hasSearchBar, int searchBarWidth, ResourceLocation tabsImage, int labelColor, int slotColor, List<ResourceLocation> tabsBefore, List<ResourceLocation> tabsAfter) Layer
(ResourceLocation p_323826_) Layer
(ResourceLocation p_324274_, String p_324446_, boolean p_324406_) ModifierConstructorDescriptionprivate
BodyType
(Function<ResourceLocation, ResourceLocation> p_324258_, SoundEvent p_331429_) private
BodyType
(Function<ResourceLocation, ResourceLocation> p_324258_, SoundEvent p_331429_) (package private)
CreativeModeTab
(CreativeModeTab.Row p_260217_, int p_259557_, CreativeModeTab.Type p_260176_, Component p_260100_, Supplier<ItemStack> p_259543_, CreativeModeTab.DisplayItemsGenerator p_259085_, ResourceLocation scrollerSpriteLocation, boolean hasSearchBar, int searchBarWidth, ResourceLocation tabsImage, int labelColor, int slotColor, List<ResourceLocation> tabsBefore, List<ResourceLocation> tabsAfter) SmithingTemplateItem
(Component p_266834_, Component p_267043_, Component p_267048_, Component p_267278_, Component p_267090_, List<ResourceLocation> p_266755_, List<ResourceLocation> p_267060_, FeatureFlag... p_333776_) -
Uses of ResourceLocation in net.minecraft.world.item.armortrim
Modifier and TypeFieldDescriptionprivate final ResourceLocation
TrimPattern.assetId
The field for theassetId
record component.Modifier and TypeFieldDescriptionprivate final Function
<Holder<ArmorMaterial>, ResourceLocation> ArmorTrim.innerTexture
private final Function
<Holder<ArmorMaterial>, ResourceLocation> ArmorTrim.outerTexture
Modifier and TypeMethodDescriptionTrimPattern.assetId()
Returns the value of theassetId
record component.ArmorTrim.innerTexture
(Holder<ArmorMaterial> p_324361_) ArmorTrim.outerTexture
(Holder<ArmorMaterial> p_323530_) ModifierConstructorDescriptionTrimPattern
(ResourceLocation assetId, Holder<Item> templateItem, Component description, boolean decal) Creates an instance of aTrimPattern
record class.ModifierConstructorDescriptionprivate
ArmorTrim
(Holder<TrimMaterial> p_336069_, Holder<TrimPattern> p_335896_, boolean p_335621_, Function<Holder<ArmorMaterial>, ResourceLocation> p_335613_, Function<Holder<ArmorMaterial>, ResourceLocation> p_335818_) -
Uses of ResourceLocation in net.minecraft.world.item.component
Modifier and TypeMethodDescriptionboolean
ItemAttributeModifiers.Entry.matches
(Holder<Attribute> p_350582_, ResourceLocation p_350416_) -
Uses of ResourceLocation in net.minecraft.world.item.crafting
Modifier and TypeFieldDescriptionprivate final ResourceLocation
RecipeHolder.id
The field for theid
record component.Modifier and TypeFieldDescriptionprivate Map
<ResourceLocation, RecipeHolder<?>> RecipeManager.byName
Modifier and TypeMethodDescriptionRecipeHolder.id()
Returns the value of theid
record component.Modifier and TypeMethodDescriptionOptional
<RecipeHolder<?>> RecipeManager.byKey
(ResourceLocation p_44044_) private <T extends Recipe<?>>
RecipeHolder<T> RecipeManager.byKeyTyped
(RecipeType<T> p_341695_, ResourceLocation p_341666_) protected static RecipeHolder
<?> RecipeManager.fromJson
(ResourceLocation p_44046_, com.google.gson.JsonObject p_44047_, HolderLookup.Provider p_323755_) <I extends RecipeInput,
T extends Recipe<I>>
Optional<RecipeHolder<T>> RecipeManager.getRecipeFor
(RecipeType<T> p_345895_, I p_345268_, Level p_346336_, ResourceLocation p_346260_) static <T extends Recipe<?>>
RecipeType<T> RecipeType.simple
(ResourceLocation name) Modifier and TypeMethodDescriptionprotected void
RecipeManager.apply
(Map<ResourceLocation, com.google.gson.JsonElement> p_44037_, ResourceManager p_44038_, ProfilerFiller p_44039_) ModifierConstructorDescriptionRecipeHolder
(ResourceLocation id, T value) Creates an instance of aRecipeHolder
record class. -
Uses of ResourceLocation in net.minecraft.world.item.enchantment
-
Uses of ResourceLocation in net.minecraft.world.item.enchantment.effects
Modifier and TypeFieldDescriptionprivate final ResourceLocation
RunFunction.function
The field for thefunction
record component.private final ResourceLocation
EnchantmentAttributeEffect.id
The field for theid
record component.Modifier and TypeMethodDescriptionRunFunction.function()
Returns the value of thefunction
record component.EnchantmentAttributeEffect.id()
Returns the value of theid
record component.private ResourceLocation
EnchantmentAttributeEffect.idForSlot
(StringRepresentable p_350940_) ModifierConstructorDescriptionEnchantmentAttributeEffect
(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
Modifier and TypeMethodDescriptionprivate static ResourceLocation
Spawner.getEntityKey
(CompoundTag p_312232_, String p_312196_) -
Uses of ResourceLocation in net.minecraft.world.level.biome
Modifier and TypeFieldDescriptionprivate final ResourceLocation
MultiNoiseBiomeSourceParameterList.Preset.id
The field for theid
record component.Modifier and TypeFieldDescription(package private) static final Map
<ResourceLocation, MultiNoiseBiomeSourceParameterList.Preset> MultiNoiseBiomeSourceParameterList.Preset.BY_NAME
Modifier and TypeMethodDescriptionMultiNoiseBiomeSourceParameterList.Preset.id()
Returns the value of theid
record component.ModifierConstructorDescriptionCreates an instance of aPreset
record class. -
Uses of ResourceLocation in net.minecraft.world.level.block
Modifier and TypeFieldDescriptionstatic final ResourceLocation
ShulkerBoxBlock.CONTENTS
static final ResourceLocation
DecoratedPotBlock.SHERDS_DYNAMIC_DROP_ID
Modifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, Supplier<? extends Block>> FlowerPotBlock.fullPots
Modifier and TypeMethodDescriptionprivate ResourceLocation
NoteBlock.getCustomSoundId
(Level p_263070_, BlockPos p_262999_) Modifier and TypeMethodDescriptionMap
<ResourceLocation, Supplier<? extends Block>> FlowerPotBlock.getFullPotsView()
protected Stat
<ResourceLocation> ChestBlock.getOpenChestStat()
protected Stat
<ResourceLocation> TrappedChestBlock.getOpenChestStat()
Modifier and TypeMethodDescriptionvoid
FlowerPotBlock.addPlant
(ResourceLocation flower, Supplier<? extends Block> fullPot) -
Uses of ResourceLocation in net.minecraft.world.level.block.entity
Modifier 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
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap
<ResourceLocation> AbstractFurnaceBlockEntity.recipesUsed
Modifier and TypeMethodDescriptionBannerPattern.assetId()
Returns the value of theassetId
record component.DecoratedPotPattern.assetId()
Returns the value of theassetId
record component.static ResourceLocation
BlockEntityType.getKey
(BlockEntityType<?> p_58955_) JigsawBlockEntity.getName()
SkullBlockEntity.getNoteBlockSound()
JigsawBlockEntity.getTarget()
Modifier and TypeMethodDescriptionvoid
JigsawBlockEntity.setName
(ResourceLocation p_59436_) void
StructureBlockEntity.setStructureName
(ResourceLocation p_59875_) void
JigsawBlockEntity.setTarget
(ResourceLocation p_59439_) ModifierConstructorDescriptionBannerPattern
(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
Modifier 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
Modifier and TypeMethodDescriptionDimensionType.effectsLocation()
Returns the value of theeffectsLocation
record component.ModifierConstructorDescriptionDimensionType
(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
Modifier and TypeFieldDescriptionprivate final ResourceLocation
SurfaceRules.VerticalGradientConditionSource.randomName
The field for therandomName
record component.Modifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, PositionalRandomFactory> RandomState.positionalRandoms
Modifier and TypeMethodDescriptionSurfaceRules.VerticalGradientConditionSource.randomName()
Returns the value of therandomName
record component.Modifier and TypeMethodDescriptiondefault RandomSource
PositionalRandomFactory.fromHashOf
(ResourceLocation p_224541_) RandomState.getOrCreateRandomFactory
(ResourceLocation p_224566_) ModifierConstructorDescription(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
Modifier and TypeFieldDescriptionfinal List
<ResourceLocation> FossilFeatureConfiguration.fossilStructures
final List
<ResourceLocation> FossilFeatureConfiguration.overlayStructures
ModifierConstructorDescriptionFossilFeatureConfiguration
(List<ResourceLocation> p_204751_, List<ResourceLocation> p_204752_, Holder<StructureProcessorList> p_204753_, Holder<StructureProcessorList> p_204754_, int p_204755_) -
Uses of ResourceLocation in net.minecraft.world.level.levelgen.structure
Modifier and TypeMethodDescriptionprotected ResourceLocation
TemplateStructurePiece.makeTemplateLocation()
ModifierConstructorDescriptionTemplateStructurePiece
(StructurePieceType p_226886_, int p_226887_, StructureTemplateManager p_226888_, ResourceLocation p_226889_, String p_226890_, StructurePlaceSettings p_226891_, BlockPos p_226892_) ModifierConstructorDescriptionTemplateStructurePiece
(StructurePieceType p_226894_, CompoundTag p_226895_, StructureTemplateManager p_226896_, Function<ResourceLocation, StructurePlaceSettings> p_226897_) -
Uses of ResourceLocation in net.minecraft.world.level.levelgen.structure.pieces
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
PiecesContainer.JIGSAW_RENAME
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionprotected static <E extends SinglePoolElement>
com.mojang.serialization.codecs.RecordCodecBuilder<E, com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate>> SinglePoolElement.templateCodec()
Modifier and TypeMethodDescriptionstatic boolean
JigsawPlacement.generateJigsaw
(ServerLevel p_227204_, Holder<StructureTemplatePool> p_227205_, ResourceLocation p_227206_, int p_227207_, BlockPos p_227208_, boolean p_227209_) JigsawPlacement.getRandomNamedJigsaw
(StructurePoolElement p_227248_, ResourceLocation p_227249_, BlockPos p_227250_, Rotation p_227251_, StructureTemplateManager p_227252_, WorldgenRandom p_227253_) Modifier and TypeMethodDescriptionstatic Optional
<Structure.GenerationStub> JigsawPlacement.addPieces
(Structure.GenerationContext p_227239_, Holder<StructureTemplatePool> p_227240_, Optional<ResourceLocation> p_227241_, int p_227242_, BlockPos p_227243_, boolean p_227244_, Optional<Heightmap.Types> p_227245_, int p_227246_, PoolAliasLookup p_307522_, DimensionPadding p_348489_, LiquidSettings p_352161_) private static <T> com.mojang.serialization.DataResult
<T> SinglePoolElement.encodeTemplate
(com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> p_210425_, com.mojang.serialization.DynamicOps<T> p_210426_, T p_210427_) ModifierConstructorDescriptionprotected
LegacySinglePoolElement
(com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> p_210348_, Holder<StructureProcessorList> p_210349_, StructureTemplatePool.Projection p_210350_, Optional<LiquidSettings> p_352209_) protected
SinglePoolElement
(com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> p_210415_, Holder<StructureProcessorList> p_210416_, StructureTemplatePool.Projection p_210417_, Optional<LiquidSettings> p_352236_) -
Uses of ResourceLocation in net.minecraft.world.level.levelgen.structure.structures
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionprivate static ResourceLocation
OceanRuinPieces.getBigWarmRuin
(RandomSource p_229011_) private static ResourceLocation
OceanRuinPieces.getSmallWarmRuin
(RandomSource p_228983_) private static ResourceLocation
WoodlandMansionPieces.WoodlandMansionPiece.makeLocation
(String p_230211_) private static ResourceLocation
EndCityPieces.EndCityPiece.makeResourceLocation
(String p_227503_) protected ResourceLocation
EndCityPieces.EndCityPiece.makeTemplateLocation()
protected ResourceLocation
WoodlandMansionPieces.WoodlandMansionPiece.makeTemplateLocation()
Modifier and TypeMethodDescriptionprivate static BlockPos
IglooPieces.IglooPiece.makePosition
(ResourceLocation p_227564_, BlockPos p_227565_, int p_227566_) private static StructurePlaceSettings
IglooPieces.IglooPiece.makeSettings
(Rotation p_227576_, ResourceLocation p_227577_) private static StructurePlaceSettings
RuinedPortalPiece.makeSettings
(StructureTemplateManager p_229166_, CompoundTag p_229167_, ResourceLocation p_229168_) ModifierConstructorDescriptionIglooPiece
(StructureTemplateManager p_227555_, ResourceLocation p_227556_, BlockPos p_227557_, Rotation p_227558_, int p_227559_) NetherFossilPiece
(StructureTemplateManager p_228540_, ResourceLocation p_228541_, BlockPos p_228542_, Rotation p_228543_) OceanRuinPiece
(StructureTemplateManager p_229018_, ResourceLocation p_229019_, BlockPos p_229020_, Rotation p_229021_, float p_229022_, OceanRuinStructure.Type p_229023_, boolean p_229024_) RuinedPortalPiece
(StructureTemplateManager p_229105_, BlockPos p_229106_, RuinedPortalPiece.VerticalPlacement p_229107_, RuinedPortalPiece.Properties p_229108_, ResourceLocation p_229109_, StructureTemplate p_229110_, Rotation p_229111_, Mirror p_229112_, BlockPos p_229113_) ShipwreckPiece
(StructureTemplateManager p_229354_, ResourceLocation p_229355_, BlockPos p_229356_, Rotation p_229357_, boolean p_229358_) ModifierConstructorDescriptionJigsawStructure
(Structure.StructureSettings p_227627_, Holder<StructureTemplatePool> p_227628_, Optional<ResourceLocation> p_227629_, int p_227630_, HeightProvider p_227631_, boolean p_227632_, Optional<Heightmap.Types> p_227633_, int p_227634_, List<PoolAliasBinding> p_307354_, DimensionPadding p_348651_, LiquidSettings p_352256_) -
Uses of ResourceLocation in net.minecraft.world.level.levelgen.structure.templatesystem
Modifier 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
Modifier 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.Modifier and TypeMethodDescriptionStructureTemplateManager.createAndValidatePathToGeneratedStructure
(ResourceLocation p_352127_, String p_352399_) StructureTemplateManager.get
(ResourceLocation p_230408_) StructureTemplateManager.getOrCreate
(ResourceLocation p_230360_) private Optional
<StructureTemplate> StructureTemplateManager.loadFromGenerated
(ResourceLocation p_230432_) private Optional
<StructureTemplate> StructureTemplateManager.loadFromResource
(ResourceLocation p_230428_) private Optional
<StructureTemplate> StructureTemplateManager.loadFromSnbt
(ResourceLocation p_230368_, Path p_230369_) private Optional
<StructureTemplate> StructureTemplateManager.loadFromTestStructures
(ResourceLocation p_230430_) void
StructureTemplateManager.remove
(ResourceLocation p_230422_) boolean
StructureTemplateManager.save
(ResourceLocation p_230417_) private Optional
<StructureTemplate> StructureTemplateManager.tryLoad
(ResourceLocation p_230426_) Modifier and TypeMethodDescriptionprivate void
StructureTemplateManager.listFolderContents
(Path p_230395_, String p_230396_, String p_230397_, Consumer<ResourceLocation> p_352133_) ModifierConstructorDescription(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
Modifier and TypeFieldDescriptionprivate final ResourceLocation
MapDecorationType.assetId
The field for theassetId
record component.Modifier and TypeMethodDescriptionMapDecorationType.assetId()
Returns the value of theassetId
record component.MapDecoration.getSpriteLocation()
ModifierConstructorDescriptionMapDecorationType
(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
Modifier and TypeMethodDescriptionCommandStorage.get
(ResourceLocation p_78045_) void
CommandStorage.set
(ResourceLocation p_78047_, CompoundTag p_78048_) -
Uses of ResourceLocation in net.minecraft.world.level.storage.loot
Modifier and TypeFieldDescriptionprivate ResourceLocation
LootTable.lootTableId
private ResourceLocation
LootContext.Builder.queriedLootTableId
private ResourceLocation
LootContext.queriedLootTableId
Modifier 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
Modifier and TypeMethodDescriptionLootDataType.idSetter()
Returns the value of theidSetter
record component.Modifier and TypeMethodDescriptionvoid
LootContext.addDynamicDrops
(ResourceLocation p_78943_, Consumer<ItemStack> p_78944_) void
LootParams.addDynamicDrops
(ResourceLocation p_287768_, Consumer<ItemStack> p_287711_) LootDataType.deserialize
(ResourceLocation p_279253_, com.mojang.serialization.DynamicOps<V> p_324006_, V p_324329_) void
LootTable.setLootTableId
(ResourceLocation id) void
LootContext.setQueriedLootTableId
(ResourceLocation queriedLootTableId) LootTable.Builder.setRandomSequence
(ResourceLocation p_287667_) LootParams.Builder.withDynamicDrop
(ResourceLocation p_287734_, LootParams.DynamicDrop p_287724_) LootContext.Builder.withQueriedLootTableId
(ResourceLocation queriedLootTableId) Modifier and TypeMethodDescriptionLootContext.Builder.create
(Optional<ResourceLocation> p_298622_) ModifierConstructorDescriptionprivate
LootContext
(LootParams p_287722_, RandomSource p_287702_, HolderGetter.Provider p_287619_, ResourceLocation queriedLootTableId) ModifierConstructorDescriptionLootDataType
(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, LootDataType.Validator<T> validator, T defaultValue, com.mojang.serialization.Codec<Optional<T>> conditionalCodec, BiConsumer<T, ResourceLocation> idSetter) Creates an instance of aLootDataType
record class.private
LootDataType
(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, LootDataType.Validator<T> validator, T defaultValue, BiConsumer<T, ResourceLocation> idSetter) (package private)
LootTable
(LootContextParamSet p_287716_, Optional<ResourceLocation> p_299055_, List<LootPool> p_298390_, List<LootItemFunction> p_298775_) -
Uses of ResourceLocation in net.minecraft.world.level.storage.loot.entries
Modifier and TypeMethodDescriptionstatic LootPoolSingletonContainer.Builder
<?> DynamicLoot.dynamicEntry
(ResourceLocation p_79484_) ModifierConstructorDescriptionprivate
DynamicLoot
(ResourceLocation p_79465_, int p_79466_, int p_79467_, List<LootItemCondition> p_299033_, List<LootItemFunction> p_298474_) -
Uses of ResourceLocation in net.minecraft.world.level.storage.loot.functions
Modifier 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
Modifier and TypeFieldDescriptionprivate static final Map
<ResourceLocation, ApplyBonusCount.FormulaType> ApplyBonusCount.FORMULAS
Modifier and TypeMethodDescriptionApplyBonusCount.FormulaType.id()
Returns the value of theid
record component.SetAttributesFunction.Modifier.id()
Returns the value of theid
record component.Modifier and TypeMethodDescriptionSetAttributesFunction.modifier
(ResourceLocation p_350454_, Holder<Attribute> p_298306_, AttributeModifier.Operation p_165238_, NumberProvider p_165239_) ModifierConstructorDescription(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 p_350927_, Holder<Attribute> p_298853_, AttributeModifier.Operation p_165265_, NumberProvider p_165266_) -
Uses of ResourceLocation in net.minecraft.world.level.storage.loot.parameters
Modifier and TypeFieldDescriptionprivate static final com.google.common.collect.BiMap
<ResourceLocation, LootContextParamSet> LootContextParamSets.REGISTRY
-
Uses of ResourceLocation in net.minecraft.world.level.storage.loot.providers.nbt
Modifier and TypeFieldDescriptionprivate final ResourceLocation
StorageNbtProvider.id
The field for theid
record component.Modifier and TypeMethodDescriptionStorageNbtProvider.id()
Returns the value of theid
record component.ModifierConstructorDescriptionCreates an instance of aStorageNbtProvider
record class. -
Uses of ResourceLocation in net.minecraft.world.level.storage.loot.providers.number
Modifier and TypeFieldDescriptionprivate final ResourceLocation
StorageValue.storage
The field for thestorage
record component.Modifier and TypeMethodDescriptionStorageValue.storage()
Returns the value of thestorage
record component.ModifierConstructorDescriptionStorageValue
(ResourceLocation storage, NbtPathArgument.NbtPath path) Creates an instance of aStorageValue
record class. -
Uses of ResourceLocation in net.minecraft.world.level.timers
Modifier and TypeFieldDescription(package private) final ResourceLocation
FunctionCallback.functionId
private final ResourceLocation
TimerCallback.Serializer.id
(package private) final ResourceLocation
FunctionTagCallback.tagId
Modifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, TimerCallback.Serializer<C, ?>> TimerCallbacks.idToSerializer
ModifierConstructorDescriptionFunctionCallback
(ResourceLocation p_82164_) FunctionTagCallback
(ResourceLocation p_82191_) Serializer
(ResourceLocation p_82219_, Class<?> p_82220_) -
Uses of ResourceLocation in net.minecraft.world.scores.criteria
Modifier and TypeMethodDescriptionprivate static <T> Optional
<ObjectiveCriteria> ObjectiveCriteria.getStat
(StatType<T> p_83612_, ResourceLocation p_83613_) -
Uses of ResourceLocation in net.neoforged.neoforge.capabilities
Modifier and TypeFieldDescriptionprivate final ConcurrentMap
<ResourceLocation, CapabilityRegistry.StoredCap<C>> CapabilityRegistry.caps
Modifier and TypeMethodDescriptionprivate static ResourceLocation
final ResourceLocation
BaseCapability.name()
Returns the name of this capability.Modifier and TypeMethodDescriptionstatic <T,
C> 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> 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> 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, 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, 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, Void> ItemCapability.createVoid
(ResourceLocation name, Class<T> typeClass) Creates a new item capability withVoid
context, or gets it if it already exists.ModifierConstructorDescriptionprotected
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
Modifier 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
Modifier 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) Modifier and TypeMethodDescriptionClientCommandSourceStack.getRecipeNames()
Returns aStream
of recipe ids that are available on the client.static com.google.common.collect.BiMap
<ResourceLocation, SpriteSourceType> ClientHooks.makeSpriteSourceTypesMap()
Modifier 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) Modifier and TypeMethodDescriptionprivate 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.ModifierConstructorDescriptionprivate
CustomizableTextureState
(ResourceLocation resLoc, BooleanSupplier blur, BooleanSupplier mipmap) -
Uses of ResourceLocation in net.neoforged.neoforge.client.event
Modifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, DimensionSpecialEffects> RegisterDimensionSpecialEffectsEvent.effects
private final Map
<ResourceLocation, IGeometryLoader<?>> ModelEvent.RegisterGeometryLoaders.loaders
private final Map
<ResourceLocation, RenderTypeGroup> RegisterNamedRenderTypesEvent.renderTypes
private final Map
<EntityType<?>, ResourceLocation> RegisterEntitySpectatorShadersEvent.shaders
private final com.google.common.collect.BiMap
<ResourceLocation, SpriteSourceType> RegisterSpriteSourceTypesEvent.types
Modifier and TypeMethodDescriptionvoid
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
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) Registers the givenMapCodec
as SpriteSourceType 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.ModifierConstructorDescriptionPost
(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) ModifierConstructorDescriptionRegisterEntitySpectatorShadersEvent
(Map<EntityType<?>, ResourceLocation> shaders) RegisterGeometryLoaders
(Map<ResourceLocation, IGeometryLoader<?>> loaders) RegisterNamedRenderTypesEvent
(Map<ResourceLocation, RenderTypeGroup> renderTypes) RegisterSpriteSourceTypesEvent
(com.google.common.collect.BiMap<ResourceLocation, SpriteSourceType> types) -
Uses of ResourceLocation in net.neoforged.neoforge.client.extensions
Modifier 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
Modifier 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
Modifier 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
Modifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, Component> ModMismatchDisconnectedScreen.mismatchedChannelData
Modifier and TypeMethodDescriptionGuiLayerManager.NamedLayer.name()
Returns the value of thename
record component.Modifier 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.Modifier 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) Modifier 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.ModifierConstructorDescriptionNamedLayer
(ResourceLocation name, LayeredDraw.Layer layer) Creates an instance of aNamedLayer
record class.ModifierConstructorDescriptionModMismatchDisconnectedScreen
(Screen parentScreen, Component reason, Map<ResourceLocation, Component> mismatchedChannelData) -
Uses of ResourceLocation in net.neoforged.neoforge.client.gui.widget
Modifier 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
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.ints.Int2ObjectMap
<ResourceLocation> ItemLayerModel.renderTypeNames
Modifier 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
Modifier and TypeFieldDescriptionprotected final ResourceLocation
CustomLoaderBuilder.loaderId
protected ResourceLocation
ModelFile.location
Modifier and TypeFieldDescriptionprotected final Function
<ResourceLocation, T> ModelProvider.factory
final Map
<ResourceLocation, T> ModelProvider.generatedModels
private final Map
<ResourceLocation, Float> ItemModelBuilder.OverrideBuilder.predicates
Modifier 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
Modifier 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) 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) 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) 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) ModifierConstructorDescriptionBlockModelBuilder
(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) ModifierConstructorDescriptionModelProvider
(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
Modifier and TypeFieldDescriptionprivate ResourceLocation
DynamicFluidContainerModelBuilder.fluid
private ResourceLocation
ObjModelBuilder.modelLocation
private ResourceLocation
ObjModelBuilder.mtlOverride
Modifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, it.unimi.dsi.fastutil.ints.IntSet> ItemLayerModelBuilder.renderTypes
Modifier 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
Modifier 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
Modifier and TypeFieldDescriptionprivate static com.google.common.collect.ImmutableMap
<ResourceLocation, IGeometryLoader<?>> GeometryLoaderManager.LOADERS
Modifier 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()
Modifier 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) Modifier 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) ModifierConstructorDescriptionprivate
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
Modifier and TypeFieldDescriptionfinal ResourceLocation
ObjModel.modelLocation
private final ResourceLocation
ObjModel.ModelSettings.modelLocation
The field for themodelLocation
record component.Modifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, ObjMaterialLibrary> ObjLoader.materialCache
Modifier and TypeMethodDescriptionObjModel.ModelSettings.modelLocation()
Returns the value of themodelLocation
record component.Modifier and TypeMethodDescriptionObjLoader.loadMaterialLibrary
(ResourceLocation materialLocation) Modifier 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) ModifierConstructorDescriptionModelSettings
(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
Modifier and TypeMethodDescriptionCompositeRenderable.PartBuilder.addMesh
(ResourceLocation texture, List<BakedQuad> quads) ITextureRenderTypeLookup.get
(ResourceLocation name) -
Uses of ResourceLocation in net.neoforged.neoforge.client.textures
Modifier and TypeFieldDescriptionprivate static Map
<ResourceLocation, TextureAtlasSprite> FluidSpriteCache.textureLookup
Modifier 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
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
CreativeModeTabRegistry.CREATIVE_MODE_TAB_ORDERING_JSON
Modifier 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
Modifier and TypeMethodDescriptionstatic @Nullable ResourceLocation
CreativeModeTabRegistry.getName
(CreativeModeTab tab) Returns the name of the given CreativeModeTab, or null.Modifier 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 minecraftModifier and TypeMethodDescriptionprivate <T> void
NeoForgeEventHandler.handleSync
(ServerPlayer player, Registry<T> registry, Collection<ResourceLocation> attachments) -
Uses of ResourceLocation in net.neoforged.neoforge.common.conditions
Modifier and TypeFieldDescriptionprivate @Nullable Map
<ResourceKey<?>, Map<ResourceLocation, Collection<Holder<?>>>> ConditionContext.loadedTags
Modifier 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.ModifierConstructorDescription -
Uses of ResourceLocation in net.neoforged.neoforge.common.crafting
Modifier and TypeMethodDescriptionvoid
ConditionalRecipeOutput.accept
(ResourceLocation id, Recipe<?> recipe, @Nullable AdvancementHolder advancement, ICondition... conditions) -
Uses of ResourceLocation in net.neoforged.neoforge.common.data
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionprivate ResourceLocation
ExistingFileHelper.getLocation
(ResourceLocation base, String suffix, String prefix) (package private) ResourceLocation
SoundDefinition.Sound.name()
Modifier 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) Modifier and TypeMethodDescriptionprotected void
ParticleDescriptionProvider.spriteSet
(ParticleType<?> type, Iterable<ResourceLocation> textures) Creates a new particle description that contains multiple textures for the associatedParticleType
.ModifierConstructorDescriptionprivate
Sound
(ResourceLocation name, SoundDefinition.SoundType type) -
Uses of ResourceLocation in net.neoforged.neoforge.common.data.internal
Modifier and TypeFieldDescriptionprivate final Set
<ResourceLocation> NeoForgeRecipeProvider.excludes
Modifier 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
Modifier 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.Modifier 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, String source) Adds a single-element entry to the remove list.default TagBuilder
ITagBuilderExtension.removeTag
(ResourceLocation tagID, String source) Adds a tag to the remove list.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
Modifier and TypeFieldDescriptionprivate final ResourceLocation
LootTableIdCondition.Builder.targetLootTableId
private final ResourceLocation
LootTableIdCondition.targetLootTableId
static final ResourceLocation
LootTableIdCondition.UNKNOWN_LOOT_TABLE
Modifier and TypeFieldDescriptionprivate Map
<ResourceLocation, IGlobalLootModifier> LootModifierManager.registeredLootModifiers
Modifier and TypeMethodDescriptionprotected Map
<ResourceLocation, com.google.gson.JsonElement> LootModifierManager.prepare
(ResourceManager resourceManager, ProfilerFiller profilerFiller) Modifier and TypeMethodDescriptionstatic LootTableIdCondition.Builder
LootTableIdCondition.builder
(ResourceLocation targetLootTableId) Modifier and TypeMethodDescriptionprotected void
LootModifierManager.apply
(Map<ResourceLocation, com.google.gson.JsonElement> resourceList, ResourceManager resourceManagerIn, ProfilerFiller profilerIn) ModifierConstructorDescriptionBuilder
(ResourceLocation targetLootTableId) private
LootTableIdCondition
(ResourceLocation targetLootTableId) -
Uses of ResourceLocation in net.neoforged.neoforge.common.world.chunk
Modifier and TypeFieldDescriptionprivate final ResourceLocation
TicketHelper.controllerId
private final ResourceLocation
ForcedChunkManager.TicketOwner.id
private final ResourceLocation
TicketController.id
The field for theid
record component.Modifier and TypeFieldDescriptionprivate static Map
<ResourceLocation, TicketController> ForcedChunkManager.controllers
Modifier and TypeMethodDescriptionTicketController.id()
Returns the value of theid
record component.Modifier 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
.Modifier 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.Modifier 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) ModifierConstructorDescriptionCreates a ticket controller without a validation callback.TicketController
(ResourceLocation id, @Nullable LoadingValidationCallback callback) Creates an instance of aTicketController
record class.(package private)
TicketHelper
(ForcedChunksSavedData saveData, ResourceLocation controllerId, Map<BlockPos, TicketSet> blockTickets, Map<UUID, TicketSet> entityTickets) (package private)
TicketOwner
(ResourceLocation id, T owner) -
Uses of ResourceLocation in net.neoforged.neoforge.debug.crafting
Modifier and TypeMethodDescriptionvoid
IngredientTests.CompressedShapelessRecipeBuilder.save
(RecipeOutput recipeOutput, ResourceLocation location) -
Uses of ResourceLocation in net.neoforged.neoforge.debug.entity
Modifier and TypeMethodDescriptionEntityDataSerializerTest.TestEntityRenderer.getTextureLocation
(EntityDataSerializerTest.TestEntity entity) -
Uses of ResourceLocation in net.neoforged.neoforge.event
Modifier and TypeFieldDescriptionprivate final ResourceLocation
ItemAttributeModifierEvent.ItemAttributeModifiersBuilder.Key.id
The field for theid
record component.private final ResourceLocation
LootTableLoadEvent.name
Modifier and TypeMethodDescriptionLootTableLoadEvent.getName()
ItemAttributeModifierEvent.ItemAttributeModifiersBuilder.Key.id()
Returns the value of theid
record component.Modifier 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 idModifierConstructorDescriptionprivate
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
Modifier and TypeFieldDescriptionstatic final ResourceLocation
RegistryDataMapNegotiation.ID
private static final ResourceLocation
SyncConfig.ID
private static final ResourceLocation
SyncRegistries.ID
-
Uses of ResourceLocation in net.neoforged.neoforge.network.filters
Modifier and TypeMethodDescriptionprivate static boolean
VanillaConnectionNetworkFilter.isVanillaRegistry
(ResourceLocation location) -
Uses of ResourceLocation in net.neoforged.neoforge.network.handlers
Modifier 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
Modifier and TypeFieldDescriptionprivate final ResourceLocation
ClientPayloadContext.payloadId
The field for thepayloadId
record component.private final ResourceLocation
ServerPayloadContext.payloadId
The field for thepayloadId
record component.Modifier and TypeMethodDescriptionClientPayloadContext.payloadId()
Returns the value of thepayloadId
record component.ServerPayloadContext.payloadId()
Returns the value of thepayloadId
record component.ModifierConstructorDescriptionClientPayloadContext
(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
Modifier and TypeFieldDescriptionprivate final ResourceLocation
NegotiableNetworkComponent.id
The field for theid
record component.private final ResourceLocation
NegotiatedNetworkComponent.id
The field for theid
record component.Modifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, Component> NegotiationResult.failureReasons
The field for thefailureReasons
record component.Modifier and TypeMethodDescriptionNegotiableNetworkComponent.id()
Returns the value of theid
record component.NegotiatedNetworkComponent.id()
Returns the value of theid
record component.Modifier and TypeMethodDescriptionNegotiationResult.failureReasons()
Returns the value of thefailureReasons
record component.ModifierConstructorDescriptionNegotiableNetworkComponent
(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.ModifierConstructorDescriptionNegotiationResult
(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
Modifier 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
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.Modifier and TypeFieldDescriptionstatic 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> MinecraftRegisterPayload.newChannels
The field for thenewChannels
record component.private final List
<ResourceLocation> FrozenRegistrySyncStartPayload.toAccess
The field for thetoAccess
record component.Modifier 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.Modifier and TypeMethodDescriptionMap
<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.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.Modifier 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.ModifierConstructorDescriptionFrozenRegistryPayload
(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.ModifierConstructorDescriptionFrozenRegistrySyncStartPayload
(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
Modifier 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.Modifier and TypeFieldDescriptionprivate static final io.netty.util.AttributeKey
<Set<ResourceLocation>> NetworkRegistry.ATTRIBUTE_ADHOC_CHANNELS
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.private static final Map
<ConnectionProtocol, Map<ResourceLocation, PayloadRegistration<?>>> NetworkRegistry.PAYLOAD_REGISTRATIONS
Registry of all custom payload handlers.Modifier 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()
Modifier and TypeMethodDescriptionNetworkPayloadSetup.channels()
Returns the value of thechannels
record component.NetworkPayloadSetup.getChannels
(ConnectionProtocol protocol) static Set
<ResourceLocation> NetworkRegistry.getInitialListeningChannels
(PacketFlow flow) Returns the initial channels for the configuration phase..static Set
<ResourceLocation> NetworkRegistry.getInitialServerUnregisterChannels()
private static Set
<ResourceLocation> NetworkRegistry.getKnownAdHocChannelsOfOtherEnd
(Connection connection) Returns a mutable map of the currently known ad-hoc channels.Modifier 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.Modifier 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.ModifierConstructorDescriptionModdedConfigurationPayloadRegistration
(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.ModifierConstructorDescriptionCreates an instance of aNetworkPayloadSetup
record class. -
Uses of ResourceLocation in net.neoforged.neoforge.oldtest
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
DuplicateOptionalTagTest.TAG_NAME
Modifier and TypeFieldDescriptionprivate static final Set
<ResourceLocation> DataGeneratorTest.BlockStates.CUSTOM_MODELS
private static final Set
<ResourceLocation> DataGeneratorTest.BlockStates.IGNORED_MODELS
Modifier and TypeMethodDescriptionprivate static ResourceLocation
private static ResourceLocation
Modifier and TypeMethodDescriptionprivate static <T extends ModelBuilder<T>>
List<String> DataGeneratorTest.testModelResults
(Map<ResourceLocation, T> models, ExistingFileHelper existingFileHelper, Set<ResourceLocation> toIgnore) private static <T extends ModelBuilder<T>>
List<String> DataGeneratorTest.testModelResults
(Map<ResourceLocation, T> models, ExistingFileHelper existingFileHelper, Set<ResourceLocation> toIgnore) -
Uses of ResourceLocation in net.neoforged.neoforge.oldtest.block
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
FullPotsAccessorDemo.ClientHandler.DioritePotModel.DIRT_TEXTURE
private static final ResourceLocation
FullPotsAccessorDemo.ClientHandler.DioritePotModel.POT_TEXTURE
Modifier and TypeMethodDescriptionvoid
FullPotsAccessorDemo.ClientHandler.DioritePotModelGeometry.resolveParents
(Function<ResourceLocation, UnbakedModel> modelGetter, IGeometryBakingContext context) -
Uses of ResourceLocation in net.neoforged.neoforge.oldtest.client
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
CustomArmorModelTest.EndermanArmorItem.ARMOR_TEXTURE
private final ResourceLocation
CustomSpriteSourceTest.CustomSpriteSource.id
The field for theid
record component.Modifier and TypeMethodDescription@Nullable ResourceLocation
CustomArmorModelTest.EndermanArmorItem.getArmorTexture
(ItemStack stack, Entity entity, EquipmentSlot slot, ArmorMaterial.Layer layer, boolean innerModel) CustomSpriteSourceTest.CustomSpriteSource.id()
Returns the value of theid
record component.ModifierConstructorDescriptionCustomSpriteContents
(ResourceLocation name, FrameSize size, NativeImage image, ResourceMetadata metadata) private
Creates an instance of aCustomSpriteSource
record class.ModifierConstructorDescriptionprivate
TintedArmorModel
(Function<ResourceLocation, RenderType> renderTypeFunction) -
Uses of ResourceLocation in net.neoforged.neoforge.oldtest.client.rendering
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
EntityRendererEventsTest.MY_ENTITY
private static final ResourceLocation
EntityRendererEventsTest.EntityRenderEventsTestClientModStuff.MyEntityRenderer.TEXTURE
Modifier and TypeMethodDescriptionEntityRendererEventsTest.EntityRenderEventsTestClientModStuff.MyEntityRenderer.getTextureLocation
(EntityRendererEventsTest.MyEntity p_114482_) Modifier and TypeMethodDescriptionprivate static RenderType
RenderableTest.Client.getRenderType
(RenderLevelStageEvent.Stage stage, ResourceLocation texture) -
Uses of ResourceLocation in net.neoforged.neoforge.oldtest.fluid
Modifier and TypeFieldDescriptionstatic final ResourceLocation
NewFluidTest.FLUID_FLOWING
static final ResourceLocation
NewFluidTest.FLUID_OVERLAY
static final ResourceLocation
NewFluidTest.FLUID_STILL
-
Uses of ResourceLocation in net.neoforged.neoforge.oldtest.item
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
MayFlyAttributeTest.MODIFIER_ID
private static final ResourceLocation
CustomElytraTest.CustomElytraLayer.TEXTURE_ELYTRA
Modifier and TypeMethodDescriptionCustomElytraTest.CustomElytraLayer.getElytraTexture
(ItemStack stack, AbstractClientPlayer entity) -
Uses of ResourceLocation in net.neoforged.neoforge.oldtest.misc
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
DataPackRegistriesTest.TEST_RL
-
Uses of ResourceLocation in net.neoforged.neoforge.oldtest.recipebook
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
RecipeBookTestScreen.TEXTURE
-
Uses of ResourceLocation in net.neoforged.neoforge.oldtest.world
Modifier and TypeFieldDescriptionstatic final ResourceLocation
StructureModifierTest.ADD_SPAWNS_TO_STRUCTURE_RL
static final ResourceLocation
StructureModifierTest.MODIFY_STRONGHOLD_RL
Modifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, Supplier<byte[]>> LoginPacketSplitTest.InMemoryResourcePack.data
Modifier and TypeMethodDescriptionprivate static @Nullable ResourceLocation
ChunkWatchEventTest.getDimensionName
(Level w) Modifier and TypeMethodDescription@Nullable IoSupplier
<InputStream> LoginPacketSplitTest.InMemoryResourcePack.getResource
(PackType type, ResourceLocation loc) void
LoginPacketSplitTest.InMemoryResourcePack.putData
(ResourceLocation path, com.google.gson.JsonObject json) void
LoginPacketSplitTest.InMemoryResourcePack.putData
(ResourceLocation path, Supplier<byte[]> data) -
Uses of ResourceLocation in net.neoforged.neoforge.registries
Modifier and TypeFieldDescriptionprivate @Nullable ResourceLocation
RegistryBuilder.defaultKey
final ResourceLocation
IdMappingEvent.ModRemapping.key
final ResourceLocation
IdMappingEvent.ModRemapping.registry
Modifier 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
Modifier and TypeMethodDescriptionDeferredHolder.getId()
DeferredRegister.getRegistryName()
BaseMappedRegistry.resolve
(ResourceLocation name) IRegistryExtension.resolve
(ResourceLocation name) Resolves a registry name of a potential object in this registry.Modifier 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
.Modifier 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.Modifier 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.ModifierConstructorDescriptionprivate
ModRemapping
(ResourceLocation registry, ResourceLocation key, int oldId, int newId) ModifierConstructorDescriptionIdMappingEvent
(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
Modifier and TypeFieldDescriptionprotected final ResourceLocation
DataMapType.Builder.id
private final ResourceLocation
DataMapType.id
Modifier and TypeFieldDescriptionprivate final Map
<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> RegisterDataMapTypesEvent.attachments
Modifier 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.ModifierConstructorDescriptionprivate
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) ModifierConstructorDescriptionRegisterDataMapTypesEvent
(Map<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> attachments) -
Uses of ResourceLocation in net.neoforged.neoforge.registries.datamaps.builtin
-
Uses of ResourceLocation in net.neoforged.neoforge.resource
Modifier and TypeMethodDescription@Nullable IoSupplier
<InputStream> EmptyPackResources.getResource
(PackType type, ResourceLocation location) -
Uses of ResourceLocation in net.neoforged.neoforge.server.command
Modifier and TypeMethodDescriptionprivate static List
<ResourceLocation> DumpCommand.getSortedRegistryKeys
(boolean alphabeticalSort, boolean printNumericIds, Registry<?> registry) Modifier 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
Modifier and TypeMethodDescriptionstatic @Nullable ResourceLocation
PermissionAPI.getActivePermissionHandler()
-
Uses of ResourceLocation in net.neoforged.neoforge.server.permission.events
Modifier and TypeFieldDescriptionprivate Map
<ResourceLocation, IPermissionHandlerFactory> PermissionGatherEvent.Handler.availableHandlers
Modifier and TypeMethodDescriptionPermissionGatherEvent.Handler.getAvailablePermissionHandlerFactories()
Modifier and TypeMethodDescriptionvoid
PermissionGatherEvent.Handler.addPermissionHandler
(ResourceLocation identifier, IPermissionHandlerFactory handlerFactory) -
Uses of ResourceLocation in net.neoforged.neoforge.server.permission.handler
Modifier and TypeFieldDescriptionstatic final ResourceLocation
DefaultPermissionHandler.IDENTIFIER
Modifier and TypeMethodDescriptionDefaultPermissionHandler.getIdentifier()
IPermissionHandler.getIdentifier()
Returns an identifier for the PermissionHandler. -
Uses of ResourceLocation in net.neoforged.neoforge.server.permission.nodes
ModifierConstructorDescriptionPermissionNode
(ResourceLocation nodeName, PermissionType<T> type, PermissionNode.PermissionResolver<T> defaultResolver, PermissionDynamicContextKey... dynamics) CallsPermissionNode(String, PermissionType, PermissionResolver, PermissionDynamicContextKey[])
with "namespace.path" as the first parameter -
Uses of ResourceLocation in net.neoforged.testframework
-
Uses of ResourceLocation in net.neoforged.testframework.client
Modifier and TypeFieldDescription(package private) static final Map
<Test.Result, ResourceLocation> TestsOverlay.ICON_BY_RESULT
Modifier and TypeMethodDescriptionprivate static void
TestsOverlay.blitTiled
(GuiGraphics pose, int x, int y, int width, int height, int u, int v, int textureDrawWidth, int textureDrawHeight, int textureWidth, int textureHeight, ResourceLocation texture) private static void
TestsOverlay.renderTilledTexture
(GuiGraphics pose, ResourceLocation texture, int x, int y, int width, int height, int borderWidth, int borderHeight, int textureWidth, int textureHeight, float alpha) -
Uses of ResourceLocation in net.neoforged.testframework.conf
Modifier and TypeFieldDescriptionprivate final ResourceLocation
FrameworkConfiguration.Builder.id
private final ResourceLocation
FrameworkConfiguration.id
The field for theid
record component.Modifier and TypeMethodDescriptionFrameworkConfiguration.id()
Returns the value of theid
record component.ModifierConstructorDescriptionFrameworkConfiguration
(ResourceLocation id, Collection<Feature> enabledFeatures, int commandRequiredPermission, List<String> enabledTests, @Nullable Supplier<ClientConfiguration> clientConfiguration, List<SummaryDumper> dumpers, MissingDescriptionAction onMissingDescription) Creates an instance of aFrameworkConfiguration
record class. -
Uses of ResourceLocation in net.neoforged.testframework.gametest
Modifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, Supplier<StructureTemplate>> DynamicStructureTemplates.templates
Modifier and TypeMethodDescriptionprivate Stream
<ResourceLocation> DynamicStructureTemplates.list()
Modifier and TypeMethodDescriptionboolean
DynamicStructureTemplates.contains
(ResourceLocation id) private Optional
<StructureTemplate> DynamicStructureTemplates.load
(ResourceLocation location) void
DynamicStructureTemplates.register
(ResourceLocation id, Supplier<StructureTemplate> template) void
DynamicStructureTemplates.register
(ResourceLocation id, StructureTemplate template) -
Uses of ResourceLocation in net.neoforged.testframework.impl
Modifier and TypeMethodDescriptionDefaultMarkdownFileSummaryDumper.outputPath
(ResourceLocation frameworkId) Modifier and TypeMethodDescriptionstatic void
FrameworkCollectors.templatesWithAnnotation
(net.neoforged.fml.ModContainer container, BiConsumer<ResourceLocation, Supplier<StructureTemplate>> acceptor) This method collects structure templates based on static fields containing either aStructureTemplate
, aSupplier
of StructureTemplate or aStructureTemplateBuilder
, annotated withRegisterStructureTemplate
. -
Uses of ResourceLocation in net.neoforged.testframework.registration
Modifier and TypeMethodDescriptionprotected <I extends Block>
DeferredBlockBuilder<I> DeferredBlocks.createHolder
(ResourceKey<? extends Registry<Block>> registryKey, ResourceLocation key) protected <I extends EntityType<?>>
DeferredEntityTypeBuilderDeferredEntityTypes.createHolder
(ResourceKey<? extends Registry<EntityType<?>>> registryKey, ResourceLocation key) protected <I extends Item>
DeferredItemBuilder<I> DeferredItems.createHolder
(ResourceKey<? extends Registry<Item>> registryKey, ResourceLocation key) Modifier and TypeMethodDescription<B extends Block>
DeferredBlockBuilder<B> DeferredBlocks.register
(String name, Function<ResourceLocation, ? extends B> func) <I extends Item>
DeferredItemBuilder<I> DeferredItems.register
(String name, Function<ResourceLocation, ? extends I> func) -
Uses of ResourceLocation in net.neoforged.testframework.summary
Modifier and TypeFieldDescriptionprivate final ResourceLocation
TestSummary.Builder.frameworkId
private final ResourceLocation
TestSummary.frameworkId
The field for theframeworkId
record component.Modifier and TypeMethodDescriptionTestSummary.frameworkId()
Returns the value of theframeworkId
record component.Modifier and TypeMethodDescriptionFileSummaryDumper.outputPath
(ResourceLocation frameworkId) GitHubActionsStepSummaryDumper.outputPath
(ResourceLocation frameworkId) JUnitSummaryDumper.outputPath
(ResourceLocation frameworkId) ModifierConstructorDescriptionBuilder
(ResourceLocation frameworkId, boolean isGameTestRun) TestSummary
(ResourceLocation frameworkId, boolean isGameTestRun, List<TestSummary.TestInfo> testInfos) Creates an instance of aTestSummary
record class.
CommonListenerCookie(GameProfile, WorldSessionTelemetryManager, RegistryAccess.Frozen, FeatureFlagSet, String, ServerData, Screen, Map, ChatComponent.State, boolean, Map, ServerLinks, net.neoforged.neoforge.network.connection.ConnectionType)
instead,to indicate whether the connection is modded.