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.-
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_312727_, int p_311004_, int p_311259_, int p_310947_, int p_311421_, ResourceLocation p_313063_, Supplier<Component> p_312584_) ModifierConstructorDescriptionNotificationButton
(Component p_299660_, ResourceLocation p_298832_, Button.OnPress p_297337_) -
Uses of ResourceLocation in com.mojang.realmsclient.dto
Modifier and TypeFieldDescriptionprivate final ResourceLocation
RealmsNotification.InfoPopup.image
ModifierConstructorDescriptionprivate
InfoPopup
(RealmsNotification p_311557_, RealmsText p_310281_, RealmsText p_312392_, ResourceLocation p_312062_, RealmsNotification.UrlButton p_309599_) -
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
RealmsPopupScreen.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
RealmsResetWorldScreen.NEW_WORLD_LOCATION
private static final ResourceLocation
RealmsNotificationsScreen.NEWS_SPRITE
private static final ResourceLocation
RealmsConfigureWorldScreen.OPEN_SPRITE
private static final ResourceLocation
RealmsPlayerScreen.OPTIONS_BACKGROUND
(package private) static final ResourceLocation
RealmsPendingInvitesScreen.REJECT_HIGHLIGHTED_SPRITE
(package private) static final ResourceLocation
RealmsPendingInvitesScreen.REJECT_SPRITE
private static final ResourceLocation
RealmsBrokenWorldScreen.SLOT_FRAME_SPRITE
(package private) static final ResourceLocation
RealmsResetWorldScreen.SLOT_FRAME_SPRITE
(package private) static final ResourceLocation
RealmsSelectWorldTemplateScreen.SLOT_FRAME_SPRITE
private static final ResourceLocation
RealmsResetWorldScreen.SURVIVAL_SPAWN_LOCATION
private static final ResourceLocation
RealmsNotificationsScreen.TRIAL_AVAILABLE_SPRITE
private static final ResourceLocation
RealmsPopupScreen.TRIAL_AVAILABLE_SPRITE
private static final ResourceLocation
RealmsNotificationsScreen.UNSEEN_NOTIFICATION_SPRITE
private static final ResourceLocation
RealmsResetWorldScreen.UPLOAD_LOCATION
Modifier and TypeFieldDescriptionprivate static List<ResourceLocation>
RealmsPopupScreen.carouselImages
Modifier and TypeMethodDescriptionprivate void
RealmsConfigureWorldScreen.drawRealmStatus
(GuiGraphics p_298677_, int p_297798_, int p_301226_, int p_298804_, int p_297961_, ResourceLocation p_299441_, Supplier<Component> p_300912_) ModifierConstructorDescription(package private)
FrameButton
(int p_89439_, int p_89440_, 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 com.google.common.collect.ImmutableList.Builder<ResourceLocation>
AdvancementRewards.Builder.loot
private final List<ResourceLocation>
AdvancementRewards.loot
The field for theloot
record component.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()
AdvancementRewards.loot()
Returns the value of theloot
record component.Advancement.parent()
Returns the value of theparent
record component.AdvancementRewards.recipes()
Returns the value of therecipes
record component.Modifier and TypeMethodDescriptionAdvancementRewards.Builder.addLootTable
(ResourceLocation p_144825_) AdvancementRewards.Builder.addRecipe
(ResourceLocation p_10012_) Advancement.Builder.build
(ResourceLocation p_138404_) Advancement.Builder.display
(ItemStack p_138363_, Component p_138364_, Component p_138365_, ResourceLocation p_138366_, AdvancementType p_310090_, boolean p_138368_, boolean p_138369_, boolean p_138370_) Advancement.Builder.display
(ItemLike p_138372_, Component p_138373_, Component p_138374_, ResourceLocation p_138375_, AdvancementType p_309840_, boolean p_138377_, boolean p_138378_, boolean p_138379_) static AdvancementRewards.Builder
AdvancementRewards.Builder.function
(ResourceLocation p_144827_) AdvancementTree.get
(ResourceLocation p_301065_) static AdvancementRewards.Builder
AdvancementRewards.Builder.loot
(ResourceLocation p_144823_) 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_) Advancement.Builder.save
(Consumer<AdvancementHolder> p_138390_, ResourceLocation id) ModifierConstructorDescriptionAdvancementHolder
(ResourceLocation id, Advancement value) Creates an instance of aAdvancementHolder
record class.ModifierConstructorDescriptionAdvancement
(Optional<ResourceLocation> p_299284_, Optional<DisplayInfo> p_301017_, AdvancementRewards p_286389_, Map<String, Criterion<?>> p_286635_, AdvancementRequirements p_300504_, 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.AdvancementRewards
(int experience, List<ResourceLocation> loot, List<ResourceLocation> recipes, Optional<CacheableFunction> function) Creates an instance of aAdvancementRewards
record class.DisplayInfo
(ItemStack p_14969_, Component p_14970_, Component p_14971_, Optional<ResourceLocation> p_310626_, AdvancementType p_309985_, boolean p_14974_, boolean p_14975_, boolean p_14976_) -
Uses of ResourceLocation in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate final ResourceLocation
LootTableTrigger.TriggerInstance.lootTable
The field for thelootTable
record component.private 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 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 TypeMethodDescriptionLootTableTrigger.TriggerInstance.lootTable()
Returns the value of thelootTable
record component.RecipeUnlockedTrigger.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.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_282794_) RecipeCraftedTrigger.TriggerInstance.craftedItem
(ResourceLocation p_283538_, List<ItemPredicate.Builder> p_299678_) LootTableTrigger.TriggerInstance.lootTableUsed
(ResourceLocation p_54619_) boolean
LootTableTrigger.TriggerInstance.matches
(ResourceLocation p_54621_) (package private) boolean
RecipeCraftedTrigger.TriggerInstance.matches
(ResourceLocation p_283528_, List<ItemStack> p_283698_) void
LootTableTrigger.trigger
(ServerPlayer p_54598_, ResourceLocation p_54599_) void
RecipeCraftedTrigger.trigger
(ServerPlayer p_281468_, ResourceLocation p_282903_, List<ItemStack> p_282070_) RecipeUnlockedTrigger.unlocked
(ResourceLocation p_63729_) ModifierConstructorDescriptionTriggerInstance
(Optional<ContextAwarePredicate> player, ResourceLocation lootTable) Creates an instance of aTriggerInstance
record class.TriggerInstance
(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, Optional<GameType> 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, Optional<GameType> 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_297981_, 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 TypeFieldDescriptionprotected static final ResourceLocation
protected static final ResourceLocation
Gui.AIR_SPRITE
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
Gui.CROSSHAIR_SPRITE
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
Gui.FOOD_FULL_SPRITE
protected static final ResourceLocation
protected 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
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
Gui.HOTBAR_SPRITE
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
private static final ResourceLocation
MapRenderer.MAP_ICONS_LOCATION
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
Modifier and TypeMethodDescriptionGui.HeartType.getSprite
(boolean p_297692_, boolean p_299675_, boolean p_299889_) 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_300860_, int p_298718_, int p_298541_, int p_300996_, int p_298426_) void
GuiGraphics.blitSprite
(ResourceLocation p_299503_, int p_297264_, int p_301178_, int p_297744_, int p_299331_, int p_300334_) void
GuiGraphics.blitSprite
(ResourceLocation p_298820_, int p_300417_, int p_298256_, int p_299965_, int p_300008_, int p_299688_, int p_300153_, int p_299047_, int p_298424_) void
GuiGraphics.blitSprite
(ResourceLocation p_300222_, int p_301241_, int p_298760_, int p_299400_, int p_299966_, int p_298806_, int p_298412_, int p_300874_, int p_297763_, int p_300904_) (package private) FontSet
Font.getFontSet
(ResourceLocation p_92864_) GuiSpriteManager.getSprite
(ResourceLocation p_298308_) (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_) protected void
Gui.renderTextureOverlay
(GuiGraphics p_282304_, ResourceLocation p_281622_, float p_281504_) ModifierConstructorDescriptionprivate
HeartType
(ResourceLocation p_300867_, ResourceLocation p_300697_, ResourceLocation p_297618_, ResourceLocation p_298356_, ResourceLocation p_300264_, ResourceLocation p_299924_, ResourceLocation p_297755_, ResourceLocation p_298658_) 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
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
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_299771_, boolean p_299716_) 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_298746_, ResourceLocation[] p_298698_) 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_309878_) static ImageWidget
ImageWidget.sprite
(int p_299633_, int p_299377_, ResourceLocation p_298615_) SpriteIconButton.Builder.sprite
(ResourceLocation p_298738_, int p_301308_, int p_297593_) static ImageWidget
ImageWidget.texture
(int p_298293_, int p_301221_, ResourceLocation p_299739_, int p_297694_, int p_300459_) ModifierConstructorDescriptionprotected
CenteredIcon
(int p_300200_, int p_299056_, Component p_298209_, int p_300001_, int p_298255_, ResourceLocation p_298326_, Button.OnPress p_298485_) private
Icon
(ResourceLocation p_301150_) (package private)
PopupScreen
(Screen p_311716_, int p_312972_, ResourceLocation p_312263_, Component p_311243_, Component p_313078_, List<PopupScreen.ButtonOption> p_312924_, Runnable p_309530_) Sprite
(int p_299930_, int p_297218_, int p_298462_, int p_297563_, ResourceLocation p_299269_) (package private)
SpriteIconButton
(int p_297620_, int p_300275_, Component p_297544_, int p_298263_, int p_299223_, ResourceLocation p_297738_, Button.OnPress p_297736_) protected
TextAndIcon
(int p_299028_, int p_300372_, Component p_297448_, int p_300274_, int p_301370_, ResourceLocation p_298996_, Button.OnPress p_298623_) Texture
(int p_299083_, int p_301299_, int p_299901_, int p_299822_, ResourceLocation p_299550_, int p_298841_, int p_297816_) WidgetSprites
(ResourceLocation p_301376_, ResourceLocation p_300804_) WidgetSprites
(ResourceLocation p_299833_, ResourceLocation p_299508_, ResourceLocation p_300439_) 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>> FontManager.Preparation.providers
The field for theproviders
record component.private Map<ResourceLocation,
ResourceLocation> FontManager.renames
private Map<ResourceLocation,
ResourceLocation> FontManager.renames
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.private ResourceLocation
FontManager.getActualId
(ResourceLocation p_285141_) Modifier and TypeMethodDescriptionFontManager.UnresolvedBuilderBundle.dependencies()
Returns the value of thedependencies
record component.FontManager.Preparation.providers()
Returns the value of theproviders
record component.private Map<ResourceLocation,
List<GlyphProvider>> 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 ResourceLocation
FontManager.getActualId
(ResourceLocation p_285141_) private static List<com.mojang.datafixers.util.Pair<FontManager.BuilderId,
GlyphProviderDefinition>> FontManager.loadResourceStack
(List<Resource> p_284976_, ResourceLocation p_285272_) Modifier and TypeMethodDescriptionFontManager.BuilderResult.resolve
(Function<ResourceLocation, List<GlyphProvider>> p_284942_) FontManager.UnresolvedBuilderBundle.resolve
(Function<ResourceLocation, List<GlyphProvider>> p_285118_) void
FontManager.setRenames
(Map<ResourceLocation, ResourceLocation> p_95012_) void
FontManager.setRenames
(Map<ResourceLocation, ResourceLocation> p_95012_) 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, com.mojang.datafixers.util.Either<CompletableFuture<Optional<GlyphProvider>>, ResourceLocation> result) Creates an instance of aBuilderResult
record class.(package private)
Preparation
(Map<ResourceLocation, List<GlyphProvider>> providers, 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 TypeFieldDescriptionstatic final ResourceLocation
Screen.BACKGROUND_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
FaviconTexture.MISSING_LOCATION
(package private) static final ResourceLocation
LoadingOverlay.MOJANG_STUDIOS_LOGO_LOCATION
private static final ResourceLocation
TitleScreen.PANORAMA_OVERLAY
(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
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) void
StatsScreen.blitSlotIcon
(GuiGraphics p_281402_, int p_283145_, int p_283100_, ResourceLocation p_299088_) 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_311711_) AdvancementTabType.Sprites.last()
Returns the value of thelast
record component.AdvancementTabType.Sprites.middle()
Returns the value of themiddle
record component.ModifierConstructorDescriptionprivate
AdvancementWidgetType
(ResourceLocation p_300112_, ResourceLocation p_300140_, ResourceLocation p_299008_, ResourceLocation p_301311_) (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_300101_, ResourceLocation p_299464_) protected
BeaconSpriteScreenButton
(int p_169663_, int p_169664_, ResourceLocation p_299425_, 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_300017_, int p_169928_, int p_169929_) -
Uses of ResourceLocation in net.minecraft.client.gui.screens.multiplayer
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
ServerSelectionList.ICON_MISSING
(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
(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
static final ResourceLocation
CreateWorldScreen.FOOTER_SEPERATOR
private static final ResourceLocation
WorldSelectionList.FORGE_EXPERIMENTAL_WARNING_ICON
static final ResourceLocation
CreateWorldScreen.HEADER_SEPERATOR
private static final ResourceLocation
WorldSelectionList.ICON_MISSING
(package private) static final ResourceLocation
WorldSelectionList.JOIN_HIGHLIGHTED_SPRITE
(package private) static final ResourceLocation
WorldSelectionList.JOIN_SPRITE
static final ResourceLocation
CreateWorldScreen.LIGHT_DIRT_BACKGROUND
(package private) static final ResourceLocation
WorldSelectionList.MARKED_JOIN_HIGHLIGHTED_SPRITE
(package private) static final ResourceLocation
WorldSelectionList.MARKED_JOIN_SPRITE
(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 TypeMethodDescriptionClientSuggestionProvider.getAvailableSounds()
ClientSuggestionProvider.getRecipeNames()
-
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
static final ResourceLocation
Sheets.CHEST_SHEET
private static final ResourceLocation
LevelRenderer.CLOUDS_LOCATION
static final ResourceLocation
Sheets.DECORATED_POT_SHEET
(package private) static final ResourceLocation[]
GameRenderer.EFFECTS
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
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 TypeFieldDescriptionprivate static final Function<ResourceLocation,
RenderType> RenderType.ARMOR_CUTOUT_NO_CULL
private 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.private static final Function<ResourceLocation,
RenderType> RenderType.CRUMBLING
private final Optional<ResourceLocation>
RenderStateShard.MultiTextureStateShard.cutoutTexture
private static final Function<ResourceLocation,
RenderType> RenderType.DRAGON_EXPLOSION_ALPHA
private static final it.unimi.dsi.fastutil.objects.Object2ObjectMap<ResourceLocation,
DimensionSpecialEffects> DimensionSpecialEffects.EFFECTS
private static final Function<ResourceLocation,
RenderType> RenderType.ENTITY_CUTOUT
private static final BiFunction<ResourceLocation,
Boolean, RenderType> RenderType.ENTITY_CUTOUT_NO_CULL
private static final BiFunction<ResourceLocation,
Boolean, RenderType> RenderType.ENTITY_CUTOUT_NO_CULL_Z_OFFSET
private static final Function<ResourceLocation,
RenderType> RenderType.ENTITY_DECAL
private static final Function<ResourceLocation,
RenderType> RenderType.ENTITY_NO_OUTLINE
private static final Function<ResourceLocation,
RenderType> RenderType.ENTITY_SHADOW
private static final Function<ResourceLocation,
RenderType> RenderType.ENTITY_SMOOTH_CUTOUT
private static final Function<ResourceLocation,
RenderType> RenderType.ENTITY_SOLID
private static final BiFunction<ResourceLocation,
Boolean, RenderType> RenderType.ENTITY_TRANSLUCENT
private static final Function<ResourceLocation,
RenderType> RenderType.ENTITY_TRANSLUCENT_CULL
private static final BiFunction<ResourceLocation,
Boolean, RenderType> RenderType.ENTITY_TRANSLUCENT_EMISSIVE
private static final BiFunction<ResourceLocation,
RenderStateShard.TransparencyStateShard, RenderType> RenderType.EYES
private 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 Function<ResourceLocation,
RenderType> RenderType.TEXT
private static final Function<ResourceLocation,
RenderType> RenderType.TEXT_INTENSITY
private static final Function<ResourceLocation,
RenderType> RenderType.TEXT_INTENSITY_POLYGON_OFFSET
private static final Function<ResourceLocation,
RenderType> RenderType.TEXT_INTENSITY_SEE_THROUGH
private static final Function<ResourceLocation,
RenderType> RenderType.TEXT_POLYGON_OFFSET
private 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_311465_) static RenderType
RenderType.breezeWind
(ResourceLocation p_311543_, float p_312161_, float p_310801_) private static RenderType.CompositeRenderType
RenderType.createArmorCutoutNoCull
(String p_297971_, ResourceLocation p_300992_, boolean p_297695_) static RenderType
RenderType.createArmorDecalCutoutNoCull
(ResourceLocation p_298982_) 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_, ResourceManager p_110019_, 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.bake
(ModelBaker p_252120_, Function<Material, TextureAtlasSprite> p_250023_, ModelState p_251130_, ResourceLocation p_252208_) Deprecated.BlockModel.bake
(ModelBaker p_249720_, BlockModel p_111451_, Function<Material, TextureAtlasSprite> p_111452_, ModelState p_111453_, ResourceLocation p_111454_, boolean p_111455_) MultiVariant.bake
(ModelBaker p_249016_, Function<Material, TextureAtlasSprite> p_111851_, ModelState p_111852_, ResourceLocation p_111853_) static BakedQuad
BlockModel.bakeFace
(BlockElement p_111438_, BlockElementFace p_111439_, TextureAtlasSprite p_111440_, Direction p_111441_, ModelState p_111442_, ResourceLocation p_111443_) FaceBakery.bakeQuad
(org.joml.Vector3f p_253895_, org.joml.Vector3f p_253976_, BlockElementFace p_111603_, TextureAtlasSprite p_111604_, Direction p_111605_, ModelState p_111606_, BlockElementRotation p_111607_, boolean p_111608_, ResourceLocation p_111609_) private BakedModel
BlockModel.bakeVanilla
(ModelBaker p_249720_, BlockModel p_111451_, Function<Material, TextureAtlasSprite> p_111452_, ModelState p_111453_, ResourceLocation p_111454_, boolean p_111455_, RenderTypeGroup renderTypes) BlockModel.Deserializer.parseTextureLocationOrReference
(ResourceLocation p_111504_, String p_111505_) static BlockFaceUV
FaceBakery.recomputeUVs
(BlockFaceUV p_111582_, Direction p_111583_, Transformation p_111584_, ResourceLocation p_111585_) 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 TypeMethodDescriptionMultiPart.bake
(ModelBaker p_249988_, Function<Material, TextureAtlasSprite> p_111972_, ModelState p_111973_, ResourceLocation p_111974_) 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_112185_, MultiBufferSource p_112186_, ResourceLocation p_112187_, float p_112188_, float p_112189_, long p_112190_, int p_112191_, int p_112192_, float[] p_112193_, float p_112194_, float p_112195_) -
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
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
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_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
BreezeRenderer.WIND_TEXTURE_LOCATION
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
WolfRenderer.WOLF_ANGRY_LOCATION
private static final ResourceLocation
WolfRenderer.WOLF_LOCATION
private static final ResourceLocation
WolfRenderer.WOLF_TAME_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_) 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.BreezeRenderer.getTextureLocation
(Breeze p_312626_) 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_) 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
(AbstractSkeleton 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
(AbstractSkeleton p_116049_) 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
(WindCharge p_313106_) WitchRenderer.getTextureLocation
(Witch p_116410_) WitherBossRenderer.getTextureLocation
(WitherBoss p_116437_) WitherSkeletonRenderer.getTextureLocation
(AbstractSkeleton p_116458_) 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 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
StrayClothingLayer.STRAY_CLOTHES_LOCATION
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[]
LlamaDecorLayer.TEXTURE_LOCATION
private final ResourceLocation
BreezeEyesLayer.textureLoc
private final ResourceLocation
BreezeWindLayer.textureLoc
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<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<IronGolem.Crackiness,
ResourceLocation> IronGolemCrackinessLayer.resourceLocations
Modifier and TypeMethodDescriptionprivate ResourceLocation
HumanoidArmorLayer.getArmorLocation
(ArmorItem p_117081_, boolean p_117082_, String p_117083_) Deprecated.HumanoidArmorLayer.getArmorResource
(Entity entity, ItemStack stack, EquipmentSlot slot, String type) More generic ForgeHook version of the above function, it allows for Items to have more control over what texture they provide.ElytraLayer.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
BreezeEyesLayer.getTextureLocation
(Breeze p_312494_) protected ResourceLocation
BreezeWindLayer.getTextureLocation
(Breeze p_312835_) 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_, float p_117373_, float p_117374_, float p_117375_) 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_, float p_117383_, float p_117384_, float p_117385_) private void
HumanoidArmorLayer.renderModel
(PoseStack p_289664_, MultiBufferSource p_289689_, int p_289681_, ArmorItem p_289650_, Model p_289658_, boolean p_289668_, float p_289678_, float p_289674_, float p_289693_, ResourceLocation armorResource) ModifierConstructorDescriptionBreezeEyesLayer
(RenderLayerParent<Breeze, BreezeModel<Breeze>> p_310165_, EntityModelSet p_312112_, ResourceLocation p_309706_) BreezeWindLayer
(RenderLayerParent<Breeze, BreezeModel<Breeze>> p_312719_, EntityModelSet p_311451_, ResourceLocation p_312874_) SaddleLayer
(RenderLayerParent<T, M> p_117390_, M p_117391_, ResourceLocation p_117392_) 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
(Item p_117830_, 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.getTextureLocations()
Returns the set of sprites in this atlas..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_300124_, ResourceLocation p_301196_, int p_300787_, Executor p_300950_, Collection<MetadataSectionSerializer<?>> p_298047_) 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_299427_) Deprecated.Forge: Use the overload with Forge metadata parameter to properly forward custom loaders.SpriteContents
(ResourceLocation p_249787_, FrameSize p_251031_, NativeImage p_252131_, ResourceMetadata p_299427_, ForgeTextureMetadata forgeMeta) 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_300689_, ResourceLocation p_300572_) SpriteResourceLoader.loadSprite
(ResourceLocation p_301190_, Resource p_298142_) 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_) private
PalettedPermutations
(List<ResourceLocation> p_267282_, ResourceLocation p_266681_, Map<String, ResourceLocation> p_266741_) (package private)
PalettedSpriteSupplier
(LazyLoadedImage baseImage, Supplier<IntUnaryOperator> palette, ResourceLocation permutationLocation) Creates an instance of aPalettedSpriteSupplier
record class.(package private)
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_) ModifierConstructorDescriptionprivate
PalettedPermutations
(List<ResourceLocation> p_267282_, ResourceLocation p_266681_, Map<String, ResourceLocation> p_266741_) private
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_297392_) PlayerSkin.texture()
Returns the value of thetexture
record component.Modifier and TypeMethodDescriptionSkinManager.TextureCache.getOrLoad
(com.mojang.authlib.minecraft.MinecraftProfileTexture p_300959_) private CompletableFuture<ResourceLocation>
SkinManager.TextureCache.registerTexture
(com.mojang.authlib.minecraft.MinecraftProfileTexture p_300607_) 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_299844_, ResourceLocation p_299366_, ResourceLocation p_297647_, Set<MetadataSectionSerializer<?>> p_298542_) -
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
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 Map<ResourceLocation,
BakedModel> ModelManager.bakedRegistry
private final Map<ResourceLocation,
BakedModel> ModelBakery.bakedTopLevelModels
private final Map<ResourceLocation,
List<ModelBakery.LoadedJson>> ModelBakery.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>> ModelBakery.STATIC_DEFINITIONS
private final Map<ResourceLocation,
UnbakedModel> ModelBakery.topLevelModels
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.Material.texture()
Modifier and TypeMethodDescriptionModelManager.ReloadState.atlasPreparations()
Returns the value of theatlasPreparations
record component.ModelBakery.getBakedTopLevelModels()
UnbakedModel.getDependencies()
private static CompletableFuture<Map<ResourceLocation,
BlockModel>> ModelManager.loadBlockModels
(ResourceManager p_251361_, Executor p_252189_) private static CompletableFuture<Map<ResourceLocation,
List<ModelBakery.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.Forge: UseIForgeModelBaker.bake(ResourceLocation, ModelState, java.util.function.Function)
instead.ModelBakery.ModelBakerImpl.bake
(ResourceLocation p_252176_, ModelState p_249765_) ModelBakery.ModelBakerImpl.bake
(ResourceLocation p_252176_, ModelState p_249765_, Function<Material, TextureAtlasSprite> sprites) UnbakedModel.bake
(ModelBaker p_250133_, Function<Material, TextureAtlasSprite> p_119535_, ModelState p_119536_, ResourceLocation p_119537_) private void
ModelBakery.cacheAndQueueDependencies
(ResourceLocation p_119353_, UnbakedModel p_119354_) AtlasSet.getAtlas
(ResourceLocation p_250828_) ModelManager.getAtlas
(ResourceLocation p_119429_) ModelBaker.getModel
(ResourceLocation p_252194_) ModelBakery.getModel
(ResourceLocation p_119342_) ModelBakery.ModelBakerImpl.getModel
(ResourceLocation p_248568_) ModelManager.getModel
(ResourceLocation modelLocation) AtlasSet.StitchResult.getSprite
(ResourceLocation p_249039_) protected BlockModel
ModelBakery.loadBlockModel
(ResourceLocation p_119365_) private void
ModelBakery.loadModel
(ResourceLocation p_119363_) Modifier and TypeMethodDescriptionvoid
ModelBakery.bakeModels
(BiFunction<ResourceLocation, Material, TextureAtlasSprite> p_248669_) Material.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_) (package private)
ModelBakerImpl
(BiFunction<ResourceLocation, Material, TextureAtlasSprite> p_249651_, ResourceLocation p_251408_) ModelResourceLocation
(ResourceLocation p_119442_, String p_119443_) ModifierConstructorDescriptionAtlasSet
(Map<ResourceLocation, ResourceLocation> p_249969_, TextureManager p_252059_) AtlasSet
(Map<ResourceLocation, ResourceLocation> p_249969_, TextureManager p_252059_) (package private)
ModelBakerImpl
(BiFunction<ResourceLocation, Material, TextureAtlasSprite> p_249651_, ResourceLocation p_251408_) ModelBakery
(BlockColors p_249183_, ProfilerFiller p_252014_, Map<ResourceLocation, BlockModel> p_251087_, Map<ResourceLocation, List<ModelBakery.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_) -
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.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 TypeMethodDescriptionstatic com.mojang.datafixers.util.Pair<ResourceLocation,
Collection<CommandFunction<CommandSourceStack>>> FunctionArgument.getFunctionCollection
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_312555_, String p_311726_) 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_) 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_313207_) Modifier and TypeMethodDescription(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_) -
Uses of ResourceLocation in net.minecraft.commands.execution
Modifier and TypeMethodDescriptionvoid
TraceCallbacks.onCall
(int p_313011_, ResourceLocation p_309460_, int p_309874_) -
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_311383_) static <T extends ExecutionCommandSource<T>>
CommandFunction<T>CommandFunction.fromLines
(ResourceLocation p_312869_, com.mojang.brigadier.CommandDispatcher<T> p_310963_, T p_312231_, List<String> p_310814_) MacroFunction.Entry.instantiate
(List<String> p_312452_, com.mojang.brigadier.CommandDispatcher<T> p_313016_, T p_309465_, ResourceLocation p_311242_) MacroFunction.MacroEntry.instantiate
(List<String> p_312101_, com.mojang.brigadier.CommandDispatcher<T> p_309379_, T p_310478_, ResourceLocation p_312655_) MacroFunction.PlainTextEntry.instantiate
(List<String> p_311533_, com.mojang.brigadier.CommandDispatcher<T> p_311835_, T p_312017_, ResourceLocation p_311102_) ModifierConstructorDescriptionMacroFunction
(ResourceLocation p_311437_, List<MacroFunction.Entry<T>> p_310862_, List<String> p_310686_) 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
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
Holder.Reference<T>> MappedRegistry.byLocation
private static final Set<ResourceLocation>
MappedRegistry.KNOWN
private final Map<ResourceLocation,
HolderGetter<?>> RegistrySetBuilder.BuildState.registries
The field for theregistries
record component.Modifier and TypeMethodDescriptionDefaultedMappedRegistry.getDefaultKey()
DefaultedRegistry.getDefaultKey()
Modifier and TypeMethodDescriptionstatic Set<ResourceLocation>
MappedRegistry.getKnownRegistries()
MappedRegistry.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_) 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_) ModifierConstructorDescription(package private)
BuildState
(RegistrySetBuilder.CompositeOwner 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.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
-
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 TypeFieldDescriptionprotected final Map<ResourceLocation,
LootTable.Builder> BlockLootSubProvider.map
private final Map<EntityType<?>,
Map<ResourceLocation, LootTable.Builder>> EntityLootSubProvider.map
private final Set<ResourceLocation>
LootTableProvider.requiredTables
Modifier and TypeMethodDescriptionprotected void
EntityLootSubProvider.add
(EntityType<?> p_252130_, ResourceLocation p_251706_, LootTable.Builder p_249357_) Modifier and TypeMethodDescriptionvoid
BlockLootSubProvider.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_249322_) void
EntityLootSubProvider.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_251751_) void
LootTableSubProvider.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_249643_) protected void
LootTableProvider.validate
(Map<ResourceLocation, LootTable> map, ValidationContext validationcontext) ModifierConstructorDescriptionprotected
BlockLootSubProvider
(Set<Item> p_281507_, FeatureFlagSet p_283552_, Map<ResourceLocation, LootTable.Builder> p_282212_) LootTableProvider
(PackOutput p_254123_, Set<ResourceLocation> p_254481_, List<LootTableProvider.SubProviderEntry> p_253798_) -
Uses of ResourceLocation in net.minecraft.data.loot.packs
Modifier and TypeMethodDescriptionvoid
TradeRebalanceChestLoot.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_301336_) void
UpdateOneTwentyOneChestLoot.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_309902_) void
VanillaArchaeologyLoot.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_278066_) void
VanillaChestLoot.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_250931_) void
VanillaFishingLoot.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_249559_) void
VanillaGiftLoot.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_250831_) void
VanillaPiglinBarterLoot.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_250176_) static void
VanillaChestLoot.spawnerLootTables
(BiConsumer<ResourceLocation, LootTable.Builder> p_312949_) -
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_309677_, ResourceLocation p_309526_, ResourceLocation p_310659_, ResourceLocation p_310780_, ResourceLocation p_309762_) (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_, ArmorMaterial p_267970_) 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_, ArmorMaterial p_267970_) 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_311971_) 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 id, Recipe<?> recipe, AdvancementHolder advancement) void
RecipeOutput.accept
(ResourceLocation id, Recipe<?> recipe, ResourceLocation advancementId, com.google.gson.JsonElement advancement) 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_298791_, ResourceLocation p_176504_) void
ShapedRecipeBuilder.save
(RecipeOutput p_298334_, ResourceLocation p_126142_) void
ShapelessRecipeBuilder.save
(RecipeOutput p_300117_, ResourceLocation p_126206_) void
SimpleCookingRecipeBuilder.save
(RecipeOutput p_299448_, ResourceLocation p_126264_) void
SingleItemRecipeBuilder.save
(RecipeOutput p_298439_, ResourceLocation p_126328_) void
SmithingTransformRecipeBuilder.save
(RecipeOutput p_301024_, ResourceLocation p_267287_) void
SmithingTrimRecipeBuilder.save
(RecipeOutput p_301392_, ResourceLocation p_266718_) void
SpecialRecipeBuilder.save
(RecipeOutput p_301231_, ResourceLocation p_297560_) protected CompletableFuture<?>
RecipeProvider.saveAdvancement
(CachedOutput output, ResourceLocation advancementId, com.google.gson.JsonElement advancement) Called every time a recipe is saved to also save the advancement JSON if it exists.protected static void
RecipeProvider.trimSmithing
(RecipeOutput p_297574_, 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.data.worldgen
Modifier and TypeMethodDescriptionprivate static CappedProcessor
ProcessorLists.trailsArchyLootProcessor
(ResourceLocation p_282232_, int p_281868_) -
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_311439_) 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.common
Modifier and TypeFieldDescriptionprivate static final Map<ResourceLocation,
FriendlyByteBuf.Reader<? extends CustomPacketPayload>> ClientboundCustomPayloadPacket.KNOWN_TYPES
private static final Map<ResourceLocation,
FriendlyByteBuf.Reader<? extends CustomPacketPayload>> ServerboundCustomPayloadPacket.KNOWN_TYPES
Modifier and TypeMethodDescriptionClientboundCustomPayloadPacket.getName()
ServerboundCustomPayloadPacket.getName()
Modifier and TypeMethodDescriptionprivate static CustomPacketPayload
ClientboundCustomPayloadPacket.readPayload
(ResourceLocation p_298700_, FriendlyByteBuf p_298589_) private static CustomPacketPayload
ServerboundCustomPayloadPacket.readPayload
(ResourceLocation p_301116_, FriendlyByteBuf p_298967_) private static DiscardedPayload
ClientboundCustomPayloadPacket.readUnknownPayload
(ResourceLocation p_299265_, FriendlyByteBuf p_297545_) private static DiscardedPayload
ServerboundCustomPayloadPacket.readUnknownPayload
(ResourceLocation p_300234_, FriendlyByteBuf p_299925_) -
Uses of ResourceLocation in net.minecraft.network.protocol.common.custom
Modifier and TypeFieldDescriptionprivate final ResourceLocation
DiscardedPayload.id
The field for theid
record component.static final ResourceLocation
BeeDebugPayload.ID
static final ResourceLocation
BrainDebugPayload.ID
static final ResourceLocation
BrandPayload.ID
static final ResourceLocation
BreezeDebugPayload.ID
static final ResourceLocation
GameEventDebugPayload.ID
static final ResourceLocation
GameEventListenerDebugPayload.ID
static final ResourceLocation
GameTestAddMarkerDebugPayload.ID
static final ResourceLocation
GameTestClearMarkersDebugPayload.ID
static final ResourceLocation
GoalDebugPayload.ID
static final ResourceLocation
HiveDebugPayload.ID
static final ResourceLocation
NeighborUpdatesDebugPayload.ID
static final ResourceLocation
PathfindingDebugPayload.ID
static final ResourceLocation
PoiAddedDebugPayload.ID
static final ResourceLocation
PoiRemovedDebugPayload.ID
static final ResourceLocation
PoiTicketCountDebugPayload.ID
static final ResourceLocation
RaidsDebugPayload.ID
static final ResourceLocation
StructuresDebugPayload.ID
static final ResourceLocation
VillageSectionsDebugPayload.ID
static final ResourceLocation
WorldGenAttemptDebugPayload.ID
Modifier and TypeMethodDescriptionBeeDebugPayload.id()
BrainDebugPayload.id()
BrandPayload.id()
BreezeDebugPayload.id()
CustomPacketPayload.id()
DiscardedPayload.id()
Returns the value of theid
record component.GameEventDebugPayload.id()
GameEventListenerDebugPayload.id()
GameTestAddMarkerDebugPayload.id()
GameTestClearMarkersDebugPayload.id()
GoalDebugPayload.id()
HiveDebugPayload.id()
NeighborUpdatesDebugPayload.id()
PathfindingDebugPayload.id()
PoiAddedDebugPayload.id()
PoiRemovedDebugPayload.id()
PoiTicketCountDebugPayload.id()
RaidsDebugPayload.id()
StructuresDebugPayload.id()
VillageSectionsDebugPayload.id()
WorldGenAttemptDebugPayload.id()
ModifierConstructorDescriptionDiscardedPayload
(ResourceLocation id, @Nullable FriendlyByteBuf data) Creates an instance of aDiscardedPayload
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.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_309767_, int p_310524_) 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 TypeMethodDescriptionClientboundCustomQueryPacket.getName()
ServerboundCustomQueryAnswerPacket.getName()
Modifier and TypeMethodDescriptionprivate static CustomQueryPayload
ClientboundCustomQueryPacket.readPayload
(ResourceLocation p_300079_, FriendlyByteBuf p_299332_) private static DiscardedQueryPayload
ClientboundCustomQueryPacket.readUnknownPayload
(ResourceLocation p_299981_, FriendlyByteBuf p_297706_) -
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.ModifierConstructorDescriptionDiscardedQueryPayload
(ResourceLocation id, @Nullable FriendlyByteBuf data) Creates 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
private final Map<ResourceLocation,
Object> DelegatingOps.Builder.ctx
(package private) Map<ResourceLocation,
Object> DelegatingOps.ctx
Modifier and TypeMethodDescriptionResourceLocation.Serializer.deserialize
(com.google.gson.JsonElement p_135851_, Type p_135852_, com.google.gson.JsonDeserializationContext p_135853_) FileToIdConverter.fileToId
(ResourceLocation p_249595_) 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_) ResourceKey.InternKey.registry()
Returns the value of theregistry
record component.ResourceKey.registry()
static ResourceLocation
static ResourceLocation
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_) <R> R
DelegatingOps.getContext
(ResourceLocation rl) FileToIdConverter.idToFile
(ResourceLocation p_251878_) private static String
RegistryDataLoader.registryDirPath
(ResourceLocation p_252033_) com.google.gson.JsonElement
ResourceLocation.Serializer.serialize
(ResourceLocation p_135855_, Type p_135856_, com.google.gson.JsonSerializationContext p_135857_) DelegatingOps.Builder.with
(ResourceLocation key, Object ctx) 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()
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_299615_) 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_309906_, Advancement p_310937_) 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_298170_) 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_) -
Uses of ResourceLocation in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static void
LootCommand.callback
(CommandSourceStack p_137969_, List<ItemStack> p_137970_, ResourceLocation p_137971_) private static int
BossBarCommands.createBar
(CommandSourceStack p_136592_, ResourceLocation p_136593_, Component p_136594_) private static <T extends ExecutionCommandSource<T>>
CommandResultCallbackFunctionCommand.decorateOutputIfNeeded
(T p_309693_, FunctionCommand.Callbacks<T> p_309991_, ResourceLocation p_312510_, CommandResultCallback p_312314_) private static int
LootCommand.drop
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_287721_, ResourceLocation p_287610_, LootParams p_287728_, LootCommand.DropConsumer p_287770_) private static int
LootCommand.dropChestLoot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137933_, ResourceLocation p_137934_, LootCommand.DropConsumer p_137935_) private static int
LootCommand.dropFishingLoot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137927_, ResourceLocation p_137928_, BlockPos p_137929_, ItemStack p_137930_, LootCommand.DropConsumer p_137931_) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.instantiateAndQueueFunctions
(CompoundTag p_312138_, ExecutionControl<T> p_309532_, com.mojang.brigadier.CommandDispatcher<T> p_312204_, T p_311370_, CommandFunction<T> p_310160_, ResourceLocation p_311048_, CommandResultCallback p_312950_, boolean p_312453_) 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_299745_, MinMaxBounds.Ints p_299529_, ResourceLocation p_301238_, boolean p_298006_) private static int
RandomCommand.resetSequence
(CommandSourceStack p_300119_, ResourceLocation p_298199_) private static int
RandomCommand.resetSequence
(CommandSourceStack p_298149_, ResourceLocation p_299177_, int p_300974_, boolean p_298057_, boolean p_300002_) void
FunctionCommand.Callbacks.signalResult
(T p_310906_, ResourceLocation p_310562_, int p_310733_) 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_312871_) -
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_299283_, ResourceLocation p_299837_) 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_300643_) -
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) Creates an instance of aTagKey
record class.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.world
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
RandomSequence> RandomSequences.sequences
Modifier and TypeMethodDescriptionprivate RandomSequence
RandomSequences.createSequence
(ResourceLocation p_299723_) private RandomSequence
RandomSequences.createSequence
(ResourceLocation p_299881_, int p_299267_, boolean p_300525_, boolean p_297272_) RandomSequences.get
(ResourceLocation p_287751_) void
RandomSequences.reset
(ResourceLocation p_298741_) void
RandomSequences.reset
(ResourceLocation p_301350_, int p_298554_, boolean p_298049_, boolean p_301283_) static RandomSupport.Seed128bit
RandomSequence.seedForKey
(ResourceLocation p_288989_) static void
RandomizableContainer.setBlockEntityLootTable
(BlockGetter p_312806_, RandomSource p_311284_, BlockPos p_311567_, ResourceLocation p_311477_) void
RandomizableContainer.setLootTable
(ResourceLocation p_312096_) default void
RandomizableContainer.setLootTable
(ResourceLocation p_310188_, long p_312787_) Modifier and TypeMethodDescriptionprivate static XoroshiroRandomSource
RandomSequence.createSequence
(long p_289567_, Optional<ResourceLocation> p_300474_) void
RandomSequences.forAllSequences
(BiConsumer<ResourceLocation, RandomSequence> p_299883_) ModifierConstructorDescriptionRandomSequence
(long p_298200_, Optional<ResourceLocation> p_297536_) -
Uses of ResourceLocation in net.minecraft.world.entity
Modifier and TypeFieldDescriptionprivate ResourceLocation
EntityType.lootTable
private ResourceLocation
Mob.lootTable
Modifier and TypeMethodDescriptionEntityType.getDefaultLootTable()
protected ResourceLocation
Mob.getDefaultLootTable()
static ResourceLocation
EntityType.getKey
(EntityType<?> p_20614_) LivingEntity.getLootTable()
final ResourceLocation
Mob.getLootTable()
-
Uses of ResourceLocation in net.minecraft.world.entity.ai.behavior
Modifier and TypeFieldDescriptionprivate static final Map<VillagerProfession,
ResourceLocation> GiveGiftToHero.GIFTS
-
Uses of ResourceLocation in net.minecraft.world.entity.animal
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
Rabbit.KILLER_BUNNY
private final ResourceLocation
CatVariant.texture
The field for thetexture
record component.private final ResourceLocation
FrogVariant.texture
The field for thetexture
record component.Modifier and TypeMethodDescriptionSheep.getDefaultLootTable()
Cat.getResourceLocation()
CatVariant.texture()
Returns the value of thetexture
record component.FrogVariant.texture()
Returns the value of thetexture
record component.ModifierConstructorDescriptionCatVariant
(ResourceLocation texture) Creates an instance of aCatVariant
record class.FrogVariant
(ResourceLocation texture) Creates an instance of aFrogVariant
record class. -
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_312830_) -
Uses of ResourceLocation in net.minecraft.world.entity.vehicle
Modifier and TypeFieldDescriptionprivate ResourceLocation
AbstractMinecartContainer.lootTable
private ResourceLocation
ChestBoat.lootTable
Modifier and TypeMethodDescriptionAbstractMinecartContainer.getLootTable()
ChestBoat.getLootTable()
ContainerEntity.getLootTable()
Modifier and TypeMethodDescriptionvoid
AbstractMinecartContainer.setLootTable
(ResourceLocation p_219859_) void
AbstractMinecartContainer.setLootTable
(ResourceLocation p_38237_, long p_38238_) void
ChestBoat.setLootTable
(ResourceLocation p_219890_) void
ContainerEntity.setLootTable
(ResourceLocation p_219926_) -
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
(package private) static final ResourceLocation[]
InventoryMenu.TEXTURE_EMPTY_SLOTS
Modifier and TypeFieldDescriptionprivate com.mojang.datafixers.util.Pair<ResourceLocation,
ResourceLocation> Slot.backgroundPair
private com.mojang.datafixers.util.Pair<ResourceLocation,
ResourceLocation> Slot.backgroundPair
Modifier and TypeMethodDescriptioncom.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. -
Uses of ResourceLocation in net.minecraft.world.item
Modifier and TypeFieldDescriptionprivate ResourceLocation
CreativeModeTab.backgroundLocation
private ResourceLocation
CreativeModeTab.Builder.backgroundLocation
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
HorseArmorItem.texture
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
Modifier and TypeMethodDescriptionCreativeModeTab.getBackgroundLocation()
HorseArmorItem.getTexture()
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 TypeMethodDescriptionstatic ItemDisplayContext
ItemDisplayContext.create
(String keyName, ResourceLocation serializedName, ItemDisplayContext fallback) static SmithingTemplateItem
SmithingTemplateItem.createArmorTrimTemplate
(ResourceLocation p_266880_) static Item
Items.registerItem
(ResourceLocation p_42817_, Item p_42818_) CreativeModeTab.Builder.withBackgroundLocation
(ResourceLocation background) Sets the location of the tab 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.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 backgroundLocation, boolean hasSearchBar, int searchBarWidth, int labelColor, int slotColor, List<ResourceLocation> tabsBefore, List<ResourceLocation> tabsAfter) DyeableHorseArmorItem
(int p_41110_, ResourceLocation p_41111_, Item.Properties p_41112_) HorseArmorItem
(int p_41364_, ResourceLocation p_41365_, Item.Properties p_41366_) private
ItemDisplayContext
(ResourceLocation serializeName, ItemDisplayContext fallback) 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 backgroundLocation, boolean hasSearchBar, int searchBarWidth, 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_) -
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<ArmorMaterial,
ResourceLocation> ArmorTrim.innerTexture
private final Function<ArmorMaterial,
ResourceLocation> ArmorTrim.outerTexture
Modifier and TypeMethodDescriptionTrimPattern.assetId()
Returns the value of theassetId
record component.ArmorTrim.innerTexture
(ArmorMaterial p_268043_) ArmorTrim.outerTexture
(ArmorMaterial p_268143_) ModifierConstructorDescriptionTrimPattern
(ResourceLocation assetId, Holder<Item> templateItem, Component description, boolean decal) Creates an instance of aTrimPattern
record class. -
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
private Map<RecipeType<?>,
Map<ResourceLocation, RecipeHolder<?>>> RecipeManager.recipes
Modifier and TypeMethodDescriptionRecipeHolder.id()
Returns the value of theid
record component.Modifier and TypeMethodDescriptionprivate <C extends Container,
T extends Recipe<C>>
Map<ResourceLocation,RecipeHolder<T>> RecipeManager.byType
(RecipeType<T> p_44055_) <C extends Container,
T extends Recipe<C>>
Optional<com.mojang.datafixers.util.Pair<ResourceLocation,RecipeHolder<T>>> RecipeManager.getRecipeFor
(RecipeType<T> p_220249_, C p_220250_, Level p_220251_, ResourceLocation p_220252_) RecipeManager.getRecipeIds()
Modifier and TypeMethodDescriptionOptional<RecipeHolder<?>>
RecipeManager.byKey
(ResourceLocation p_44044_) protected static RecipeHolder<?>
RecipeManager.fromJson
(ResourceLocation p_44046_, com.google.gson.JsonObject p_44047_) <C extends Container,
T extends Recipe<C>>
Optional<com.mojang.datafixers.util.Pair<ResourceLocation,RecipeHolder<T>>> RecipeManager.getRecipeFor
(RecipeType<T> p_220249_, C p_220250_, Level p_220251_, ResourceLocation p_220252_) 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
Modifier and TypeMethodDescriptionstatic ResourceLocation
EnchantmentHelper.getEnchantmentId
(CompoundTag p_182447_) static ResourceLocation
EnchantmentHelper.getEnchantmentId
(Enchantment p_182433_) Modifier and TypeMethodDescriptionstatic CompoundTag
EnchantmentHelper.storeEnchantment
(ResourceLocation p_182444_, int p_182445_) -
Uses of ResourceLocation in net.minecraft.world.level
Modifier and TypeMethodDescriptionprivate static ResourceLocation
Spawner.getEntityKey
(CompoundTag p_313110_, String p_312914_) -
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 ResourceLocation
BrushableBlockEntity.lootTable
protected ResourceLocation
DecoratedPotBlockEntity.lootTable
protected ResourceLocation
RandomizableContainerBlockEntity.lootTable
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 TypeMethodDescriptionstatic ResourceLocation
BlockEntityType.getKey
(BlockEntityType<?> p_58955_) DecoratedPotBlockEntity.getLootTable()
RandomizableContainerBlockEntity.getLootTable()
JigsawBlockEntity.getName()
SkullBlockEntity.getNoteBlockSound()
JigsawBlockEntity.getTarget()
static ResourceLocation
BannerPattern.location
(ResourceKey<BannerPattern> p_222698_, boolean p_222699_) static ResourceLocation
DecoratedPotPatterns.location
(ResourceKey<String> p_273198_) Modifier and TypeMethodDescriptionvoid
BrushableBlockEntity.setLootTable
(ResourceLocation p_277611_, long p_277991_) void
DecoratedPotBlockEntity.setLootTable
(ResourceLocation p_309618_) void
RandomizableContainerBlockEntity.setLootTable
(ResourceLocation p_59627_) void
JigsawBlockEntity.setName
(ResourceLocation p_59436_) void
StructureBlockEntity.setStructureName
(ResourceLocation p_59875_) void
JigsawBlockEntity.setTarget
(ResourceLocation p_59439_) -
Uses of ResourceLocation in net.minecraft.world.level.block.entity.trialspawner
Modifier and TypeFieldDescriptionprotected Optional<ResourceLocation>
TrialSpawnerData.ejectingLootTable
private final SimpleWeightedRandomList<ResourceLocation>
TrialSpawnerConfig.lootTablesToEject
The field for thelootTablesToEject
record component.Modifier and TypeMethodDescriptionTrialSpawnerConfig.lootTablesToEject()
Returns the value of thelootTablesToEject
record component.Modifier and TypeMethodDescriptionvoid
TrialSpawner.ejectReward
(ServerLevel p_310080_, BlockPos p_311547_, ResourceLocation p_311861_) -
Uses of ResourceLocation in net.minecraft.world.level.block.state
Modifier and TypeFieldDescriptionprotected ResourceLocation
BlockBehaviour.drops
(package private) ResourceLocation
BlockBehaviour.Properties.drops
Modifier and TypeFieldDescriptionprivate final Supplier<ResourceLocation>
BlockBehaviour.lootTableSupplier
private Supplier<ResourceLocation>
BlockBehaviour.Properties.lootTableSupplier
-
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()
Modifier and TypeMethodDescriptionprotected boolean
StructurePiece.createChest
(ServerLevelAccessor p_226763_, BoundingBox p_226764_, RandomSource p_226765_, BlockPos p_226766_, ResourceLocation p_226767_, BlockState p_226768_) protected boolean
StructurePiece.createChest
(WorldGenLevel p_226812_, BoundingBox p_226813_, RandomSource p_226814_, int p_226815_, int p_226816_, int p_226817_, ResourceLocation p_226818_) protected boolean
StructurePiece.createDispenser
(WorldGenLevel p_226820_, BoundingBox p_226821_, RandomSource p_226822_, int p_226823_, int p_226824_, int p_226825_, Direction p_226826_, ResourceLocation p_226827_) 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_312146_) 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_) protected
SinglePoolElement
(com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> p_210415_, Holder<StructureProcessorList> p_210416_, StructureTemplatePool.Projection p_210417_) -
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<String,
ResourceLocation> ShipwreckPieces.MARKERS_TO_LOOT
(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 StructureProcessor
OceanRuinPieces.archyRuleProcessor
(Block p_277376_, Block p_277934_, ResourceLocation p_277968_) protected boolean
MineshaftPieces.MineShaftCorridor.createChest
(WorldGenLevel p_227787_, BoundingBox p_227788_, RandomSource p_227789_, int p_227790_, int p_227791_, int p_227792_, ResourceLocation p_227793_) private 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_312703_) -
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.listFolderContents
(Path p_230395_, String p_230396_, String p_230397_) private Stream<ResourceLocation>
StructureTemplateManager.listGenerated()
private Stream<ResourceLocation>
StructureTemplateManager.listGeneratedInNamespace
(Path p_230389_) private Stream<ResourceLocation>
StructureTemplateManager.listResources()
StructureTemplateManager.listTemplates()
private Stream<ResourceLocation>
StructureTemplateManager.listTestStructures()
StructureTemplateManager.Source.loader()
Returns the value of theloader
record component.Modifier and TypeMethodDescriptionprivate static Path
StructureTemplateManager.createAndValidatePathToStructure
(Path p_230412_, ResourceLocation p_230413_, String p_230414_) static Path
StructureTemplateManager.createPathToStructure
(Path p_230391_, ResourceLocation p_230392_, String p_230393_) StructureTemplateManager.get
(ResourceLocation p_230408_) StructureTemplateManager.getOrCreate
(ResourceLocation p_230360_) StructureTemplateManager.getPathToGeneratedStructure
(ResourceLocation p_230362_, String p_230363_) 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_) 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.levelgen.structure.templatesystem.rule.blockentity
-
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 TypeFieldDescriptionstatic final ResourceLocation
BuiltInLootTables.ABANDONED_MINESHAFT
static final ResourceLocation
BuiltInLootTables.ANCIENT_CITY
static final ResourceLocation
BuiltInLootTables.ANCIENT_CITY_ICE_BOX
static final ResourceLocation
BuiltInLootTables.ARMORER_GIFT
static final ResourceLocation
BuiltInLootTables.BASTION_BRIDGE
static final ResourceLocation
BuiltInLootTables.BASTION_HOGLIN_STABLE
static final ResourceLocation
BuiltInLootTables.BASTION_OTHER
static final ResourceLocation
BuiltInLootTables.BASTION_TREASURE
static final ResourceLocation
BuiltInLootTables.BURIED_TREASURE
static final ResourceLocation
BuiltInLootTables.BUTCHER_GIFT
static final ResourceLocation
BuiltInLootTables.CARTOGRAPHER_GIFT
static final ResourceLocation
BuiltInLootTables.CAT_MORNING_GIFT
static final ResourceLocation
BuiltInLootTables.CLERIC_GIFT
static final ResourceLocation
BuiltInLootTables.DESERT_PYRAMID
static final ResourceLocation
BuiltInLootTables.DESERT_PYRAMID_ARCHAEOLOGY
static final ResourceLocation
BuiltInLootTables.DESERT_WELL_ARCHAEOLOGY
static final ResourceLocation
BuiltInLootTables.EMPTY
static final ResourceLocation
BuiltInLootTables.END_CITY_TREASURE
static final ResourceLocation
BuiltInLootTables.FARMER_GIFT
static final ResourceLocation
BuiltInLootTables.FISHERMAN_GIFT
static final ResourceLocation
BuiltInLootTables.FISHING
static final ResourceLocation
BuiltInLootTables.FISHING_FISH
static final ResourceLocation
BuiltInLootTables.FISHING_JUNK
static final ResourceLocation
BuiltInLootTables.FISHING_TREASURE
static final ResourceLocation
BuiltInLootTables.FLETCHER_GIFT
static final ResourceLocation
BuiltInLootTables.IGLOO_CHEST
static final ResourceLocation
BuiltInLootTables.JUNGLE_TEMPLE
static final ResourceLocation
BuiltInLootTables.JUNGLE_TEMPLE_DISPENSER
static final ResourceLocation
BuiltInLootTables.LEATHERWORKER_GIFT
static final ResourceLocation
BuiltInLootTables.LIBRARIAN_GIFT
private final ResourceLocation
LootDataId.location
The field for thelocation
record component.private ResourceLocation
LootTable.lootTableId
static final ResourceLocation
BuiltInLootTables.MASON_GIFT
static final ResourceLocation
BuiltInLootTables.NETHER_BRIDGE
static final ResourceLocation
BuiltInLootTables.OCEAN_RUIN_COLD_ARCHAEOLOGY
static final ResourceLocation
BuiltInLootTables.OCEAN_RUIN_WARM_ARCHAEOLOGY
static final ResourceLocation
BuiltInLootTables.PIGLIN_BARTERING
static final ResourceLocation
BuiltInLootTables.PILLAGER_OUTPOST
private ResourceLocation
LootContext.Builder.queriedLootTableId
private ResourceLocation
LootContext.queriedLootTableId
static final ResourceLocation
BuiltInLootTables.RUINED_PORTAL
static final ResourceLocation
BuiltInLootTables.SHEEP_BLACK
static final ResourceLocation
BuiltInLootTables.SHEEP_BLUE
static final ResourceLocation
BuiltInLootTables.SHEEP_BROWN
static final ResourceLocation
BuiltInLootTables.SHEEP_CYAN
static final ResourceLocation
BuiltInLootTables.SHEEP_GRAY
static final ResourceLocation
BuiltInLootTables.SHEEP_GREEN
static final ResourceLocation
BuiltInLootTables.SHEEP_LIGHT_BLUE
static final ResourceLocation
BuiltInLootTables.SHEEP_LIGHT_GRAY
static final ResourceLocation
BuiltInLootTables.SHEEP_LIME
static final ResourceLocation
BuiltInLootTables.SHEEP_MAGENTA
static final ResourceLocation
BuiltInLootTables.SHEEP_ORANGE
static final ResourceLocation
BuiltInLootTables.SHEEP_PINK
static final ResourceLocation
BuiltInLootTables.SHEEP_PURPLE
static final ResourceLocation
BuiltInLootTables.SHEEP_RED
static final ResourceLocation
BuiltInLootTables.SHEEP_WHITE
static final ResourceLocation
BuiltInLootTables.SHEEP_YELLOW
static final ResourceLocation
BuiltInLootTables.SHEPHERD_GIFT
static final ResourceLocation
BuiltInLootTables.SHIPWRECK_MAP
static final ResourceLocation
BuiltInLootTables.SHIPWRECK_SUPPLY
static final ResourceLocation
BuiltInLootTables.SHIPWRECK_TREASURE
static final ResourceLocation
BuiltInLootTables.SIMPLE_DUNGEON
static final ResourceLocation
BuiltInLootTables.SNIFFER_DIGGING
static final ResourceLocation
BuiltInLootTables.SPAWN_BONUS_CHEST
static final ResourceLocation
BuiltInLootTables.SPAWNER_TRIAL_CHAMBER_CONSUMABLES
static final ResourceLocation
BuiltInLootTables.SPAWNER_TRIAL_CHAMBER_KEY
static final ResourceLocation
BuiltInLootTables.STRONGHOLD_CORRIDOR
static final ResourceLocation
BuiltInLootTables.STRONGHOLD_CROSSING
static final ResourceLocation
BuiltInLootTables.STRONGHOLD_LIBRARY
static final ResourceLocation
BuiltInLootTables.TOOLSMITH_GIFT
static final ResourceLocation
BuiltInLootTables.TRAIL_RUINS_ARCHAEOLOGY_COMMON
static final ResourceLocation
BuiltInLootTables.TRAIL_RUINS_ARCHAEOLOGY_RARE
static final ResourceLocation
BuiltInLootTables.TRIAL_CHAMBERS_CHAMBER_DISPENSER
static final ResourceLocation
BuiltInLootTables.TRIAL_CHAMBERS_CORRIDOR
static final ResourceLocation
BuiltInLootTables.TRIAL_CHAMBERS_CORRIDOR_DISPENSER
static final ResourceLocation
BuiltInLootTables.TRIAL_CHAMBERS_CORRIDOR_POT
static final ResourceLocation
BuiltInLootTables.TRIAL_CHAMBERS_ENTRANCE
static final ResourceLocation
BuiltInLootTables.TRIAL_CHAMBERS_INTERSECTION
static final ResourceLocation
BuiltInLootTables.TRIAL_CHAMBERS_INTERSECTION_BARREL
static final ResourceLocation
BuiltInLootTables.TRIAL_CHAMBERS_REWARD
static final ResourceLocation
BuiltInLootTables.TRIAL_CHAMBERS_SUPPLY
static final ResourceLocation
BuiltInLootTables.TRIAL_CHAMBERS_WATER_DISPENSER
static final ResourceLocation
BuiltInLootTables.UNDERWATER_RUIN_BIG
static final ResourceLocation
BuiltInLootTables.UNDERWATER_RUIN_SMALL
static final ResourceLocation
BuiltInLootTables.VILLAGE_ARMORER
static final ResourceLocation
BuiltInLootTables.VILLAGE_BUTCHER
static final ResourceLocation
BuiltInLootTables.VILLAGE_CARTOGRAPHER
static final ResourceLocation
BuiltInLootTables.VILLAGE_DESERT_HOUSE
static final ResourceLocation
BuiltInLootTables.VILLAGE_FISHER
static final ResourceLocation
BuiltInLootTables.VILLAGE_FLETCHER
static final ResourceLocation
BuiltInLootTables.VILLAGE_MASON
static final ResourceLocation
BuiltInLootTables.VILLAGE_PLAINS_HOUSE
static final ResourceLocation
BuiltInLootTables.VILLAGE_SAVANNA_HOUSE
static final ResourceLocation
BuiltInLootTables.VILLAGE_SHEPHERD
static final ResourceLocation
BuiltInLootTables.VILLAGE_SNOWY_HOUSE
static final ResourceLocation
BuiltInLootTables.VILLAGE_TAIGA_HOUSE
static final ResourceLocation
BuiltInLootTables.VILLAGE_TANNERY
static final ResourceLocation
BuiltInLootTables.VILLAGE_TEMPLE
static final ResourceLocation
BuiltInLootTables.VILLAGE_TOOLSMITH
static final ResourceLocation
BuiltInLootTables.VILLAGE_WEAPONSMITH
static final ResourceLocation
BuiltInLootTables.WEAPONSMITH_GIFT
static final ResourceLocation
BuiltInLootTables.WOODLAND_MANSION
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
LootParams.DynamicDrop> LootParams.Builder.dynamicDrops
private final Map<ResourceLocation,
LootParams.DynamicDrop> LootParams.dynamicDrops
private static final Set<ResourceLocation>
BuiltInLootTables.IMMUTABLE_LOCATIONS
private static final Set<ResourceLocation>
BuiltInLootTables.LOCATIONS
private Optional<ResourceLocation>
LootTable.Builder.randomSequence
private final Optional<ResourceLocation>
LootTable.randomSequence
private com.google.common.collect.Multimap<LootDataType<?>,
ResourceLocation> LootDataManager.typeKeys
Modifier and TypeMethodDescriptionLootTable.getLootTableId()
LootContext.getQueriedLootTableId()
LootDataId.location()
Returns the value of thelocation
record component.private static ResourceLocation
private static ResourceLocation
BuiltInLootTables.register
(ResourceLocation p_78770_) Modifier and TypeMethodDescriptionstatic Set<ResourceLocation>
BuiltInLootTables.all()
LootDataManager.getKeys
(LootDataType<?> p_279455_) 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.google.gson.JsonElement p_279330_) default <T> T
LootDataResolver.getElement
(LootDataType<T> p_279423_, ResourceLocation p_279277_) default <T> Optional<T>
LootDataResolver.getElementOptional
(LootDataType<T> p_279350_, ResourceLocation p_279323_) default LootTable
LootDataResolver.getLootTable
(ResourceLocation p_279456_) private static ResourceLocation
BuiltInLootTables.register
(ResourceLocation p_78770_) 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 TypeMethodDescriptionprivate void
LootDataManager.apply
(Map<LootDataType<?>, Map<ResourceLocation, ?>> p_279426_) LootContext.Builder.create
(Optional<ResourceLocation> p_299315_) private static <T> CompletableFuture<?>
LootDataManager.scheduleElementParse
(LootDataType<T> p_279205_, ResourceManager p_279441_, Executor p_279233_, Map<LootDataType<?>, Map<ResourceLocation, ?>> p_279241_) ModifierConstructorDescriptionprivate
LootContext
(LootParams p_287722_, RandomSource p_287702_, LootDataResolver p_287619_, ResourceLocation queriedLootTableId) LootDataId
(LootDataType<T> type, ResourceLocation location) Creates an instance of aLootDataId
record class.ModifierConstructorDescription(package private)
LootTable
(LootContextParamSet p_287716_, Optional<ResourceLocation> p_298628_, List<LootPool> p_298771_, List<LootItemFunction> p_301234_) -
Uses of ResourceLocation in net.minecraft.world.level.storage.loot.entries
Modifier and TypeFieldDescriptionprivate final ResourceLocation
DynamicLoot.name
private final ResourceLocation
LootTableReference.name
Modifier and TypeMethodDescriptionstatic LootPoolSingletonContainer.Builder<?>
DynamicLoot.dynamicEntry
(ResourceLocation p_79484_) static LootPoolSingletonContainer.Builder<?>
LootTableReference.lootTableReference
(ResourceLocation p_79777_) ModifierConstructorDescriptionprivate
DynamicLoot
(ResourceLocation p_79465_, int p_79466_, int p_79467_, List<LootItemCondition> p_297929_, List<LootItemFunction> p_299695_) private
LootTableReference
(ResourceLocation p_79756_, int p_79757_, int p_79758_, List<LootItemCondition> p_297470_, List<LootItemFunction> p_299264_) -
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
FunctionReference.name
private final ResourceLocation
SetContainerLootTable.name
Modifier and TypeFieldDescriptionprivate static final Map<ResourceLocation,
ApplyBonusCount.FormulaType> ApplyBonusCount.FORMULAS
Modifier and TypeMethodDescriptionApplyBonusCount.FormulaType.id()
Returns the value of theid
record component.Modifier and TypeMethodDescriptionstatic LootItemConditionalFunction.Builder<?>
FunctionReference.functionReference
(ResourceLocation p_279115_) static LootItemConditionalFunction.Builder<?>
SetContainerLootTable.withLootTable
(BlockEntityType<?> p_193050_, ResourceLocation p_193051_) static LootItemConditionalFunction.Builder<?>
SetContainerLootTable.withLootTable
(BlockEntityType<?> p_193053_, ResourceLocation p_193054_, long p_193055_) ModifierConstructorDescription(package private)
FormulaType
(ResourceLocation id, com.mojang.serialization.Codec<? extends ApplyBonusCount.Formula> codec) Creates an instance of aFormulaType
record class.private
FunctionReference
(List<LootItemCondition> p_298565_, ResourceLocation p_279246_) private
SetContainerLootTable
(List<LootItemCondition> p_297857_, ResourceLocation p_193046_, long p_193047_, Holder<BlockEntityType<?>> p_300516_) -
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.predicates
Modifier and TypeFieldDescriptionprivate final ResourceLocation
ConditionReference.name
The field for thename
record component.Modifier and TypeMethodDescriptionConditionReference.name()
Returns the value of thename
record component.Modifier and TypeMethodDescriptionstatic LootItemCondition.Builder
ConditionReference.conditionReference
(ResourceLocation p_165481_) ModifierConstructorDescriptionCreates an instance of aConditionReference
record class. -
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.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.minecraftforge.client
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
ForgeHooksClient.ICON_SHEET
Modifier and TypeFieldDescriptionprivate static com.google.common.collect.ImmutableMap<ResourceLocation,
DimensionSpecialEffects> DimensionSpecialEffectsManager.EFFECTS
private static final BiFunction<ResourceLocation,
Boolean, RenderType> ForgeRenderTypes.Internal.ENTITY_TRANSLUCENT
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.LAYERED_ITEM_CUTOUT
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.LAYERED_ITEM_CUTOUT_MIPPED
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.LAYERED_ITEM_SOLID
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.LAYERED_ITEM_TRANSLUCENT
private static com.google.common.collect.ImmutableMap<ResourceLocation,
RenderTypeGroup> NamedRenderTypeManager.RENDER_TYPES
private static Map<EntityType<?>,
ResourceLocation> EntitySpectatorShaderManager.SHADERS
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.TEXT
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.TEXT_INTENSITY
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.TEXT_INTENSITY_POLYGON_OFFSET
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.TEXT_INTENSITY_SEETHROUGH
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.TEXT_POLYGON_OFFSET
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.TEXT_SEETHROUGH
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.TRANSLUCENT_PARTICLES_TARGET
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.UNLIT_TRANSLUCENT_SORTED
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.UNLIT_TRANSLUCENT_UNSORTED
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.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
ForgeHooksClient.getShaderImportLocation
(String basePath, boolean isRelative, String importPath) Modifier and TypeMethodDescriptionClientCommandSourceStack.getRecipeNames()
Returns aStream
of recipe ids that are available on the client.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
ForgeHooksClient.getBlockMaterial
(ResourceLocation loc) static RenderType
ForgeRenderTypes.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
ForgeRenderTypes.getItemLayeredCutout
(ResourceLocation textureLocation) static RenderType
ForgeRenderTypes.getItemLayeredCutoutMipped
(ResourceLocation textureLocation) static RenderType
ForgeRenderTypes.getItemLayeredSolid
(ResourceLocation textureLocation) static RenderType
ForgeRenderTypes.getItemLayeredTranslucent
(ResourceLocation textureLocation) static RenderType
ForgeRenderTypes.getText
(ResourceLocation locationIn) private static RenderType
ForgeRenderTypes.Internal.getText
(ResourceLocation locationIn) static RenderType
ForgeRenderTypes.getTextIntensity
(ResourceLocation locationIn) private static RenderType
ForgeRenderTypes.Internal.getTextIntensity
(ResourceLocation locationIn) static RenderType
ForgeRenderTypes.getTextIntensityPolygonOffset
(ResourceLocation locationIn) private static RenderType
ForgeRenderTypes.Internal.getTextIntensityPolygonOffset
(ResourceLocation locationIn) static RenderType
ForgeRenderTypes.getTextIntensitySeeThrough
(ResourceLocation locationIn) private static RenderType
ForgeRenderTypes.Internal.getTextIntensitySeeThrough
(ResourceLocation locationIn) static RenderType
ForgeRenderTypes.getTextPolygonOffset
(ResourceLocation locationIn) private static RenderType
ForgeRenderTypes.Internal.getTextPolygonOffset
(ResourceLocation locationIn) static RenderType
ForgeRenderTypes.getTextSeeThrough
(ResourceLocation locationIn) private static RenderType
ForgeRenderTypes.Internal.getTextSeeThrough
(ResourceLocation locationIn) static RenderType
ForgeRenderTypes.getTranslucentParticlesTarget
(ResourceLocation locationIn) private static RenderType
ForgeRenderTypes.Internal.getTranslucentParticlesTarget
(ResourceLocation locationIn) static RenderType
ForgeRenderTypes.getUnlitTranslucent
(ResourceLocation textureLocation) static RenderType
ForgeRenderTypes.getUnlitTranslucent
(ResourceLocation textureLocation, boolean sortingEnabled) static RenderType
ForgeRenderTypes.getUnsortedTranslucent
(ResourceLocation textureLocation) private static RenderType
ForgeRenderTypes.Internal.layeredItemCutout
(ResourceLocation locationIn) private static RenderType
ForgeRenderTypes.Internal.layeredItemCutoutMipped
(ResourceLocation locationIn) private static RenderType
ForgeRenderTypes.Internal.layeredItemSolid
(ResourceLocation locationIn) private static RenderType
ForgeRenderTypes.Internal.layeredItemTranslucent
(ResourceLocation locationIn) static @Nullable SpriteContents
ForgeHooksClient.loadSpriteContents
(ResourceLocation name, Resource resource, FrameSize frameSize, NativeImage image, ResourceMetadata animationMeta) static @Nullable TextureAtlasSprite
ForgeHooksClient.loadTextureAtlasSprite
(ResourceLocation atlasName, SpriteContents contents, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel) private static RenderType
ForgeRenderTypes.Internal.unlitTranslucent
(ResourceLocation textureLocation, boolean sortingEnabled) private static RenderType
ForgeRenderTypes.Internal.unsortedTranslucent
(ResourceLocation textureLocation) Modifier and TypeMethodDescriptionstatic void
ForgeHooksClient.onModelBake
(ModelManager modelManager, Map<ResourceLocation, BakedModel> models, ModelBakery modelBakery) static void
ForgeHooksClient.onModifyBakingResult
(Map<ResourceLocation, BakedModel> models, ModelBakery modelBakery) static void
ForgeHooksClient.onRegisterAdditionalModels
(Set<ResourceLocation> additionalModels) private static DimensionSpecialEffects
DimensionSpecialEffectsManager.preRegisterVanillaEffects
(Map<ResourceLocation, DimensionSpecialEffects> effects) Pre-registers vanilla dimension effects and returns the default fallback effects instance.private static void
NamedRenderTypeManager.preRegisterVanillaRenderTypes
(Map<ResourceLocation, RenderTypeGroup> blockRenderTypes) Pre-registers vanilla render types.ModifierConstructorDescriptionprivate
CustomizableTextureState
(ResourceLocation resLoc, Supplier<Boolean> blur, Supplier<Boolean> mipmap) -
Uses of ResourceLocation in net.minecraftforge.client.event
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
DimensionSpecialEffects> RegisterDimensionSpecialEffectsEvent.effects
private final Map<ResourceLocation,
IGeometryLoader<?>> ModelEvent.RegisterGeometryLoaders.loaders
private final Map<ResourceLocation,
ITextureAtlasSpriteLoader> RegisterTextureAtlasSpriteLoadersEvent.loaders
private final Map<ResourceLocation,
BakedModel> ModelEvent.BakingCompleted.models
private final Map<ResourceLocation,
BakedModel> ModelEvent.ModifyBakingResult.models
private final Set<ResourceLocation>
ModelEvent.RegisterAdditional.models
private final List<ResourceLocation>
RegisterGuiOverlaysEvent.orderedOverlays
private final Map<ResourceLocation,
IGuiOverlay> RegisterGuiOverlaysEvent.overlays
private final Map<ResourceLocation,
RenderTypeGroup> RegisterNamedRenderTypesEvent.renderTypes
private final Map<EntityType<?>,
ResourceLocation> RegisterEntitySpectatorShadersEvent.shaders
Modifier and TypeMethodDescriptionModelEvent.BakingCompleted.getModels()
ModelEvent.ModifyBakingResult.getModels()
Modifier and TypeMethodDescriptionvoid
ModelEvent.RegisterAdditional.register
(ResourceLocation model) Registers a model to be loaded, along with its dependencies.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
RegisterGuiOverlaysEvent.register
(@NotNull RegisterGuiOverlaysEvent.Ordering ordering, @Nullable ResourceLocation other, @NotNull String id, @NotNull IGuiOverlay overlay) RenderLevelStageEvent.RegisterStageEvent.register
(ResourceLocation name, RenderType renderType) private static RenderLevelStageEvent.Stage
RenderLevelStageEvent.Stage.register
(ResourceLocation name, RenderType renderType) void
RegisterGuiOverlaysEvent.registerAbove
(@NotNull ResourceLocation other, @NotNull String id, @NotNull IGuiOverlay overlay) Registers an overlay that renders above another.void
RegisterGuiOverlaysEvent.registerBelow
(@NotNull ResourceLocation other, @NotNull String id, @NotNull IGuiOverlay overlay) Registers an overlay that renders below another.ModifierConstructorDescriptionBakingCompleted
(ModelManager modelManager, Map<ResourceLocation, BakedModel> models, ModelBakery modelBakery) ModifyBakingResult
(Map<ResourceLocation, BakedModel> models, ModelBakery modelBakery) RegisterAdditional
(Set<ResourceLocation> models) RegisterEntitySpectatorShadersEvent
(Map<EntityType<?>, ResourceLocation> shaders) RegisterGeometryLoaders
(Map<ResourceLocation, IGeometryLoader<?>> loaders) RegisterGuiOverlaysEvent
(Map<ResourceLocation, IGuiOverlay> overlays, List<ResourceLocation> orderedOverlays) RegisterGuiOverlaysEvent
(Map<ResourceLocation, IGuiOverlay> overlays, List<ResourceLocation> orderedOverlays) RegisterNamedRenderTypesEvent
(Map<ResourceLocation, RenderTypeGroup> renderTypes) -
Uses of ResourceLocation in net.minecraftforge.client.extensions
Modifier and TypeMethodDescription@Nullable BakedModel
IForgeModelBaker.bake
(ResourceLocation location, ModelState state, Function<Material, TextureAtlasSprite> sprites) default void
IForgeGuiGraphics.blitInscribed
(ResourceLocation texture, int x, int y, int boundsWidth, int boundsHeight, int rectWidth, int rectHeight) default void
IForgeGuiGraphics.blitInscribed
(ResourceLocation texture, int x, int y, int boundsWidth, int boundsHeight, int rectWidth, int rectHeight, boolean centerX, boolean centerY) default void
IForgeGuiGraphics.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
IForgeGuiGraphics.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.minecraftforge.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.minecraftforge.client.gui
Modifier and TypeFieldDescriptionprivate ResourceLocation
ModListScreen.InfoPanel.logoPath
private static final ResourceLocation
TitleScreenModUpdateIndicator.VERSION_CHECK_ICONS
Modifier and TypeMethodDescriptionstatic 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) private MutableComponent
ModMismatchDisconnectedScreen.MismatchInfoPanel.toModNameComponent
(ResourceLocation id, String modName, int color) Adds a style information to the given mod name string. -
Uses of ResourceLocation in net.minecraftforge.client.gui.overlay
Modifier and TypeFieldDescriptionprivate final ResourceLocation
NamedGuiOverlay.id
The field for theid
record component.private final ResourceLocation
VanillaGuiOverlay.id
Modifier and TypeFieldDescriptionprivate static com.google.common.collect.ImmutableMap<ResourceLocation,
NamedGuiOverlay> GuiOverlayManager.OVERLAYS_BY_NAME
Modifier and TypeMethodDescriptionNamedGuiOverlay.id()
Returns the value of theid
record component.@NotNull ResourceLocation
VanillaGuiOverlay.id()
Modifier and TypeMethodDescriptionstatic @Nullable NamedGuiOverlay
GuiOverlayManager.findOverlay
(ResourceLocation id) Finds the overlay corresponding to a given ID.Modifier and TypeMethodDescriptionprivate static void
GuiOverlayManager.preRegisterVanillaOverlays
(HashMap<ResourceLocation, IGuiOverlay> overlays, ArrayList<ResourceLocation> orderedOverlays) Pre-registers vanilla overlays so they are available for ordering.private static void
GuiOverlayManager.preRegisterVanillaOverlays
(HashMap<ResourceLocation, IGuiOverlay> overlays, ArrayList<ResourceLocation> orderedOverlays) Pre-registers vanilla overlays so they are available for ordering.ModifierConstructorDescriptionNamedGuiOverlay
(ResourceLocation id, IGuiOverlay overlay) Creates an instance of aNamedGuiOverlay
record class. -
Uses of ResourceLocation in net.minecraftforge.client.gui.widget
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
ModListWidget.VERSION_CHECK_ICONS
-
Uses of ResourceLocation in net.minecraftforge.client.model
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceLocation>
ItemLayerModel.renderTypeNames
Modifier and TypeMethodDescriptionprotected void
ElementsModel.addQuads
(IGeometryBakingContext context, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ResourceLocation modelLocation) protected void
EmptyModel.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) CompositeModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) DynamicFluidContainerModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) EmptyModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) ItemLayerModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) SeparateTransformsModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) 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<ForgeFaceData> 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.minecraftforge.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) 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) 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.minecraftforge.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.minecraftforge.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 TypeMethodDescriptionprotected abstract void
SimpleUnbakedGeometry.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) BlockGeometryBakingContext.bake
(ModelBaker baker, Function<Material, TextureAtlasSprite> bakedTextureGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) IUnbakedGeometry.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) SimpleUnbakedGeometry.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) static BakedModel
UnbakedGeometryHelper.bake
(BlockModel blockModel, ModelBaker modelBaker, BlockModel owner, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ResourceLocation modelLocation, boolean guiLight3d) Helper for bakingBlockModel
instances.static BakedQuad
UnbakedGeometryHelper.bakeElementFace
(BlockElement element, BlockElementFace face, TextureAtlasSprite sprite, Direction direction, ModelState state, ResourceLocation modelLocation) Turns a singleBlockElementFace
into aBakedQuad
.UnbakedGeometryHelper.bakeElements
(List<BlockElement> elements, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ResourceLocation modelLocation) Bakes a list of block elements and returns the list of baked quads.static void
UnbakedGeometryHelper.bakeElements
(IModelBuilder<?> builder, List<BlockElement> elements, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ResourceLocation modelLocation) Bakes a list of block elements and feeds the baked quads to a model builder.StandaloneGeometryBakingContext.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, ResourceLocation)
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.minecraftforge.client.model.obj
Modifier and TypeFieldDescriptionfinal ResourceLocation
ObjModel.modelLocation
private final @NotNull ResourceLocation
ObjModel.ModelSettings.modelLocation
The field for themodelLocation
record component.Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
ObjMaterialLibrary> ObjLoader.materialCache
Modifier and TypeMethodDescription@NotNull ResourceLocation
ObjModel.ModelSettings.modelLocation()
Returns the value of themodelLocation
record component.Modifier and TypeMethodDescriptionprotected void
ObjModel.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) void
ObjModel.ModelGroup.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) void
ObjModel.ModelObject.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) ObjLoader.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
(@NotNull 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.minecraftforge.client.model.renderable
Modifier and TypeMethodDescriptionCompositeRenderable.PartBuilder.addMesh
(ResourceLocation texture, List<BakedQuad> quads) ITextureRenderTypeLookup.get
(ResourceLocation name) static BakedModelRenderable
BakedModelRenderable.of
(ResourceLocation model) Constructs aBakedModelRenderable
from the given model location. -
Uses of ResourceLocation in net.minecraftforge.client.textures
Modifier and TypeFieldDescriptionprivate static com.google.common.collect.ImmutableMap<ResourceLocation,
ITextureAtlasSpriteLoader> TextureAtlasSpriteLoaderManager.LOADERS
Modifier and TypeMethodDescriptionstatic @Nullable ITextureAtlasSpriteLoader
TextureAtlasSpriteLoaderManager.get
(ResourceLocation name) Finds the loader with the given name, or null if none is registered.ITextureAtlasSpriteLoader.loadContents
(ResourceLocation name, Resource resource, FrameSize frameSize, NativeImage image, ResourceMetadata animationMeta, ForgeTextureMetadata forgeMeta) @NotNull TextureAtlasSprite
ITextureAtlasSpriteLoader.makeSprite
(ResourceLocation atlasName, SpriteContents contents, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel) Creates aTextureAtlasSprite
from the givenSpriteContents
. -
Uses of ResourceLocation in net.minecraftforge.common
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
TierSortingRegistry.CHANNEL_NAME
private static final ResourceLocation
CreativeModeTabRegistry.CREATIVE_MODE_TAB_ORDERING_JSON
private static final ResourceLocation
TierSortingRegistry.ITEM_TIER_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
private static final com.google.common.collect.Multimap<ResourceLocation,
ResourceLocation> TierSortingRegistry.edges
private static final com.google.common.collect.Multimap<ResourceLocation,
ResourceLocation> TierSortingRegistry.edges
private final List<ResourceLocation>
TierSortingRegistry.SyncPacket.tiers
The field for thetiers
record component.private static final com.google.common.collect.BiMap<ResourceLocation,
Tier> TierSortingRegistry.tiers
private static final com.google.common.collect.Multimap<ResourceLocation,
ResourceLocation> TierSortingRegistry.vanillaEdges
private static final com.google.common.collect.Multimap<ResourceLocation,
ResourceLocation> TierSortingRegistry.vanillaEdges
Modifier and TypeMethodDescriptionstatic @Nullable ResourceLocation
CreativeModeTabRegistry.getName
(CreativeModeTab tab) Returns the name of the given CreativeModeTab, or null.static @Nullable ResourceLocation
Returns the name associated with a tier, if the tier is registered into the sorting system.private static ResourceLocation
TierSortingRegistry.getTierName
(Object entry) Modifier and TypeMethodDescriptionTierSortingRegistry.SyncPacket.tiers()
Returns the value of thetiers
record component.Modifier and TypeMethodDescriptionprivate static <T> void
ForgeMod.addAlias
(IForgeRegistry<T> registry, ResourceLocation from, ResourceLocation to) Deprecated, for removal: This API element is subject to removal in a future version.private static void
CreativeModeTabRegistry.addTabOrder
(CreativeModeTab tab, ResourceLocation name) static @Nullable Tier
TierSortingRegistry.byName
(ResourceLocation name) Returns the tier associated with a name, if registered into the sorting system.static @Nullable CreativeModeTab
CreativeModeTabRegistry.getTab
(ResourceLocation name) Returns the CreativeModeTab with the given name, or null.static it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>
ForgeHooks.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
ForgeHooks.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 minecraftprivate static void
TierSortingRegistry.processTier
(Tier tier, ResourceLocation name, List<Object> afters, List<Object> befores) static Tier
TierSortingRegistry.registerTier
(Tier tier, ResourceLocation name, List<Object> after, List<Object> before) Registers a tier into the tier sorting registry.ModifierConstructorDescriptionprivate
SyncPacket
(List<ResourceLocation> tiers) Creates an instance of aSyncPacket
record class. -
Uses of ResourceLocation in net.minecraftforge.common.capabilities
ModifierConstructorDescriptionCapabilityDispatcher
(Map<ResourceLocation, ICapabilityProvider> list, List<Runnable> listeners) CapabilityDispatcher
(Map<ResourceLocation, ICapabilityProvider> list, List<Runnable> listeners, @Nullable ICapabilityProvider parent) -
Uses of ResourceLocation in net.minecraftforge.common.crafting
Modifier and TypeFieldDescriptionprivate @Nullable ResourceLocation
ConditionalRecipe.Builder.advancementId
private static final ResourceLocation
ConditionalAdvancement.Builder.DOESNT_MATTER
Modifier and TypeMethodDescriptionConditionalRecipe.Builder.advancement
(ResourceLocation id) ConditionalRecipe.Builder.recipe
(ResourceLocation id, Recipe<?> recipe, @Nullable AdvancementHolder advancement) void
ConditionalRecipe.Builder.save
(RecipeOutput out, ResourceLocation id) -
Uses of ResourceLocation in net.minecraftforge.common.crafting.conditions
Modifier and TypeFieldDescriptionprivate final ResourceLocation
ItemExistsCondition.item
The field for theitem
record component.static final ResourceLocation
ICondition.IContext.KEY
Modifier and TypeFieldDescriptionprivate Map<ResourceKey<?>,
Map<ResourceLocation, Collection<Holder<?>>>> ConditionContext.loadedTags
Modifier and TypeMethodDescriptionItemExistsCondition.item()
Returns the value of theitem
record component.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.ModifierConstructorDescriptionCreates an instance of aItemExistsCondition
record class. -
Uses of ResourceLocation in net.minecraftforge.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 Map<ResourceLocation,
ICondition[]> JsonCodecProvider.conditions
protected final Map<ResourceLocation,
List<String>> ParticleDescriptionProvider.descriptions
protected final Map<ResourceLocation,
T> JsonCodecProvider.entries
private final Set<ResourceLocation>
ForgeRecipeProvider.excludes
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 TypeMethodDescriptionprotected void
SoundDefinitionsProvider.add
(ResourceLocation soundEvent, SoundDefinition definition) protected final SpriteSourceProvider.SourceList
SpriteSourceProvider.atlas
(ResourceLocation atlas) Get or create aSpriteSourceProvider.SourceList
for the given atlasprivate @Nullable Ingredient
ForgeRecipeProvider.enhance
(ResourceLocation name, Ingredient vanilla) private @Nullable Recipe<?>
ForgeRecipeProvider.enhance
(ResourceLocation id, Recipe<?> vanilla) private @Nullable Recipe<?>
ForgeRecipeProvider.enhance
(ResourceLocation id, ShapedRecipe vanilla) private @Nullable Recipe<?>
ForgeRecipeProvider.enhance
(ResourceLocation id, ShapelessRecipe vanilla) 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) protected @Nullable CompletableFuture<?>
ForgeRecipeProvider.saveAdvancement
(CachedOutput output, ResourceLocation advancementId, com.google.gson.JsonElement advancement) 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.private boolean
SoundDefinitionsProvider.validateEvent
(String soundName, ResourceLocation name) private boolean
SoundDefinitionsProvider.validateSound
(String soundName, ResourceLocation name) Modifier and TypeMethodDescriptionprotected void
JsonCodecProvider.gather
(BiConsumer<ResourceLocation, T> consumer) protected final void
SpriteSourceProvider.gather
(BiConsumer<ResourceLocation, List<SpriteSource>> consumer) JsonCodecProvider.setConditions
(Map<ResourceLocation, ICondition[]> conditions) Applies a condition map to this provider.protected void
ParticleDescriptionProvider.spriteSet
(ParticleType<?> type, Iterable<ResourceLocation> textures) Creates a new particle description that contains multiple textures for the associatedParticleType
.protected void
ForgeLootTableProvider.validate
(Map<ResourceLocation, LootTable> map, ValidationContext validationcontext) ModifierConstructorDescriptionprivate
Sound
(ResourceLocation name, SoundDefinition.SoundType type) ModifierConstructorDescriptionJsonCodecProvider
(PackOutput output, ExistingFileHelper existingFileHelper, String modid, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> dynamicOps, PackType packType, String directory, com.mojang.serialization.Codec<T> codec, Map<ResourceLocation, T> entries) -
Uses of ResourceLocation in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault AdvancementHolder
IForgeCommandSourceStack.getAdvancement
(ResourceLocation id) IForgeIntrinsicHolderTagAppender.remove
(ResourceLocation location) IForgeIntrinsicHolderTagAppender.remove
(ResourceLocation first, ResourceLocation... locations) default TagsProvider.TagAppender<T>
IForgeTagAppender.remove
(ResourceLocation location) Adds a single element's ID to the tag json's remove list.default TagsProvider.TagAppender<T>
IForgeTagAppender.remove
(ResourceLocation first, ResourceLocation... locations) Adds multiple elements' IDs to the tag json's remove list.default TagBuilder
IForgeRawTagBuilder.removeElement
(ResourceLocation elementID, String source) Adds a single-element entry to the remove list.default TagBuilder
IForgeRawTagBuilder.removeTag
(ResourceLocation tagID, String source) Adds a tag to the remove list.default void
IForgeFriendlyByteBuf.writeRegistryIdUnsafe
(@NotNull IForgeRegistry<?> registry, @NotNull ResourceLocation entryKey) Writes the given entries integer id to the buffer. -
Uses of ResourceLocation in net.minecraftforge.common.loot
Modifier and TypeFieldDescriptionprivate final ResourceLocation
LootTableIdCondition.Builder.id
private final ResourceLocation
LootTableIdCondition.id
The field for theid
record component.static final ResourceLocation
LootTableIdCondition.UNKNOWN_LOOT_TABLE
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,
IGlobalLootModifier> LootModifierManager.modifiers
Modifier and TypeMethodDescriptionLootTableIdCondition.id()
Returns the value of theid
record component.Modifier and TypeMethodDescriptionprotected Map<ResourceLocation,
com.google.gson.JsonElement> LootModifierManager.prepare
(ResourceManager resources, ProfilerFiller profilerFiller) Modifier and TypeMethodDescriptionstatic LootTableIdCondition.Builder
LootTableIdCondition.builder
(ResourceLocation targetLootTableId) Modifier and TypeMethodDescriptionprotected void
LootModifierManager.apply
(Map<ResourceLocation, com.google.gson.JsonElement> resources, ResourceManager resourceManagerIn, ProfilerFiller profilerIn) ModifierConstructorDescriptionCreates an instance of aLootTableIdCondition
record class. -
Uses of ResourceLocation in net.minecraftforge.debug.gameplay.crafting
Modifier and TypeMethodDescriptionprivate static ResourceLocation
private static ResourceLocation
-
Uses of ResourceLocation in net.minecraftforge.event
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
ICapabilityProvider> AttachCapabilitiesEvent.caps
private final Map<ResourceLocation,
ICapabilityProvider> AttachCapabilitiesEvent.view
Modifier and TypeMethodDescriptionAttachCapabilitiesEvent.getCapabilities()
A unmodifiable view of the capabilities that will be attached to this object.Modifier and TypeMethodDescriptionvoid
AttachCapabilitiesEvent.addCapability
(ResourceLocation key, ICapabilityProvider cap) Adds a capability to be attached to this object.static @Nullable LootTable
ForgeEventFactory.onLoadLootTable
(ResourceLocation name, LootTable table) Modifier and TypeMethodDescriptionstatic void
ForgeEventFactory.onChannelRegistrationChange
(Connection connection, ChannelRegistrationChangeEvent.Type changeType, HashSet<ResourceLocation> changed) -
Uses of ResourceLocation in net.minecraftforge.event.network
Modifier and TypeFieldDescriptionprivate final Set<ResourceLocation>
ChannelRegistrationChangeEvent.channels
ModifierConstructorDescriptionCustomPayloadEvent
(ResourceLocation channel, FriendlyByteBuf payload, CustomPayloadEvent.Context source, int loginIndex) ModifierConstructorDescriptionChannelRegistrationChangeEvent
(Connection source, ChannelRegistrationChangeEvent.Type changeType, Set<ResourceLocation> channels) -
Uses of ResourceLocation in net.minecraftforge.network
Modifier and TypeFieldDescriptionprivate final ResourceLocation
NetworkInstance.channelName
static final ResourceLocation
NetworkInitialization.HANDSHAKE_NAME
static final ResourceLocation
NetworkInitialization.LOGIN_NAME
private final ResourceLocation
ChannelBuilder.name
static final ResourceLocation
NetworkInitialization.PLAY_NAME
private final ResourceLocation
ServerStatusPing.ChannelData.res
The field for theres
record component.Modifier and TypeFieldDescription(package private) Map<ResourceLocation,
Integer> NetworkContext.channelList
private final Map<ResourceLocation,
ServerStatusPing.ChannelData> ServerStatusPing.channels
The field for thechannels
record component.(package private) static Map<ResourceLocation,
NetworkInstance> NetworkRegistry.instances
private final Map<ResourceLocation,
NetworkContext.NetworkMismatchData.Version> NetworkContext.NetworkMismatchData.mismatched
The field for themismatched
record component.private final Set<ResourceLocation>
NetworkContext.NetworkMismatchData.missing
The field for themissing
record component.private Set<ResourceLocation>
ForgePacketHandler.registriesToReceive
private Map<ResourceLocation,
ForgeRegistry.Snapshot> ForgePacketHandler.registrySnapshots
(package private) Set<ResourceLocation>
NetworkContext.remoteChannels
private Set<ResourceLocation>
NetworkContext.remoteChannelsView
(package private) Set<ResourceLocation>
NetworkContext.sentChannels
Modifier and TypeMethodDescription(package private) ResourceLocation
NetworkInstance.getChannelName()
Channel.getName()
ICustomPacket.getName()
ServerStatusPing.ChannelData.res()
Returns the value of theres
record component.Modifier and TypeMethodDescriptionstatic Map<ResourceLocation,
Integer> NetworkRegistry.buildChannelVersions()
(package private) static Map<ResourceLocation,
ServerStatusPing.ChannelData> NetworkRegistry.buildChannelVersionsForListPing()
ServerStatusPing.channels()
Returns the value of thechannels
record component.ServerStatusPing.getChannelsForMod
(String modId) ServerStatusPing.getNonModChannels()
NetworkContext.getRemoteChannels()
ServerStatusPing.getRemoteChannels()
NetworkContext.NetworkMismatchData.mismatched()
Returns the value of themismatched
record component.NetworkContext.NetworkMismatchData.missing()
Returns the value of themissing
record component.Modifier and TypeMethodDescriptionstatic void
ChannelListManager.addChannels
(Connection connection, ResourceLocation... channels) <T extends Packet<?>>
ICustomPacket<T>NetworkDirection.buildPacket
(FriendlyByteBuf data, ResourceLocation channelName) NetworkDirection.Factory.create
(FriendlyByteBuf data, Integer index, ResourceLocation channelName) static @Nullable NetworkInstance
NetworkRegistry.findTarget
(ResourceLocation resourceLocation) private static ClientboundCustomQueryPacket
NetworkDirection.loginClientbound
(FriendlyByteBuf data, Integer index, ResourceLocation channelName) private static ServerboundCustomQueryAnswerPacket
NetworkDirection.loginServerbound
(FriendlyByteBuf data, Integer index, ResourceLocation channelName) static ChannelBuilder
ChannelBuilder.named
(ResourceLocation channelName) Creates a new channel builder, The name of the channel must be unique.private static ClientboundCustomPayloadPacket
NetworkDirection.playClientbound
(FriendlyByteBuf data, Integer index, ResourceLocation channelName) private static ServerboundCustomPayloadPacket
NetworkDirection.playServerbound
(FriendlyByteBuf data, Integer index, ResourceLocation channelName) static void
ChannelListManager.removeChannels
(Connection connection, ResourceLocation... channels) Modifier and TypeMethodDescriptionstatic void
ChannelListManager.addChannels
(Connection connection, Collection<ResourceLocation> channels) static boolean
NetworkRegistry.checkListPingCompatibilityForClient
(Map<ResourceLocation, ServerStatusPing.ChannelData> incoming) static void
ChannelListManager.removeChannels
(Connection connection, Collection<ResourceLocation> channels) private static void
ChannelListManager.sendChannels
(EventNetworkChannel channel, Connection connection, Collection<ResourceLocation> channels) static @Nullable NetworkContext.NetworkMismatchData
NetworkRegistry.validateChannels
(Map<ResourceLocation, Integer> incoming, boolean fromClient) ModifierConstructorDescriptionprivate
ChannelData
(ResourceLocation res, int version, boolean required) Creates an instance of aChannelData
record class.(package private)
NetworkInstance
(ResourceLocation channelName, int networkProtocolVersion, Channel.VersionTest clientAcceptedVersions, Channel.VersionTest serverAcceptedVersions, Map<io.netty.util.AttributeKey<?>, Function<Connection, ?>> attributes, Consumer<Connection> channelHandler) ModifierConstructorDescriptionNetworkMismatchData
(Map<ResourceLocation, NetworkContext.NetworkMismatchData.Version> mismatched, Set<ResourceLocation> missing, boolean fromServer, Map<String, ModVersions.Info> mods) Creates an instance of aNetworkMismatchData
record class.NetworkMismatchData
(Map<ResourceLocation, NetworkContext.NetworkMismatchData.Version> mismatched, Set<ResourceLocation> missing, boolean fromServer, Map<String, ModVersions.Info> mods) Creates an instance of aNetworkMismatchData
record class.ServerStatusPing
(Map<ResourceLocation, ServerStatusPing.ChannelData> channels, Map<String, String> mods, int fmlNetworkVer, boolean truncated) Creates an instance of aServerStatusPing
record class. -
Uses of ResourceLocation in net.minecraftforge.network.packets
Modifier and TypeFieldDescriptionprivate final ResourceLocation
LoginWrapper.channel
The field for thechannel
record component.private final ResourceLocation
RegistryData.name
The field for thename
record component.Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
@NotNull Integer> ChannelVersions.channels
The field for thechannels
record component.private final Map<ResourceLocation,
NetworkContext.NetworkMismatchData.Version> MismatchData.mismatched
The field for themismatched
record component.private final Set<ResourceLocation>
MismatchData.missing
The field for themissing
record component.private final List<ResourceLocation>
RegistryList.normal
The field for thenormal
record component.Modifier and TypeMethodDescriptionLoginWrapper.channel()
Returns the value of thechannel
record component.RegistryData.name()
Returns the value of thename
record component.Modifier and TypeMethodDescriptionMap<ResourceLocation,
@NotNull Integer> ChannelVersions.channels()
Returns the value of thechannels
record component.MismatchData.mismatched()
Returns the value of themismatched
record component.MismatchData.missing()
Returns the value of themissing
record component.RegistryList.normal()
Returns the value of thenormal
record component.ModifierConstructorDescriptionLoginWrapper
(ResourceLocation channel, FriendlyByteBuf data) Creates an instance of aLoginWrapper
record class.RegistryData
(int token, ResourceLocation name, ForgeRegistry.Snapshot data) Creates an instance of aRegistryData
record class.ModifierConstructorDescriptionChannelVersions
(Map<ResourceLocation, @NotNull Integer> channels) Creates an instance of aChannelVersions
record class.MismatchData
(Map<ResourceLocation, NetworkContext.NetworkMismatchData.Version> mismatched, Set<ResourceLocation> missing) Creates an instance of aMismatchData
record class.MismatchData
(Map<ResourceLocation, NetworkContext.NetworkMismatchData.Version> mismatched, Set<ResourceLocation> missing) Creates an instance of aMismatchData
record class.RegistryList
(int token, List<ResourceLocation> normal, List<ResourceKey<? extends Registry<?>>> datapacks) Creates an instance of aRegistryList
record class. -
Uses of ResourceLocation in net.minecraftforge.network.tasks
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,
ForgeRegistry.Snapshot> SyncRegistriesTask.snapshot
-
Uses of ResourceLocation in net.minecraftforge.registries
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
GameData.BLOCK_TO_ITEM
private static final ResourceLocation
GameData.BLOCKSTATE_TO_ID
private static final ResourceLocation
GameData.BLOCKSTATE_TO_POINT_OF_INTEREST_TYPE
private final ResourceLocation
ForgeRegistry.defaultKey
private final ResourceLocation
NamespacedDefaultedWrapper.defaultKey
static final ResourceLocation
NamespacedDefaultedWrapper.Factory.ID
static final ResourceLocation
NamespacedWrapper.Factory.ID
private final ResourceLocation
ObjectHolderRef.injectedObject
final ResourceLocation
IdMappingEvent.ModRemapping.key
(package private) final ResourceLocation
MissingMappingsEvent.Mapping.key
private final ResourceLocation
ForgeRegistry.name
private final @Nullable ResourceLocation
RegistryObject.name
private ResourceLocation
RegistryBuilder.optionalDefaultKey
final ResourceLocation
IdMappingEvent.ModRemapping.registry
private ResourceLocation
RegistryBuilder.registryName
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
ResourceLocation> ForgeRegistry.aliases
private final Map<ResourceLocation,
ResourceLocation> ForgeRegistry.aliases
final Map<ResourceLocation,
ResourceLocation> ForgeRegistry.Snapshot.aliases
final Map<ResourceLocation,
ResourceLocation> ForgeRegistry.Snapshot.aliases
private final Map<ResourceLocation,
Holder.Reference<V>> ForgeRegistry.delegatesByName
private Map<ResourceLocation,
Holder.Reference<T>> NamespacedWrapper.holdersByName
final it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceLocation>
ForgeRegistry.Snapshot.ids
private final com.google.common.collect.ImmutableSet<ResourceLocation>
IdMappingEvent.keys
private Set<ResourceLocation>
RegistryBuilder.legacyNames
private Map<ResourceLocation,
ResourceLocation> RegistryManager.legacyNames
private Map<ResourceLocation,
ResourceLocation> RegistryManager.legacyNames
private static final BiConsumer<ResourceLocation,
ForgeRegistry<?>> GameData.LOCK_VANILLA
private final com.google.common.collect.BiMap<ResourceLocation,
V> ForgeRegistry.names
private static final Set<Consumer<Predicate<ResourceLocation>>>
ObjectHolderRegistry.objectHolders
private final com.google.common.collect.Multimap<ResourceLocation,
V> ForgeRegistry.overrides
final Map<ResourceLocation,
String> ForgeRegistry.Snapshot.overrides
private Set<ResourceLocation>
RegistryManager.persisted
(package private) com.google.common.collect.BiMap<ResourceLocation,
ForgeRegistry<?>> RegistryManager.registries
private Map<ResourceLocation,
? extends IForgeRegistry<?>> RegistryManager.registryView
private final Map<ResourceLocation,
com.google.common.collect.ImmutableList<IdMappingEvent.ModRemapping>> IdMappingEvent.remaps
(package private) final Map<ResourceLocation,
?> ForgeRegistry.slaves
private static final Comparator<ResourceLocation>
ForgeRegistry.Snapshot.sorter
private Set<ResourceLocation>
RegistryManager.synced
private static Set<ResourceLocation>
RegistryManager.vanillaRegistryKeys
Modifier and TypeMethodDescriptionstatic ResourceLocation
GameData.checkPrefix
(String name, boolean warnOverrides) Check a name for a domain prefix, and if not present infer it from the current active mod container.@Nullable ResourceLocation
RegistryBuilder.getDefault()
@Nullable ResourceLocation
ForgeRegistry.getDefaultKey()
@Nullable ResourceLocation
IForgeRegistry.getDefaultKey()
NamespacedDefaultedWrapper.getDefaultKey()
RegistryObject.getId()
@Nullable ResourceLocation
MissingMappingsEvent.Mapping.getKey()
@Nullable ResourceLocation
<V> ResourceLocation
RegistryManager.getName
(IForgeRegistry<V> reg) @NotNull ResourceLocation
DeferredRegister.getRegistryName()
ForgeRegistry.getRegistryName()
IForgeRegistry.getRegistryName()
private static ResourceLocation
ObjectHolderRegistry.getRegistryName
(Map<org.objectweb.asm.Type, ResourceLocation> classRegistryNames, @Nullable String registryName, org.objectweb.asm.Type targetClass, Object declaration) <V> ResourceLocation
RegistryManager.updateLegacyName
(ResourceLocation legacyName) Modifier and TypeMethodDescription@NotNull Set<ResourceLocation>
ForgeRegistry.getKeys()
@NotNull Set<ResourceLocation>
IForgeRegistry.getKeys()
RegistryBuilder.getLegacyNames()
(package private) Map<ResourceLocation,
String> ForgeRegistry.getOverrideOwners()
com.google.common.collect.ImmutableSet<ResourceLocation>
IdMappingEvent.getRegistries()
Map<ResourceLocation,
? extends IForgeRegistry<?>> RegistryManager.getRegistries()
static List<ResourceLocation>
RegistryManager.getRegistryNamesForSyncToClient()
static Set<ResourceLocation>
RegistryManager.getVanillaRegistryKeys()
static com.google.common.collect.Multimap<ResourceLocation,
ResourceLocation> GameData.injectSnapshot
(Map<ResourceLocation, ForgeRegistry.Snapshot> snapshot, boolean injectFrozenData, boolean isLocalWorld) static com.google.common.collect.Multimap<ResourceLocation,
ResourceLocation> GameData.injectSnapshot
(Map<ResourceLocation, ForgeRegistry.Snapshot> snapshot, boolean injectFrozenData, boolean isLocalWorld) NamespacedWrapper.keySet()
RegistryManager.takeSnapshot
(boolean savingToDisc) Modifier and TypeMethodDescription(package private) int
ForgeRegistry.add
(int id, ResourceLocation key, V value) (package private) int
ForgeRegistry.add
(int id, ResourceLocation key, V value, String owner) void
ForgeRegistry.addAlias
(ResourceLocation src, ResourceLocation dst) Adds an alias that maps from the name specified bysrc
to the name specified bydst
.private void
RegistryManager.addLegacyName
(ResourceLocation legacyName, ResourceLocation name) boolean
ForgeRegistry.containsKey
(ResourceLocation key) boolean
IForgeRegistry.containsKey
(ResourceLocation key) boolean
NamespacedWrapper.containsKey
(ResourceLocation key) 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.(package private) static @Nullable ObjectHolderRef
ObjectHolderRef.create
(ResourceLocation registryName, Field field, String injectedObject, boolean extractFromExistingValues) static <T,
U extends T>
RegistryObject<U>RegistryObject.create
(ResourceLocation name, ResourceKey<? extends Registry<T>> registryKey, String modid) Factory for aRegistryObject
that stores the value of an object from a registry once it is ready based on a lookup of the provided registry key.static <T,
U extends T>
RegistryObject<U>RegistryObject.create
(ResourceLocation name, ResourceLocation registryName, String modid) Factory for aRegistryObject
that stores the value of an object from a registry once it is ready based on a lookup of the provided registry name.static <T,
U extends T>
RegistryObject<U>RegistryObject.create
(ResourceLocation name, IForgeRegistry<T> registry) Factory for aRegistryObject
that stores the value of an object from the provided forge registry once it is ready.IForgeRegistry.MissingFactory.createMissing
(ResourceLocation key, boolean isNetwork) static <B> DeferredRegister<B>
DeferredRegister.createOptional
(ResourceLocation registryName, String modid) DeferredRegister factory for the optional existence of custom forge registries orvanilla registries
to lookup based on the provided registry name.static <T,
U extends T>
RegistryObject<U>RegistryObject.createOptional
(ResourceLocation name, ResourceKey<? extends Registry<T>> registryKey, String modid) Factory for aRegistryObject
that optionally stores the value of an object from a registry once it is ready if the registry exists based on a lookup of the provided registry key.static <T,
U extends T>
RegistryObject<U>RegistryObject.createOptional
(ResourceLocation name, ResourceLocation registryName, String modid) Factory for aRegistryObject
that optionally stores the value of an object from a registry once it is ready if the registry exists based on a lookup of the provided registry name.DeferredRegister.createOptionalTagKey
(@NotNull ResourceLocation location, @NotNull Set<? extends Supplier<T>> defaults) Creates a tag key with the provided location that will use the set of defaults if the tag is not loaded from any datapacks.ForgeRegistryTagManager.createOptionalTagKey
(@NotNull ResourceLocation location, @NotNull Set<? extends Supplier<V>> defaults) (package private) <V> ForgeRegistry<V>
RegistryManager.createRegistry
(ResourceLocation name, RegistryBuilder<V> builder) DeferredRegister.createTagKey
(@NotNull ResourceLocation location) Creates a tag key based on the provided resource location and the registry name linked to this DeferredRegister.ForgeRegistryTagManager.createTagKey
(@NotNull ResourceLocation location) (package private) void
ForgeRegistry.dump
(ResourceLocation name) NamespacedDefaultedWrapper.get
(@Nullable ResourceLocation name) NamespacedWrapper.get
(@Nullable ResourceLocation name) @NotNull Optional<Holder.Reference<V>>
ForgeRegistry.getDelegate
(ResourceLocation key) @NotNull Optional<Holder.Reference<V>>
IForgeRegistry.getDelegate
(ResourceLocation key) ForgeRegistry.getDelegateOrThrow
(ResourceLocation key) IForgeRegistry.getDelegateOrThrow
(ResourceLocation key) ForgeRegistry.getHolder
(ResourceLocation location) IForgeRegistry.getHolder
(ResourceLocation location) This method exists purely as a stopgap for vanilla compatibility.NamespacedWrapper.getHolder
(ResourceLocation location) int
ForgeRegistry.getID
(ResourceLocation name) private int
ForgeRegistry.getIDRaw
(ResourceLocation name) ForgeRegistry.getMissingEvent
(ResourceLocation name, it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceLocation> map) NamespacedWrapper.getOptional
(@Nullable ResourceLocation name) ForgeRegistry.getRaw
(ResourceLocation key) <V> ForgeRegistry<V>
RegistryManager.getRegistry
(ResourceLocation key) <V> ForgeRegistry<V>
RegistryManager.getRegistry
(ResourceLocation key, RegistryManager other) com.google.common.collect.ImmutableList<IdMappingEvent.ModRemapping>
IdMappingEvent.getRemaps
(ResourceLocation registry) <T> T
ForgeRegistry.getSlaveMap
(ResourceLocation name, Class<T> type) <T> T
IForgeRegistry.getSlaveMap
(ResourceLocation slaveMapName, Class<T> type) Retrieve the slave map of type T from the registry.ForgeRegistry.getValue
(ResourceLocation key) IForgeRegistry.getValue
(ResourceLocation key) RegistryBuilder.legacyName
(ResourceLocation name) private static <T> void
GameData.loadFrozenDataToStagingRegistry
(RegistryManager STAGING, ResourceLocation name, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps) void
ForgeRegistry.loadIds
(it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceLocation> ids, Map<ResourceLocation, String> overrides, it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceLocation> missing, Map<ResourceLocation, IdMappingEvent.IdRemapping> remapped, ForgeRegistry<V> old, ResourceLocation name) private static <T> void
GameData.loadPersistentDataToStagingRegistry
(RegistryManager pool, RegistryManager to, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps, it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceLocation> missing, ResourceLocation name, ForgeRegistry.Snapshot snap) private static <T> void
GameData.loadRegistry
(ResourceLocation registryName, RegistryManager from, RegistryManager to, boolean freeze) private Supplier<IForgeRegistry<T>>
DeferredRegister.makeRegistry
(ResourceLocation registryName, Supplier<RegistryBuilder<T>> sup) static <T> RegistryBuilder<T>
RegistryBuilder.of
(ResourceLocation name) void
GameData.AttributeCallbacks.onValidate
(IForgeRegistryInternal<Attribute> owner, RegistryManager stage, int id, ResourceLocation key, Attribute obj) void
IForgeRegistry.ValidateCallback.onValidate
(IForgeRegistryInternal<V> owner, RegistryManager stage, int id, ResourceLocation key, V obj) private static <T> void
GameData.processMissing
(ResourceLocation name, RegistryManager STAGING, MissingMappingsEvent e, it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceLocation> missing, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps, Collection<ResourceLocation> defaulted, Collection<ResourceLocation> failed, boolean injectNetworkDummies) (package private) void
ForgeRegistry.processMissingEvent
(ResourceLocation name, ForgeRegistry<V> pool, List<MissingMappingsEvent.Mapping<V>> mappings, it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceLocation> missing, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps, Collection<ResourceLocation> defaulted, Collection<ResourceLocation> failed, boolean injectNetworkDummies) void
ForgeRegistry.register
(int id, ResourceLocation key, V value) void
ForgeRegistry.register
(ResourceLocation key, V value) void
IForgeRegistry.register
(ResourceLocation key, V value) void
IForgeRegistryInternal.register
(int id, ResourceLocation key, V value) <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.private static boolean
RegistryObject.registryExists
(ResourceLocation registryName) ForgeRegistry.remove
(ResourceLocation key) IForgeRegistryModifiable.remove
(ResourceLocation key) static void
GameData.revert
(RegistryManager state, ResourceLocation registry, boolean lock) private static void
ObjectHolderRegistry.scanClassForFields
(Map<org.objectweb.asm.Type, String> classModIds, org.objectweb.asm.Type targetClass, ResourceLocation registryName, Class<?> registryClass, String value, Class<?> clazz, boolean extractFromExistingValues) RegistryBuilder.setDefaultKey
(ResourceLocation key) RegistryBuilder.setName
(ResourceLocation name) void
ForgeRegistry.setSlaveMap
(ResourceLocation name, Object obj) void
IForgeRegistryInternal.setSlaveMap
(ResourceLocation name, Object obj) (package private) void
ForgeRegistry.sync
(ResourceLocation name, ForgeRegistry<V> from) <V> ResourceLocation
RegistryManager.updateLegacyName
(ResourceLocation legacyName) (package private) void
RegistryObject.updateReference
(ResourceLocation registryName) (package private) void
ForgeRegistry.validateContent
(ResourceLocation registryName) Modifier and TypeMethodDescriptionvoid
ObjectHolderRef.accept
(Predicate<ResourceLocation> filter) static void
ObjectHolderRegistry.addHandler
(Consumer<Predicate<ResourceLocation>> ref) Exposed to allow modders to register their own notification handlers.static void
ObjectHolderRegistry.applyObjectHolders
(Predicate<ResourceLocation> filter) private static void
GameData.fireRemapEvent
(Map<ResourceLocation, Map<ResourceLocation, IdMappingEvent.IdRemapping>> remaps, boolean isFreezing) private static void
GameData.fireRemapEvent
(Map<ResourceLocation, Map<ResourceLocation, IdMappingEvent.IdRemapping>> remaps, boolean isFreezing) ForgeRegistry.getMissingEvent
(ResourceLocation name, it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceLocation> map) private static ResourceLocation
ObjectHolderRegistry.getRegistryName
(Map<org.objectweb.asm.Type, ResourceLocation> classRegistryNames, @Nullable String registryName, org.objectweb.asm.Type targetClass, Object declaration) static com.google.common.collect.Multimap<ResourceLocation,
ResourceLocation> GameData.injectSnapshot
(Map<ResourceLocation, ForgeRegistry.Snapshot> snapshot, boolean injectFrozenData, boolean isLocalWorld) private static <T> void
GameData.loadFrozenDataToStagingRegistry
(RegistryManager STAGING, ResourceLocation name, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps) void
ForgeRegistry.loadIds
(it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceLocation> ids, Map<ResourceLocation, String> overrides, it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceLocation> missing, Map<ResourceLocation, IdMappingEvent.IdRemapping> remapped, ForgeRegistry<V> old, ResourceLocation name) void
ForgeRegistry.loadIds
(it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceLocation> ids, Map<ResourceLocation, String> overrides, it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceLocation> missing, Map<ResourceLocation, IdMappingEvent.IdRemapping> remapped, ForgeRegistry<V> old, ResourceLocation name) private static <T> void
GameData.loadPersistentDataToStagingRegistry
(RegistryManager pool, RegistryManager to, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps, it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceLocation> missing, ResourceLocation name, ForgeRegistry.Snapshot snap) private static <T> void
GameData.loadPersistentDataToStagingRegistry
(RegistryManager pool, RegistryManager to, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps, it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceLocation> missing, ResourceLocation name, ForgeRegistry.Snapshot snap) private static <T> void
GameData.processMissing
(ResourceLocation name, RegistryManager STAGING, MissingMappingsEvent e, it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceLocation> missing, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps, Collection<ResourceLocation> defaulted, Collection<ResourceLocation> failed, boolean injectNetworkDummies) private static <T> void
GameData.processMissing
(ResourceLocation name, RegistryManager STAGING, MissingMappingsEvent e, it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceLocation> missing, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps, Collection<ResourceLocation> defaulted, Collection<ResourceLocation> failed, boolean injectNetworkDummies) private static <T> void
GameData.processMissing
(ResourceLocation name, RegistryManager STAGING, MissingMappingsEvent e, it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceLocation> missing, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps, Collection<ResourceLocation> defaulted, Collection<ResourceLocation> failed, boolean injectNetworkDummies) (package private) void
ForgeRegistry.processMissingEvent
(ResourceLocation name, ForgeRegistry<V> pool, List<MissingMappingsEvent.Mapping<V>> mappings, it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceLocation> missing, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps, Collection<ResourceLocation> defaulted, Collection<ResourceLocation> failed, boolean injectNetworkDummies) (package private) void
ForgeRegistry.processMissingEvent
(ResourceLocation name, ForgeRegistry<V> pool, List<MissingMappingsEvent.Mapping<V>> mappings, it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceLocation> missing, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps, Collection<ResourceLocation> defaulted, Collection<ResourceLocation> failed, boolean injectNetworkDummies) (package private) void
ForgeRegistry.processMissingEvent
(ResourceLocation name, ForgeRegistry<V> pool, List<MissingMappingsEvent.Mapping<V>> mappings, it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceLocation> missing, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps, Collection<ResourceLocation> defaulted, Collection<ResourceLocation> failed, boolean injectNetworkDummies) static boolean
ObjectHolderRegistry.removeHandler
(Consumer<Predicate<ResourceLocation>> ref) Removed the specified handler from the notification list.ModifierConstructorDescription(package private)
ForgeRegistry
(RegistryManager stage, ResourceLocation name, RegistryBuilder<V> builder) Mapping
(IForgeRegistry<T> registry, IForgeRegistry<T> pool, ResourceLocation key, int id) private
ModRemapping
(ResourceLocation registry, ResourceLocation key, int oldId, int newId) private
ObjectHolderRef
(ForgeRegistry<?> registry, Field field, ResourceLocation injectedObject) private
RegistryObject
(ResourceLocation name, ResourceLocation registryName, String modid, boolean optionalRegistry) private
RegistryObject
(ResourceLocation name, IForgeRegistry<?> registry) 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.minecraftforge.registries.tags
Modifier and TypeMethodDescriptionITagManager.createOptionalTagKey
(@NotNull ResourceLocation location, @NotNull Set<? extends Supplier<V>> defaults) Creates a tag key that will use the set of defaults if the tag is not loaded from any datapacks.ITagManager.createTagKey
(@NotNull ResourceLocation location) Creates a tag key based on the location and the forge registry linked to this tag manager. -
Uses of ResourceLocation in net.minecraftforge.resource
Modifier and TypeMethodDescriptionprivate List<PackResources>
DelegatingPackResources.getCandidatePacks
(PackType type, ResourceLocation location) private static String[]
PathPackResources.getPathFromLocation
(PackType type, ResourceLocation location) @Nullable IoSupplier<InputStream>
DelegatingPackResources.getResource
(PackType type, ResourceLocation location) PathPackResources.getResource
(PackType type, ResourceLocation location) -
Uses of ResourceLocation in net.minecraftforge.server.command
Modifier and TypeMethodDescriptionprivate static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
TagsCommand.suggestFromRegistry
(Function<Registry<?>, Iterable<ResourceLocation>> namesFunction) -
Uses of ResourceLocation in net.minecraftforge.server.permission
Modifier and TypeMethodDescriptionstatic @Nullable ResourceLocation
PermissionAPI.getActivePermissionHandler()
-
Uses of ResourceLocation in net.minecraftforge.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.minecraftforge.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.minecraftforge.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
BlockModel.bake(ModelBaker, BlockModel, Function, ModelState, ResourceLocation, boolean)
.