Uses of Class
net.minecraft.resources.ResourceLocation
Packages that use ResourceLocation
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
Extension interfaces for
client-only classes.Classes for NeoForge's own data generation.
-
Uses of ResourceLocation in com.mojang.blaze3d.systems
Methods in com.mojang.blaze3d.systems with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic voidRenderSystem._setShaderTexture(int shaderTexture, ResourceLocation textureId) static voidRenderSystem.setShaderTexture(int shaderTexture, ResourceLocation textureId) -
Uses of ResourceLocation in com.mojang.realmsclient
Fields in com.mojang.realmsclient declared as ResourceLocationModifier and TypeFieldDescription(package private) static final ResourceLocationRealmsMainScreen.CLOSED_SPRITE(package private) static final ResourceLocationRealmsMainScreen.EXPIRED_SPRITE(package private) static final ResourceLocationRealmsMainScreen.EXPIRES_SOON_SPRITE(package private) static final ResourceLocationRealmsMainScreen.INFO_SPRITEprivate static final ResourceLocationRealmsMainScreen.INVITE_SPRITEprivate static final ResourceLocationRealmsMainScreen.LOGO_LOCATION(package private) static final ResourceLocationRealmsMainScreen.NEW_REALM_SPRITEprivate static final ResourceLocationRealmsMainScreen.NEWS_SPRITEprivate static final ResourceLocationRealmsMainScreen.NO_REALMS_LOCATIONprivate static final ResourceLocation[]RealmsMainScreen.NotificationButton.NOTIFICATION_ICONS(package private) static final ResourceLocationRealmsMainScreen.OPEN_SPRITEMethods in com.mojang.realmsclient with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate voidRealmsMainScreen.Entry.drawRealmStatus(GuiGraphics guiGraphics, int x, int y, int mouseX, int mouseY, ResourceLocation spriteLocation, Supplier<Component> tooltipSupplier) Constructors in com.mojang.realmsclient with parameters of type ResourceLocationModifierConstructorDescriptionNotificationButton(Component message, ResourceLocation sprite, Button.OnPress onPress) -
Uses of ResourceLocation in com.mojang.realmsclient.dto
Fields in com.mojang.realmsclient.dto declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationRealmsNotification.InfoPopup.imageConstructors in com.mojang.realmsclient.dto with parameters of type ResourceLocationModifierConstructorDescriptionprivateInfoPopup(RealmsNotification notification, RealmsText title, RealmsText message, ResourceLocation image, RealmsNotification.UrlButton urlButton) -
Uses of ResourceLocation in com.mojang.realmsclient.gui
Fields in com.mojang.realmsclient.gui declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationRealmsWorldSlotButton.CHECKMARK_SPRITEstatic final ResourceLocationRealmsWorldSlotButton.DEFAULT_WORLD_SLOT_1static final ResourceLocationRealmsWorldSlotButton.DEFAULT_WORLD_SLOT_2static final ResourceLocationRealmsWorldSlotButton.DEFAULT_WORLD_SLOT_3static final ResourceLocationRealmsWorldSlotButton.EMPTY_SLOT_LOCATIONprivate static final ResourceLocationRealmsWorldSlotButton.SLOT_FRAME_SPRITE -
Uses of ResourceLocation in com.mojang.realmsclient.gui.screens
Fields in com.mojang.realmsclient.gui.screens declared as ResourceLocationModifier and TypeFieldDescription(package private) static final ResourceLocationRealmsPendingInvitesScreen.ACCEPT_HIGHLIGHTED_SPRITE(package private) static final ResourceLocationRealmsPendingInvitesScreen.ACCEPT_SPRITEprivate static final ResourceLocationRealmsResetWorldScreen.ADVENTURE_MAP_LOCATIONprivate static final ResourceLocationAddRealmPopupScreen.BACKGROUND_SPRITEprivate static final ResourceLocationRealmsConfigureWorldScreen.CLOSED_SPRITEprivate static final ResourceLocationRealmsResetWorldScreen.EXPERIENCE_LOCATIONprivate static final ResourceLocationRealmsConfigureWorldScreen.EXPIRED_SPRITEprivate static final ResourceLocationRealmsConfigureWorldScreen.EXPIRES_SOON_SPRITEprivate final ResourceLocationRealmsResetWorldScreen.FrameButton.imageprivate static final ResourceLocationRealmsResetWorldScreen.INSPIRATION_LOCATIONprivate static final ResourceLocationRealmsNotificationsScreen.INVITE_SPRITEprivate static final ResourceLocationRealmsPlayerScreen.Entry.MAKE_OP_SPRITEprivate static final ResourceLocationRealmsResetWorldScreen.NEW_WORLD_LOCATIONprivate static final ResourceLocationRealmsNotificationsScreen.NEWS_SPRITEprivate static final ResourceLocationRealmsConfigureWorldScreen.OPEN_SPRITE(package private) static final ResourceLocationRealmsPendingInvitesScreen.REJECT_HIGHLIGHTED_SPRITE(package private) static final ResourceLocationRealmsPendingInvitesScreen.REJECT_SPRITEprivate static final ResourceLocationRealmsPlayerScreen.Entry.REMOVE_OP_SPRITEprivate static final ResourceLocationRealmsPlayerScreen.Entry.REMOVE_PLAYER_SPRITEprivate static final ResourceLocationRealmsBrokenWorldScreen.SLOT_FRAME_SPRITEprivate static final ResourceLocationRealmsResetWorldScreen.FrameButton.SLOT_FRAME_SPRITE(package private) static final ResourceLocationRealmsSelectWorldTemplateScreen.SLOT_FRAME_SPRITEprivate static final ResourceLocationRealmsResetWorldScreen.SURVIVAL_SPAWN_LOCATIONprivate static final ResourceLocationAddRealmPopupScreen.TRIAL_AVAILABLE_SPRITEprivate static final ResourceLocationRealmsNotificationsScreen.TRIAL_AVAILABLE_SPRITEprivate static final ResourceLocationRealmsNotificationsScreen.UNSEEN_NOTIFICATION_SPRITEprivate static final ResourceLocationRealmsResetWorldScreen.UPLOAD_LOCATIONFields in com.mojang.realmsclient.gui.screens with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static List<ResourceLocation> AddRealmPopupScreen.carouselImagesMethods in com.mojang.realmsclient.gui.screens with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate voidRealmsConfigureWorldScreen.drawRealmStatus(GuiGraphics guiGraphics, int x, int y, int mouseX, int mouseY, ResourceLocation sprite, Supplier<Component> tooltipSupplier) Constructors in com.mojang.realmsclient.gui.screens with parameters of type ResourceLocationModifierConstructorDescription(package private)FrameButton(Font font, Component message, ResourceLocation image, Button.OnPress onPress) -
Uses of ResourceLocation in com.mojang.realmsclient.util
Fields in com.mojang.realmsclient.util declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationRealmsTextureManager.TEMPLATE_ICON_LOCATIONprivate final ResourceLocationRealmsTextureManager.RealmsTexture.textureIdThe field for thetextureIdrecord component.Methods in com.mojang.realmsclient.util that return ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceLocationRealmsTextureManager.getTexture(String key, String image) RealmsTextureManager.RealmsTexture.textureId()Returns the value of thetextureIdrecord component.static ResourceLocationRealmsTextureManager.worldTemplate(String key, String image) Constructors in com.mojang.realmsclient.util with parameters of type ResourceLocationModifierConstructorDescriptionRealmsTexture(String image, ResourceLocation textureId) Creates an instance of aRealmsTexturerecord class. -
Uses of ResourceLocation in net.minecraft
Methods in net.minecraft with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic StringUtil.makeDescriptionId(String type, ResourceLocation id) -
Uses of ResourceLocation in net.minecraft.advancements
Fields in net.minecraft.advancements declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationAdvancementHolder.idThe field for theidrecord component.Fields in net.minecraft.advancements with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Optional<ResourceLocation> DisplayInfo.backgroundprivate Optional<ResourceLocation> AdvancementRewards.Builder.functionprivate final Map<ResourceLocation, AdvancementNode> AdvancementTree.nodesprivate Optional<ResourceLocation> Advancement.Builder.parentprivate final Optional<ResourceLocation> Advancement.parentThe field for theparentrecord component.private final com.google.common.collect.ImmutableList.Builder<ResourceLocation> AdvancementRewards.Builder.recipesprivate final List<ResourceLocation> AdvancementRewards.recipesThe field for therecipesrecord component.Methods in net.minecraft.advancements that return ResourceLocationModifier and TypeMethodDescriptionAdvancementHolder.id()Returns the value of theidrecord component.Methods in net.minecraft.advancements that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionDisplayInfo.getBackground()Advancement.parent()Returns the value of theparentrecord component.AdvancementRewards.recipes()Returns the value of therecipesrecord component.Methods in net.minecraft.advancements with parameters of type ResourceLocationModifier and TypeMethodDescriptionAdvancementRewards.Builder.addRecipe(ResourceLocation recipeId) Adds the given recipe to the rewards.Advancement.Builder.build(ResourceLocation id) Advancement.Builder.display(ItemStack icon, Component title, Component description, ResourceLocation background, AdvancementType type, boolean showToast, boolean announceChat, boolean hidden) Advancement.Builder.display(ItemLike icon, Component title, Component description, ResourceLocation background, AdvancementType type, boolean showToast, boolean announceChat, boolean hidden) static AdvancementRewards.BuilderAdvancementRewards.Builder.function(ResourceLocation functionId) AdvancementTree.get(ResourceLocation id) Advancement.Builder.parent(ResourceLocation parentId) Deprecated, for removal: This API element is subject to removal in a future version.static AdvancementRewards.BuilderAdvancementRewards.Builder.recipe(ResourceLocation recipeId) Creates a new builder with the given recipe as a reward.AdvancementRewards.Builder.runs(ResourceLocation functionId) Method parameters in net.minecraft.advancements with type arguments of type ResourceLocationModifier and TypeMethodDescriptionvoidAdvancementTree.remove(Set<ResourceLocation> advancements) Constructors in net.minecraft.advancements with parameters of type ResourceLocationModifierConstructorDescriptionAdvancementHolder(ResourceLocation id, Advancement value) Creates an instance of aAdvancementHolderrecord class.Constructor parameters in net.minecraft.advancements with type arguments of type ResourceLocationModifierConstructorDescriptionAdvancement(Optional<ResourceLocation> p_300893_, Optional<DisplayInfo> p_301147_, AdvancementRewards p_286389_, Map<String, Criterion<?>> p_286635_, AdvancementRequirements p_301002_, boolean p_286478_) Advancement(Optional<ResourceLocation> parent, Optional<DisplayInfo> display, AdvancementRewards rewards, Map<String, Criterion<?>> criteria, AdvancementRequirements requirements, boolean sendsTelemetryEvent, Optional<Component> name) Creates an instance of aAdvancementrecord class.DisplayInfo(ItemStack icon, Component title, Component description, Optional<ResourceLocation> background, AdvancementType type, boolean showToast, boolean announceChat, boolean hidden) -
Uses of ResourceLocation in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationRecipeUnlockedTrigger.TriggerInstance.recipeThe field for thereciperecord component.private final ResourceLocationRecipeCraftedTrigger.TriggerInstance.recipeIdThe field for therecipeIdrecord component.Fields in net.minecraft.advancements.critereon with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, PlayerPredicate.AdvancementPredicate> PlayerPredicate.advancementsThe field for theadvancementsrecord component.private final Map<ResourceLocation, PlayerPredicate.AdvancementPredicate> PlayerPredicate.Builder.advancementsprivate final Optional<ResourceLocation> ItemAttributeModifiersPredicate.EntryPredicate.idThe field for theidrecord component.private final it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceLocation> PlayerPredicate.Builder.recipesprivate final it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceLocation> PlayerPredicate.recipesThe field for therecipesrecord component.Methods in net.minecraft.advancements.critereon that return ResourceLocationModifier and TypeMethodDescriptionRecipeUnlockedTrigger.TriggerInstance.recipe()Returns the value of thereciperecord component.RecipeCraftedTrigger.TriggerInstance.recipeId()Returns the value of therecipeIdrecord component.Methods in net.minecraft.advancements.critereon that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionPlayerPredicate.advancements()Returns the value of theadvancementsrecord component.ItemAttributeModifiersPredicate.EntryPredicate.id()Returns the value of theidrecord component.it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceLocation> PlayerPredicate.recipes()Returns the value of therecipesrecord component.Methods in net.minecraft.advancements.critereon with parameters of type ResourceLocationModifier and TypeMethodDescriptionPlayerPredicate.Builder.addRecipe(ResourceLocation recipe, boolean unlocked) PlayerPredicate.Builder.checkAdvancementCriterions(ResourceLocation advancement, Map<String, Boolean> criterions) PlayerPredicate.Builder.checkAdvancementDone(ResourceLocation advancement, boolean done) RecipeCraftedTrigger.TriggerInstance.craftedItem(ResourceLocation recipeId) RecipeCraftedTrigger.TriggerInstance.craftedItem(ResourceLocation recipeId, List<ItemPredicate.Builder> ingredients) RecipeCraftedTrigger.TriggerInstance.crafterCraftedItem(ResourceLocation recipeId) (package private) booleanRecipeCraftedTrigger.TriggerInstance.matches(ResourceLocation recipeId, List<ItemStack> items) voidRecipeCraftedTrigger.trigger(ServerPlayer player, ResourceLocation recipeId, List<ItemStack> items) RecipeUnlockedTrigger.unlocked(ResourceLocation recipeId) Constructors in net.minecraft.advancements.critereon with parameters of type ResourceLocationModifierConstructorDescriptionTriggerInstance(Optional<ContextAwarePredicate> player, ResourceLocation recipeId, List<ItemPredicate> ingredients) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, ResourceLocation recipe) Creates an instance of aTriggerInstancerecord class.Constructor parameters in net.minecraft.advancements.critereon with type arguments of type ResourceLocationModifierConstructorDescriptionPlayerPredicate(MinMaxBounds.Ints level, GameTypePredicate gameType, List<PlayerPredicate.StatMatcher<?>> stats, it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceLocation> recipes, Map<ResourceLocation, PlayerPredicate.AdvancementPredicate> advancements, Optional<EntityPredicate> lookingAt) Creates an instance of aPlayerPredicaterecord class.PlayerPredicate(MinMaxBounds.Ints level, GameTypePredicate gameType, List<PlayerPredicate.StatMatcher<?>> stats, it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceLocation> recipes, Map<ResourceLocation, PlayerPredicate.AdvancementPredicate> advancements, Optional<EntityPredicate> lookingAt) Creates an instance of aPlayerPredicaterecord class. -
Uses of ResourceLocation in net.minecraft.client
Fields in net.minecraft.client declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocationMinecraft.ALT_FONTstatic final ResourceLocationMinecraft.DEFAULT_FONTprivate final ResourceLocationPeriodicNotificationManager.notificationsprivate static final ResourceLocationMinecraft.REGIONAL_COMPLIANCIESfinal ResourceLocationGuiMessageTag.Icon.spritestatic final ResourceLocationMinecraft.UNIFORM_FONTMethods in net.minecraft.client that return types with arguments of type ResourceLocationMethods in net.minecraft.client with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate voidKeyboardHandler.copyCreateEntityCommand(ResourceLocation entityId, Vec3 pos, CompoundTag compound) Minecraft.getTextureAtlas(ResourceLocation location) Constructors in net.minecraft.client with parameters of type ResourceLocationModifierConstructorDescriptionprivateIcon(ResourceLocation sprite, int width, int height) PeriodicNotificationManager(ResourceLocation notifications, it.unimi.dsi.fastutil.objects.Object2BooleanFunction<String> selector) -
Uses of ResourceLocation in net.minecraft.client.gui
Fields in net.minecraft.client.gui declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationprivate static final ResourceLocationGui.AIR_SPRITEprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationGui.CROSSHAIR_SPRITEprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationGui.FOOD_FULL_SPRITEprivate static final ResourceLocationprivate static final ResourceLocationGui.FOOD_HALF_SPRITEprivate final ResourceLocationGui.HeartType.fullprivate final ResourceLocationGui.HeartType.fullBlinkingprivate final ResourceLocationGui.HeartType.halfprivate final ResourceLocationGui.HeartType.halfBlinkingprivate final ResourceLocationGui.HeartType.hardcoreFullprivate final ResourceLocationGui.HeartType.hardcoreFullBlinkingprivate final ResourceLocationGui.HeartType.hardcoreHalfprivate final ResourceLocationGui.HeartType.hardcoreHalfBlinkingprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationGui.HOTBAR_SPRITEprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationFields in net.minecraft.client.gui with type parameters of type ResourceLocationMethods in net.minecraft.client.gui that return ResourceLocationModifier and TypeMethodDescriptionGui.HeartType.getSprite(boolean hardcore, boolean halfHeart, boolean blinking) Methods in net.minecraft.client.gui with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoidGuiGraphics.blit(ResourceLocation atlasLocation, int x, int y, float uOffset, float vOffset, int width, int height, int textureWidth, int textureHeight) Blits a portion of the texture specified by the atlas location onto the screen at the given position and dimensions with texture coordinates.voidGuiGraphics.blit(ResourceLocation atlasLocation, int x, int y, int blitOffset, float uOffset, float vOffset, int uWidth, int vHeight, int textureWidth, int textureHeight) Blits a portion of the texture specified by the atlas location onto the screen at the given coordinates with a blit offset and texture coordinates.voidGuiGraphics.blit(ResourceLocation atlasLocation, int x, int y, int width, int height, float uOffset, float vOffset, int uWidth, int vHeight, int textureWidth, int textureHeight) Blits a portion of the texture specified by the atlas location onto the screen at the given position and dimensions with texture coordinates.voidGuiGraphics.blit(ResourceLocation atlasLocation, int x, int y, int uOffset, int vOffset, int uWidth, int vHeight) Blits a portion of the texture specified by the atlas location onto the screen at the given coordinates.(package private) voidGuiGraphics.blit(ResourceLocation atlasLocation, int x1, int x2, int y1, int y2, int blitOffset, int uWidth, int vHeight, float uOffset, float vOffset, int textureWidth, int textureHeight) Performs the inner blit operation for rendering a texture with the specified coordinates and texture coordinates.voidGuiGraphics.blitSprite(ResourceLocation sprite, int x, int y, int width, int height) voidGuiGraphics.blitSprite(ResourceLocation sprite, int x, int y, int blitOffset, int width, int height) voidGuiGraphics.blitSprite(ResourceLocation sprite, int textureWidth, int textureHeight, int uPosition, int vPosition, int x, int y, int uWidth, int vHeight) voidGuiGraphics.blitSprite(ResourceLocation sprite, int textureWidth, int textureHeight, int uPosition, int vPosition, int x, int y, int blitOffset, int uWidth, int vHeight) (package private) FontSetFont.getFontSet(ResourceLocation fontLocation) GuiSpriteManager.getSprite(ResourceLocation location) Gets a sprite associated with the passed resource location.(package private) voidGuiGraphics.innerBlit(ResourceLocation atlasLocation, int x1, int x2, int y1, int y2, int blitOffset, float minU, float maxU, float minV, float maxV) Performs the inner blit operation for rendering a texture with the specified coordinates and texture coordinates without color tinting.(package private) voidGuiGraphics.innerBlit(ResourceLocation atlasLocation, int x1, int x2, int y1, int y2, int blitOffset, float minU, float maxU, float minV, float maxV, float red, float green, float blue, float alpha) Performs the inner blit operation for rendering a texture with the specified coordinates, texture coordinates, and color tint.private voidGui.renderTextureOverlay(GuiGraphics guiGraphics, ResourceLocation shaderLocation, float alpha) Renders a texture overlay on the screen with the specified shader location and alpha value.Constructors in net.minecraft.client.gui with parameters of type ResourceLocationModifierConstructorDescriptionprivateHeartType(ResourceLocation full, ResourceLocation fullBlinking, ResourceLocation half, ResourceLocation halfBlinking, ResourceLocation hardcoreFull, ResourceLocation hardcoreBlinking, ResourceLocation hardcoreHalf, ResourceLocation hardcoreHalfBlinking) Constructor parameters in net.minecraft.client.gui with type arguments of type ResourceLocationModifierConstructorDescriptionFont(Function<ResourceLocation, FontSet> fonts, boolean filterFishyGlyphs) -
Uses of ResourceLocation in net.minecraft.client.gui.components
Fields in net.minecraft.client.gui.components declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationPopupScreen.BACKGROUND_SPRITEprivate static final ResourceLocation[]BossHealthOverlay.BAR_BACKGROUND_SPRITESprivate static final ResourceLocation[]BossHealthOverlay.BAR_PROGRESS_SPRITESprivate static final ResourceLocationCheckbox.CHECKBOX_HIGHLIGHTED_SPRITEprivate static final ResourceLocationCheckbox.CHECKBOX_SELECTED_HIGHLIGHTED_SPRITEprivate static final ResourceLocationCheckbox.CHECKBOX_SELECTED_SPRITEprivate static final ResourceLocationCheckbox.CHECKBOX_SPRITEprivate final ResourceLocationWidgetSprites.disabledThe field for thedisabledrecord component.private final ResourceLocationWidgetSprites.disabledFocusedThe field for thedisabledFocusedrecord component.static final ResourceLocationLogoRenderer.EASTER_EGG_LOGOprivate final ResourceLocationWidgetSprites.enabledThe field for theenabledrecord component.private final ResourceLocationWidgetSprites.enabledFocusedThe field for theenabledFocusedrecord component.private static final ResourceLocationPlayerTabOverlay.HEART_ABSORBING_FULL_BLINKING_SPRITEprivate static final ResourceLocationPlayerTabOverlay.HEART_ABSORBING_HALF_BLINKING_SPRITEprivate static final ResourceLocationPlayerTabOverlay.HEART_CONTAINER_BLINKING_SPRITEprivate static final ResourceLocationPlayerTabOverlay.HEART_CONTAINER_SPRITEprivate static final ResourceLocationPlayerTabOverlay.HEART_FULL_BLINKING_SPRITEprivate static final ResourceLocationPlayerTabOverlay.HEART_FULL_SPRITEprivate static final ResourceLocationPlayerTabOverlay.HEART_HALF_BLINKING_SPRITEprivate static final ResourceLocationPlayerTabOverlay.HEART_HALF_SPRITEprivate static final ResourceLocationAbstractSliderButton.HIGHLIGHTED_SPRITEprivate ResourceLocationPopupScreen.Builder.imageprivate final ResourceLocationPopupScreen.imageprivate static final ResourceLocationAbstractSelectionList.INWORLD_MENU_LIST_BACKGROUNDprivate static final ResourceLocationAbstractSelectionList.MENU_LIST_BACKGROUNDstatic final ResourceLocationLogoRenderer.MINECRAFT_EDITIONstatic final ResourceLocationLogoRenderer.MINECRAFT_LOGOprivate static final ResourceLocation[]BossHealthOverlay.OVERLAY_BACKGROUND_SPRITESprivate static final ResourceLocation[]BossHealthOverlay.OVERLAY_PROGRESS_SPRITESprivate static final ResourceLocationPlayerTabOverlay.PING_1_SPRITEprivate static final ResourceLocationPlayerTabOverlay.PING_2_SPRITEprivate static final ResourceLocationPlayerTabOverlay.PING_3_SPRITEprivate static final ResourceLocationPlayerTabOverlay.PING_4_SPRITEprivate static final ResourceLocationPlayerTabOverlay.PING_5_SPRITEprivate static final ResourceLocationPlayerTabOverlay.PING_UNKNOWN_SPRITEprivate static final ResourceLocationAbstractSelectionList.SCROLLER_BACKGROUND_SPRITEprivate static final ResourceLocationAbstractScrollWidget.SCROLLER_SPRITEprivate static final ResourceLocationAbstractSelectionList.SCROLLER_SPRITEprivate static final ResourceLocationAbstractSliderButton.SLIDER_HANDLE_HIGHLIGHTED_SPRITEprivate static final ResourceLocationAbstractSliderButton.SLIDER_HANDLE_SPRITEprivate static final ResourceLocationAbstractSliderButton.SLIDER_SPRITEprivate final ResourceLocationImageWidget.Sprite.sprite(package private) final ResourceLocationLockIconButton.Icon.spriteprivate ResourceLocationSpriteIconButton.Builder.spriteprotected final ResourceLocationSpriteIconButton.spriteprivate final ResourceLocationImageWidget.Texture.textureMethods in net.minecraft.client.gui.components that return ResourceLocationModifier and TypeMethodDescriptionWidgetSprites.disabled()Returns the value of thedisabledrecord component.WidgetSprites.disabledFocused()Returns the value of thedisabledFocusedrecord component.WidgetSprites.enabled()Returns the value of theenabledrecord component.WidgetSprites.enabledFocused()Returns the value of theenabledFocusedrecord component.WidgetSprites.get(boolean enabled, boolean focused) protected ResourceLocationAbstractSliderButton.getHandleSprite()protected ResourceLocationAbstractSliderButton.getSprite()Methods in net.minecraft.client.gui.components with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic voidPlayerFaceRenderer.draw(GuiGraphics guiGraphics, ResourceLocation atlasLocation, int x, int y, int size) static voidPlayerFaceRenderer.draw(GuiGraphics guiGraphics, ResourceLocation atlasLocation, int x, int y, int size, boolean p_drawHat, boolean upsideDown) private voidBossHealthOverlay.drawBar(GuiGraphics guiGraphics, int x, int y, BossEvent bossEvent, int progress, ResourceLocation[] barProgressSprites, ResourceLocation[] overlayProgressSprites) private static voidPlayerFaceRenderer.drawHat(GuiGraphics guiGraphics, ResourceLocation atlasLocation, int x, int y, int size, boolean upsideDown) PopupScreen.Builder.setImage(ResourceLocation image) static ImageWidgetImageWidget.sprite(int width, int height, ResourceLocation sprite) SpriteIconButton.Builder.sprite(ResourceLocation sprite, int spriteWidth, int spriteHeight) static ImageWidgetImageWidget.texture(int width, int height, ResourceLocation texture, int textureWidth, int textureHeight) Constructors in net.minecraft.client.gui.components with parameters of type ResourceLocationModifierConstructorDescriptionprotectedCenteredIcon(int p_295914_, int p_294852_, Component p_295609_, int p_294922_, int p_296462_, ResourceLocation p_295554_, Button.OnPress p_294427_, Button.CreateNarration p_330653_) privateIcon(ResourceLocation sprite) (package private)PopupScreen(Screen backgroundScreen, int width, ResourceLocation image, Component title, Component message, List<PopupScreen.ButtonOption> buttons, Runnable onClose) Sprite(int x, int y, int width, int height, ResourceLocation sprite) (package private)SpriteIconButton(int width, int height, Component message, int spriteWidth, int spriteHeight, ResourceLocation sprite, Button.OnPress onPress, Button.CreateNarration createNarration) protectedTextAndIcon(int p_296442_, int p_294340_, Component p_296265_, int p_294900_, int p_295900_, ResourceLocation p_296097_, Button.OnPress p_295566_, Button.CreateNarration p_330735_) Texture(int x, int y, int width, int height, ResourceLocation texture, int textureWidth, int textureHeight) WidgetSprites(ResourceLocation p_295225_, ResourceLocation p_294772_) WidgetSprites(ResourceLocation p_296152_, ResourceLocation p_296020_, ResourceLocation p_296073_) WidgetSprites(ResourceLocation enabled, ResourceLocation disabled, ResourceLocation enabledFocused, ResourceLocation disabledFocused) Creates an instance of aWidgetSpritesrecord class. -
Uses of ResourceLocation in net.minecraft.client.gui.components.spectator
Fields in net.minecraft.client.gui.components.spectator declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationSpectatorGui.HOTBAR_SELECTION_SPRITEprivate static final ResourceLocationSpectatorGui.HOTBAR_SPRITE -
Uses of ResourceLocation in net.minecraft.client.gui.components.toasts
Fields in net.minecraft.client.gui.components.toasts declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationAdvancementToast.BACKGROUND_SPRITEprivate static final ResourceLocationRecipeToast.BACKGROUND_SPRITEprivate static final ResourceLocationSystemToast.BACKGROUND_SPRITEprivate static final ResourceLocationTutorialToast.BACKGROUND_SPRITEprivate final ResourceLocationTutorialToast.Icons.spriteConstructors in net.minecraft.client.gui.components.toasts with parameters of type ResourceLocation -
Uses of ResourceLocation in net.minecraft.client.gui.font
Fields in net.minecraft.client.gui.font declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationFontManager.BuilderId.fontIdThe field for thefontIdrecord component.private final ResourceLocationFontManager.UnresolvedBuilderBundle.fontIdThe field for thefontIdrecord component.static final ResourceLocationFontManager.MISSING_FONTprivate final ResourceLocationFontSet.nameFields in net.minecraft.client.gui.font with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Set<ResourceLocation> FontManager.UnresolvedBuilderBundle.dependenciesThe field for thedependenciesrecord component.private final Map<ResourceLocation, FontSet> FontManager.fontSetsprivate final Map<ResourceLocation, List<GlyphProvider.Conditional>> FontManager.Preparation.fontSetsThe field for thefontSetsrecord component.private final com.mojang.datafixers.util.Either<CompletableFuture<Optional<GlyphProvider>>, ResourceLocation> FontManager.BuilderResult.resultThe field for theresultrecord component.Methods in net.minecraft.client.gui.font that return ResourceLocationModifier and TypeMethodDescriptionFontManager.BuilderId.fontId()Returns the value of thefontIdrecord component.FontManager.UnresolvedBuilderBundle.fontId()Returns the value of thefontIdrecord component.FontSet.name()Methods in net.minecraft.client.gui.font that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionFontManager.UnresolvedBuilderBundle.dependencies()Returns the value of thedependenciesrecord component.FontManager.Preparation.fontSets()Returns the value of thefontSetsrecord component.private Map<ResourceLocation, List<GlyphProvider.Conditional>> FontManager.resolveProviders(List<FontManager.UnresolvedBuilderBundle> unresolvedBuilderBundles) com.mojang.datafixers.util.Either<CompletableFuture<Optional<GlyphProvider>>, ResourceLocation> FontManager.BuilderResult.result()Returns the value of theresultrecord component.Methods in net.minecraft.client.gui.font with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic GlyphRenderTypesGlyphRenderTypes.createForColorTexture(ResourceLocation id) static GlyphRenderTypesGlyphRenderTypes.createForIntensityTexture(ResourceLocation id) voidFontTexture.dumpContents(ResourceLocation resourceLocation, Path path) private FontSetFontManager.getFontSetCached(ResourceLocation fontSet) private FontSetFontManager.getFontSetRaw(ResourceLocation fontSet) private static List<com.mojang.datafixers.util.Pair<FontManager.BuilderId, GlyphProviderDefinition.Conditional>> FontManager.loadResourceStack(List<Resource> resources, ResourceLocation fontId) Method parameters in net.minecraft.client.gui.font with type arguments of type ResourceLocationModifier and TypeMethodDescriptionFontManager.BuilderResult.resolve(Function<ResourceLocation, List<GlyphProvider.Conditional>> providerResolver) FontManager.UnresolvedBuilderBundle.resolve(Function<ResourceLocation, List<GlyphProvider.Conditional>> providerResolver) voidFontManager.UnresolvedBuilderBundle.visitOptionalDependencies(Consumer<ResourceLocation> visitor) voidFontManager.UnresolvedBuilderBundle.visitRequiredDependencies(Consumer<ResourceLocation> visitor) Constructors in net.minecraft.client.gui.font with parameters of type ResourceLocationModifierConstructorDescription(package private)BuilderId(ResourceLocation fontId, String pack, int index) Creates an instance of aBuilderIdrecord class.FontSet(TextureManager textureManager, ResourceLocation name) UnresolvedBuilderBundle(ResourceLocation p_284984_) (package private)UnresolvedBuilderBundle(ResourceLocation fontId, List<FontManager.BuilderResult> builders, Set<ResourceLocation> dependencies) Creates an instance of aUnresolvedBuilderBundlerecord class.Constructor parameters in net.minecraft.client.gui.font with type arguments of type ResourceLocationModifierConstructorDescription(package private)BuilderResult(FontManager.BuilderId id, FontOption.Filter filter, com.mojang.datafixers.util.Either<CompletableFuture<Optional<GlyphProvider>>, ResourceLocation> result) Creates an instance of aBuilderResultrecord class.(package private)Preparation(Map<ResourceLocation, List<GlyphProvider.Conditional>> fontSets, List<GlyphProvider> allProviders) Creates an instance of aPreparationrecord class.(package private)UnresolvedBuilderBundle(ResourceLocation fontId, List<FontManager.BuilderResult> builders, Set<ResourceLocation> dependencies) Creates an instance of aUnresolvedBuilderBundlerecord class. -
Uses of ResourceLocation in net.minecraft.client.gui.font.providers
Fields in net.minecraft.client.gui.font.providers declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationBitmapProvider.Definition.fileThe field for thefilerecord component.private final ResourceLocationUnihexProvider.Definition.hexFileprivate final ResourceLocationGlyphProviderDefinition.Reference.idThe field for theidrecord component.private final ResourceLocationProviderReferenceDefinition.idThe field for theidrecord component.private final ResourceLocationTrueTypeGlyphProviderDefinition.locationThe field for thelocationrecord component.Methods in net.minecraft.client.gui.font.providers that return ResourceLocationModifier and TypeMethodDescriptionBitmapProvider.Definition.file()Returns the value of thefilerecord component.GlyphProviderDefinition.Reference.id()Returns the value of theidrecord component.ProviderReferenceDefinition.id()Returns the value of theidrecord component.TrueTypeGlyphProviderDefinition.location()Returns the value of thelocationrecord component.Constructors in net.minecraft.client.gui.font.providers with parameters of type ResourceLocationModifierConstructorDescriptionDefinition(ResourceLocation file, int height, int ascent, int[][] codepointGrid) Creates an instance of aDefinitionrecord class.privateDefinition(ResourceLocation hexFile, List<UnihexProvider.OverrideRange> sizeOverrides) Creates an instance of aProviderReferenceDefinitionrecord class.Creates an instance of aReferencerecord class.TrueTypeGlyphProviderDefinition(ResourceLocation location, float size, float oversample, TrueTypeGlyphProviderDefinition.Shift shift, String skip) Creates an instance of aTrueTypeGlyphProviderDefinitionrecord class. -
Uses of ResourceLocation in net.minecraft.client.gui.screens
Fields in net.minecraft.client.gui.screens declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationWinScreen.CREDITS_LOCATIONprivate static final ResourceLocationDemoIntroScreen.DEMO_BACKGROUND_LOCATIONprivate static final ResourceLocationDeathScreen.DRAFT_REPORT_SPRITEprivate static final ResourceLocationPauseScreen.DRAFT_REPORT_SPRITEprivate static final ResourceLocationWinScreen.END_POEM_LOCATIONstatic final ResourceLocationScreen.FOOTER_SEPARATORstatic final ResourceLocationScreen.HEADER_SEPARATORstatic final ResourceLocationScreen.INWORLD_FOOTER_SEPARATORstatic final ResourceLocationScreen.INWORLD_HEADER_SEPARATORprivate static final ResourceLocationScreen.INWORLD_MENU_BACKGROUNDstatic final ResourceLocationScreen.MENU_BACKGROUNDprivate static final ResourceLocationFaviconTexture.MISSING_LOCATION(package private) static final ResourceLocationLoadingOverlay.MOJANG_STUDIOS_LOGO_LOCATIONprivate static final ResourceLocationWinScreen.POSTCREDITS_LOCATION(package private) static final ResourceLocationCreateFlatWorldScreen.SLOT_SPRITE(package private) static final ResourceLocationPresetFlatWorldScreen.SLOT_SPRITEprivate static final ResourceLocationPresetFlatWorldScreen.PresetsList.Entry.STATS_ICON_LOCATIONprivate final ResourceLocationFaviconTexture.textureLocationprivate static final ResourceLocationWinScreen.VIGNETTE_LOCATIONMethods in net.minecraft.client.gui.screens that return ResourceLocationMethods in net.minecraft.client.gui.screens with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic voidScreen.renderMenuBackgroundTexture(GuiGraphics guiGraphics, ResourceLocation texture, int x, int y, float uOffset, float vOffset, int width, int height) private voidWinScreen.wrapCreditsIO(ResourceLocation location, WinScreen.CreditsReader p_reader) Constructors in net.minecraft.client.gui.screens with parameters of type ResourceLocationModifierConstructorDescriptionprivateFaviconTexture(TextureManager textureManager, ResourceLocation textureLocation) -
Uses of ResourceLocation in net.minecraft.client.gui.screens.achievement
Fields in net.minecraft.client.gui.screens.achievement declared as ResourceLocationModifier and TypeFieldDescription(package private) static final ResourceLocationStatsScreen.HEADER_SPRITEprivate final ResourceLocation[]StatsScreen.ItemStatisticsList.iconSprites(package private) static final ResourceLocationStatsScreen.SLOT_SPRITE(package private) static final ResourceLocationStatsScreen.SORT_DOWN_SPRITE(package private) static final ResourceLocationStatsScreen.SORT_UP_SPRITEFields in net.minecraft.client.gui.screens.achievement with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Stat<ResourceLocation> StatsScreen.GeneralStatisticsList.Entry.statMethod parameters in net.minecraft.client.gui.screens.achievement with type arguments of type ResourceLocationModifier and TypeMethodDescription(package private) static StringStatsScreen.getTranslationKey(Stat<ResourceLocation> stat) Constructor parameters in net.minecraft.client.gui.screens.achievement with type arguments of type ResourceLocation -
Uses of ResourceLocation in net.minecraft.client.gui.screens.advancements
Fields in net.minecraft.client.gui.screens.advancements declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationAdvancementWidgetType.boxSpriteprivate final ResourceLocationAdvancementWidgetType.challengeFrameSpriteprivate final ResourceLocationAdvancementTabType.Sprites.firstThe field for thefirstrecord component.private final ResourceLocationAdvancementWidgetType.goalFrameSpriteprivate final ResourceLocationAdvancementTabType.Sprites.lastThe field for thelastrecord component.private final ResourceLocationAdvancementTabType.Sprites.middleThe field for themiddlerecord component.private final ResourceLocationAdvancementWidgetType.taskFrameSpriteprivate static final ResourceLocationAdvancementWidget.TITLE_BOX_SPRITEprivate static final ResourceLocationAdvancementsScreen.WINDOW_LOCATIONMethods in net.minecraft.client.gui.screens.advancements that return ResourceLocationModifier and TypeMethodDescriptionAdvancementWidgetType.boxSprite()AdvancementTabType.Sprites.first()Returns the value of thefirstrecord component.AdvancementWidgetType.frameSprite(AdvancementType type) AdvancementTabType.Sprites.last()Returns the value of thelastrecord component.AdvancementTabType.Sprites.middle()Returns the value of themiddlerecord component.Constructors in net.minecraft.client.gui.screens.advancements with parameters of type ResourceLocationModifierConstructorDescriptionprivateAdvancementWidgetType(ResourceLocation boxSprite, ResourceLocation taskFrameSprite, ResourceLocation challengeFrameSprite, ResourceLocation goalFrameSprite) (package private)Sprites(ResourceLocation first, ResourceLocation middle, ResourceLocation last) Creates an instance of aSpritesrecord class. -
Uses of ResourceLocation in net.minecraft.client.gui.screens.debug
Fields in net.minecraft.client.gui.screens.debug declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationGameModeSwitcherScreen.GAMEMODE_SWITCHER_LOCATION(package private) static final ResourceLocationGameModeSwitcherScreen.SELECTION_SPRITE(package private) static final ResourceLocationGameModeSwitcherScreen.SLOT_SPRITE -
Uses of ResourceLocation in net.minecraft.client.gui.screens.inventory
Fields in net.minecraft.client.gui.screens.inventory declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationEnchantmentNames.ALT_FONTprivate static final ResourceLocationAnvilScreen.ANVIL_LOCATIONprivate static final ResourceLocationHorseInventoryScreen.ARMOR_SLOT_SPRITEprivate static final ResourceLocationLoomScreen.BANNER_SLOT_SPRITEprivate static final ResourceLocationBeaconScreen.BEACON_LOCATIONprivate static final ResourceLocationCartographyTableScreen.BG_LOCATIONprivate static final ResourceLocationLoomScreen.BG_LOCATIONprivate static final ResourceLocationStonecutterScreen.BG_LOCATIONstatic final ResourceLocationBookViewScreen.BOOK_LOCATIONprivate static final ResourceLocationBrewingStandScreen.BREW_PROGRESS_SPRITEprivate static final ResourceLocationBrewingStandScreen.BREWING_STAND_LOCATIONprivate static final ResourceLocationBrewingStandScreen.BUBBLES_SPRITEprivate static final ResourceLocationBlastFurnaceScreen.BURN_PROGRESS_SPRITEprivate static final ResourceLocationFurnaceScreen.BURN_PROGRESS_SPRITEprivate static final ResourceLocationSmokerScreen.BURN_PROGRESS_SPRITEprivate final ResourceLocationAbstractFurnaceScreen.burnProgressSprite(package private) static final ResourceLocationBeaconScreen.BUTTON_DISABLED_SPRITE(package private) static final ResourceLocationBeaconScreen.BUTTON_HIGHLIGHTED_SPRITE(package private) static final ResourceLocationBeaconScreen.BUTTON_SELECTED_SPRITE(package private) static final ResourceLocationBeaconScreen.BUTTON_SPRITE(package private) static final ResourceLocationBeaconScreen.CANCEL_SPRITEprivate static final ResourceLocationHorseInventoryScreen.CHEST_SLOTS_SPRITE(package private) static final ResourceLocationBeaconScreen.CONFIRM_SPRITEprivate static final ResourceLocationContainerScreen.CONTAINER_BACKGROUNDThe ResourceLocation containing the chest GUI texture.private static final ResourceLocationCrafterScreen.CONTAINER_LOCATIONprivate static final ResourceLocationDispenserScreen.CONTAINER_LOCATIONprivate static final ResourceLocationShulkerBoxScreen.CONTAINER_TEXTUREprivate static final ResourceLocationCraftingScreen.CRAFTING_TABLE_LOCATIONprivate static final ResourceLocation[]EnchantmentScreen.DISABLED_LEVEL_SPRITESprivate static final ResourceLocationCrafterScreen.DISABLED_SLOT_LOCATION_SPRITEprivate static final ResourceLocationMerchantScreen.DISCOUNT_STRIKETHRUOGH_SPRITEprivate static final ResourceLocationCartographyTableScreen.DUPLICATED_MAP_SPRITEprivate static final ResourceLocationLoomScreen.DYE_SLOT_SPRITEprivate static final ResourceLocationEffectRenderingInventoryScreen.EFFECT_BACKGROUND_LARGE_SPRITEprivate static final ResourceLocationEffectRenderingInventoryScreen.EFFECT_BACKGROUND_SMALL_SPRITEprivate static final ResourceLocationSmithingScreen.EMPTY_SLOT_SMITHING_TEMPLATE_ARMOR_TRIMprivate static final ResourceLocationSmithingScreen.EMPTY_SLOT_SMITHING_TEMPLATE_NETHERITE_UPGRADEprivate static final ResourceLocation[]EnchantmentScreen.ENABLED_LEVEL_SPRITESprivate static final ResourceLocationEnchantmentScreen.ENCHANTING_BOOK_LOCATIONThe ResourceLocation containing the texture for the Book rendered above the enchantment tableprivate static final ResourceLocationEnchantmentScreen.ENCHANTING_TABLE_LOCATIONThe ResourceLocation containing the Enchantment GUI texture locationprivate static final ResourceLocationEnchantmentScreen.ENCHANTMENT_SLOT_DISABLED_SPRITEprivate static final ResourceLocationEnchantmentScreen.ENCHANTMENT_SLOT_HIGHLIGHTED_SPRITEprivate static final ResourceLocationEnchantmentScreen.ENCHANTMENT_SLOT_SPRITEprivate static final ResourceLocationAnvilScreen.ERROR_SPRITEprivate static final ResourceLocationCartographyTableScreen.ERROR_SPRITEprivate static final ResourceLocationGrindstoneScreen.ERROR_SPRITEprivate static final ResourceLocationLoomScreen.ERROR_SPRITEprivate static final ResourceLocationSmithingScreen.ERROR_SPRITEprivate static final ResourceLocationMerchantScreen.EXPERIENCE_BAR_BACKGROUND_SPRITEprivate static final ResourceLocationMerchantScreen.EXPERIENCE_BAR_CURRENT_SPRITEprivate static final ResourceLocationMerchantScreen.EXPERIENCE_BAR_RESULT_SPRITEprivate static final ResourceLocationBrewingStandScreen.FUEL_LENGTH_SPRITEprivate static final ResourceLocationGrindstoneScreen.GRINDSTONE_LOCATIONprivate static final ResourceLocationHopperScreen.HOPPER_LOCATIONThe ResourceLocation containing the gui texture for the hopperprivate static final ResourceLocationHorseInventoryScreen.HORSE_INVENTORY_LOCATIONstatic final ResourceLocationAbstractContainerScreen.INVENTORY_LOCATIONThe location of the inventory background textureprivate static final ResourceLocationBlastFurnaceScreen.LIT_PROGRESS_SPRITEprivate static final ResourceLocationFurnaceScreen.LIT_PROGRESS_SPRITEprivate static final ResourceLocationSmokerScreen.LIT_PROGRESS_SPRITEprivate final ResourceLocationAbstractFurnaceScreen.litProgressSpriteprivate static final ResourceLocationHorseInventoryScreen.LLAMA_ARMOR_SLOT_SPRITEprivate static final ResourceLocationCartographyTableScreen.LOCKED_SPRITEprivate static final ResourceLocationCartographyTableScreen.MAP_SPRITEprivate final ResourceLocationItemCombinerScreen.menuResourceprivate static final ResourceLocationMerchantScreen.OUT_OF_STOCK_SPRITEprivate static final ResourceLocationPageButton.PAGE_BACKWARD_HIGHLIGHTED_SPRITEprivate static final ResourceLocationPageButton.PAGE_BACKWARD_SPRITEprivate static final ResourceLocationPageButton.PAGE_FORWARD_HIGHLIGHTED_SPRITEprivate static final ResourceLocationPageButton.PAGE_FORWARD_SPRITEprivate static final ResourceLocationLoomScreen.PATTERN_HIGHLIGHTED_SPRITEprivate static final ResourceLocationLoomScreen.PATTERN_SELECTED_SPRITEprivate static final ResourceLocationLoomScreen.PATTERN_SLOT_SPRITEprivate static final ResourceLocationLoomScreen.PATTERN_SPRITEprivate static final ResourceLocationCrafterScreen.POWERED_REDSTONE_LOCATION_SPRITEprivate static final ResourceLocationStonecutterScreen.RECIPE_HIGHLIGHTED_SPRITEprivate static final ResourceLocationStonecutterScreen.RECIPE_SELECTED_SPRITEprivate static final ResourceLocationStonecutterScreen.RECIPE_SPRITEprivate static final ResourceLocationHorseInventoryScreen.SADDLE_SLOT_SPRITEprivate static final ResourceLocationCartographyTableScreen.SCALED_MAP_SPRITEprivate static final ResourceLocationCreativeModeInventoryScreen.SCROLLER_DISABLED_SPRITEprivate static final ResourceLocationLoomScreen.SCROLLER_DISABLED_SPRITEprivate static final ResourceLocationMerchantScreen.SCROLLER_DISABLED_SPRITEprivate static final ResourceLocationStonecutterScreen.SCROLLER_DISABLED_SPRITEprivate static final ResourceLocationCreativeModeInventoryScreen.SCROLLER_SPRITEprivate static final ResourceLocationLoomScreen.SCROLLER_SPRITEprivate static final ResourceLocationMerchantScreen.SCROLLER_SPRITEprivate static final ResourceLocationStonecutterScreen.SCROLLER_SPRITEprivate static final ResourceLocation[]CreativeModeInventoryScreen.SELECTED_BOTTOM_TABSprivate static final ResourceLocation[]CreativeModeInventoryScreen.SELECTED_TOP_TABSprivate final ResourceLocationBeaconScreen.BeaconSpriteScreenButton.spriteprivate static final ResourceLocationAnvilScreen.TEXT_FIELD_DISABLED_SPRITEprivate static final ResourceLocationAnvilScreen.TEXT_FIELD_SPRITEprivate final ResourceLocationAbstractFurnaceScreen.textureprivate final ResourceLocationHangingSignEditScreen.textureprivate static final ResourceLocationBlastFurnaceScreen.TEXTUREprivate static final ResourceLocationFurnaceScreen.TEXTUREprivate static final ResourceLocationSmokerScreen.TEXTUREprivate static final ResourceLocationMerchantScreen.TRADE_ARROW_OUT_OF_STOCK_SPRITEprivate static final ResourceLocationMerchantScreen.TRADE_ARROW_SPRITEprivate static final ResourceLocationCrafterScreen.UNPOWERED_REDSTONE_LOCATION_SPRITEprivate static final ResourceLocation[]CreativeModeInventoryScreen.UNSELECTED_BOTTOM_TABSprivate static final ResourceLocation[]CreativeModeInventoryScreen.UNSELECTED_TOP_TABSprivate static final ResourceLocationMerchantScreen.VILLAGER_LOCATIONThe GUI texture for the villager merchant GUI.Fields in net.minecraft.client.gui.screens.inventory with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final List<ResourceLocation> SmithingScreen.EMPTY_SLOT_SMITHING_TEMPLATESprivate List<ResourceLocation> CyclingSlotBackground.iconsMethods in net.minecraft.client.gui.screens.inventory that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<ResourceLocation, ResourceLocation> CreativeModeInventoryScreen.SlotWrapper.getNoItemIcon()com.mojang.datafixers.util.Pair<ResourceLocation, ResourceLocation> CreativeModeInventoryScreen.SlotWrapper.getNoItemIcon()Methods in net.minecraft.client.gui.screens.inventory with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate voidCyclingSlotBackground.renderIcon(Slot slot, ResourceLocation icon, float alpha, GuiGraphics guiGraphics, int x, int y) CreativeModeInventoryScreen.SlotWrapper.setBackground(ResourceLocation atlas, ResourceLocation sprite) Method parameters in net.minecraft.client.gui.screens.inventory with type arguments of type ResourceLocationConstructors in net.minecraft.client.gui.screens.inventory with parameters of type ResourceLocationModifierConstructorDescriptionAbstractFurnaceScreen(T menu, AbstractFurnaceRecipeBookComponent recipeBookComponent, Inventory playerInventory, Component title, ResourceLocation texture, ResourceLocation listProgressSprite, ResourceLocation burnProgressSprite) protectedBeaconSpriteScreenButton(int x, int y, ResourceLocation sprite, Component message) ItemCombinerScreen(T menu, Inventory playerInventory, Component title, ResourceLocation menuResource) -
Uses of ResourceLocation in net.minecraft.client.gui.screens.inventory.tooltip
Fields in net.minecraft.client.gui.screens.inventory.tooltip declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationClientBundleTooltip.BACKGROUND_SPRITEfinal ResourceLocationClientBundleTooltip.Texture.spriteConstructors in net.minecraft.client.gui.screens.inventory.tooltip with parameters of type ResourceLocation -
Uses of ResourceLocation in net.minecraft.client.gui.screens.multiplayer
Fields in net.minecraft.client.gui.screens.multiplayer declared as ResourceLocationModifier and TypeFieldDescription(package private) static final ResourceLocationServerSelectionList.INCOMPATIBLE_SPRITE(package private) static final ResourceLocationServerSelectionList.JOIN_HIGHLIGHTED_SPRITE(package private) static final ResourceLocationServerSelectionList.JOIN_SPRITE(package private) static final ResourceLocationServerSelectionList.MOVE_DOWN_HIGHLIGHTED_SPRITE(package private) static final ResourceLocationServerSelectionList.MOVE_DOWN_SPRITE(package private) static final ResourceLocationServerSelectionList.MOVE_UP_HIGHLIGHTED_SPRITE(package private) static final ResourceLocationServerSelectionList.MOVE_UP_SPRITE(package private) static final ResourceLocationServerSelectionList.PING_1_SPRITE(package private) static final ResourceLocationServerSelectionList.PING_2_SPRITE(package private) static final ResourceLocationServerSelectionList.PING_3_SPRITE(package private) static final ResourceLocationServerSelectionList.PING_4_SPRITE(package private) static final ResourceLocationServerSelectionList.PING_5_SPRITE(package private) static final ResourceLocationServerSelectionList.PINGING_1_SPRITE(package private) static final ResourceLocationServerSelectionList.PINGING_2_SPRITE(package private) static final ResourceLocationServerSelectionList.PINGING_3_SPRITE(package private) static final ResourceLocationServerSelectionList.PINGING_4_SPRITE(package private) static final ResourceLocationServerSelectionList.PINGING_5_SPRITEprivate ResourceLocationServerSelectionList.OnlineServerEntry.statusIcon(package private) static final ResourceLocationServerSelectionList.UNREACHABLE_SPRITEMethods in net.minecraft.client.gui.screens.multiplayer with parameters of type ResourceLocationModifier and TypeMethodDescriptionprotected voidServerSelectionList.OnlineServerEntry.drawIcon(GuiGraphics guiGraphics, int x, int y, ResourceLocation icon) -
Uses of ResourceLocation in net.minecraft.client.gui.screens.packs
Fields in net.minecraft.client.gui.screens.packs declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationPackSelectionScreen.DEFAULT_ICON(package private) static final ResourceLocationTransferableSelectionList.MOVE_DOWN_HIGHLIGHTED_SPRITE(package private) static final ResourceLocationTransferableSelectionList.MOVE_DOWN_SPRITE(package private) static final ResourceLocationTransferableSelectionList.MOVE_UP_HIGHLIGHTED_SPRITE(package private) static final ResourceLocationTransferableSelectionList.MOVE_UP_SPRITE(package private) static final ResourceLocationTransferableSelectionList.SELECT_HIGHLIGHTED_SPRITE(package private) static final ResourceLocationTransferableSelectionList.SELECT_SPRITE(package private) static final ResourceLocationTransferableSelectionList.UNSELECT_HIGHLIGHTED_SPRITE(package private) static final ResourceLocationTransferableSelectionList.UNSELECT_SPRITEFields in net.minecraft.client.gui.screens.packs with type parameters of type ResourceLocationModifier and TypeFieldDescription(package private) final Function<Pack, ResourceLocation> PackSelectionModel.iconGetterprivate final Map<String, ResourceLocation> PackSelectionScreen.packIconsMethods in net.minecraft.client.gui.screens.packs that return ResourceLocationModifier and TypeMethodDescriptionPackSelectionModel.Entry.getIconTexture()PackSelectionModel.EntryBase.getIconTexture()private ResourceLocationPackSelectionScreen.getPackIcon(Pack pack) private ResourceLocationPackSelectionScreen.loadPackIcon(TextureManager textureManager, Pack pack) Constructor parameters in net.minecraft.client.gui.screens.packs with type arguments of type ResourceLocationModifierConstructorDescriptionPackSelectionModel(Runnable onListChanged, Function<Pack, ResourceLocation> iconGetter, PackRepository repository, Consumer<PackRepository> output) -
Uses of ResourceLocation in net.minecraft.client.gui.screens.recipebook
Fields in net.minecraft.client.gui.screens.recipebook declared as ResourceLocationModifier and TypeFieldDescription(package private) static final ResourceLocationOverlayRecipeComponent.CRAFTING_OVERLAY_DISABLED_HIGHLIGHTED_SPRITE(package private) static final ResourceLocationOverlayRecipeComponent.CRAFTING_OVERLAY_DISABLED_SPRITE(package private) static final ResourceLocationOverlayRecipeComponent.CRAFTING_OVERLAY_HIGHLIGHTED_SPRITE(package private) static final ResourceLocationOverlayRecipeComponent.CRAFTING_OVERLAY_SPRITE(package private) static final ResourceLocationOverlayRecipeComponent.FURNACE_OVERLAY_DISABLED_HIGHLIGHTED_SPRITE(package private) static final ResourceLocationOverlayRecipeComponent.FURNACE_OVERLAY_DISABLED_SPRITE(package private) static final ResourceLocationOverlayRecipeComponent.FURNACE_OVERLAY_HIGHLIGHTED_SPRITE(package private) static final ResourceLocationOverlayRecipeComponent.FURNACE_OVERLAY_SPRITEprivate static final ResourceLocationOverlayRecipeComponent.OVERLAY_RECIPE_SPRITEprotected static final ResourceLocationRecipeBookComponent.RECIPE_BOOK_LOCATIONprivate static final ResourceLocationRecipeButton.SLOT_CRAFTABLE_SPRITEprivate static final ResourceLocationRecipeButton.SLOT_MANY_CRAFTABLE_SPRITEprivate static final ResourceLocationRecipeButton.SLOT_MANY_UNCRAFTABLE_SPRITEprivate static final ResourceLocationRecipeButton.SLOT_UNCRAFTABLE_SPRITE -
Uses of ResourceLocation in net.minecraft.client.gui.screens.reporting
Fields in net.minecraft.client.gui.screens.reporting declared as ResourceLocationModifier and TypeFieldDescription(package private) static final ResourceLocationChatSelectionScreen.CHECKMARK_SPRITE -
Uses of ResourceLocation in net.minecraft.client.gui.screens.social
Fields in net.minecraft.client.gui.screens.social declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationSocialInteractionsScreen.BACKGROUND_SPRITEprivate static final ResourceLocationPlayerEntry.DRAFT_REPORT_SPRITEprivate static final ResourceLocationSocialInteractionsScreen.SEARCH_SPRITE -
Uses of ResourceLocation in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection declared as ResourceLocationModifier and TypeFieldDescription(package private) static final ResourceLocationWorldSelectionList.ERROR_HIGHLIGHTED_SPRITE(package private) static final ResourceLocationWorldSelectionList.ERROR_SPRITEprivate static final ResourceLocationWorldSelectionList.FORGE_EXPERIMENTAL_WARNING_ICON(package private) static final ResourceLocationWorldSelectionList.JOIN_HIGHLIGHTED_SPRITE(package private) static final ResourceLocationWorldSelectionList.JOIN_SPRITE(package private) static final ResourceLocationWorldSelectionList.MARKED_JOIN_HIGHLIGHTED_SPRITE(package private) static final ResourceLocationWorldSelectionList.MARKED_JOIN_SPRITEstatic final ResourceLocationCreateWorldScreen.TAB_HEADER_BACKGROUND(package private) static final ResourceLocationWorldSelectionList.WARNING_HIGHLIGHTED_SPRITE(package private) static final ResourceLocationWorldSelectionList.WARNING_SPRITE -
Uses of ResourceLocation in net.minecraft.client.gui.spectator
Fields in net.minecraft.client.gui.spectator declared as ResourceLocationModifier and TypeFieldDescription(package private) static final ResourceLocationSpectatorMenu.CLOSE_SPRITE(package private) static final ResourceLocationSpectatorMenu.SCROLL_LEFT_SPRITE(package private) static final ResourceLocationSpectatorMenu.SCROLL_RIGHT_SPRITE -
Uses of ResourceLocation in net.minecraft.client.gui.spectator.categories
Fields in net.minecraft.client.gui.spectator.categories declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationTeleportToPlayerMenuCategory.TELEPORT_TO_PLAYER_SPRITEprivate static final ResourceLocationTeleportToTeamMenuCategory.TELEPORT_TO_TEAM_SPRITE -
Uses of ResourceLocation in net.minecraft.client.model
Fields in net.minecraft.client.model declared as ResourceLocationFields in net.minecraft.client.model with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprotected final Function<ResourceLocation, RenderType> Model.renderTypeMethods in net.minecraft.client.model with parameters of type ResourceLocationModifier and TypeMethodDescriptionprotected static AnimationHolderHierarchicalModel.getAnimation(ResourceLocation key) final RenderTypeModel.renderType(ResourceLocation location) Constructor parameters in net.minecraft.client.model with type arguments of type ResourceLocationModifierConstructorDescriptionAgeableHierarchicalModel(float youngScaleFactor, float bodyYOffset, Function<ResourceLocation, RenderType> renderType) protectedAgeableListModel(Function<ResourceLocation, RenderType> renderType, boolean scaleHead, float babyYHeadOffset, float babyZHeadOffset, float babyHeadScale, float babyBodyScale, float bodyYOffset) protectedEntityModel(Function<ResourceLocation, RenderType> renderType) HierarchicalModel(Function<ResourceLocation, RenderType> renderType) HumanoidModel(ModelPart root, Function<ResourceLocation, RenderType> renderType) ListModel(Function<ResourceLocation, RenderType> p_103011_) Model(Function<ResourceLocation, RenderType> renderType) -
Uses of ResourceLocation in net.minecraft.client.model.geom
Fields in net.minecraft.client.model.geom declared as ResourceLocationMethods in net.minecraft.client.model.geom that return ResourceLocationConstructors in net.minecraft.client.model.geom with parameters of type ResourceLocation -
Uses of ResourceLocation in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, byte[]> ClientHandshakePacketListenerImpl.cookiesprivate final Map<ResourceLocation, byte[]> TransferState.cookiesThe field for thecookiesrecord component.private Map<ResourceLocation, Component> ClientConfigurationPacketListenerImpl.failureReasonsprotected final Map<ResourceLocation, byte[]> ClientCommonPacketListenerImpl.serverCookiesprivate final Map<ResourceLocation, byte[]> CommonListenerCookie.serverCookiesThe field for theserverCookiesrecord component.Methods in net.minecraft.client.multiplayer that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionMap<ResourceLocation, byte[]> TransferState.cookies()Returns the value of thecookiesrecord component.ClientSuggestionProvider.getAvailableSounds()ClientSuggestionProvider.getRecipeNames()Map<ResourceLocation, byte[]> CommonListenerCookie.serverCookies()Returns the value of theserverCookiesrecord component.Methods in net.minecraft.client.multiplayer with parameters of type ResourceLocationConstructor parameters in net.minecraft.client.multiplayer with type arguments of type ResourceLocationModifierConstructorDescriptionCommonListenerCookie(com.mojang.authlib.GameProfile localGameProfile, WorldSessionTelemetryManager telemetryManager, RegistryAccess.Frozen receivedRegistries, FeatureFlagSet enabledFeatures, String serverBrand, ServerData serverData, Screen postDisconnectScreen, Map<ResourceLocation, byte[]> serverCookies, ChatComponent.State chatState, boolean strictErrorHandling, Map<String, String> customReportDetails, ServerLinks serverLinks) Deprecated.CommonListenerCookie(com.mojang.authlib.GameProfile localGameProfile, WorldSessionTelemetryManager telemetryManager, RegistryAccess.Frozen receivedRegistries, FeatureFlagSet enabledFeatures, String serverBrand, ServerData serverData, Screen postDisconnectScreen, Map<ResourceLocation, byte[]> serverCookies, ChatComponent.State chatState, boolean strictErrorHandling, Map<String, String> customReportDetails, ServerLinks serverLinks, ConnectionType connectionType) Creates an instance of aCommonListenerCookierecord class.TransferState(Map<ResourceLocation, byte[]> cookies) Creates an instance of aTransferStaterecord class. -
Uses of ResourceLocation in net.minecraft.client.particle
Fields in net.minecraft.client.particle declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationParticleEngine.PARTICLES_ATLAS_INFOFields in net.minecraft.client.particle with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, ParticleProvider<?>> ParticleEngine.providersprivate final Map<ResourceLocation, ParticleEngine.MutableSpriteSet> ParticleEngine.spriteSetsprivate final List<ResourceLocation> ParticleDescription.texturesMethods in net.minecraft.client.particle that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionParticleDescription.getTextures()private Optional<List<ResourceLocation>> ParticleEngine.loadParticleDescription(ResourceLocation registryName, Resource resource) Methods in net.minecraft.client.particle with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate Optional<List<ResourceLocation>> ParticleEngine.loadParticleDescription(ResourceLocation registryName, Resource resource) Constructor parameters in net.minecraft.client.particle with type arguments of type ResourceLocation -
Uses of ResourceLocation in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocationSheets.ARMOR_TRIMS_SHEETstatic final ResourceLocationSheets.BANNER_SHEETstatic final ResourceLocationSheets.BED_SHEETprivate static final ResourceLocationGameRenderer.BLUR_LOCATIONstatic final ResourceLocationSheets.CHEST_SHEETprotected static final ResourceLocationLevelRenderer.CLOUDS_LOCATIONstatic final ResourceLocationSheets.DECORATED_POT_SHEETprivate static final ResourceLocationLevelRenderer.END_SKY_LOCATIONprivate static final ResourceLocationLevelRenderer.FORCEFIELD_LOCATIONprivate static final ResourceLocationGpuWarnlistManager.GPU_WARNLIST_LOCATIONprivate final ResourceLocation[]CubeMap.imagesprivate final ResourceLocationLightTexture.lightTextureLocationprivate static final ResourceLocationLevelRenderer.MOON_LOCATIONprivate static final ResourceLocationGameRenderer.NAUSEA_LOCATIONstatic final ResourceLocationPanoramaRenderer.PANORAMA_OVERLAYprivate static final ResourceLocationLevelRenderer.RAIN_LOCATIONstatic final ResourceLocationSheets.SHIELD_SHEETstatic final ResourceLocationSheets.SHULKER_SHEETstatic final ResourceLocationSheets.SIGN_SHEETprivate static final ResourceLocationLevelRenderer.SNOW_LOCATIONprivate static final ResourceLocationLevelRenderer.SUN_LOCATIONprivate static final ResourceLocationScreenEffectRenderer.UNDERWATER_LOCATIONFields in net.minecraft.client.renderer with type parameters of type ResourceLocationModifier and TypeFieldDescriptionstatic final Function<ResourceLocation, RenderType> RenderType.ARMOR_CUTOUT_NO_CULLprivate static final Map<ResourceLocation, Material> Sheets.BANNER_MATERIALSstatic final BiFunction<ResourceLocation, Boolean, RenderType> RenderType.BEACON_BEAMprivate final com.google.common.collect.ImmutableList.Builder<org.apache.commons.lang3.tuple.Triple<ResourceLocation, Boolean, Boolean>> RenderStateShard.MultiTextureStateShard.Builder.builderprivate final Map<ResourceLocation, Resource> GameRenderer.ResourceCache.cacheThe field for thecacherecord component.static final Function<ResourceLocation, RenderType> RenderType.CRUMBLINGprivate final Optional<ResourceLocation> RenderStateShard.MultiTextureStateShard.cutoutTexturestatic final Function<ResourceLocation, RenderType> RenderType.DRAGON_EXPLOSION_ALPHAprivate static final it.unimi.dsi.fastutil.objects.Object2ObjectMap<ResourceLocation, DimensionSpecialEffects> DimensionSpecialEffects.EFFECTSstatic final Function<ResourceLocation, RenderType> RenderType.ENTITY_CUTOUTstatic final BiFunction<ResourceLocation, Boolean, RenderType> RenderType.ENTITY_CUTOUT_NO_CULLstatic final BiFunction<ResourceLocation, Boolean, RenderType> RenderType.ENTITY_CUTOUT_NO_CULL_Z_OFFSETstatic final Function<ResourceLocation, RenderType> RenderType.ENTITY_DECALstatic final Function<ResourceLocation, RenderType> RenderType.ENTITY_NO_OUTLINEstatic final Function<ResourceLocation, RenderType> RenderType.ENTITY_SHADOWstatic final Function<ResourceLocation, RenderType> RenderType.ENTITY_SMOOTH_CUTOUTstatic final Function<ResourceLocation, RenderType> RenderType.ENTITY_SOLIDstatic final BiFunction<ResourceLocation, Boolean, RenderType> RenderType.ENTITY_TRANSLUCENTstatic final Function<ResourceLocation, RenderType> RenderType.ENTITY_TRANSLUCENT_CULLstatic final BiFunction<ResourceLocation, Boolean, RenderType> RenderType.ENTITY_TRANSLUCENT_EMISSIVERenderType.EYESstatic final Function<ResourceLocation, RenderType> RenderType.ITEM_ENTITY_TRANSLUCENT_CULL(package private) static final BiFunction<ResourceLocation, RenderStateShard.CullStateShard, RenderType> RenderType.CompositeRenderType.OUTLINEprivate static final Map<ResourceLocation, Material> Sheets.SHIELD_MATERIALSstatic final Function<ResourceLocation, RenderType> RenderType.TEXTstatic final Function<ResourceLocation, RenderType> RenderType.TEXT_INTENSITYstatic final Function<ResourceLocation, RenderType> RenderType.TEXT_INTENSITY_POLYGON_OFFSETstatic final Function<ResourceLocation, RenderType> RenderType.TEXT_INTENSITY_SEE_THROUGHstatic final Function<ResourceLocation, RenderType> RenderType.TEXT_POLYGON_OFFSETstatic final Function<ResourceLocation, RenderType> RenderType.TEXT_SEE_THROUGHprivate final Optional<ResourceLocation> RenderStateShard.TextureStateShard.textureMethods in net.minecraft.client.renderer that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionGameRenderer.ResourceCache.cache()Returns the value of thecacherecord component.protected Optional<ResourceLocation> RenderStateShard.EmptyTextureStateShard.cutoutTexture()protected Optional<ResourceLocation> RenderStateShard.MultiTextureStateShard.cutoutTexture()protected Optional<ResourceLocation> RenderStateShard.TextureStateShard.cutoutTexture()Methods in net.minecraft.client.renderer with parameters of type ResourceLocationModifier and TypeMethodDescriptionRenderStateShard.MultiTextureStateShard.Builder.add(ResourceLocation texture, boolean blur, boolean mipmap) static RenderTypeRenderType.armorCutoutNoCull(ResourceLocation location) static RenderTypeRenderType.beaconBeam(ResourceLocation location, boolean colorFlag) static RenderTypeRenderType.breezeEyes(ResourceLocation location) static RenderTypeRenderType.breezeWind(ResourceLocation location, float u, float v) private static RenderType.CompositeRenderTypeRenderType.createArmorCutoutNoCull(String name, ResourceLocation id, boolean equalDepthTest) static RenderTypeRenderType.createArmorDecalCutoutNoCull(ResourceLocation id) private static MaterialSheets.createDecoratedPotMaterial(ResourceLocation assetId) static RenderTypeRenderType.crumbling(ResourceLocation location) static RenderTypeRenderType.dragonExplosionAlpha(ResourceLocation id) static RenderTypeRenderType.energySwirl(ResourceLocation location, float u, float v) static RenderTypeRenderType.entityCutout(ResourceLocation location) static RenderTypeRenderType.entityCutoutNoCull(ResourceLocation location) static RenderTypeRenderType.entityCutoutNoCull(ResourceLocation location, boolean outline) static RenderTypeRenderType.entityCutoutNoCullZOffset(ResourceLocation location) static RenderTypeRenderType.entityCutoutNoCullZOffset(ResourceLocation location, boolean outline) static RenderTypeRenderType.entityDecal(ResourceLocation location) static RenderTypeRenderType.entityNoOutline(ResourceLocation location) static RenderTypeRenderType.entityShadow(ResourceLocation location) static RenderTypeRenderType.entitySmoothCutout(ResourceLocation location) static RenderTypeRenderType.entitySolid(ResourceLocation location) static RenderTypeRenderType.entityTranslucent(ResourceLocation location) static RenderTypeRenderType.entityTranslucent(ResourceLocation location, boolean outline) static RenderTypeRenderType.entityTranslucentCull(ResourceLocation location) static RenderTypeRenderType.entityTranslucentEmissive(ResourceLocation location) static RenderTypeRenderType.entityTranslucentEmissive(ResourceLocation location, boolean outline) static RenderTypeRenderType.eyes(ResourceLocation location) GameRenderer.ResourceCache.getResource(ResourceLocation p_251007_) static RenderTypeRenderType.itemEntityTranslucentCull(ResourceLocation location) private voidPostChain.load(TextureManager textureManager, ResourceLocation resourceLocation) voidGameRenderer.loadEffect(ResourceLocation resourceLocation) static RenderTypeRenderType.outline(ResourceLocation location) static voidScreenEffectRenderer.renderFluid(Minecraft p_110726_, PoseStack p_110727_, ResourceLocation texture) static RenderTypeRenderType.text(ResourceLocation location) static RenderTypeRenderType.textIntensity(ResourceLocation id) static RenderTypeRenderType.textIntensityPolygonOffset(ResourceLocation id) static RenderTypeRenderType.textIntensitySeeThrough(ResourceLocation id) static RenderTypeRenderType.textPolygonOffset(ResourceLocation id) static RenderTypeRenderType.textSeeThrough(ResourceLocation location) Constructors in net.minecraft.client.renderer with parameters of type ResourceLocationModifierConstructorDescriptionCubeMap(ResourceLocation baseImageLocation) PostChain(TextureManager textureManager, ResourceProvider resourceProvider, RenderTarget screenTarget, ResourceLocation resourceLocation) ShaderInstance(ResourceProvider p_173336_, ResourceLocation shaderLocation, VertexFormat p_173338_) TextureStateShard(ResourceLocation texture, boolean blur, boolean mipmap) Constructor parameters in net.minecraft.client.renderer with type arguments of type ResourceLocationModifierConstructorDescription(package private)MultiTextureStateShard(com.google.common.collect.ImmutableList<org.apache.commons.lang3.tuple.Triple<ResourceLocation, Boolean, Boolean>> textures) ResourceCache(ResourceProvider original, Map<ResourceLocation, Resource> cache) Creates an instance of aResourceCacherecord class. -
Uses of ResourceLocation in net.minecraft.client.renderer.block
Methods in net.minecraft.client.renderer.block with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic ModelResourceLocationBlockModelShaper.stateToModelLocation(ResourceLocation location, BlockState state) -
Uses of ResourceLocation in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationItemOverride.modelprivate final ResourceLocationVariant.modelLocationprotected ResourceLocationBlockModel.parentLocationprivate final ResourceLocation[]ItemOverrides.propertiesprivate final ResourceLocationItemOverride.Predicate.propertyMethods in net.minecraft.client.renderer.block.model that return ResourceLocationModifier and TypeMethodDescriptionItemOverride.getModel()protected ResourceLocationVariant.Deserializer.getModel(com.google.gson.JsonObject json) Variant.getModelLocation()BlockModel.getParentLocation()ItemOverride.Predicate.getProperty()Methods in net.minecraft.client.renderer.block.model that return types with arguments of type ResourceLocationMethods in net.minecraft.client.renderer.block.model with parameters of type ResourceLocationModifier and TypeMethodDescriptionBlockModel.Deserializer.parseTextureLocationOrReference(ResourceLocation location, String name) Method parameters in net.minecraft.client.renderer.block.model with type arguments of type ResourceLocationModifier and TypeMethodDescriptionvoidBlockModel.resolveParents(Function<ResourceLocation, UnbakedModel> resolver) voidMultiVariant.resolveParents(Function<ResourceLocation, UnbakedModel> resolver) Constructors in net.minecraft.client.renderer.block.model with parameters of type ResourceLocationModifierConstructorDescriptionBlockModel(ResourceLocation parentLocation, List<BlockElement> elements, Map<String, com.mojang.datafixers.util.Either<Material, String>> textureMap, Boolean hasAmbientOcclusion, BlockModel.GuiLight guiLight, ItemTransforms transforms, List<ItemOverride> overrides) ItemOverride(ResourceLocation model, List<ItemOverride.Predicate> predicates) Predicate(ResourceLocation property, float value) Variant(ResourceLocation modelLocation, Transformation rotation, boolean uvLock, int weight) -
Uses of ResourceLocation in net.minecraft.client.renderer.block.model.multipart
Methods in net.minecraft.client.renderer.block.model.multipart that return types with arguments of type ResourceLocationMethod parameters in net.minecraft.client.renderer.block.model.multipart with type arguments of type ResourceLocationModifier and TypeMethodDescriptionvoidMultiPart.resolveParents(Function<ResourceLocation, UnbakedModel> resolver) -
Uses of ResourceLocation in net.minecraft.client.renderer.blockentity
Fields in net.minecraft.client.renderer.blockentity declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocationBeaconRenderer.BEAM_LOCATIONprivate static final ResourceLocationTheEndGatewayRenderer.BEAM_LOCATIONstatic final ResourceLocationTheEndPortalRenderer.END_PORTAL_LOCATIONstatic final ResourceLocationTheEndPortalRenderer.END_SKY_LOCATIONFields in net.minecraft.client.renderer.blockentity with type parameters of type ResourceLocationModifier and TypeFieldDescriptionstatic final Map<SkullBlock.Type, ResourceLocation> SkullBlockRenderer.SKIN_BY_TYPEMethods in net.minecraft.client.renderer.blockentity with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic voidBeaconRenderer.renderBeaconBeam(PoseStack poseStack, MultiBufferSource bufferSource, ResourceLocation beamLocation, float partialTick, float textureScale, long gameTime, int yOffset, int height, int color, float beamRadius, float glowRadius) -
Uses of ResourceLocation in net.minecraft.client.renderer.entity
Fields in net.minecraft.client.renderer.entity declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationAllayRenderer.ALLAY_TEXTUREprivate static final ResourceLocationBeeRenderer.ANGRY_BEE_TEXTUREprivate static final ResourceLocationBeeRenderer.ANGRY_NECTAR_BEE_TEXTUREprivate static final ResourceLocationArmadilloRenderer.ARMADILLO_LOCATIONprivate static final ResourceLocationBatRenderer.BAT_LOCATIONprivate static final ResourceLocationPolarBearRenderer.BEAR_LOCATIONprivate static final ResourceLocationBeeRenderer.BEE_TEXTUREprivate static final ResourceLocationWardenRenderer.BIOLUMINESCENT_LAYER_TEXTUREprivate static final ResourceLocationBlazeRenderer.BLAZE_LOCATIONprivate static final ResourceLocationParrotRenderer.BLUEprivate static final ResourceLocationBoggedRenderer.BOGGED_OUTER_LAYER_LOCATIONprivate static final ResourceLocationBoggedRenderer.BOGGED_SKELETON_LOCATIONprivate static final ResourceLocationLlamaRenderer.BROWNprivate static final ResourceLocationCamelRenderer.CAMEL_LOCATIONprivate static final ResourceLocationOcelotRenderer.CAT_OCELOT_LOCATIONprivate static final ResourceLocationCaveSpiderRenderer.CAVE_SPIDER_LOCATIONprivate static final ResourceLocationChickenRenderer.CHICKEN_LOCATIONprivate static final ResourceLocationCodRenderer.COD_LOCATIONprivate static final ResourceLocationStriderRenderer.COLD_LOCATIONprivate static final ResourceLocationCowRenderer.COW_LOCATIONprivate static final ResourceLocationLlamaRenderer.CREAMYprivate static final ResourceLocationCreeperRenderer.CREEPER_LOCATIONstatic final ResourceLocationEnderDragonRenderer.CRYSTAL_BEAM_LOCATIONstatic final ResourceLocationArmorStandRenderer.DEFAULT_SKIN_LOCATIONA constant instance of the armor stand texture, wrapped inside a ResourceLocation wrapper.private static final ResourceLocationShulkerRenderer.DEFAULT_TEXTURE_LOCATIONprivate static final ResourceLocationDolphinRenderer.DOLPHIN_LOCATIONprivate static final ResourceLocationEnderDragonRenderer.DRAGON_EXPLODING_LOCATIONprivate static final ResourceLocationEnderDragonRenderer.DRAGON_EYES_LOCATIONprivate static final ResourceLocationEnderDragonRenderer.DRAGON_LOCATIONprivate static final ResourceLocationDrownedRenderer.DROWNED_LOCATIONstatic final ResourceLocationItemRenderer.ENCHANTED_GLINT_ENTITYstatic final ResourceLocationItemRenderer.ENCHANTED_GLINT_ITEMprivate static final ResourceLocationEndCrystalRenderer.END_CRYSTAL_LOCATIONprivate static final ResourceLocationEndermanRenderer.ENDERMAN_LOCATIONprivate static final ResourceLocationEndermiteRenderer.ENDERMITE_LOCATIONprivate static final ResourceLocationEvokerRenderer.EVOKER_ILLAGERprivate static final ResourceLocationExperienceOrbRenderer.EXPERIENCE_ORB_LOCATIONprivate static final ResourceLocationGhastRenderer.GHAST_LOCATIONprivate static final ResourceLocationGhastRenderer.GHAST_SHOOTING_LOCATIONprivate static final ResourceLocationGlowSquidRenderer.GLOW_SQUID_LOCATIONprivate static final ResourceLocationGoatRenderer.GOAT_LOCATIONprivate static final ResourceLocationIronGolemRenderer.GOLEM_LOCATIONprivate static final ResourceLocationLlamaRenderer.GRAYprivate static final ResourceLocationParrotRenderer.GREENprivate static final ResourceLocationParrotRenderer.GREYprivate static final ResourceLocationGuardianRenderer.GUARDIAN_BEAM_LOCATIONstatic final ResourceLocationElderGuardianRenderer.GUARDIAN_ELDER_LOCATIONprivate static final ResourceLocationGuardianRenderer.GUARDIAN_LOCATIONprivate static final ResourceLocationWardenRenderer.HEART_TEXTUREprivate static final ResourceLocationHoglinRenderer.HOGLIN_LOCATIONprivate static final ResourceLocationHuskRenderer.HUSK_LOCATIONprivate static final ResourceLocationIllusionerRenderer.ILLUSIONERprivate static final ResourceLocationLeashKnotRenderer.KNOT_LOCATIONprivate static final ResourceLocationLlamaSpitRenderer.LLAMA_SPIT_LOCATIONprivate static final ResourceLocationMagmaCubeRenderer.MAGMACUBE_LOCATIONprivate static final ResourceLocationMinecartRenderer.MINECART_LOCATIONprivate static final ResourceLocationTropicalFishRenderer.MODEL_A_TEXTUREprivate static final ResourceLocationTropicalFishRenderer.MODEL_B_TEXTUREprivate static final ResourceLocationBeeRenderer.NECTAR_BEE_TEXTUREstatic final ResourceLocationTippableArrowRenderer.NORMAL_ARROW_LOCATIONprivate static final ResourceLocationPhantomRenderer.PHANTOM_LOCATIONprivate static final ResourceLocationPigRenderer.PIG_LOCATIONprivate static final ResourceLocationPillagerRenderer.PILLAGERprivate static final ResourceLocationPufferfishRenderer.PUFFER_LOCATIONprivate static final ResourceLocationWardenRenderer.PULSATING_SPOTS_TEXTURE_1private static final ResourceLocationWardenRenderer.PULSATING_SPOTS_TEXTURE_2private static final ResourceLocationRabbitRenderer.RABBIT_BLACK_LOCATIONprivate static final ResourceLocationRabbitRenderer.RABBIT_BROWN_LOCATIONprivate static final ResourceLocationRabbitRenderer.RABBIT_EVIL_LOCATIONprivate static final ResourceLocationRabbitRenderer.RABBIT_GOLD_LOCATIONprivate static final ResourceLocationRabbitRenderer.RABBIT_SALT_LOCATIONprivate static final ResourceLocationRabbitRenderer.RABBIT_TOAST_LOCATIONprivate static final ResourceLocationRabbitRenderer.RABBIT_WHITE_LOCATIONprivate static final ResourceLocationRabbitRenderer.RABBIT_WHITE_SPLOTCHED_LOCATIONprivate static final ResourceLocationParrotRenderer.RED_BLUEprivate static final ResourceLocationFoxRenderer.RED_FOX_SLEEP_TEXTUREprivate static final ResourceLocationFoxRenderer.RED_FOX_TEXTUREprivate static final ResourceLocationSalmonRenderer.SALMON_LOCATIONprivate static final ResourceLocationSheepRenderer.SHEEP_LOCATIONprivate static final ResourceLocationSilverfishRenderer.SILVERFISH_LOCATIONprivate static final ResourceLocationSkeletonRenderer.SKELETON_LOCATIONprivate static final ResourceLocationSlimeRenderer.SLIME_LOCATIONprivate static final ResourceLocationSnifferRenderer.SNIFFER_LOCATIONprivate static final ResourceLocationFoxRenderer.SNOW_FOX_SLEEP_TEXTUREprivate static final ResourceLocationFoxRenderer.SNOW_FOX_TEXTUREprivate static final ResourceLocationSnowGolemRenderer.SNOW_GOLEM_LOCATIONstatic final ResourceLocationSpectralArrowRenderer.SPECTRAL_ARROW_LOCATIONprivate static final ResourceLocationSpiderRenderer.SPIDER_LOCATIONprivate static final ResourceLocationSquidRenderer.SQUID_LOCATIONprivate static final ResourceLocationStrayRenderer.STRAY_CLOTHES_LOCATIONprivate static final ResourceLocationStrayRenderer.STRAY_SKELETON_LOCATIONprivate static final ResourceLocationStriderRenderer.STRIDER_LOCATIONprivate static final ResourceLocationTadpoleRenderer.TADPOLE_TEXTUREprivate static final ResourceLocationWardenRenderer.TEXTUREprivate static final ResourceLocationBreezeRenderer.TEXTURE_LOCATIONprivate static final ResourceLocationDragonFireballRenderer.TEXTURE_LOCATIONprivate static final ResourceLocationEvokerFangsRenderer.TEXTURE_LOCATIONprivate static final ResourceLocationFishingHookRenderer.TEXTURE_LOCATIONprivate static final ResourceLocationRavagerRenderer.TEXTURE_LOCATIONprivate static final ResourceLocationShulkerBulletRenderer.TEXTURE_LOCATIONprivate static final ResourceLocation[]ShulkerRenderer.TEXTURE_LOCATIONprivate static final ResourceLocationWindChargeRenderer.TEXTURE_LOCATIONstatic final ResourceLocationTippableArrowRenderer.TIPPED_ARROW_LOCATIONstatic final ResourceLocationThrownTridentRenderer.TRIDENT_LOCATIONprivate static final ResourceLocationTurtleRenderer.TURTLE_LOCATIONprivate static final ResourceLocationVexRenderer.VEX_CHARGING_LOCATIONprivate static final ResourceLocationVexRenderer.VEX_LOCATIONprivate static final ResourceLocationVillagerRenderer.VILLAGER_BASE_SKINprivate static final ResourceLocationWanderingTraderRenderer.VILLAGER_BASE_SKINprivate static final ResourceLocationVindicatorRenderer.VINDICATORprivate static final ResourceLocationLlamaRenderer.WHITEprivate static final ResourceLocationWitchRenderer.WITCH_LOCATIONprivate static final ResourceLocationWitherBossRenderer.WITHER_INVULNERABLE_LOCATIONprivate static final ResourceLocationWitherSkullRenderer.WITHER_INVULNERABLE_LOCATIONprivate static final ResourceLocationWitherBossRenderer.WITHER_LOCATIONprivate static final ResourceLocationWitherSkullRenderer.WITHER_LOCATIONprivate static final ResourceLocationWitherSkeletonRenderer.WITHER_SKELETON_LOCATIONprivate static final ResourceLocationParrotRenderer.YELLOW_BLUEprivate static final ResourceLocationZoglinRenderer.ZOGLIN_LOCATIONprivate static final ResourceLocationAbstractZombieRenderer.ZOMBIE_LOCATIONprivate static final ResourceLocationGiantMobRenderer.ZOMBIE_LOCATIONprivate static final ResourceLocationZombieVillagerRenderer.ZOMBIE_VILLAGER_LOCATIONFields in net.minecraft.client.renderer.entity with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<Boat.Type, com.mojang.datafixers.util.Pair<ResourceLocation, ListModel<Boat>>> BoatRenderer.boatResourcesprivate static final Map<Variant, ResourceLocation> HorseRenderer.LOCATION_BY_VARIANTprivate static final Map<EntityType<?>, ResourceLocation> ChestedHorseRenderer.MAPprivate static final Map<EntityType<?>, ResourceLocation> UndeadHorseRenderer.MAPprivate static final Map<Axolotl.Variant, ResourceLocation> AxolotlRenderer.TEXTURE_BY_TYPEprivate static final Map<MushroomCow.MushroomType, ResourceLocation> MushroomCowRenderer.TEXTURESprivate static final Map<Panda.Gene, ResourceLocation> PandaRenderer.TEXTURESprivate static final Map<EntityType<?>, ResourceLocation> PiglinRenderer.TEXTURESMethods in net.minecraft.client.renderer.entity that return ResourceLocationModifier and TypeMethodDescriptionAbstractZombieRenderer.getTextureLocation(Zombie entity) Returns the location of an entity's texture.AllayRenderer.getTextureLocation(Allay p_234558_) ArmadilloRenderer.getTextureLocation(Armadillo p_316224_) ArmorStandRenderer.getTextureLocation(ArmorStand entity) Returns the location of an entity's texture.AxolotlRenderer.getTextureLocation(Axolotl p_173925_) BatRenderer.getTextureLocation(Bat entity) Returns the location of an entity's texture.BeeRenderer.getTextureLocation(Bee entity) Returns the location of an entity's texture.BlazeRenderer.getTextureLocation(Blaze entity) Returns the location of an entity's texture.BoatRenderer.getTextureLocation(Boat entity) Deprecated.private static ResourceLocationBoatRenderer.getTextureLocation(Boat.Type type, boolean chestBoat) BoggedRenderer.getTextureLocation(Bogged p_331017_) BreezeRenderer.getTextureLocation(Breeze entity) Returns the location of an entity's texture.CamelRenderer.getTextureLocation(Camel entity) Returns the location of an entity's texture.CatRenderer.getTextureLocation(Cat entity) Returns the location of an entity's texture.CaveSpiderRenderer.getTextureLocation(CaveSpider entity) Returns the location of an entity's texture.ChestedHorseRenderer.getTextureLocation(T entity) Returns the location of an entity's texture.ChickenRenderer.getTextureLocation(Chicken entity) Returns the location of an entity's texture.CodRenderer.getTextureLocation(Cod entity) Returns the location of an entity's texture.CowRenderer.getTextureLocation(Cow entity) Returns the location of an entity's texture.CreeperRenderer.getTextureLocation(Creeper entity) Returns the location of an entity's texture.DisplayRenderer.getTextureLocation(T entity) Returns the location of an entity's texture.DolphinRenderer.getTextureLocation(Dolphin entity) Returns the location of an entity's texture.DragonFireballRenderer.getTextureLocation(DragonFireball entity) Returns the location of an entity's texture.DrownedRenderer.getTextureLocation(Zombie entity) Returns the location of an entity's texture.ElderGuardianRenderer.getTextureLocation(Guardian entity) Returns the location of an entity's texture.EndCrystalRenderer.getTextureLocation(EndCrystal entity) Returns the location of an entity's texture.EnderDragonRenderer.getTextureLocation(EnderDragon entity) Returns the location of an entity's texture.EndermanRenderer.getTextureLocation(EnderMan entity) Returns the location of an entity's texture.EndermiteRenderer.getTextureLocation(Endermite entity) Returns the location of an entity's texture.abstract ResourceLocationEntityRenderer.getTextureLocation(T entity) Returns the location of an entity's texture.EvokerFangsRenderer.getTextureLocation(EvokerFangs entity) Returns the location of an entity's texture.EvokerRenderer.getTextureLocation(T entity) Returns the location of an entity's texture.ExperienceOrbRenderer.getTextureLocation(ExperienceOrb entity) Returns the location of an entity's texture.FallingBlockRenderer.getTextureLocation(FallingBlockEntity entity) Returns the location of an entity's texture.FireworkEntityRenderer.getTextureLocation(FireworkRocketEntity entity) Returns the location of an entity's texture.FishingHookRenderer.getTextureLocation(FishingHook entity) Returns the location of an entity's texture.FoxRenderer.getTextureLocation(Fox entity) Returns the location of an entity's texture.FrogRenderer.getTextureLocation(Frog p_234623_) GhastRenderer.getTextureLocation(Ghast entity) Returns the location of an entity's texture.GiantMobRenderer.getTextureLocation(Giant entity) Returns the location of an entity's texture.GlowSquidRenderer.getTextureLocation(GlowSquid p_174144_) GoatRenderer.getTextureLocation(Goat p_174157_) GuardianRenderer.getTextureLocation(Guardian entity) Returns the location of an entity's texture.HoglinRenderer.getTextureLocation(Hoglin entity) Returns the location of an entity's texture.HorseRenderer.getTextureLocation(Horse entity) Returns the location of an entity's texture.HuskRenderer.getTextureLocation(Zombie entity) Returns the location of an entity's texture.IllusionerRenderer.getTextureLocation(Illusioner entity) Returns the location of an entity's texture.IronGolemRenderer.getTextureLocation(IronGolem entity) Returns the location of an entity's texture.ItemEntityRenderer.getTextureLocation(ItemEntity entity) Returns the location of an entity's texture.ItemFrameRenderer.getTextureLocation(T entity) Returns the location of an entity's texture.LeashKnotRenderer.getTextureLocation(LeashFenceKnotEntity entity) Returns the location of an entity's texture.LightningBoltRenderer.getTextureLocation(LightningBolt entity) Returns the location of an entity's texture.LlamaRenderer.getTextureLocation(Llama entity) Returns the location of an entity's texture.LlamaSpitRenderer.getTextureLocation(LlamaSpit entity) Returns the location of an entity's texture.MagmaCubeRenderer.getTextureLocation(MagmaCube entity) Returns the location of an entity's texture.MinecartRenderer.getTextureLocation(T entity) Returns the location of an entity's texture.MushroomCowRenderer.getTextureLocation(MushroomCow entity) Returns the location of an entity's texture.NoopRenderer.getTextureLocation(T p_174328_) OcelotRenderer.getTextureLocation(Ocelot entity) Returns the location of an entity's texture.OminousItemSpawnerRenderer.getTextureLocation(OminousItemSpawner p_338515_) PaintingRenderer.getTextureLocation(Painting entity) Returns the location of an entity's texture.PandaRenderer.getTextureLocation(Panda entity) Returns the location of an entity's texture.ParrotRenderer.getTextureLocation(Parrot entity) Returns the location of an entity's texture.PhantomRenderer.getTextureLocation(Phantom entity) Returns the location of an entity's texture.PiglinRenderer.getTextureLocation(Mob entity) Returns the location of an entity's texture.PigRenderer.getTextureLocation(Pig entity) Returns the location of an entity's texture.PillagerRenderer.getTextureLocation(Pillager entity) Returns the location of an entity's texture.PolarBearRenderer.getTextureLocation(PolarBear entity) Returns the location of an entity's texture.PufferfishRenderer.getTextureLocation(Pufferfish entity) Returns the location of an entity's texture.RabbitRenderer.getTextureLocation(Rabbit entity) Returns the location of an entity's texture.RavagerRenderer.getTextureLocation(Ravager entity) Returns the location of an entity's texture.RenderLayerParent.getTextureLocation(T entity) Returns the location of an entity's texture.SalmonRenderer.getTextureLocation(Salmon entity) Returns the location of an entity's texture.SheepRenderer.getTextureLocation(Sheep entity) Returns the location of an entity's texture.ShulkerBulletRenderer.getTextureLocation(ShulkerBullet entity) Returns the location of an entity's texture.ShulkerRenderer.getTextureLocation(Shulker entity) Returns the location of an entity's texture.static ResourceLocationShulkerRenderer.getTextureLocation(DyeColor color) SilverfishRenderer.getTextureLocation(Silverfish entity) Returns the location of an entity's texture.SkeletonRenderer.getTextureLocation(T entity) Returns the location of an entity's texture.SlimeRenderer.getTextureLocation(Slime entity) Returns the location of an entity's texture.SnifferRenderer.getTextureLocation(Sniffer p_273552_) SnowGolemRenderer.getTextureLocation(SnowGolem entity) Returns the location of an entity's texture.SpectralArrowRenderer.getTextureLocation(SpectralArrow entity) Returns the location of an entity's texture.SpiderRenderer.getTextureLocation(T entity) Returns the location of an entity's texture.SquidRenderer.getTextureLocation(T entity) Returns the location of an entity's texture.StrayRenderer.getTextureLocation(Stray entity) Returns the location of an entity's texture.StriderRenderer.getTextureLocation(Strider entity) Returns the location of an entity's texture.TadpoleRenderer.getTextureLocation(Tadpole p_234659_) ThrownItemRenderer.getTextureLocation(Entity entity) Returns the location of an entity's texture.ThrownTridentRenderer.getTextureLocation(ThrownTrident entity) Returns the location of an entity's texture.TippableArrowRenderer.getTextureLocation(Arrow entity) Returns the location of an entity's texture.TntRenderer.getTextureLocation(PrimedTnt entity) Returns the location of an entity's texture.TropicalFishRenderer.getTextureLocation(TropicalFish entity) Returns the location of an entity's texture.TurtleRenderer.getTextureLocation(Turtle entity) Returns the location of an entity's texture.UndeadHorseRenderer.getTextureLocation(AbstractHorse entity) Returns the location of an entity's texture.VexRenderer.getTextureLocation(Vex entity) Returns the location of an entity's texture.VillagerRenderer.getTextureLocation(Villager entity) Returns the location of an entity's texture.VindicatorRenderer.getTextureLocation(Vindicator entity) Returns the location of an entity's texture.WanderingTraderRenderer.getTextureLocation(WanderingTrader entity) Returns the location of an entity's texture.WardenRenderer.getTextureLocation(Warden p_234791_) WindChargeRenderer.getTextureLocation(AbstractWindCharge entity) Returns the location of an entity's texture.WitchRenderer.getTextureLocation(Witch entity) Returns the location of an entity's texture.WitherBossRenderer.getTextureLocation(WitherBoss entity) Returns the location of an entity's texture.WitherSkeletonRenderer.getTextureLocation(WitherSkeleton entity) Returns the location of an entity's texture.WitherSkullRenderer.getTextureLocation(WitherSkull entity) Returns the location of an entity's texture.WolfRenderer.getTextureLocation(Wolf entity) Returns the location of an entity's texture.ZoglinRenderer.getTextureLocation(Zoglin entity) Returns the location of an entity's texture.ZombieVillagerRenderer.getTextureLocation(ZombieVillager entity) Returns the location of an entity's texture.static ResourceLocationParrotRenderer.getVariantTexture(Parrot.Variant variant) Methods in net.minecraft.client.renderer.entity that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<ResourceLocation, ListModel<Boat>> BoatRenderer.getModelWithLocation(Boat boat) -
Uses of ResourceLocation in net.minecraft.client.renderer.entity.layers
Fields in net.minecraft.client.renderer.entity.layers declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationBeeStingerLayer.BEE_STINGER_LOCATIONprivate static final ResourceLocationTropicalFishPatternLayer.BETTY_TEXTUREprivate static final ResourceLocationTropicalFishPatternLayer.BLOCKFISH_TEXTUREprivate static final ResourceLocationTropicalFishPatternLayer.BRINELY_TEXTUREprivate static final ResourceLocationCatCollarLayer.CAT_COLLAR_LOCATIONprivate static final ResourceLocationTropicalFishPatternLayer.CLAYFISH_TEXTUREprivate final ResourceLocationSkeletonClothingLayer.clothesLocationprivate static final ResourceLocationTropicalFishPatternLayer.DASHER_TEXTUREprivate static final ResourceLocationDrownedOuterLayer.DROWNED_OUTER_LAYER_LOCATIONprivate static final ResourceLocationTropicalFishPatternLayer.FLOPPER_TEXTUREprivate static final ResourceLocationTropicalFishPatternLayer.GLITTER_TEXTUREprivate static final ResourceLocationTropicalFishPatternLayer.KOB_TEXTUREprivate static final ResourceLocationCreeperPowerLayer.POWER_LOCATIONprivate static final ResourceLocationSheepFurLayer.SHEEP_FUR_LOCATIONprivate static final ResourceLocationTropicalFishPatternLayer.SNOOPER_TEXTUREprivate static final ResourceLocationTropicalFishPatternLayer.SPOTTY_TEXTUREprivate static final ResourceLocationTropicalFishPatternLayer.STRIPEY_TEXTUREprivate static final ResourceLocationTropicalFishPatternLayer.SUNSTREAK_TEXTUREprivate final ResourceLocationWardenEmissiveLayer.texturestatic final ResourceLocationSpinAttackEffectLayer.TEXTUREprivate static final ResourceLocationBreezeWindLayer.TEXTURE_LOCATIONprivate static final ResourceLocation[]LlamaDecorLayer.TEXTURE_LOCATIONprivate final ResourceLocationSaddleLayer.textureLocationprivate static final ResourceLocationLlamaDecorLayer.TRADER_LLAMAprivate static final ResourceLocationElytraLayer.WINGS_LOCATIONprivate static final ResourceLocationWitherArmorLayer.WITHER_ARMOR_LOCATIONprivate static final ResourceLocationWolfCollarLayer.WOLF_COLLAR_LOCATIONFields in net.minecraft.client.renderer.entity.layers with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Map<Crackiness.Level, ResourceLocation> WolfArmorLayer.ARMOR_CRACK_LOCATIONSprivate static final Map<String, ResourceLocation> HumanoidArmorLayer.ARMOR_LOCATION_CACHEprivate static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceLocation> VillagerProfessionLayer.LEVEL_LOCATIONSprivate static final Map<Markings, ResourceLocation> HorseMarkingLayer.LOCATION_BY_MARKINGSprivate static final Map<Crackiness.Level, ResourceLocation> IronGolemCrackinessLayer.resourceLocationsMethods in net.minecraft.client.renderer.entity.layers that return ResourceLocationModifier and TypeMethodDescriptionElytraLayer.getElytraTexture(ItemStack stack, T entity) Gets the texture to use with this ElytraLayer.private ResourceLocationVillagerProfessionLayer.getResourceLocation(String folder, ResourceLocation location) protected ResourceLocationCreeperPowerLayer.getTextureLocation()protected abstract ResourceLocationEnergySwirlLayer.getTextureLocation()protected ResourceLocationRenderLayer.getTextureLocation(T entity) protected ResourceLocationWitherArmorLayer.getTextureLocation()Methods in net.minecraft.client.renderer.entity.layers with parameters of type ResourceLocationModifier and TypeMethodDescriptionprotected static <T extends LivingEntity>
voidRenderLayer.coloredCutoutModelCopyLayerRender(EntityModel<T> modelParent, EntityModel<T> model, ResourceLocation textureLocation, PoseStack poseStack, MultiBufferSource buffer, int packedLight, T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float partialTick, int color) private ResourceLocationVillagerProfessionLayer.getResourceLocation(String folder, ResourceLocation location) protected static <T extends LivingEntity>
voidRenderLayer.renderColoredCutoutModel(EntityModel<T> model, ResourceLocation textureLocation, PoseStack poseStack, MultiBufferSource buffer, int packedLight, T entity, int color) private voidHumanoidArmorLayer.renderModel(PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, A model, int dyeColor, ResourceLocation textureLocation) private voidHumanoidArmorLayer.renderModel(PoseStack p_289664_, MultiBufferSource p_289689_, int p_289681_, Model p_289658_, int p_350798_, ResourceLocation p_324344_) Constructors in net.minecraft.client.renderer.entity.layers with parameters of type ResourceLocationModifierConstructorDescriptionSaddleLayer(RenderLayerParent<T, M> renderer, M model, ResourceLocation textureLocation) SkeletonClothingLayer(RenderLayerParent<T, M> renderer, EntityModelSet models, ModelLayerLocation modelLayerLocation, ResourceLocation clothesLocation) WardenEmissiveLayer(RenderLayerParent<T, M> renderer, ResourceLocation texture, WardenEmissiveLayer.AlphaFunction<T> alphaFunction, WardenEmissiveLayer.DrawSelector<T, M> drawSelector) -
Uses of ResourceLocation in net.minecraft.client.renderer.entity.player
Methods in net.minecraft.client.renderer.entity.player that return ResourceLocationModifier and TypeMethodDescriptionPlayerRenderer.getTextureLocation(AbstractClientPlayer entity) Returns the location of an entity's texture. -
Uses of ResourceLocation in net.minecraft.client.renderer.item
Fields in net.minecraft.client.renderer.item declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationItemProperties.DAMAGEprivate static final ResourceLocationItemProperties.DAMAGEDFields in net.minecraft.client.renderer.item with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Map<ResourceLocation, ItemPropertyFunction> ItemProperties.GENERIC_PROPERTIESprivate static final Map<Item, Map<ResourceLocation, ItemPropertyFunction>> ItemProperties.PROPERTIESMethods in net.minecraft.client.renderer.item with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic ItemPropertyFunctionItemProperties.getProperty(ItemStack stack, ResourceLocation location) private static voidItemProperties.register(Item item, ResourceLocation name, ClampedItemPropertyFunction property) static voidItemProperties.register(Item p_174571_, ResourceLocation p_174572_, ItemPropertyFunction p_174573_) private static ClampedItemPropertyFunctionItemProperties.registerGeneric(ResourceLocation name, ClampedItemPropertyFunction property) static ItemPropertyFunctionItemProperties.registerGeneric(ResourceLocation p_174582_, ItemPropertyFunction p_174583_) -
Uses of ResourceLocation in net.minecraft.client.renderer.texture
Fields in net.minecraft.client.renderer.texture declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationTextureAtlasSprite.atlasLocationstatic final ResourceLocationTextureManager.INTENTIONAL_MISSING_TEXTUREprotected final ResourceLocationSimpleTexture.locationprivate final ResourceLocationSpriteLoader.locationprivate final ResourceLocationTextureAtlas.locationstatic final ResourceLocationTextureAtlas.LOCATION_BLOCKSDeprecated.static final ResourceLocationTextureAtlas.LOCATION_PARTICLESDeprecated.private static final ResourceLocationMissingTextureAtlasSprite.MISSING_TEXTURE_LOCATIONprivate final ResourceLocationSpriteContents.nameFields in net.minecraft.client.renderer.texture with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, AbstractTexture> TextureManager.byPathprivate final Map<ResourceLocation, TextureAtlasSprite> SpriteLoader.Preparations.regionsThe field for theregionsrecord component.private Map<ResourceLocation, TextureAtlasSprite> TextureAtlas.texturesByNameMethods in net.minecraft.client.renderer.texture that return ResourceLocationModifier and TypeMethodDescriptionTextureAtlasSprite.atlasLocation()static ResourceLocationMissingTextureAtlasSprite.getLocation()TextureAtlas.location()SpriteContents.name()Stitcher.Entry.name()TextureManager.register(String name, DynamicTexture texture) Methods in net.minecraft.client.renderer.texture that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate Map<ResourceLocation, TextureAtlasSprite> SpriteLoader.getStitchedSprites(Stitcher<SpriteContents> stitcher, int x, int y) TextureAtlas.getTextures()SpriteLoader.Preparations.regions()Returns the value of theregionsrecord component.Methods in net.minecraft.client.renderer.texture with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate voidTextureManager._bind(ResourceLocation path) voidTextureManager.bindForSetup(ResourceLocation path) voidDumpable.dumpContents(ResourceLocation resourceLocation, Path path) voidDynamicTexture.dumpContents(ResourceLocation resourceLocation, Path p_path) voidTextureAtlas.dumpContents(ResourceLocation resourceLocation, Path path) TextureAtlas.getSprite(ResourceLocation name) TextureManager.getTexture(ResourceLocation path) TextureManager.getTexture(ResourceLocation path, AbstractTexture defaultTexture) static SimpleTexture.TextureImageSimpleTexture.TextureImage.load(ResourceManager resourceManager, ResourceLocation location) SpriteLoader.loadAndStitch(ResourceManager resouceManager, ResourceLocation location, int mipLevel, Executor executor) SpriteLoader.loadAndStitch(ResourceManager resourceManager, ResourceLocation location, int mipLevel, Executor executor, Collection<MetadataSectionSerializer<?>> sectionSerializers) private AbstractTextureTextureManager.loadTexture(ResourceLocation path, AbstractTexture texture) TextureManager.preload(ResourceLocation path, Executor backgroundExecutor) voidTextureManager.register(ResourceLocation path, AbstractTexture texture) voidTextureManager.release(ResourceLocation path) voidAbstractTexture.reset(TextureManager textureManager, ResourceManager resourceManager, ResourceLocation path, Executor executor) voidPreloadedTexture.reset(TextureManager textureManager, ResourceManager resourceManager, ResourceLocation resourceLocation, Executor p_executor) private voidTextureManager.safeClose(ResourceLocation path, AbstractTexture texture) Method parameters in net.minecraft.client.renderer.texture with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static voidTextureAtlas.dumpSpriteNames(Path outputDir, String outputFilename, Map<ResourceLocation, TextureAtlasSprite> sprites) Constructors in net.minecraft.client.renderer.texture with parameters of type ResourceLocationModifierConstructorDescriptionHttpTexture(File file, String urlString, ResourceLocation location, boolean processLegacySkin, Runnable onDownloaded) PreloadedTexture(ResourceManager resourceManager, ResourceLocation location, Executor backgroundExecutor) SimpleTexture(ResourceLocation location) SpriteContents(ResourceLocation name, FrameSize frameSize, NativeImage originalImage, ResourceMetadata metadata) SpriteLoader(ResourceLocation location, int maxSupportedTextureSize, int minWidth, int minHeight) TextureAtlas(ResourceLocation location) protectedTextureAtlasSprite(ResourceLocation atlasLocation, SpriteContents contents, int originX, int originY, int x, int y) Constructor parameters in net.minecraft.client.renderer.texture with type arguments of type ResourceLocationModifierConstructorDescriptionPreparations(int width, int height, int mipLevel, TextureAtlasSprite missing, Map<ResourceLocation, TextureAtlasSprite> regions, CompletableFuture<Void> readyForUpload) Creates an instance of aPreparationsrecord class. -
Uses of ResourceLocation in net.minecraft.client.renderer.texture.atlas
Fields in net.minecraft.client.renderer.texture.atlas with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final com.google.common.collect.BiMap<ResourceLocation, SpriteSourceType> SpriteSources.TYPESMethods in net.minecraft.client.renderer.texture.atlas with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoidSpriteSource.Output.add(ResourceLocation location, SpriteSource.SpriteSupplier sprite) default voidSpriteSource.Output.add(ResourceLocation location, Resource resource) static SpriteSourceListSpriteSourceList.load(ResourceManager resourceManager, ResourceLocation sprite) default SpriteContentsSpriteResourceLoader.loadSprite(ResourceLocation location, Resource resource) SpriteResourceLoader.loadSprite(ResourceLocation location, Resource resource, SpriteContentsConstructor constructor) Method parameters in net.minecraft.client.renderer.texture.atlas with type arguments of type ResourceLocationModifier and TypeMethodDescriptionvoidSpriteSource.Output.removeAll(Predicate<ResourceLocation> predicate) -
Uses of ResourceLocation in net.minecraft.client.renderer.texture.atlas.sources
Fields in net.minecraft.client.renderer.texture.atlas.sources declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationLazyLoadedImage.idprivate final ResourceLocationPalettedPermutations.paletteKeyprivate final ResourceLocationPalettedPermutations.PalettedSpriteSupplier.permutationLocationThe field for thepermutationLocationrecord component.private final ResourceLocationUnstitcher.resourceprivate final ResourceLocationSingleFile.resourceIdprivate final ResourceLocationUnstitcher.Region.spriteThe field for thespriterecord component.Fields in net.minecraft.client.renderer.texture.atlas.sources with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<String, ResourceLocation> PalettedPermutations.permutationsprivate final Optional<ResourceLocation> SingleFile.spriteIdprivate final List<ResourceLocation> PalettedPermutations.texturesMethods in net.minecraft.client.renderer.texture.atlas.sources that return ResourceLocationModifier and TypeMethodDescriptionPalettedPermutations.PalettedSpriteSupplier.permutationLocation()Returns the value of thepermutationLocationrecord component.Unstitcher.Region.sprite()Returns the value of thespriterecord component.Methods in net.minecraft.client.renderer.texture.atlas.sources with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic int[]PalettedPermutations.loadPaletteEntryFromImage(ResourceManager resourceMananger, ResourceLocation palette) Constructors in net.minecraft.client.renderer.texture.atlas.sources with parameters of type ResourceLocationModifierConstructorDescriptionLazyLoadedImage(ResourceLocation id, Resource resource, int referenceCount) PalettedPermutations(List<ResourceLocation> textures, ResourceLocation paletteKey, Map<String, ResourceLocation> permutations) PalettedSpriteSupplier(LazyLoadedImage baseImage, Supplier<IntUnaryOperator> palette, ResourceLocation permutationLocation) Creates an instance of aPalettedSpriteSupplierrecord class.Region(ResourceLocation sprite, double x, double y, double width, double height) Creates an instance of aRegionrecord class.SingleFile(ResourceLocation resourceId, Optional<ResourceLocation> spriteId) Unstitcher(ResourceLocation resource, List<Unstitcher.Region> regions, double xDivisor, double yDivisor) Constructor parameters in net.minecraft.client.renderer.texture.atlas.sources with type arguments of type ResourceLocationModifierConstructorDescriptionPalettedPermutations(List<ResourceLocation> textures, ResourceLocation paletteKey, Map<String, ResourceLocation> permutations) PalettedPermutations(List<ResourceLocation> textures, ResourceLocation paletteKey, Map<String, ResourceLocation> permutations) SingleFile(ResourceLocation resourceId, Optional<ResourceLocation> spriteId) -
Uses of ResourceLocation in net.minecraft.client.resources
Fields in net.minecraft.client.resources declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationTextureAtlasHolder.atlasInfoLocationprivate static final ResourceLocationPaintingTextureManager.BACK_SPRITE_LOCATIONprivate final ResourceLocationPlayerSkin.capeTextureThe field for thecapeTexturerecord component.private final ResourceLocationPlayerSkin.elytraTextureThe field for theelytraTexturerecord component.private static final ResourceLocationFoliageColorReloadListener.LOCATIONprivate static final ResourceLocationGrassColorReloadListener.LOCATIONprivate static final ResourceLocationClientPackSource.PACKS_DIRstatic final ResourceLocationSplashManager.SPLASHES_LOCATIONprivate final ResourceLocationPlayerSkin.textureThe field for thetexturerecord component.Fields in net.minecraft.client.resources with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<String, CompletableFuture<ResourceLocation>> SkinManager.TextureCache.texturesMethods in net.minecraft.client.resources that return ResourceLocationModifier and TypeMethodDescriptionPlayerSkin.capeTexture()Returns the value of thecapeTexturerecord component.PlayerSkin.elytraTexture()Returns the value of theelytraTexturerecord component.static ResourceLocationDefaultPlayerSkin.getDefaultTexture()private ResourceLocationSkinManager.TextureCache.getTextureLocation(String name) PlayerSkin.texture()Returns the value of thetexturerecord component.Methods in net.minecraft.client.resources that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionSkinManager.TextureCache.getOrLoad(com.mojang.authlib.minecraft.MinecraftProfileTexture texture) private CompletableFuture<ResourceLocation> SkinManager.TextureCache.registerTexture(com.mojang.authlib.minecraft.MinecraftProfileTexture texture) Methods in net.minecraft.client.resources with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic int[]LegacyStuffWrapper.getPixels(ResourceManager manager, ResourceLocation location) Deprecated.protected TextureAtlasSpriteTextureAtlasHolder.getSprite(ResourceLocation location) Gets a sprite associated with the passed resource location.Constructors in net.minecraft.client.resources with parameters of type ResourceLocationModifierConstructorDescriptionPlayerSkin(ResourceLocation texture, String textureUrl, ResourceLocation capeTexture, ResourceLocation elytraTexture, PlayerSkin.Model model, boolean secure) Creates an instance of aPlayerSkinrecord class.TextureAtlasHolder(TextureManager textureManager, ResourceLocation textureAtlasLocation, ResourceLocation atlasInfoLocation) TextureAtlasHolder(TextureManager textureManager, ResourceLocation textureAtlasLocation, ResourceLocation atlasInfoLocation, Set<MetadataSectionSerializer<?>> metadataSections) -
Uses of ResourceLocation in net.minecraft.client.resources.model
Fields in net.minecraft.client.resources.model declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationAtlasSet.AtlasEntry.atlasInfoLocationThe field for theatlasInfoLocationrecord component.private final ResourceLocationMaterial.atlasLocationprivate final ResourceLocationModelBakery.BakedCacheKey.idThe field for theidrecord component.private final ResourceLocationModelResourceLocation.idThe field for theidrecord component.static final ResourceLocationModelBakery.MISSING_MODEL_LOCATIONprivate final ResourceLocationMaterial.textureFields in net.minecraft.client.resources.model with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, AtlasSet.AtlasEntry> AtlasSet.atlasesprivate final Map<ResourceLocation, AtlasSet.StitchResult> ModelManager.ReloadState.atlasPreparationsThe field for theatlasPreparationsrecord component.private final Map<ResourceLocation, List<BlockStateModelLoader.LoadedJson>> BlockStateModelLoader.blockStateResourcesstatic final List<ResourceLocation> ModelBakery.BREAKING_LOCATIONSstatic final List<ResourceLocation> ModelBakery.DESTROY_STAGESprivate final Set<ResourceLocation> ModelBakery.loadingStackprivate final Map<ResourceLocation, BlockModel> ModelBakery.modelResourcesprivate static final Map<ResourceLocation, StateDefinition<Block, BlockState>> BlockStateModelLoader.STATIC_DEFINITIONSprivate final Map<ResourceLocation, UnbakedModel> ModelBakery.unbakedCacheprivate static final Map<ResourceLocation, ResourceLocation> ModelManager.VANILLA_ATLASESprivate static final Map<ResourceLocation, ResourceLocation> ModelManager.VANILLA_ATLASESMethods in net.minecraft.client.resources.model that return ResourceLocationModifier and TypeMethodDescriptionAtlasSet.AtlasEntry.atlasInfoLocation()Returns the value of theatlasInfoLocationrecord component.Material.atlasLocation()ModelBakery.BakedCacheKey.id()Returns the value of theidrecord component.ModelResourceLocation.id()Returns the value of theidrecord component.Material.texture()Methods in net.minecraft.client.resources.model that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionModelManager.ReloadState.atlasPreparations()Returns the value of theatlasPreparationsrecord component.UnbakedModel.getDependencies()private static CompletableFuture<Map<ResourceLocation, BlockModel>> ModelManager.loadBlockModels(ResourceManager resourceManager, Executor executor) private static CompletableFuture<Map<ResourceLocation, List<BlockStateModelLoader.LoadedJson>>> ModelManager.loadBlockStates(ResourceManager resourceManager, Executor executor) AtlasSet.scheduleLoad(ResourceManager resourceManager, int mipLevel, Executor executor) Methods in net.minecraft.client.resources.model with parameters of type ResourceLocationModifier and TypeMethodDescriptionModelBaker.bake(ResourceLocation location, ModelState transform) Deprecated.ModelBakery.ModelBakerImpl.bake(ResourceLocation location, ModelState transform) ModelBakery.ModelBakerImpl.bake(ResourceLocation location, ModelState transform, Function<Material, TextureAtlasSprite> sprites) AtlasSet.getAtlas(ResourceLocation location) ModelManager.getAtlas(ResourceLocation location) ModelBaker.getModel(ResourceLocation location) (package private) UnbakedModelModelBakery.getModel(ResourceLocation modelLocation) ModelBakery.ModelBakerImpl.getModel(ResourceLocation location) AtlasSet.StitchResult.getSprite(ResourceLocation location) static ModelResourceLocationModelResourceLocation.inventory(ResourceLocation id) private BlockModelModelBakery.loadBlockModel(ResourceLocation location) private voidBlockStateModelLoader.loadBlockStateDefinitions(ResourceLocation blockStateId, StateDefinition<Block, BlockState> stateDefenition) private voidModelBakery.loadItemModelAndDependencies(ResourceLocation modelLocation) (package private) BlockModelDefinitionBlockStateModelLoader.LoadedJson.parse(ResourceLocation blockStateId, BlockModelDefinition.Context context) static ModelResourceLocationModelResourceLocation.standalone(ResourceLocation id) Construct aModelResourceLocationfor use in theModelEvent.RegisterAdditionalto load a model at the given path directly instead of going through blockstates or item model auto-prefixing.Method parameters in net.minecraft.client.resources.model with type arguments of type ResourceLocationModifier and TypeMethodDescriptionMaterial.buffer(MultiBufferSource buffer, Function<ResourceLocation, RenderType> renderTypeGetter) Material.buffer(MultiBufferSource buffer, Function<ResourceLocation, RenderType> renderTypeGetter, boolean withGlint) private ModelManager.ReloadStateModelManager.loadModels(ProfilerFiller profilerFiller, Map<ResourceLocation, AtlasSet.StitchResult> atlasPreparations, ModelBakery modelBakery) Material.renderType(Function<ResourceLocation, RenderType> renderTypeGetter) voidUnbakedModel.resolveParents(Function<ResourceLocation, UnbakedModel> resolver) Constructors in net.minecraft.client.resources.model with parameters of type ResourceLocationModifierConstructorDescription(package private)AtlasEntry(TextureAtlas atlas, ResourceLocation atlasInfoLocation) Creates an instance of aAtlasEntryrecord class.(package private)BakedCacheKey(ResourceLocation id, Transformation transformation, boolean isUvLocked) Creates an instance of aBakedCacheKeyrecord class.Material(ResourceLocation atlasLocation, ResourceLocation texture) ModelResourceLocation(ResourceLocation id, String variant) Creates an instance of aModelResourceLocationrecord class.Constructor parameters in net.minecraft.client.resources.model with type arguments of type ResourceLocationModifierConstructorDescriptionAtlasSet(Map<ResourceLocation, ResourceLocation> atlasMap, TextureManager textureManager) AtlasSet(Map<ResourceLocation, ResourceLocation> atlasMap, TextureManager textureManager) BlockStateModelLoader(Map<ResourceLocation, List<BlockStateModelLoader.LoadedJson>> blockStateResources, ProfilerFiller profiler, UnbakedModel missingModel, BlockColors blockColors, BiConsumer<ModelResourceLocation, UnbakedModel> discoveredModelOutput) ModelBakery(BlockColors blockColors, ProfilerFiller profilerFiller, Map<ResourceLocation, BlockModel> modelResources, Map<ResourceLocation, List<BlockStateModelLoader.LoadedJson>> blockStateResources) -
Uses of ResourceLocation in net.minecraft.client.resources.sounds
Fields in net.minecraft.client.resources.sounds declared as ResourceLocationModifier and TypeFieldDescriptionprotected final ResourceLocationAbstractSoundInstance.locationprivate final ResourceLocationSound.locationMethods in net.minecraft.client.resources.sounds that return ResourceLocationModifier and TypeMethodDescriptionAbstractSoundInstance.getLocation()Sound.getLocation()SoundInstance.getLocation()Sound.getPath()Constructors in net.minecraft.client.resources.sounds with parameters of type ResourceLocationModifierConstructorDescriptionprotectedAbstractSoundInstance(ResourceLocation location, SoundSource source, RandomSource random) SimpleSoundInstance(ResourceLocation location, SoundSource source, float volume, float pitch, RandomSource random, boolean looping, int delay, SoundInstance.Attenuation attenuation, double x, double y, double z, boolean relative) Sound(ResourceLocation location, SampledFloat volume, SampledFloat pitch, int weight, Sound.Type type, boolean stream, boolean preload, int attenuationDistance) -
Uses of ResourceLocation in net.minecraft.client.searchtree
Method parameters in net.minecraft.client.searchtree with type arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic <T> ResourceLocationSearchTree<T> ResourceLocationSearchTree.create(List<T> contents, Function<T, Stream<ResourceLocation>> idGetter) Constructor parameters in net.minecraft.client.searchtree with type arguments of type ResourceLocationModifierConstructorDescriptionIdSearchTree(Function<T, Stream<ResourceLocation>> idGetter, List<T> contents) -
Uses of ResourceLocation in net.minecraft.client.sounds
Fields in net.minecraft.client.sounds declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocationSoundManager.EMPTY_SOUND_LOCATIONstatic final ResourceLocationSoundManager.INTENTIONALLY_EMPTY_SOUND_LOCATIONFields in net.minecraft.client.sounds with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, CompletableFuture<SoundBuffer>> SoundBufferLibrary.cacheprivate static final Set<ResourceLocation> SoundEngine.ONLY_WARN_ONCEA set of resource locations for which a missing sound warning has been issued(package private) final Map<ResourceLocation, WeighedSoundEvents> SoundManager.Preparations.registryprivate final Map<ResourceLocation, WeighedSoundEvents> SoundManager.registryprivate Map<ResourceLocation, Resource> SoundManager.Preparations.soundCacheprivate final Map<ResourceLocation, Resource> SoundManager.soundCacheMethods in net.minecraft.client.sounds that return types with arguments of type ResourceLocationMethods in net.minecraft.client.sounds with parameters of type ResourceLocationModifier and TypeMethodDescriptionSoundBufferLibrary.getCompleteBuffer(ResourceLocation soundID) Returns Returns a CompletableFuture containing the complete SoundBuffer. The SoundBuffer is loaded asynchronously and cached..SoundManager.getSoundEvent(ResourceLocation location) Returns The sound event associated with the specific ResourceLocation, ornullif not found.SoundBufferLibrary.getStream(ResourceLocation resourceLocation, boolean isWrapper) Returns Returns a CompletableFuture containing the AudioStream. The AudioStream is loaded asynchronously..(package private) voidSoundManager.Preparations.handleRegistration(ResourceLocation location, SoundEventRegistration registration) voidSoundEngine.stop(ResourceLocation soundName, SoundSource category) voidSoundManager.stop(ResourceLocation id, SoundSource category) Stops all sounds associated with the specified ID and category.(package private) static booleanSoundManager.validateSoundResource(Sound sound, ResourceLocation location, ResourceProvider resourceProvider) Validates a sound resourceMethod parameters in net.minecraft.client.sounds with type arguments of type ResourceLocationModifier and TypeMethodDescriptionvoidSoundManager.Preparations.apply(Map<ResourceLocation, WeighedSoundEvents> soundRegistry, Map<ResourceLocation, Resource> cache, SoundEngine soundEngine) Applies the prepared sound event registrations and caches to the sound manager.Constructors in net.minecraft.client.sounds with parameters of type ResourceLocation -
Uses of ResourceLocation in net.minecraft.commands
Fields in net.minecraft.commands declared as ResourceLocationMethods in net.minecraft.commands that return ResourceLocationMethods in net.minecraft.commands that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionCommandSourceStack.getAvailableSounds()SharedSuggestionProvider.getAvailableSounds()CommandSourceStack.getRecipeNames()SharedSuggestionProvider.getRecipeNames()Method parameters in net.minecraft.commands with type arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic <T> voidSharedSuggestionProvider.filterResources(Iterable<T> resources, String remaining, String prefix, Function<T, ResourceLocation> locationFunction, Consumer<T> resourceConsumer) static <T> voidSharedSuggestionProvider.filterResources(Iterable<T> resources, String input, Function<T, ResourceLocation> locationFunction, Consumer<T> resourceConsumer) static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestResource(Iterable<ResourceLocation> resources, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestResource(Iterable<ResourceLocation> resources, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, String prefix) static <T> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestResource(Iterable<T> resources, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Function<T, ResourceLocation> locationFunction, Function<T, com.mojang.brigadier.Message> suggestionFunction) static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestResource(Stream<ResourceLocation> resourceLocations, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestResource(Stream<ResourceLocation> resources, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, String prefix) static <T> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestResource(Stream<T> resources, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Function<T, ResourceLocation> locationFunction, Function<T, com.mojang.brigadier.Message> suggestionFunction) Constructors in net.minecraft.commands with parameters of type ResourceLocation -
Uses of ResourceLocation in net.minecraft.commands.arguments
Methods in net.minecraft.commands.arguments that return ResourceLocationModifier and TypeMethodDescriptionstatic ResourceLocationResourceLocationArgument.getId(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) DimensionArgument.parse(com.mojang.brigadier.StringReader reader) ResourceLocationArgument.parse(com.mojang.brigadier.StringReader reader) -
Uses of ResourceLocation in net.minecraft.commands.arguments.blocks
Fields in net.minecraft.commands.arguments.blocks declared as ResourceLocation -
Uses of ResourceLocation in net.minecraft.commands.arguments.item
Fields in net.minecraft.commands.arguments.item declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationItemPredicateArgument.COUNT_IDprivate final ResourceLocationItemPredicateArgument.ComponentWrapper.idThe field for theidrecord component.private final ResourceLocationItemPredicateArgument.PredicateWrapper.idThe field for theidrecord component.Fields in net.minecraft.commands.arguments.item with type parameters of type ResourceLocationModifier and TypeFieldDescription(package private) static final Map<ResourceLocation, ItemPredicateArgument.ComponentWrapper> ItemPredicateArgument.PSEUDO_COMPONENTS(package private) static final Map<ResourceLocation, ItemPredicateArgument.PredicateWrapper> ItemPredicateArgument.PSEUDO_PREDICATESMethods in net.minecraft.commands.arguments.item that return ResourceLocationModifier and TypeMethodDescriptionItemPredicateArgument.ComponentWrapper.id()Returns the value of theidrecord component.ItemPredicateArgument.PredicateWrapper.id()Returns the value of theidrecord component.Methods in net.minecraft.commands.arguments.item that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic com.mojang.datafixers.util.Pair<ResourceLocation, Collection<CommandFunction<CommandSourceStack>>> FunctionArgument.getFunctionCollection(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.getFunctionOrTag(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) ComponentPredicateParser.Context.listComponentTypes()ItemPredicateArgument.Context.listComponentTypes()ComponentPredicateParser.Context.listElementTypes()ItemPredicateArgument.Context.listElementTypes()ComponentPredicateParser.Context.listPredicateTypes()ItemPredicateArgument.Context.listPredicateTypes()ComponentPredicateParser.Context.listTagTypes()ItemPredicateArgument.Context.listTagTypes()ComponentPredicateParser.ComponentLookupRule.possibleResources()ComponentPredicateParser.ElementLookupRule.possibleResources()ComponentPredicateParser.PredicateLookupRule.possibleResources()ComponentPredicateParser.TagLookupRule.possibleResources()com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.Result.unwrap(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) com.mojang.datafixers.util.Pair<ResourceLocation, Collection<CommandFunction<CommandSourceStack>>> FunctionArgument.Result.unwrapToCollection(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) Methods in net.minecraft.commands.arguments.item with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic <T> ItemPredicateArgument.ComponentWrapperItemPredicateArgument.ComponentWrapper.create(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation id, DataComponentType<T> componentType) ComponentPredicateParser.Context.forElementType(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation elementType) ItemPredicateArgument.Context.forElementType(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation elementType) ComponentPredicateParser.Context.forTagType(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation tagType) ItemPredicateArgument.Context.forTagType(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation tagType) (package private) static CommandFunction<CommandSourceStack> FunctionArgument.getFunction(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, ResourceLocation id) (package private) static Collection<CommandFunction<CommandSourceStack>> FunctionArgument.getFunctionTag(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, ResourceLocation id) ComponentPredicateParser.Context.lookupComponentType(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation componentType) ItemPredicateArgument.Context.lookupComponentType(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation componentType) ComponentPredicateParser.Context.lookupPredicateType(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation predicateType) ItemPredicateArgument.Context.lookupPredicateType(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation predicateType) protected CComponentPredicateParser.ComponentLookupRule.validateElement(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation elementType) protected TComponentPredicateParser.ElementLookupRule.validateElement(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation elementType) protected PComponentPredicateParser.PredicateLookupRule.validateElement(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation elementType) protected TComponentPredicateParser.TagLookupRule.validateElement(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation elementType) Constructors in net.minecraft.commands.arguments.item with parameters of type ResourceLocationModifierConstructorDescription(package private)ComponentWrapper(ResourceLocation id, Predicate<ItemStack> presenceChecker, com.mojang.serialization.Decoder<? extends Predicate<ItemStack>> valueChecker) Creates an instance of aComponentWrapperrecord class.(package private)PredicateWrapper(ResourceLocation id, com.mojang.serialization.Decoder<? extends Predicate<ItemStack>> type) Creates an instance of aPredicateWrapperrecord class.Constructor parameters in net.minecraft.commands.arguments.item with type arguments of type ResourceLocationModifierConstructorDescription(package private)ComponentLookupRule(Atom<ResourceLocation> idParser, ComponentPredicateParser.Context<T, C, P> context) (package private)ElementLookupRule(Atom<ResourceLocation> idParser, ComponentPredicateParser.Context<T, C, P> context) (package private)PredicateLookupRule(Atom<ResourceLocation> idParser, ComponentPredicateParser.Context<T, C, P> context) (package private)TagLookupRule(Atom<ResourceLocation> idParser, ComponentPredicateParser.Context<T, C, P> context) -
Uses of ResourceLocation in net.minecraft.commands.execution
Methods in net.minecraft.commands.execution with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoidTraceCallbacks.onCall(int depth, ResourceLocation function, int commands) -
Uses of ResourceLocation in net.minecraft.commands.functions
Fields in net.minecraft.commands.functions declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationMacroFunction.idprivate final ResourceLocationPlainTextFunction.idThe field for theidrecord component.Methods in net.minecraft.commands.functions that return ResourceLocationModifier and TypeMethodDescriptionCommandFunction.id()InstantiatedFunction.id()MacroFunction.id()PlainTextFunction.id()Returns the value of theidrecord component.Methods in net.minecraft.commands.functions with parameters of type ResourceLocationModifier and TypeMethodDescriptionFunctionBuilder.build(ResourceLocation id) static <T extends ExecutionCommandSource<T>>
CommandFunction<T> CommandFunction.fromLines(ResourceLocation id, com.mojang.brigadier.CommandDispatcher<T> dispatcher, T source, List<String> lines) MacroFunction.Entry.instantiate(List<String> arguments, com.mojang.brigadier.CommandDispatcher<T> dispatcher, ResourceLocation function) MacroFunction.MacroEntry.instantiate(List<String> arguments, com.mojang.brigadier.CommandDispatcher<T> dispatcher, ResourceLocation function) MacroFunction.PlainTextEntry.instantiate(List<String> arguments, com.mojang.brigadier.CommandDispatcher<T> dispatcher, ResourceLocation function) Constructors in net.minecraft.commands.functions with parameters of type ResourceLocationModifierConstructorDescriptionMacroFunction(ResourceLocation id, List<MacroFunction.Entry<T>> entries, List<String> parameters) PlainTextFunction(ResourceLocation id, List<UnboundEntryAction<T>> entries) Creates an instance of aPlainTextFunctionrecord class. -
Uses of ResourceLocation in net.minecraft.commands.synchronization
Fields in net.minecraft.commands.synchronization declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationSuggestionProviders.DEFAULT_NAME(package private) final ResourceLocationSuggestionProviders.Wrapper.nameFields in net.minecraft.commands.synchronization with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Map<ResourceLocation, com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider>> SuggestionProviders.PROVIDERS_BY_NAMEMethods in net.minecraft.commands.synchronization that return ResourceLocationModifier and TypeMethodDescriptionstatic ResourceLocationSuggestionProviders.getName(com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> provider) Gets the ID for the given provider.Methods in net.minecraft.commands.synchronization with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> SuggestionProviders.getProvider(ResourceLocation name) static <S extends SharedSuggestionProvider>
com.mojang.brigadier.suggestion.SuggestionProvider<S> SuggestionProviders.register(ResourceLocation name, com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> provider) Constructors in net.minecraft.commands.synchronization with parameters of type ResourceLocationModifierConstructorDescriptionWrapper(ResourceLocation name, com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> delegate) -
Uses of ResourceLocation in net.minecraft.core
Fields in net.minecraft.core declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationDefaultedMappedRegistry.defaultKeyprivate final ResourceLocationRegistrySynchronization.PackedRegistryEntry.idThe field for theidrecord component.Fields in net.minecraft.core with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, Holder.Reference<T>> MappedRegistry.byLocationprivate final Map<ResourceLocation, HolderGetter<?>> RegistrySetBuilder.BuildState.registriesThe field for theregistriesrecord component.Methods in net.minecraft.core that return ResourceLocationModifier and TypeMethodDescriptionDefaultedMappedRegistry.getDefaultKey()DefaultedRegistry.getDefaultKey()DefaultedMappedRegistry.getKeyOrNull(T element) RegistrySynchronization.PackedRegistryEntry.id()Returns the value of theidrecord component.Methods in net.minecraft.core that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionMappedRegistry.keySet()Registry.keySet()RegistrySetBuilder.BuildState.registries()Returns the value of theregistriesrecord component.Methods in net.minecraft.core with parameters of type ResourceLocationModifier and TypeMethodDescriptionbooleanMappedRegistry.containsKey(ResourceLocation name) booleanRegistry.containsKey(ResourceLocation name) DefaultedMappedRegistry.get(ResourceLocation name) DefaultedRegistry.get(ResourceLocation p_122328_) MappedRegistry.get(ResourceLocation name) Registry.get(ResourceLocation name) MappedRegistry.getHolder(ResourceLocation location) Registry.getHolder(ResourceLocation location) intMappedRegistry.getId(ResourceLocation name) DefaultedMappedRegistry.getOptional(ResourceLocation name) Registry.getOptional(ResourceLocation name) booleanHolder.Direct.is(ResourceLocation p_205727_) booleanHolder.is(ResourceLocation location) booleanHolder.Reference.is(ResourceLocation location) static <V,T extends V>
TRegistry.register(Registry<V> registry, ResourceLocation name, T value) static <T> Holder.Reference<T> Registry.registerForHolder(Registry<T> registry, ResourceLocation name, T value) Constructors in net.minecraft.core with parameters of type ResourceLocationModifierConstructorDescriptionPackedRegistryEntry(ResourceLocation id, Optional<Tag> data) Creates an instance of aPackedRegistryEntryrecord class.Constructor parameters in net.minecraft.core with type arguments of type ResourceLocationModifierConstructorDescription(package private)BuildState(RegistrySetBuilder.UniversalOwner owner, RegistrySetBuilder.UniversalLookup lookup, Map<ResourceLocation, HolderGetter<?>> registries, Map<ResourceKey<?>, RegistrySetBuilder.RegisteredValue<?>> registeredValues, List<RuntimeException> errors) Creates an instance of aBuildStaterecord class. -
Uses of ResourceLocation in net.minecraft.core.component
Fields in net.minecraft.core.component with type parameters of type ResourceLocationModifier and TypeFieldDescriptionstatic final DataComponentType<ResourceLocation> DataComponents.NOTE_BLOCK_SOUNDstatic final DataComponentType<List<ResourceLocation>> DataComponents.RECIPES -
Uses of ResourceLocation in net.minecraft.core.registries
Fields in net.minecraft.core.registries declared as ResourceLocationFields in net.minecraft.core.registries with type parameters of type ResourceLocationModifier and TypeFieldDescriptionstatic final Registry<ResourceLocation> BuiltInRegistries.CUSTOM_STATstatic final ResourceKey<Registry<ResourceLocation>> Registries.CUSTOM_STATprivate static final Map<ResourceLocation, Supplier<?>> BuiltInRegistries.LOADERSMethods in net.minecraft.core.registries that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic Set<ResourceLocation> BuiltInRegistries.getVanillaRegistrationOrder() -
Uses of ResourceLocation in net.minecraft.data
Methods in net.minecraft.data with parameters of type ResourceLocationModifier and TypeMethodDescriptionPackOutput.PathProvider.file(ResourceLocation location, String extension) PackOutput.PathProvider.json(ResourceLocation location) -
Uses of ResourceLocation in net.minecraft.data.info
Methods in net.minecraft.data.info with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate PathBiomeParametersDumpReport.createPath(ResourceLocation location) -
Uses of ResourceLocation in net.minecraft.data.loot
Methods in net.minecraft.data.loot that return ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceLocationLootTableProvider.sequenceIdForLootTable(ResourceKey<LootTable> lootTable) -
Uses of ResourceLocation in net.minecraft.data.models
Fields in net.minecraft.data.models declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationBlockModelGenerators.BlockEntityModelGenerator.baseModelprivate ResourceLocationBlockModelGenerators.BlockFamilyProvider.fullBlockstatic final ResourceLocationItemModelGenerators.TRIM_TYPE_PREDICATE_IDFields in net.minecraft.data.models with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Map<BlockModelGenerators.BookSlotModelCacheKey, ResourceLocation> BlockModelGenerators.CHISELED_BOOKSHELF_SLOT_MODEL_CACHE(package private) final BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> BlockModelGenerators.modelOutputprivate final Map<ModelTemplate, ResourceLocation> BlockModelGenerators.BlockFamilyProvider.modelsstatic final List<com.mojang.datafixers.util.Pair<BooleanProperty, Function<ResourceLocation, Variant>>> BlockModelGenerators.MULTIFACE_GENERATORprivate final BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> ItemModelGenerators.outputMethods in net.minecraft.data.models that return ResourceLocationModifier and TypeMethodDescriptionprivate ResourceLocationBlockModelGenerators.createSuffixedVariant(Block block, String suffix, ModelTemplate modelTemplate, Function<ResourceLocation, TextureMapping> textureMappingGetter) private ResourceLocationBlockModelGenerators.createTurtleEggModel(int hatchAmount, String variantName, TextureMapping textureMapping) private ResourceLocationBlockModelGenerators.createTurtleEggModel(Integer eggAmount, Integer variantId) private ResourceLocationItemModelGenerators.getItemModelForTrimMaterial(ResourceLocation modelLocation, String trimId) private ResourceLocationBlockModelGenerators.BlockFamilyProvider.getOrCreateModel(ModelTemplate modelTemplate, Block block) Methods in net.minecraft.data.models that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate List<ResourceLocation> BlockModelGenerators.createFloorFireModels(Block fireBlock) private List<ResourceLocation> BlockModelGenerators.createSideFireModels(Block fireBlock) private List<ResourceLocation> BlockModelGenerators.createTopFireModels(Block fireBlock) Methods in net.minecraft.data.models with parameters of type ResourceLocationModifier and TypeMethodDescriptionBlockModelGenerators.blockEntityModels(ResourceLocation entityBlockModelLocation, Block particleBlock) private static PropertyDispatch.C4<Direction, DoubleBlockHalf, DoorHingeSide, Boolean> BlockModelGenerators.configureDoorHalf(PropertyDispatch.C4<Direction, DoubleBlockHalf, DoorHingeSide, Boolean> properties, DoubleBlockHalf half, ResourceLocation leftModelLocation, ResourceLocation leftOpenModelLocation, ResourceLocation rightModelLocation, ResourceLocation rightOpenModelLocation) BlockModelGenerators.BlockStateGeneratorSupplier.create(Block block, ResourceLocation modelLocation, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) private voidBlockModelGenerators.createAirLikeBlock(Block airLikeBlock, ResourceLocation particleTexture) (package private) static BlockStateGeneratorBlockModelGenerators.createAxisAlignedPillarBlock(Block axisAlignedPillarBlock, ResourceLocation modelLocation) private voidBlockModelGenerators.createAxisAlignedPillarBlockCustomModel(Block axisAlignedPillarBlock, ResourceLocation modelLocation) private static PropertyDispatchBlockModelGenerators.createBooleanModelDispatch(BooleanProperty property, ResourceLocation trueModelLocation, ResourceLocation falseModelLocation) (package private) static BlockStateGeneratorBlockModelGenerators.createButton(Block buttonBlock, ResourceLocation unpoweredModelLocation, ResourceLocation poweredModelLocation) private BlockStateGeneratorBlockModelGenerators.createCopperBulb(Block bulbBlock, ResourceLocation unlit, ResourceLocation unlitPowered, ResourceLocation lit, ResourceLocation litPowered) (package private) static BlockStateGeneratorBlockModelGenerators.createCustomFence(Block customFenceBlock, ResourceLocation postModelId, ResourceLocation northModelId, ResourceLocation eastModelId, ResourceLocation southModelId, ResourceLocation westModelId) private static BlockStateGeneratorBlockModelGenerators.createDoor(Block doorBlock, ResourceLocation topLeftModelLocation, ResourceLocation topLeftOpenModelLocation, ResourceLocation topRightModelLocation, ResourceLocation topRightOpenModelLocation, ResourceLocation bottomLeftModelLocation, ResourceLocation bottomLeftOpenModelLocation, ResourceLocation bottomRightModelLocation, ResourceLocation bottomRightOpenModelLocation) private voidBlockModelGenerators.createDoubleBlock(Block doubleBlock, ResourceLocation topHalfModelLocation, ResourceLocation bottomHalfModelLocation) private static <T extends Comparable<T>>
PropertyDispatchBlockModelGenerators.createEmptyOrFullDispatch(Property<T> property, T minimumValueForFullVariant, ResourceLocation fullVariantModelLocation, ResourceLocation emptyVariantModelLocation) (package private) static BlockStateGeneratorBlockModelGenerators.createFence(Block fenceBlock, ResourceLocation fencePostModelLocation, ResourceLocation fenceSideModelLocation) (package private) static BlockStateGeneratorBlockModelGenerators.createFenceGate(Block fenceGateBlock, ResourceLocation openModelLocation, ResourceLocation closedModelLocation, ResourceLocation wallOpenModelLocation, ResourceLocation wallClosedModelLocation, boolean uvLock) private voidBlockModelGenerators.createGrassLikeBlock(Block grassLikeBlock, ResourceLocation modelLocation, Variant variant) private static BlockStateGeneratorBlockModelGenerators.createMirroredColumnGenerator(Block columnBlock, ResourceLocation location, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) private static BlockStateGeneratorBlockModelGenerators.createMirroredCubeGenerator(Block cubeBlock, ResourceLocation location, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) private static BlockStateGeneratorBlockModelGenerators.createNorthWestMirroredCubeGenerator(Block cubeBlock, ResourceLocation location, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) private static BlockStateGeneratorBlockModelGenerators.createOrientableTrapdoor(Block orientableTrapdoorBlock, ResourceLocation topModelLocation, ResourceLocation bottomModelLocation, ResourceLocation openModelLocation) private voidBlockModelGenerators.createPistonVariant(Block pistonBlock, ResourceLocation baseModelLocation, TextureMapping topTextureMapping) (package private) static BlockStateGeneratorBlockModelGenerators.createPressurePlate(Block pressurePlateBlock, ResourceLocation unpoweredModelLocation, ResourceLocation poweredModelLocation) (package private) static BlockStateGeneratorBlockModelGenerators.createRotatedPillarWithHorizontalVariant(Block rotatedPillarBlock, ResourceLocation modelLocation, ResourceLocation horizontalModelLocation) private static MultiVariantGeneratorBlockModelGenerators.createRotatedVariant(Block block, ResourceLocation modelLocation) private static MultiVariantGeneratorBlockModelGenerators.createRotatedVariant(Block block, ResourceLocation normalModelLocation, ResourceLocation mirroredModelLocation) private static Variant[]BlockModelGenerators.createRotatedVariants(ResourceLocation modelLocation) (package private) static MultiVariantGeneratorBlockModelGenerators.createSimpleBlock(Block block, ResourceLocation modelLocation) (package private) static BlockStateGeneratorBlockModelGenerators.createSlab(Block slabBlock, ResourceLocation bottomHalfModelLocation, ResourceLocation topHalfModelLocation, ResourceLocation doubleModelLocation) (package private) static BlockStateGeneratorBlockModelGenerators.createStairs(Block stairsBlock, ResourceLocation innerModelLocation, ResourceLocation straightModelLocation, ResourceLocation outerModelLocation) private static BlockStateGeneratorBlockModelGenerators.createTrapdoor(Block trapdoorBlock, ResourceLocation topModelLocation, ResourceLocation bottomModelLocation, ResourceLocation openModelLocation) (package private) static BlockStateGeneratorBlockModelGenerators.createWall(Block wallBlock, ResourceLocation postModelLocation, ResourceLocation lowSideModelLocation, ResourceLocation tallSideModelLocation) private voidBlockModelGenerators.delegateItemModel(Item item, ResourceLocation delegateModelLocation) (package private) voidBlockModelGenerators.delegateItemModel(Block block, ResourceLocation delegateModelLocation) private com.google.gson.JsonObjectItemModelGenerators.generateBaseArmorTrimTemplate(ResourceLocation modelLocation, Map<TextureSlot, ResourceLocation> modelGetter, Holder<ArmorMaterial> armorMaterial) private voidItemModelGenerators.generateLayeredItem(ResourceLocation modelLocation, ResourceLocation layer0, ResourceLocation layer1) private voidItemModelGenerators.generateLayeredItem(ResourceLocation modelLocation, ResourceLocation layer0, ResourceLocation layer1, ResourceLocation layer2) private ResourceLocationItemModelGenerators.getItemModelForTrimMaterial(ResourceLocation modelLocation, String trimId) Method parameters in net.minecraft.data.models with type arguments of type ResourceLocationModifier and TypeMethodDescriptionBlockModelGenerators.BlockStateGeneratorSupplier.create(Block block, ResourceLocation modelLocation, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) private static BlockStateGeneratorBlockModelGenerators.createMirroredColumnGenerator(Block columnBlock, ResourceLocation location, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) private static BlockStateGeneratorBlockModelGenerators.createMirroredCubeGenerator(Block cubeBlock, ResourceLocation location, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) private static BlockStateGeneratorBlockModelGenerators.createNorthWestMirroredCubeGenerator(Block cubeBlock, ResourceLocation location, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) (package private) static BlockStateGeneratorBlockModelGenerators.createPillarBlockUVLocked(Block block, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) private ResourceLocationBlockModelGenerators.createSuffixedVariant(Block block, String suffix, ModelTemplate modelTemplate, Function<ResourceLocation, TextureMapping> textureMappingGetter) private com.google.gson.JsonObjectItemModelGenerators.generateBaseArmorTrimTemplate(ResourceLocation modelLocation, Map<TextureSlot, ResourceLocation> modelGetter, Holder<ArmorMaterial> armorMaterial) BlockModelGenerators.wrapModels(List<ResourceLocation> modelLocations, UnaryOperator<Variant> variantMapper) Constructors in net.minecraft.data.models with parameters of type ResourceLocationModifierConstructorDescriptionBlockEntityModelGenerator(ResourceLocation baseModel, Block particleBlock) Constructor parameters in net.minecraft.data.models with type arguments of type ResourceLocationModifierConstructorDescriptionBlockModelGenerators(Consumer<BlockStateGenerator> blockStateOutput, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput, Consumer<Item> skippedAutoModelsOutput) ItemModelGenerators(BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> output) -
Uses of ResourceLocation in net.minecraft.data.models.blockstates
Fields in net.minecraft.data.models.blockstates with type parameters of type ResourceLocationModifier and TypeFieldDescriptionstatic final VariantProperty<ResourceLocation> VariantProperties.MODEL -
Uses of ResourceLocation in net.minecraft.data.models.model
Fields in net.minecraft.data.models.model declared as ResourceLocationFields in net.minecraft.data.models.model with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Optional<ResourceLocation> ModelTemplate.modelprivate final Map<TextureSlot, ResourceLocation> TextureMapping.slotsMethods in net.minecraft.data.models.model that return ResourceLocationModifier and TypeMethodDescriptionModelTemplate.create(ResourceLocation modelLocation, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) ModelTemplate.create(ResourceLocation modelLocation, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput, ModelTemplate.JsonFactory factory) ModelTemplate.create(Block modelBlock, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) TexturedModel.create(Block modelBlock, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) default ResourceLocationTexturedModel.Provider.create(Block modelBlock, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) ModelTemplate.createWithOverride(Block modelBlock, String modelLocationSuffix, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) ModelTemplate.createWithSuffix(Block modelBlock, String modelLocationSuffix, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) TexturedModel.createWithSuffix(Block modelBlock, String modelLocationSuffix, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) default ResourceLocationTexturedModel.Provider.createWithSuffix(Block modelBlock, String modelLocationSuffix, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) static ResourceLocationModelLocationUtils.decorateBlockModelLocation(String blockModelLocation) Deprecated.static ResourceLocationModelLocationUtils.decorateItemModelLocation(String itemModelLocation) TextureMapping.get(TextureSlot textureSlot) static ResourceLocationTextureMapping.getBlockTexture(Block block) static ResourceLocationTextureMapping.getBlockTexture(Block block, String textureSuffix) ModelTemplate.getDefaultModelLocation(Block block) static ResourceLocationTextureMapping.getItemTexture(Item item) static ResourceLocationTextureMapping.getItemTexture(Item item, String textureSuffix) static ResourceLocationModelLocationUtils.getModelLocation(Item item) static ResourceLocationModelLocationUtils.getModelLocation(Item item, String modelLocationSuffix) static ResourceLocationModelLocationUtils.getModelLocation(Block block) static ResourceLocationModelLocationUtils.getModelLocation(Block block, String modelLocationSuffix) Methods in net.minecraft.data.models.model that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate Map<TextureSlot, ResourceLocation> ModelTemplate.createMap(TextureMapping textureMapping) Methods in net.minecraft.data.models.model with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic TextureMappingTextureMapping.cauldron(ResourceLocation cauldronContentTextureLocation) static TextureMappingTextureMapping.column(ResourceLocation sideTextureLocation, ResourceLocation endTextureLocation) TextureMapping.copyAndUpdate(TextureSlot textureSlot, ResourceLocation textureLocation) ModelTemplate.create(ResourceLocation modelLocation, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) ModelTemplate.create(ResourceLocation modelLocation, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput, ModelTemplate.JsonFactory factory) com.google.gson.JsonObjectModelTemplate.JsonFactory.create(ResourceLocation modelLocation, Map<TextureSlot, ResourceLocation> modelGetter) static TexturedModelTexturedModel.createAllSame(ResourceLocation allTextureLocation) com.google.gson.JsonObjectModelTemplate.createBaseTemplate(ResourceLocation modelLocation, Map<TextureSlot, ResourceLocation> modelGetter) static TextureMappingTextureMapping.crop(ResourceLocation cropTextureLocation) static TextureMappingTextureMapping.cross(ResourceLocation crossTextureLocation) static TextureMappingTextureMapping.cube(ResourceLocation allTextureLocation) static TextureMappingTextureMapping.defaultTexture(ResourceLocation textureLocation) static TextureMappingTextureMapping.door(ResourceLocation topTextureLocation, ResourceLocation bottomTextureLocation) static TextureMappingTextureMapping.layer0(ResourceLocation layerZeroTextureLocation) static TextureMappingTextureMapping.layered(ResourceLocation layer0, ResourceLocation layer1) static TextureMappingTextureMapping.layered(ResourceLocation layer0, ResourceLocation layer1, ResourceLocation layer2) static TextureMappingTextureMapping.particle(ResourceLocation textureLocation) static TextureMappingTextureMapping.plant(ResourceLocation plantTextureLocation) TextureMapping.put(TextureSlot textureSlot, ResourceLocation textureLocation) TextureMapping.putForced(TextureSlot textureSlot, ResourceLocation textureLocation) static TextureMappingTextureMapping.rail(ResourceLocation railTextureLocation) static TextureMappingTextureMapping.singleSlot(TextureSlot textureSlot, ResourceLocation textureLocation) static TextureMappingTextureMapping.torch(ResourceLocation torchTextureLocation) static TextureMappingTextureMapping.wool(ResourceLocation woolTextureLocation) Method parameters in net.minecraft.data.models.model with type arguments of type ResourceLocationModifier and TypeMethodDescriptionModelTemplate.create(ResourceLocation modelLocation, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) ModelTemplate.create(ResourceLocation modelLocation, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput, ModelTemplate.JsonFactory factory) ModelTemplate.create(Block modelBlock, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) com.google.gson.JsonObjectModelTemplate.JsonFactory.create(ResourceLocation modelLocation, Map<TextureSlot, ResourceLocation> modelGetter) TexturedModel.create(Block modelBlock, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) default ResourceLocationTexturedModel.Provider.create(Block modelBlock, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) com.google.gson.JsonObjectModelTemplate.createBaseTemplate(ResourceLocation modelLocation, Map<TextureSlot, ResourceLocation> modelGetter) ModelTemplate.createWithOverride(Block modelBlock, String modelLocationSuffix, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) ModelTemplate.createWithSuffix(Block modelBlock, String modelLocationSuffix, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) TexturedModel.createWithSuffix(Block modelBlock, String modelLocationSuffix, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) default ResourceLocationTexturedModel.Provider.createWithSuffix(Block modelBlock, String modelLocationSuffix, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) Constructors in net.minecraft.data.models.model with parameters of type ResourceLocationConstructor parameters in net.minecraft.data.models.model with type arguments of type ResourceLocationModifierConstructorDescriptionModelTemplate(Optional<ResourceLocation> model, Optional<String> suffix, TextureSlot... requiredSlots) -
Uses of ResourceLocation in net.minecraft.data.recipes
Fields in net.minecraft.data.recipes declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocationRecipeBuilder.ROOT_RECIPE_ADVANCEMENTMethods in net.minecraft.data.recipes that return ResourceLocationModifier and TypeMethodDescriptionstatic ResourceLocationRecipeBuilder.getDefaultRecipeId(ItemLike itemLike) Methods in net.minecraft.data.recipes with parameters of type ResourceLocationModifier and TypeMethodDescriptiondefault voidRecipeOutput.accept(ResourceLocation location, Recipe<?> recipe, AdvancementHolder advancement) private ShapedRecipePatternShapedRecipeBuilder.ensureValid(ResourceLocation loaction) private voidShapelessRecipeBuilder.ensureValid(ResourceLocation id) Makes sure that this recipe is valid and obtainable.private voidSimpleCookingRecipeBuilder.ensureValid(ResourceLocation id) Makes sure that this obtainable.private voidSingleItemRecipeBuilder.ensureValid(ResourceLocation id) private voidSmithingTransformRecipeBuilder.ensureValid(ResourceLocation location) private voidSmithingTrimRecipeBuilder.ensureValid(ResourceLocation location) voidRecipeBuilder.save(RecipeOutput recipeOutput, ResourceLocation id) voidShapedRecipeBuilder.save(RecipeOutput recipeOutput, ResourceLocation id) voidShapelessRecipeBuilder.save(RecipeOutput recipeOutput, ResourceLocation id) voidSimpleCookingRecipeBuilder.save(RecipeOutput recipeOutput, ResourceLocation id) voidSingleItemRecipeBuilder.save(RecipeOutput recipeOutput, ResourceLocation id) voidSmithingTransformRecipeBuilder.save(RecipeOutput recipeOutput, ResourceLocation recipeId) voidSmithingTrimRecipeBuilder.save(RecipeOutput recipeOutput, ResourceLocation recipeId) voidSpecialRecipeBuilder.save(RecipeOutput recipeOutput, ResourceLocation recipeId) protected static voidRecipeProvider.trimSmithing(RecipeOutput recipeOutput, Item ingredientItem, ResourceLocation location) -
Uses of ResourceLocation in net.minecraft.data.recipes.packs
Fields in net.minecraft.data.recipes.packs declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationVanillaRecipeProvider.TrimTemplate.idThe field for theidrecord component.Methods in net.minecraft.data.recipes.packs that return ResourceLocationModifier and TypeMethodDescriptionVanillaRecipeProvider.TrimTemplate.id()Returns the value of theidrecord component.Constructors in net.minecraft.data.recipes.packs with parameters of type ResourceLocationModifierConstructorDescriptionTrimTemplate(Item template, ResourceLocation id) Creates an instance of aTrimTemplaterecord class. -
Uses of ResourceLocation in net.minecraft.data.tags
Fields in net.minecraft.data.tags with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprotected final Map<ResourceLocation, TagBuilder> TagsProvider.buildersMethods in net.minecraft.data.tags with parameters of type ResourceLocationModifier and TypeMethodDescriptionTagsProvider.TagAppender.addOptional(ResourceLocation location) TagsProvider.TagAppender.addOptionalTag(ResourceLocation location) protected @Nullable PathTagsProvider.getPath(ResourceLocation id) -
Uses of ResourceLocation in net.minecraft.network
Methods in net.minecraft.network that return ResourceLocationMethods in net.minecraft.network with parameters of type ResourceLocationModifier and TypeMethodDescriptionFriendlyByteBuf.writeResourceLocation(ResourceLocation resourceLocation) Write a ResourceLocation using its String representation. -
Uses of ResourceLocation in net.minecraft.network.chat
Fields in net.minecraft.network.chat declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocationStyle.DEFAULT_FONT(package private) final ResourceLocationStyle.fontMethods in net.minecraft.network.chat that return ResourceLocationMethods in net.minecraft.network.chat with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic ComponentComponent.translationArg(ResourceLocation location) Style.withFont(ResourceLocation fontId) Constructors in net.minecraft.network.chat with parameters of type ResourceLocationModifierConstructorDescriptionprivateStyle(TextColor color, Boolean bold, Boolean italic, Boolean underlined, Boolean strikethrough, Boolean obfuscated, ClickEvent clickEvent, HoverEvent hoverEvent, String insertion, ResourceLocation font) -
Uses of ResourceLocation in net.minecraft.network.chat.contents
Fields in net.minecraft.network.chat.contents declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationStorageDataSource.idThe field for theidrecord component.Methods in net.minecraft.network.chat.contents that return ResourceLocationModifier and TypeMethodDescriptionStorageDataSource.id()Returns the value of theidrecord component.Constructors in net.minecraft.network.chat.contents with parameters of type ResourceLocationModifierConstructorDescriptionCreates an instance of aStorageDataSourcerecord class. -
Uses of ResourceLocation in net.minecraft.network.protocol
Fields in net.minecraft.network.protocol declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationPacketType.idThe field for theidrecord component.Methods in net.minecraft.network.protocol that return ResourceLocationConstructors in net.minecraft.network.protocol with parameters of type ResourceLocationModifierConstructorDescriptionPacketType(PacketFlow flow, ResourceLocation id) Creates an instance of aPacketTyperecord class. -
Uses of ResourceLocation in net.minecraft.network.protocol.common
Fields in net.minecraft.network.protocol.common declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationClientboundStoreCookiePacket.keyThe field for thekeyrecord component.Methods in net.minecraft.network.protocol.common that return ResourceLocationModifier and TypeMethodDescriptionClientboundStoreCookiePacket.key()Returns the value of thekeyrecord component.Constructors in net.minecraft.network.protocol.common with parameters of type ResourceLocationModifierConstructorDescriptionClientboundStoreCookiePacket(ResourceLocation key, byte[] payload) Creates an instance of aClientboundStoreCookiePacketrecord class. -
Uses of ResourceLocation in net.minecraft.network.protocol.common.custom
Fields in net.minecraft.network.protocol.common.custom declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationCustomPacketPayload.Type.idThe field for theidrecord component.private final ResourceLocationDiscardedPayload.idThe field for theidrecord component.Methods in net.minecraft.network.protocol.common.custom that return ResourceLocationModifier and TypeMethodDescriptionCustomPacketPayload.Type.id()Returns the value of theidrecord component.DiscardedPayload.id()Returns the value of theidrecord component.Methods in net.minecraft.network.protocol.common.custom with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic <T extends FriendlyByteBuf>
StreamCodec<T, DiscardedPayload> DiscardedPayload.codec(ResourceLocation id, int maxSize) StreamCodec<B, ? extends CustomPacketPayload> CustomPacketPayload.FallbackProvider.create(ResourceLocation id) Constructors in net.minecraft.network.protocol.common.custom with parameters of type ResourceLocationModifierConstructorDescriptionCreates an instance of aDiscardedPayloadrecord class.Type(ResourceLocation id) Creates an instance of aTyperecord class. -
Uses of ResourceLocation in net.minecraft.network.protocol.configuration
Fields in net.minecraft.network.protocol.configuration with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Set<ResourceLocation> ClientboundUpdateEnabledFeaturesPacket.featuresThe field for thefeaturesrecord component.Methods in net.minecraft.network.protocol.configuration that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionClientboundUpdateEnabledFeaturesPacket.features()Returns the value of thefeaturesrecord component.Constructor parameters in net.minecraft.network.protocol.configuration with type arguments of type ResourceLocationModifierConstructorDescriptionCreates an instance of aClientboundUpdateEnabledFeaturesPacketrecord class. -
Uses of ResourceLocation in net.minecraft.network.protocol.cookie
Fields in net.minecraft.network.protocol.cookie declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationClientboundCookieRequestPacket.keyThe field for thekeyrecord component.private final ResourceLocationServerboundCookieResponsePacket.keyThe field for thekeyrecord component.Methods in net.minecraft.network.protocol.cookie that return ResourceLocationModifier and TypeMethodDescriptionClientboundCookieRequestPacket.key()Returns the value of thekeyrecord component.ServerboundCookieResponsePacket.key()Returns the value of thekeyrecord component.Constructors in net.minecraft.network.protocol.cookie with parameters of type ResourceLocationModifierConstructorDescriptionCreates an instance of aClientboundCookieRequestPacketrecord class.ServerboundCookieResponsePacket(ResourceLocation key, byte[] payload) Creates an instance of aServerboundCookieResponsePacketrecord class. -
Uses of ResourceLocation in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationClientboundStopSoundPacket.nameprivate final ResourceLocationServerboundSetJigsawBlockPacket.nameprivate final ResourceLocationServerboundSetJigsawBlockPacket.poolprivate final ResourceLocationClientboundPlaceGhostRecipePacket.recipeprivate final ResourceLocationServerboundPlaceRecipePacket.recipeprivate final ResourceLocationServerboundRecipeBookSeenRecipePacket.recipeprivate final ResourceLocationClientboundCommandsPacket.ArgumentNodeStub.suggestionIdprivate final ResourceLocationClientboundSelectAdvancementsTabPacket.tabprivate final ResourceLocationServerboundSeenAdvancementsPacket.tabprivate final ResourceLocationServerboundSetJigsawBlockPacket.targetFields in net.minecraft.network.protocol.game with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, AdvancementProgress> ClientboundUpdateAdvancementsPacket.progressprivate final List<ResourceLocation> ClientboundRecipePacket.recipesprivate final Set<ResourceLocation> ClientboundUpdateAdvancementsPacket.removedprivate final List<ResourceLocation> ClientboundRecipePacket.toHighlightMethods in net.minecraft.network.protocol.game that return ResourceLocationModifier and TypeMethodDescriptionClientboundStopSoundPacket.getName()ServerboundSetJigsawBlockPacket.getName()ServerboundSetJigsawBlockPacket.getPool()ClientboundPlaceGhostRecipePacket.getRecipe()ServerboundPlaceRecipePacket.getRecipe()ServerboundRecipeBookSeenRecipePacket.getRecipe()private static ResourceLocationClientboundCommandsPacket.ArgumentNodeStub.getSuggestionId(com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> provider) ClientboundSelectAdvancementsTabPacket.getTab()ServerboundSeenAdvancementsPacket.getTab()ServerboundSetJigsawBlockPacket.getTarget()Methods in net.minecraft.network.protocol.game that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionClientboundRecipePacket.getHighlights()ClientboundUpdateAdvancementsPacket.getProgress()ClientboundRecipePacket.getRecipes()ClientboundUpdateAdvancementsPacket.getRemoved()Constructors in net.minecraft.network.protocol.game with parameters of type ResourceLocationModifierConstructorDescription(package private)ArgumentNodeStub(String id, ArgumentTypeInfo.Template<?> argumentType, ResourceLocation suggestionId) ClientboundStopSoundPacket(ResourceLocation name, SoundSource source) ServerboundSeenAdvancementsPacket(ServerboundSeenAdvancementsPacket.Action action, ResourceLocation tab) ServerboundSetJigsawBlockPacket(BlockPos pos, ResourceLocation name, ResourceLocation target, ResourceLocation pool, String finalState, JigsawBlockEntity.JointType joint, int selectionPriority, int placementPriority) Constructor parameters in net.minecraft.network.protocol.game with type arguments of type ResourceLocationModifierConstructorDescriptionClientboundRecipePacket(ClientboundRecipePacket.State state, Collection<ResourceLocation> recipes, Collection<ResourceLocation> toHighlight, RecipeBookSettings bookSettings) ClientboundUpdateAdvancementsPacket(boolean reset, Collection<AdvancementHolder> added, Set<ResourceLocation> removed, Map<ResourceLocation, AdvancementProgress> progress) ClientboundUpdateAdvancementsPacket(boolean reset, Collection<AdvancementHolder> added, Set<ResourceLocation> removed, Map<ResourceLocation, AdvancementProgress> progress) -
Uses of ResourceLocation in net.minecraft.network.protocol.login
Methods in net.minecraft.network.protocol.login with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static CustomQueryPayloadClientboundCustomQueryPacket.readPayload(ResourceLocation id, FriendlyByteBuf buffer) private static DiscardedQueryPayloadClientboundCustomQueryPacket.readUnknownPayload(ResourceLocation id, FriendlyByteBuf buffer) -
Uses of ResourceLocation in net.minecraft.network.protocol.login.custom
Fields in net.minecraft.network.protocol.login.custom declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationDiscardedQueryPayload.idThe field for theidrecord component.Methods in net.minecraft.network.protocol.login.custom that return ResourceLocationModifier and TypeMethodDescriptionCustomQueryPayload.id()DiscardedQueryPayload.id()Returns the value of theidrecord component.Constructors in net.minecraft.network.protocol.login.custom with parameters of type ResourceLocationModifierConstructorDescriptionCreates an instance of aDiscardedQueryPayloadrecord class. -
Uses of ResourceLocation in net.minecraft.resources
Fields in net.minecraft.resources declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationResourceKey.InternKey.locationThe field for thelocationrecord component.private final ResourceLocationResourceKey.locationThe location of the resource within the registry.private final ResourceLocationResourceKey.InternKey.registryThe field for theregistryrecord component.private final ResourceLocationResourceKey.registryNameThe name of the parent registry of the resource.Fields in net.minecraft.resources with type parameters of type ResourceLocationModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ResourceLocation> ResourceLocation.CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ResourceLocation> ResourceLocation.STREAM_CODECMethods in net.minecraft.resources that return ResourceLocationModifier and TypeMethodDescriptionstatic ResourceLocationResourceLocation.bySeparator(String location, char seperator) private static ResourceLocationResourceLocation.createUntrusted(String namespace, String path) ResourceLocation.Serializer.deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) FileToIdConverter.fileToId(ResourceLocation file) static ResourceLocationResourceLocation.fromNamespaceAndPath(String namespace, String path) FileToIdConverter.idToFile(ResourceLocation id) ResourceKey.InternKey.location()Returns the value of thelocationrecord component.ResourceKey.location()static ResourceLocationstatic ResourceLocationResourceLocation.read(com.mojang.brigadier.StringReader reader) static ResourceLocationResourceLocation.readNonEmpty(com.mojang.brigadier.StringReader reader) ResourceKey.InternKey.registry()Returns the value of theregistryrecord component.ResourceKey.registry()static ResourceLocationstatic ResourceLocationResourceLocation.tryBySeparator(String location, char seperator) static ResourceLocationAttempts to parse the specifiedlocationas aResourceLocationby splitting it into a namespace and path by a colon.static ResourceLocationResourceLocation.withDefaultNamespace(String location) ResourceLocation.withPath(UnaryOperator<String> pathOperator) ResourceLocation.withPrefix(String pathPrefix) ResourceLocation.withSuffix(String pathSuffix) Methods in net.minecraft.resources that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionFileToIdConverter.listMatchingResources(ResourceManager resourceManager) FileToIdConverter.listMatchingResourcesFromNamespace(ResourceManager manager, String namespace) List all resources under the given namespace which match this converterFileToIdConverter.listMatchingResourceStacks(ResourceManager resourceManager) FileToIdConverter.listMatchingResourceStacksFromNamespace(ResourceManager manager, String namespace) List all resource stacks under the given namespace which match this converterstatic com.mojang.serialization.DataResult<ResourceLocation> Methods in net.minecraft.resources with parameters of type ResourceLocationModifier and TypeMethodDescriptionintResourceLocation.compareNamespaced(ResourceLocation o) intResourceLocation.compareTo(ResourceLocation other) static <T> ResourceKey<T> ResourceKey.create(ResourceKey<? extends Registry<T>> registryKey, ResourceLocation location) Constructs a newResourceKeyfor a resource with the specifiedlocationwithin the registry specified by the givenregistryKey.private static <T> ResourceKey<T> ResourceKey.create(ResourceLocation registryName, ResourceLocation location) static <T> ResourceKey<Registry<T>> ResourceKey.createRegistryKey(ResourceLocation location) FileToIdConverter.fileToId(ResourceLocation file) FileToIdConverter.idToFile(ResourceLocation id) com.google.gson.JsonElementResourceLocation.Serializer.serialize(ResourceLocation src, Type typeOfSrc, com.google.gson.JsonSerializationContext context) Constructors in net.minecraft.resources with parameters of type ResourceLocationModifierConstructorDescription(package private)InternKey(ResourceLocation registry, ResourceLocation location) Creates an instance of aInternKeyrecord class.privateResourceKey(ResourceLocation registryName, ResourceLocation location) -
Uses of ResourceLocation in net.minecraft.server
Fields in net.minecraft.server declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationServerFunctionManager.LOAD_FUNCTION_TAGprivate static final ResourceLocationServerFunctionManager.TICK_FUNCTION_TAGFields in net.minecraft.server with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate Map<ResourceLocation, AdvancementHolder> ServerAdvancementManager.advancementsprivate Map<ResourceLocation, CommandFunction<CommandSourceStack>> ServerFunctionLibrary.functionsprivate final Map<ResourceLocation, AdvancementProgress> PlayerAdvancements.Data.mapThe field for themaprecord component.ServerFunctionLibrary.tagsMethods in net.minecraft.server that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionServerFunctionLibrary.getAvailableTags()ServerFunctionManager.getFunctionNames()ServerFunctionLibrary.getFunctions()ReloadableServerRegistries.Holder.getKeys(ResourceKey<? extends Registry<?>> registryKey) ServerFunctionManager.getTagNames()PlayerAdvancements.Data.map()Returns the value of themaprecord component.Methods in net.minecraft.server with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate voidServerFunctionManager.executeTagFunctions(Collection<CommandFunction<CommandSourceStack>> functionObjects, ResourceLocation identifier) ServerAdvancementManager.get(ResourceLocation location) ServerFunctionManager.get(ResourceLocation functionIdentifier) ServerFunctionLibrary.getFunction(ResourceLocation location) ServerFunctionLibrary.getTag(ResourceLocation location) ServerFunctionManager.getTag(ResourceLocation functionTagIdentifier) private voidServerAdvancementManager.validate(ResourceLocation location, Advancement advancement) Method parameters in net.minecraft.server with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprotected voidServerAdvancementManager.apply(Map<ResourceLocation, com.google.gson.JsonElement> object, ResourceManager resourceManager, ProfilerFiller profiler) voidPlayerAdvancements.Data.forEach(BiConsumer<ResourceLocation, AdvancementProgress> action) Constructor parameters in net.minecraft.server with type arguments of type ResourceLocationModifierConstructorDescription(package private)Creates an instance of aDatarecord class. -
Uses of ResourceLocation in net.minecraft.server.bossevents
Fields in net.minecraft.server.bossevents declared as ResourceLocationFields in net.minecraft.server.bossevents with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, CustomBossEvent> CustomBossEvents.eventsMethods in net.minecraft.server.bossevents that return ResourceLocationMethods in net.minecraft.server.bossevents that return types with arguments of type ResourceLocationMethods in net.minecraft.server.bossevents with parameters of type ResourceLocationModifier and TypeMethodDescriptionCustomBossEvents.create(ResourceLocation id, Component name) CustomBossEvents.get(ResourceLocation id) static CustomBossEventCustomBossEvent.load(CompoundTag p_tag, ResourceLocation id, HolderLookup.Provider levelRegistry) Constructors in net.minecraft.server.bossevents with parameters of type ResourceLocation -
Uses of ResourceLocation in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static intAttributeCommand.addModifier(CommandSourceStack source, Entity entity, Holder<Attribute> attribute, ResourceLocation id, double amount, AttributeModifier.Operation operation) private static intBossBarCommands.createBar(CommandSourceStack source, ResourceLocation id, Component displayName) private static <T extends ExecutionCommandSource<T>>
CommandResultCallbackFunctionCommand.decorateOutputIfNeeded(T source, FunctionCommand.Callbacks<T> callbacks, ResourceLocation function, CommandResultCallback resultCallback) private static intAttributeCommand.getAttributeModifier(CommandSourceStack source, Entity entity, Holder<Attribute> attribute, ResourceLocation id, double scale) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.instantiateAndQueueFunctions(CompoundTag arguments, ExecutionControl<T> executionControl, com.mojang.brigadier.CommandDispatcher<T> dispatcher, T source, CommandFunction<T> function, ResourceLocation functionId, CommandResultCallback resultCallback, boolean returnParentFrame) voidDebugCommand.Tracer.onCall(int depth, ResourceLocation function, int commands) static intPlaceCommand.placeJigsaw(CommandSourceStack source, Holder<StructureTemplatePool> templatePool, ResourceLocation target, int maxDepth, BlockPos pos) static intPlaceCommand.placeTemplate(CommandSourceStack source, ResourceLocation template, BlockPos pos, Rotation rotation, Mirror mirror, float integrity, int seed) private static intPlaySoundCommand.playSound(CommandSourceStack source, Collection<ServerPlayer> targets, ResourceLocation sound, SoundSource category, Vec3 pos, float volume, float pitch, float minVolume) private static intRandomCommand.randomSample(CommandSourceStack source, MinMaxBounds.Ints range, ResourceLocation sequence, boolean displayResult) private static intAttributeCommand.removeModifier(CommandSourceStack source, Entity entity, Holder<Attribute> attribute, ResourceLocation id) private static intRandomCommand.resetSequence(CommandSourceStack source, ResourceLocation sequence) private static intRandomCommand.resetSequence(CommandSourceStack source, ResourceLocation sequence, int seed, boolean includeWorldSeed, boolean includeSequenceId) voidFunctionCommand.Callbacks.signalResult(T source, ResourceLocation function, int commands) private static intStopSoundCommand.stopSound(CommandSourceStack source, Collection<ServerPlayer> targets, SoundSource category, ResourceLocation sound) Method parameters in net.minecraft.server.commands with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static intScheduleCommand.schedule(CommandSourceStack source, com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> function, int time, boolean append) -
Uses of ResourceLocation in net.minecraft.server.commands.data
Fields in net.minecraft.server.commands.data declared as ResourceLocationConstructors in net.minecraft.server.commands.data with parameters of type ResourceLocationModifierConstructorDescription(package private)StorageDataAccessor(CommandStorage storage, ResourceLocation id) -
Uses of ResourceLocation in net.minecraft.server.level
Fields in net.minecraft.server.level declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationWorldGenRegion.WORLDGEN_REGION_RANDOMMethods in net.minecraft.server.level with parameters of type ResourceLocationMethod parameters in net.minecraft.server.level with type arguments of type ResourceLocationModifier and TypeMethodDescriptionvoidServerPlayer.awardRecipesByKey(List<ResourceLocation> recipes) -
Uses of ResourceLocation in net.minecraft.server.network
Constructors in net.minecraft.server.network with parameters of type ResourceLocation -
Uses of ResourceLocation in net.minecraft.server.packs
Methods in net.minecraft.server.packs with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static StringFilePackResources.getPathFromLocation(PackType packType, ResourceLocation location) CompositePackResources.getResource(PackType packType, ResourceLocation location) FilePackResources.getResource(PackType packType, ResourceLocation location) PackResources.getResource(PackType packType, ResourceLocation location) static IoSupplier<InputStream> PathPackResources.getResource(ResourceLocation location, Path p_path) PathPackResources.getResource(PackType packType, ResourceLocation location) VanillaPackResources.getResource(PackType packType, ResourceLocation location) voidVanillaPackResources.listRawPaths(PackType packType, ResourceLocation packLocation, Consumer<Path> output) -
Uses of ResourceLocation in net.minecraft.server.packs.repository
Fields in net.minecraft.server.packs.repository declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationBuiltInPackSource.packDirprivate static final ResourceLocationServerPacksSource.PACKS_DIRConstructors in net.minecraft.server.packs.repository with parameters of type ResourceLocationModifierConstructorDescriptionBuiltInPackSource(PackType packType, VanillaPackResources vanillaPack, ResourceLocation packDir, DirectoryValidator validator) -
Uses of ResourceLocation in net.minecraft.server.packs.resources
Fields in net.minecraft.server.packs.resources declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationFallbackResourceManager.EntryStack.fileLocationThe field for thefileLocationrecord component.private final ResourceLocationFallbackResourceManager.EntryStack.metadataLocationThe field for themetadataLocationrecord component.Fields in net.minecraft.server.packs.resources with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Predicate<ResourceLocation> FallbackResourceManager.PackEntry.filterThe field for thefilterrecord component.Methods in net.minecraft.server.packs.resources that return ResourceLocationModifier and TypeMethodDescriptionFallbackResourceManager.EntryStack.fileLocation()Returns the value of thefileLocationrecord component.(package private) static ResourceLocationFallbackResourceManager.getMetadataLocation(ResourceLocation location) protected ResourceLocationSimpleJsonResourceReloadListener.getPreparedPath(ResourceLocation rl) private static ResourceLocationFallbackResourceManager.getResourceLocationFromMetadata(ResourceLocation metadataResourceLocation) FallbackResourceManager.EntryStack.metadataLocation()Returns the value of themetadataLocationrecord component.Methods in net.minecraft.server.packs.resources that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionFallbackResourceManager.PackEntry.filter()Returns the value of thefilterrecord component.FallbackResourceManager.listResources(String path, Predicate<ResourceLocation> filter) MultiPackResourceManager.listResources(String path, Predicate<ResourceLocation> filter) ReloadableResourceManager.listResources(String path, Predicate<ResourceLocation> filter) ResourceManager.Empty.listResources(String p_215570_, Predicate<ResourceLocation> p_215571_) ResourceManager.listResources(String path, Predicate<ResourceLocation> filter) FallbackResourceManager.listResourceStacks(String path, Predicate<ResourceLocation> filter) MultiPackResourceManager.listResourceStacks(String path, Predicate<ResourceLocation> filter) ReloadableResourceManager.listResourceStacks(String path, Predicate<ResourceLocation> filter) ResourceManager.Empty.listResourceStacks(String p_215573_, Predicate<ResourceLocation> p_215574_) ResourceManager.listResourceStacks(String path, Predicate<ResourceLocation> filter) protected Map<ResourceLocation, com.google.gson.JsonElement> SimpleJsonResourceReloadListener.prepare(ResourceManager resourceManager, ProfilerFiller profiler) Performs any reloading that can be done off-thread, such as file IOMethods in net.minecraft.server.packs.resources with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceFallbackResourceManager.createResource(PackResources source, ResourceLocation location, IoSupplier<InputStream> streamSupplier, IoSupplier<ResourceMetadata> metadataSupplier) private IoSupplier<ResourceMetadata> FallbackResourceManager.createStackMetadataFinder(ResourceLocation location, int fallbackIndex) (package private) static ResourceLocationFallbackResourceManager.getMetadataLocation(ResourceLocation location) protected ResourceLocationSimpleJsonResourceReloadListener.getPreparedPath(ResourceLocation rl) FallbackResourceManager.getResource(ResourceLocation location) MultiPackResourceManager.getResource(ResourceLocation location) ReloadableResourceManager.getResource(ResourceLocation location) ResourceManager.Empty.getResource(ResourceLocation p_215576_) ResourceProvider.getResource(ResourceLocation location) private static ResourceLocationFallbackResourceManager.getResourceLocationFromMetadata(ResourceLocation metadataResourceLocation) default ResourceResourceProvider.getResourceOrThrow(ResourceLocation location) FallbackResourceManager.getResourceStack(ResourceLocation location) MultiPackResourceManager.getResourceStack(ResourceLocation location) ReloadableResourceManager.getResourceStack(ResourceLocation location) ResourceManager.Empty.getResourceStack(ResourceLocation p_215568_) ResourceManager.getResourceStack(ResourceLocation location) booleanFallbackResourceManager.PackEntry.isFiltered(ResourceLocation location) private static booleanFallbackResourceManager.isMetadata(ResourceLocation location) default InputStreamResourceProvider.open(ResourceLocation location) default BufferedReaderResourceProvider.openAsReader(ResourceLocation location) private static IoSupplier<InputStream> FallbackResourceManager.wrapForDebug(ResourceLocation location, PackResources packResources, IoSupplier<InputStream> stream) Method parameters in net.minecraft.server.packs.resources with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static voidFallbackResourceManager.applyPackFiltersToExistingResources(FallbackResourceManager.PackEntry packEntry, Map<ResourceLocation, FallbackResourceManager.EntryStack> resources) voidFallbackResourceManager.PackEntry.filterAll(Collection<ResourceLocation> locations) static ResourceProviderResourceProvider.fromMap(Map<ResourceLocation, Resource> resources) private voidFallbackResourceManager.listPackResources(FallbackResourceManager.PackEntry entry, String path, Predicate<ResourceLocation> filter, Map<ResourceLocation, FallbackResourceManager.EntryStack> output) private voidFallbackResourceManager.listPackResources(FallbackResourceManager.PackEntry entry, String path, Predicate<ResourceLocation> filter, Map<ResourceLocation, FallbackResourceManager.EntryStack> output) FallbackResourceManager.listResources(String path, Predicate<ResourceLocation> filter) MultiPackResourceManager.listResources(String path, Predicate<ResourceLocation> filter) ReloadableResourceManager.listResources(String path, Predicate<ResourceLocation> filter) ResourceManager.Empty.listResources(String p_215570_, Predicate<ResourceLocation> p_215571_) ResourceManager.listResources(String path, Predicate<ResourceLocation> filter) FallbackResourceManager.listResourceStacks(String path, Predicate<ResourceLocation> filter) MultiPackResourceManager.listResourceStacks(String path, Predicate<ResourceLocation> filter) ReloadableResourceManager.listResourceStacks(String path, Predicate<ResourceLocation> filter) ResourceManager.Empty.listResourceStacks(String p_215573_, Predicate<ResourceLocation> p_215574_) ResourceManager.listResourceStacks(String path, Predicate<ResourceLocation> filter) voidFallbackResourceManager.push(PackResources resources, Predicate<ResourceLocation> filter) voidFallbackResourceManager.pushFilterOnly(String name, Predicate<ResourceLocation> filter) private voidFallbackResourceManager.pushInternal(String name, PackResources resources, Predicate<ResourceLocation> filter) static voidSimpleJsonResourceReloadListener.scanDirectory(ResourceManager resourceManager, String name, com.google.gson.Gson gson, Map<ResourceLocation, com.google.gson.JsonElement> output) Constructors in net.minecraft.server.packs.resources with parameters of type ResourceLocationModifierConstructorDescription(package private)EntryStack(ResourceLocation p_251350_) (package private)EntryStack(ResourceLocation fileLocation, ResourceLocation metadataLocation, List<FallbackResourceManager.ResourceWithSource> fileSources, Map<PackResources, IoSupplier<InputStream>> metaSources) Creates an instance of aEntryStackrecord class.LeakedResourceWarningInputStream(InputStream inputStream, ResourceLocation resourceLocation, String packName) Constructor parameters in net.minecraft.server.packs.resources with type arguments of type ResourceLocationModifierConstructorDescription(package private)PackEntry(String name, PackResources resources, Predicate<ResourceLocation> filter) Creates an instance of aPackEntryrecord class. -
Uses of ResourceLocation in net.minecraft.sounds
Fields in net.minecraft.sounds declared as ResourceLocationMethods in net.minecraft.sounds that return ResourceLocationMethods in net.minecraft.sounds with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static SoundEventSoundEvent.create(ResourceLocation location, Optional<Float> range) static SoundEventSoundEvent.createFixedRangeEvent(ResourceLocation location, float range) static SoundEventSoundEvent.createVariableRangeEvent(ResourceLocation location) private static SoundEventSoundEvents.register(ResourceLocation name) private static SoundEventSoundEvents.register(ResourceLocation name, ResourceLocation location) private static Holder<SoundEvent> SoundEvents.register(ResourceLocation name, ResourceLocation location, float range) private static Holder.Reference<SoundEvent> SoundEvents.registerForHolder(ResourceLocation name) private static Holder.Reference<SoundEvent> SoundEvents.registerForHolder(ResourceLocation name, ResourceLocation location) Constructors in net.minecraft.sounds with parameters of type ResourceLocationModifierConstructorDescriptionprivateSoundEvent(ResourceLocation location, float range, boolean newSystem) -
Uses of ResourceLocation in net.minecraft.stats
Fields in net.minecraft.stats declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocationStats.ANIMALS_BREDstatic final ResourceLocationStats.AVIATE_ONE_CMstatic final ResourceLocationStats.BELL_RINGstatic final ResourceLocationStats.BOAT_ONE_CMstatic final ResourceLocationStats.CLEAN_ARMORstatic final ResourceLocationStats.CLEAN_BANNERstatic final ResourceLocationStats.CLEAN_SHULKER_BOXstatic final ResourceLocationStats.CLIMB_ONE_CMstatic final ResourceLocationStats.CROUCH_ONE_CMstatic final ResourceLocationStats.CROUCH_TIMEstatic final ResourceLocationStats.DAMAGE_ABSORBEDstatic final ResourceLocationStats.DAMAGE_BLOCKED_BY_SHIELDstatic final ResourceLocationStats.DAMAGE_DEALTstatic final ResourceLocationStats.DAMAGE_DEALT_ABSORBEDstatic final ResourceLocationStats.DAMAGE_DEALT_RESISTEDstatic final ResourceLocationStats.DAMAGE_RESISTEDstatic final ResourceLocationStats.DAMAGE_TAKENstatic final ResourceLocationStats.DEATHSstatic final ResourceLocationStats.DROPstatic final ResourceLocationStats.EAT_CAKE_SLICEstatic final ResourceLocationStats.ENCHANT_ITEMstatic final ResourceLocationStats.FALL_ONE_CMstatic final ResourceLocationStats.FILL_CAULDRONstatic final ResourceLocationStats.FISH_CAUGHTstatic final ResourceLocationStats.FLY_ONE_CMstatic final ResourceLocationStats.HORSE_ONE_CMstatic final ResourceLocationStats.INSPECT_DISPENSERstatic final ResourceLocationStats.INSPECT_DROPPERstatic final ResourceLocationStats.INSPECT_HOPPERstatic final ResourceLocationStats.INTERACT_WITH_ANVILstatic final ResourceLocationStats.INTERACT_WITH_BEACONstatic final ResourceLocationstatic final ResourceLocationstatic final ResourceLocationStats.INTERACT_WITH_CAMPFIREstatic final ResourceLocationstatic final ResourceLocationstatic final ResourceLocationStats.INTERACT_WITH_FURNACEstatic final ResourceLocationStats.INTERACT_WITH_GRINDSTONEstatic final ResourceLocationStats.INTERACT_WITH_LECTERNstatic final ResourceLocationStats.INTERACT_WITH_LOOMstatic final ResourceLocationstatic final ResourceLocationStats.INTERACT_WITH_SMOKERstatic final ResourceLocationstatic final ResourceLocationStats.JUMPstatic final ResourceLocationStats.LEAVE_GAMEstatic final ResourceLocationStats.MINECART_ONE_CMstatic final ResourceLocationStats.MOB_KILLSstatic final ResourceLocationStats.OPEN_BARRELstatic final ResourceLocationStats.OPEN_CHESTstatic final ResourceLocationStats.OPEN_ENDERCHESTstatic final ResourceLocationStats.OPEN_SHULKER_BOXstatic final ResourceLocationStats.PIG_ONE_CMstatic final ResourceLocationStats.PLAY_NOTEBLOCKstatic final ResourceLocationStats.PLAY_RECORDstatic final ResourceLocationStats.PLAY_TIMEstatic final ResourceLocationStats.PLAYER_KILLSstatic final ResourceLocationStats.POT_FLOWERstatic final ResourceLocationStats.RAID_TRIGGERstatic final ResourceLocationStats.RAID_WINstatic final ResourceLocationStats.SLEEP_IN_BEDstatic final ResourceLocationStats.SPRINT_ONE_CMstatic final ResourceLocationStats.STRIDER_ONE_CMstatic final ResourceLocationStats.SWIM_ONE_CMstatic final ResourceLocationStats.TALKED_TO_VILLAGERstatic final ResourceLocationStats.TARGET_HITstatic final ResourceLocationStats.TIME_SINCE_DEATHstatic final ResourceLocationStats.TIME_SINCE_RESTstatic final ResourceLocationStats.TOTAL_WORLD_TIMEstatic final ResourceLocationStats.TRADED_WITH_VILLAGERstatic final ResourceLocationStats.TRIGGER_TRAPPED_CHESTstatic final ResourceLocationStats.TUNE_NOTEBLOCKstatic final ResourceLocationStats.USE_CAULDRONstatic final ResourceLocationStats.WALK_ON_WATER_ONE_CMstatic final ResourceLocationStats.WALK_ONE_CMstatic final ResourceLocationStats.WALK_UNDER_WATER_ONE_CMFields in net.minecraft.stats with type parameters of type ResourceLocationModifier and TypeFieldDescriptionstatic final StatType<ResourceLocation> Stats.CUSTOMprotected final Set<ResourceLocation> RecipeBook.highlightprotected final Set<ResourceLocation> RecipeBook.knownMethods in net.minecraft.stats that return ResourceLocationModifier and TypeMethodDescriptionprivate static <T> ResourceLocationprivate static ResourceLocationStats.makeCustomStat(String key, StatFormatter formatter) Methods in net.minecraft.stats with parameters of type ResourceLocationModifier and TypeMethodDescriptionprotected voidRecipeBook.add(ResourceLocation recipeId) protected voidRecipeBook.addHighlight(ResourceLocation recipeId) booleanRecipeBook.contains(ResourceLocation recipeId) private static <T> StringStat.locationToKey(ResourceLocation location) protected voidRecipeBook.remove(ResourceLocation recipeId) Method parameters in net.minecraft.stats with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate voidServerRecipeBook.sendRecipes(ClientboundRecipePacket.State state, ServerPlayer player, List<ResourceLocation> recipes) -
Uses of ResourceLocation in net.minecraft.tags
Fields in net.minecraft.tags declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationTagEntry.idprivate final ResourceLocationTagKey.locationThe field for thelocationrecord component.Fields in net.minecraft.tags with type parameters of type ResourceLocationModifier and TypeFieldDescription(package private) final Function<ResourceLocation, Optional<? extends T>> TagLoader.idToValueprivate final Map<ResourceLocation, Collection<Holder<T>>> TagManager.LoadResult.tagsThe field for thetagsrecord component.(package private) final Map<ResourceLocation, it.unimi.dsi.fastutil.ints.IntList> TagNetworkSerialization.NetworkPayload.tagsMethods in net.minecraft.tags that return ResourceLocationModifier and TypeMethodDescriptionTagEntry.getId()TagKey.location()Returns the value of thelocationrecord component.Methods in net.minecraft.tags that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionTagLoader.build(Map<ResourceLocation, List<TagLoader.EntryWithSource>> builders) TagLoader.load(ResourceManager resourceManager) TagLoader.loadAndBuild(ResourceManager resourceManager) TagManager.LoadResult.tags()Returns the value of thetagsrecord component.Methods in net.minecraft.tags with parameters of type ResourceLocationModifier and TypeMethodDescriptionTagBuilder.addElement(ResourceLocation elementLocation) TagBuilder.addOptionalElement(ResourceLocation elementLocation) TagBuilder.addOptionalTag(ResourceLocation tagLocation) TagBuilder.addTag(ResourceLocation tagLocation) BlockTags.create(ResourceLocation name) FluidTags.create(ResourceLocation name) ItemTags.create(ResourceLocation name) static <T> TagKey<T> TagKey.create(ResourceKey<? extends Registry<T>> registry, ResourceLocation location) static TagEntryTagEntry.element(ResourceLocation elementLocation) TagEntry.Lookup.element(ResourceLocation elementLocation) static TagEntryTagEntry.optionalElement(ResourceLocation elementLocation) static TagEntryTagEntry.optionalTag(ResourceLocation tagLocation) TagEntry.Lookup.tag(ResourceLocation tagLocation) static TagEntryTagEntry.tag(ResourceLocation tagLocation) Method parameters in net.minecraft.tags with type arguments of type ResourceLocationModifier and TypeMethodDescriptionTagLoader.build(Map<ResourceLocation, List<TagLoader.EntryWithSource>> builders) booleanTagEntry.verifyIfPresent(Predicate<ResourceLocation> elementPredicate, Predicate<ResourceLocation> tagPredicate) voidTagEntry.visitOptionalDependencies(Consumer<ResourceLocation> visitor) voidTagLoader.SortingEntry.visitOptionalDependencies(Consumer<ResourceLocation> visitor) voidTagEntry.visitRequiredDependencies(Consumer<ResourceLocation> visitor) voidTagLoader.SortingEntry.visitRequiredDependencies(Consumer<ResourceLocation> visitor) Constructors in net.minecraft.tags with parameters of type ResourceLocationModifierConstructorDescriptionprivateTagEntry(ResourceLocation id, boolean tag, boolean required) TagKey(ResourceKey<? extends Registry<T>> registry, ResourceLocation location) Deprecated.Constructor parameters in net.minecraft.tags with type arguments of type ResourceLocationModifierConstructorDescriptionLoadResult(ResourceKey<? extends Registry<T>> key, Map<ResourceLocation, Collection<Holder<T>>> tags) Creates an instance of aLoadResultrecord class.(package private)NetworkPayload(Map<ResourceLocation, it.unimi.dsi.fastutil.ints.IntList> tags) -
Uses of ResourceLocation in net.minecraft.util
Fields in net.minecraft.util declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationExtraCodecs.TagOrElementLocation.idThe field for theidrecord component.Fields in net.minecraft.util with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Predicate<ResourceLocation> ResourceLocationPattern.locationPredicateMethods in net.minecraft.util that return ResourceLocationModifier and TypeMethodDescriptionExtraCodecs.TagOrElementLocation.id()Returns the value of theidrecord component.Methods in net.minecraft.util that return types with arguments of type ResourceLocationConstructors in net.minecraft.util with parameters of type ResourceLocationModifierConstructorDescriptionTagOrElementLocation(ResourceLocation id, boolean tag) Creates an instance of aTagOrElementLocationrecord class. -
Uses of ResourceLocation in net.minecraft.util.parsing.packrat.commands
Fields in net.minecraft.util.parsing.packrat.commands with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Atom<ResourceLocation> ResourceLookupRule.idParserstatic final Rule<com.mojang.brigadier.StringReader, ResourceLocation> ResourceLocationParseRule.INSTANCEMethods in net.minecraft.util.parsing.packrat.commands that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionResourceLocationParseRule.parse(ParseState<com.mojang.brigadier.StringReader> p_335633_) ResourceSuggestion.possibleResources()Methods in net.minecraft.util.parsing.packrat.commands with parameters of type ResourceLocationModifier and TypeMethodDescriptionprotected abstract VResourceLookupRule.validateElement(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation elementType) Constructor parameters in net.minecraft.util.parsing.packrat.commands with type arguments of type ResourceLocationModifierConstructorDescriptionprotectedResourceLookupRule(Atom<ResourceLocation> idParser, C context) -
Uses of ResourceLocation in net.minecraft.world
Fields in net.minecraft.world with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, RandomSequence> RandomSequences.sequencesMethods in net.minecraft.world with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate RandomSequenceRandomSequences.createSequence(ResourceLocation location) private RandomSequenceRandomSequences.createSequence(ResourceLocation location, int salt, boolean includeWorldSeed, boolean includeSequenceId) RandomSequences.get(ResourceLocation location) voidRandomSequences.reset(ResourceLocation sequence) voidRandomSequences.reset(ResourceLocation sequence, int seed, boolean includeWorldSeed, boolean includeSequenceId) static RandomSupport.Seed128bitRandomSequence.seedForKey(ResourceLocation key) Method parameters in net.minecraft.world with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static XoroshiroRandomSourceRandomSequence.createSequence(long seed, Optional<ResourceLocation> location) voidRandomSequences.forAllSequences(BiConsumer<ResourceLocation, RandomSequence> action) Constructors in net.minecraft.world with parameters of type ResourceLocationConstructor parameters in net.minecraft.world with type arguments of type ResourceLocation -
Uses of ResourceLocation in net.minecraft.world.effect
Fields in net.minecraft.world.effect declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationMobEffect.AttributeTemplate.idThe field for theidrecord component.Methods in net.minecraft.world.effect that return ResourceLocationModifier and TypeMethodDescriptionMobEffect.AttributeTemplate.id()Returns the value of theidrecord component.Methods in net.minecraft.world.effect with parameters of type ResourceLocationModifier and TypeMethodDescriptionMobEffect.addAttributeModifier(Holder<Attribute> attribute, ResourceLocation id, double amount, AttributeModifier.Operation operation) MobEffect.addAttributeModifier(Holder<Attribute> attribute, ResourceLocation id, AttributeModifier.Operation operation, it.unimi.dsi.fastutil.ints.Int2DoubleFunction curve) Neo: attribute template with custom level curve, for mob effects providing non-linear attribute modifiers.Constructors in net.minecraft.world.effect with parameters of type ResourceLocationModifierConstructorDescriptionAttributeTemplate(ResourceLocation id, double amount, AttributeModifier.Operation operation) AttributeTemplate(ResourceLocation id, double amount, AttributeModifier.Operation operation, it.unimi.dsi.fastutil.ints.Int2DoubleFunction curve) Creates an instance of aAttributeTemplaterecord class. -
Uses of ResourceLocation in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as ResourceLocationModifier and TypeFieldDescriptionprotected static final ResourceLocationprivate static final ResourceLocationLivingEntity.SPEED_MODIFIER_POWDER_SNOW_IDprivate static final ResourceLocationLivingEntity.SPRINTING_MODIFIER_IDMethods in net.minecraft.world.entity that return ResourceLocationModifier and TypeMethodDescriptionstatic ResourceLocationEntityType.getKey(EntityType<?> entityType) -
Uses of ResourceLocation in net.minecraft.world.entity.ai.attributes
Fields in net.minecraft.world.entity.ai.attributes declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationAttributeModifier.idThe field for theidrecord component.Fields in net.minecraft.world.entity.ai.attributes with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, AttributeModifier> AttributeInstance.modifierByIdprivate final Map<AttributeModifier.Operation, Map<ResourceLocation, AttributeModifier>> AttributeInstance.modifiersByOperationprivate final Map<ResourceLocation, AttributeModifier> AttributeInstance.permanentModifiersMethods in net.minecraft.world.entity.ai.attributes that return ResourceLocationModifier and TypeMethodDescriptionAttributeModifier.id()Returns the value of theidrecord component.Methods in net.minecraft.world.entity.ai.attributes that return types with arguments of type ResourceLocationModifier and TypeMethodDescription(package private) Map<ResourceLocation, AttributeModifier> AttributeInstance.getModifiers(AttributeModifier.Operation operation) Methods in net.minecraft.world.entity.ai.attributes with parameters of type ResourceLocationModifier and TypeMethodDescriptionAttributeInstance.getModifier(ResourceLocation id) doubleAttributeMap.getModifierValue(Holder<Attribute> attribute, ResourceLocation id) doubleAttributeSupplier.getModifierValue(Holder<Attribute> attribute, ResourceLocation id) booleanAttributeInstance.hasModifier(ResourceLocation id) booleanAttributeMap.hasModifier(Holder<Attribute> attribute, ResourceLocation id) booleanAttributeSupplier.hasModifier(Holder<Attribute> attribute, ResourceLocation id) booleanAttributeModifier.is(ResourceLocation id) booleanAttributeInstance.removeModifier(ResourceLocation id) Constructors in net.minecraft.world.entity.ai.attributes with parameters of type ResourceLocationModifierConstructorDescriptionAttributeModifier(ResourceLocation id, double amount, AttributeModifier.Operation operation) Creates an instance of aAttributeModifierrecord class. -
Uses of ResourceLocation in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationWolfVariant.angryTextureprivate final ResourceLocationWolfVariant.angryTextureFullprivate static final ResourceLocationRabbit.EVIL_ATTACK_POWER_MODIFIERprivate static final ResourceLocationRabbit.KILLER_BUNNYprivate final ResourceLocationWolfVariant.tameTextureprivate final ResourceLocationWolfVariant.tameTextureFullprivate final ResourceLocationCatVariant.textureThe field for thetexturerecord component.private final ResourceLocationFrogVariant.textureThe field for thetexturerecord component.private final ResourceLocationWolfVariant.wildTextureprivate final ResourceLocationWolfVariant.wildTextureFullMethods in net.minecraft.world.entity.animal that return ResourceLocationModifier and TypeMethodDescriptionWolfVariant.angryTexture()private static ResourceLocationWolfVariant.fullTextureId(ResourceLocation texture) Wolf.getTexture()Cat.getTextureId()WolfVariant.tameTexture()CatVariant.texture()Returns the value of thetexturerecord component.FrogVariant.texture()Returns the value of thetexturerecord component.WolfVariant.wildTexture()Methods in net.minecraft.world.entity.animal with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceLocationWolfVariant.fullTextureId(ResourceLocation texture) Constructors in net.minecraft.world.entity.animal with parameters of type ResourceLocationModifierConstructorDescriptionCatVariant(ResourceLocation texture) Creates an instance of aCatVariantrecord class.FrogVariant(ResourceLocation texture) Creates an instance of aFrogVariantrecord class.WolfVariant(ResourceLocation wildTexture, ResourceLocation tameTexture, ResourceLocation angryTexture, HolderSet<Biome> biomes) -
Uses of ResourceLocation in net.minecraft.world.entity.decoration
Fields in net.minecraft.world.entity.decoration declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationPaintingVariant.assetIdThe field for theassetIdrecord component.Methods in net.minecraft.world.entity.decoration that return ResourceLocationModifier and TypeMethodDescriptionPaintingVariant.assetId()Returns the value of theassetIdrecord component.Constructors in net.minecraft.world.entity.decoration with parameters of type ResourceLocationModifierConstructorDescriptionPaintingVariant(int width, int height, ResourceLocation assetId) Creates an instance of aPaintingVariantrecord class. -
Uses of ResourceLocation in net.minecraft.world.entity.monster
Fields in net.minecraft.world.entity.monster declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationShulker.COVERED_ARMOR_MODIFIER_IDprivate static final ResourceLocationZombie.LEADER_ZOMBIE_BONUS_IDprivate static final ResourceLocationprivate static final ResourceLocationEnderMan.SPEED_MODIFIER_ATTACKING_IDprivate static final ResourceLocationZombifiedPiglin.SPEED_MODIFIER_ATTACKING_IDprivate static final ResourceLocationZombie.SPEED_MODIFIER_BABY_IDprivate static final ResourceLocationprivate static final ResourceLocationStrider.SUFFOCATING_MODIFIER_IDprivate static final ResourceLocationZombie.ZOMBIE_RANDOM_SPAWN_BONUS_ID -
Uses of ResourceLocation in net.minecraft.world.entity.monster.piglin
Fields in net.minecraft.world.entity.monster.piglin declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationPiglin.SPEED_MODIFIER_BABY_ID -
Uses of ResourceLocation in net.minecraft.world.entity.player
Methods in net.minecraft.world.entity.player with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoidPlayer.awardStat(ResourceLocation statKey) voidPlayer.awardStat(ResourceLocation stat, int increment) Method parameters in net.minecraft.world.entity.player with type arguments of type ResourceLocation -
Uses of ResourceLocation in net.minecraft.world.flag
Fields in net.minecraft.world.flag with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, FeatureFlag> FeatureFlagRegistry.Builder.flagsprivate final Map<ResourceLocation, FeatureFlag> FeatureFlagRegistry.namesMethods in net.minecraft.world.flag that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionFeatureFlagRegistry.getAllFlags()FeatureFlagRegistry.toNames(FeatureFlagSet p_set) Methods in net.minecraft.world.flag with parameters of type ResourceLocationModifier and TypeMethodDescriptionFeatureFlagRegistry.Builder.create(ResourceLocation location) Deprecated.Neo: useFeatureFlagRegistry.Builder.create(ResourceLocation, boolean)insteadFeatureFlagRegistry.Builder.create(ResourceLocation location, boolean modded) FeatureFlagRegistry.getFlag(ResourceLocation name) Method parameters in net.minecraft.world.flag with type arguments of type ResourceLocationModifier and TypeMethodDescriptionFeatureFlagRegistry.fromNames(Iterable<ResourceLocation> names) FeatureFlagRegistry.fromNames(Iterable<ResourceLocation> names, Consumer<ResourceLocation> onError) FeatureFlagRegistry.fromNames(Iterable<ResourceLocation> names, Consumer<ResourceLocation> onError) Constructor parameters in net.minecraft.world.flag with type arguments of type ResourceLocationModifierConstructorDescription(package private)FeatureFlagRegistry(FeatureFlagUniverse universe, FeatureFlagSet allFlags, Map<ResourceLocation, FeatureFlag> names) -
Uses of ResourceLocation in net.minecraft.world.inventory
Fields in net.minecraft.world.inventory declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocationInventoryMenu.BLOCK_ATLASstatic final ResourceLocationInventoryMenu.EMPTY_ARMOR_SLOT_BOOTSstatic final ResourceLocationInventoryMenu.EMPTY_ARMOR_SLOT_CHESTPLATEstatic final ResourceLocationInventoryMenu.EMPTY_ARMOR_SLOT_HELMETstatic final ResourceLocationInventoryMenu.EMPTY_ARMOR_SLOT_LEGGINGSstatic final ResourceLocationInventoryMenu.EMPTY_ARMOR_SLOT_SHIELD(package private) static final ResourceLocationEnchantmentMenu.EMPTY_SLOT_LAPIS_LAZULIprivate final ResourceLocationArmorSlot.emptyIconFields in net.minecraft.world.inventory with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate com.mojang.datafixers.util.Pair<ResourceLocation, ResourceLocation> Slot.backgroundPairprivate com.mojang.datafixers.util.Pair<ResourceLocation, ResourceLocation> Slot.backgroundPairprivate static final Map<EquipmentSlot, ResourceLocation> InventoryMenu.TEXTURE_EMPTY_SLOTSMethods in net.minecraft.world.inventory that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<ResourceLocation, ResourceLocation> ArmorSlot.getNoItemIcon()com.mojang.datafixers.util.Pair<ResourceLocation, ResourceLocation> ArmorSlot.getNoItemIcon()com.mojang.datafixers.util.Pair<ResourceLocation, ResourceLocation> Slot.getNoItemIcon()com.mojang.datafixers.util.Pair<ResourceLocation, ResourceLocation> Slot.getNoItemIcon()Methods in net.minecraft.world.inventory with parameters of type ResourceLocationModifier and TypeMethodDescriptionSlot.setBackground(ResourceLocation atlas, ResourceLocation sprite) Sets the background atlas and sprite location.Constructors in net.minecraft.world.inventory with parameters of type ResourceLocationModifierConstructorDescriptionArmorSlot(Container container, LivingEntity owner, EquipmentSlot slot, int slotIndex, int x, int y, ResourceLocation emptyIcon) -
Uses of ResourceLocation in net.minecraft.world.item
Fields in net.minecraft.world.item declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationArmorMaterial.Layer.assetName(package private) ResourceLocationCreativeModeTab.backgroundTextureprivate ResourceLocationCreativeModeTab.Builder.backgroundTexturestatic final ResourceLocationstatic final ResourceLocationItem.BASE_ATTACK_SPEED_IDprivate static final ResourceLocationCreativeModeTab.Builder.CREATIVE_INVENTORY_TABS_IMAGEprivate static final ResourceLocationCreativeModeTab.Builder.CREATIVE_ITEM_SEARCH_BACKGROUND(package private) static final ResourceLocationCreativeModeTab.DEFAULT_BACKGROUNDprivate static final ResourceLocationSmithingTemplateItem.EMPTY_SLOT_AMETHYST_SHARDprivate static final ResourceLocationSmithingTemplateItem.EMPTY_SLOT_AXEprivate static final ResourceLocationSmithingTemplateItem.EMPTY_SLOT_BOOTSprivate static final ResourceLocationSmithingTemplateItem.EMPTY_SLOT_CHESTPLATEprivate static final ResourceLocationSmithingTemplateItem.EMPTY_SLOT_DIAMONDprivate static final ResourceLocationSmithingTemplateItem.EMPTY_SLOT_EMERALDprivate static final ResourceLocationSmithingTemplateItem.EMPTY_SLOT_HELMETprivate static final ResourceLocationSmithingTemplateItem.EMPTY_SLOT_HOEprivate static final ResourceLocationSmithingTemplateItem.EMPTY_SLOT_INGOTprivate static final ResourceLocationSmithingTemplateItem.EMPTY_SLOT_LAPIS_LAZULIprivate static final ResourceLocationSmithingTemplateItem.EMPTY_SLOT_LEGGINGSprivate static final ResourceLocationSmithingTemplateItem.EMPTY_SLOT_PICKAXEprivate static final ResourceLocationSmithingTemplateItem.EMPTY_SLOT_QUARTZprivate static final ResourceLocationSmithingTemplateItem.EMPTY_SLOT_REDSTONE_DUSTprivate static final ResourceLocationSmithingTemplateItem.EMPTY_SLOT_SHOVELprivate static final ResourceLocationSmithingTemplateItem.EMPTY_SLOT_SWORDprivate final ResourceLocationArmorMaterial.Layer.innerTextureprivate static final ResourceLocationCreativeModeTabs.INVENTORY_BACKGROUNDprivate final ResourceLocationArmorMaterial.Layer.outerTextureprivate final ResourceLocationAnimalArmorItem.overlayTextureLocationprivate static final ResourceLocationCreativeModeTab.SCROLLER_DISABLED_SPRITEprivate static final ResourceLocationCreativeModeTab.SCROLLER_SPRITEprivate final ResourceLocationCreativeModeTab.scrollerSpriteLocationprivate static final ResourceLocationCreativeModeTabs.SEARCH_BACKGROUNDprivate ResourceLocationCreativeModeTab.Builder.spriteScrollerLocationprivate ResourceLocationCreativeModeTab.Builder.tabsImageprivate final ResourceLocationCreativeModeTab.tabsImageprivate final ResourceLocationAnimalArmorItem.textureLocationFields in net.minecraft.world.item with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final List<ResourceLocation> SmithingTemplateItem.additionalSlotEmptyIconsprivate final List<ResourceLocation> SmithingTemplateItem.baseSlotEmptyIconsprivate final List<ResourceLocation> CreativeModeTab.Builder.tabsAfterfinal List<ResourceLocation> CreativeModeTab.tabsAfterprivate final List<ResourceLocation> CreativeModeTab.Builder.tabsBeforefinal List<ResourceLocation> CreativeModeTab.tabsBefore(package private) final Function<ResourceLocation, ResourceLocation> AnimalArmorItem.BodyType.textureLocator(package private) final Function<ResourceLocation, ResourceLocation> AnimalArmorItem.BodyType.textureLocatorMethods in net.minecraft.world.item that return ResourceLocationModifier and TypeMethodDescriptionstatic ResourceLocationCreativeModeTab.createTextureLocation(String name) CreativeModeTab.getBackgroundTexture()AnimalArmorItem.getOverlayTexture()CreativeModeTab.getScrollerSprite()CreativeModeTab.getTabsImage()AnimalArmorItem.getTexture()private ResourceLocationArmorMaterial.Layer.resolveTexture(boolean innerTexture) ArmorMaterial.Layer.texture(boolean innerTexture) Methods in net.minecraft.world.item that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static List<ResourceLocation> SmithingTemplateItem.createNetheriteUpgradeIconList()private static List<ResourceLocation> SmithingTemplateItem.createNetheriteUpgradeMaterialList()private static List<ResourceLocation> SmithingTemplateItem.createTrimmableArmorIconList()private static List<ResourceLocation> SmithingTemplateItem.createTrimmableMaterialIconList()SmithingTemplateItem.getAdditionalSlotEmptyIcons()SmithingTemplateItem.getBaseSlotEmptyIcons()Methods in net.minecraft.world.item with parameters of type ResourceLocationModifier and TypeMethodDescriptionCreativeModeTab.Builder.backgroundTexture(ResourceLocation backgroundTexture) static SmithingTemplateItemSmithingTemplateItem.createArmorTrimTemplate(ResourceLocation name, FeatureFlag... requiredFeatures) static ItemItems.registerItem(ResourceLocation key, Item item) CreativeModeTab.Builder.withScrollBarSpriteLocation(ResourceLocation scrollBarSpriteLocation) Sets the location of the scroll bar background.CreativeModeTab.Builder.withTabsAfter(ResourceLocation... tabs) Define tabs that should come after this tab.CreativeModeTab.Builder.withTabsBefore(ResourceLocation... tabs) Define tabs that should come before this tab.CreativeModeTab.Builder.withTabsImage(ResourceLocation tabsImage) Sets the image of the tab to a custom resource location, instead of an item's texture.Constructors in net.minecraft.world.item with parameters of type ResourceLocationModifierConstructorDescription(package private)CreativeModeTab(CreativeModeTab.Row row, int column, CreativeModeTab.Type type, Component displayName, Supplier<ItemStack> iconGenerator, CreativeModeTab.DisplayItemsGenerator displayItemGenerator, ResourceLocation scrollerSpriteLocation, boolean hasSearchBar, int searchBarWidth, ResourceLocation tabsImage, int labelColor, int slotColor, List<ResourceLocation> tabsBefore, List<ResourceLocation> tabsAfter) Layer(ResourceLocation assetName) Layer(ResourceLocation assetName, String suffix, boolean dyeable) Constructor parameters in net.minecraft.world.item with type arguments of type ResourceLocationModifierConstructorDescriptionprivateBodyType(Function<ResourceLocation, ResourceLocation> textureLocator, SoundEvent breakingSound) privateBodyType(Function<ResourceLocation, ResourceLocation> textureLocator, SoundEvent breakingSound) (package private)CreativeModeTab(CreativeModeTab.Row row, int column, CreativeModeTab.Type type, Component displayName, Supplier<ItemStack> iconGenerator, CreativeModeTab.DisplayItemsGenerator displayItemGenerator, ResourceLocation scrollerSpriteLocation, boolean hasSearchBar, int searchBarWidth, ResourceLocation tabsImage, int labelColor, int slotColor, List<ResourceLocation> tabsBefore, List<ResourceLocation> tabsAfter) SmithingTemplateItem(Component appliesTo, Component ingredients, Component upgradeDescription, Component baseSlotDescription, Component additionsSlotDescription, List<ResourceLocation> baseSlotEmptyIcons, List<ResourceLocation> additionalSlotEmptyIcons, FeatureFlag... requiredFeatures) -
Uses of ResourceLocation in net.minecraft.world.item.armortrim
Fields in net.minecraft.world.item.armortrim declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationTrimPattern.assetIdThe field for theassetIdrecord component.Fields in net.minecraft.world.item.armortrim with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Function<Holder<ArmorMaterial>, ResourceLocation> ArmorTrim.innerTextureprivate final Function<Holder<ArmorMaterial>, ResourceLocation> ArmorTrim.outerTextureMethods in net.minecraft.world.item.armortrim that return ResourceLocationModifier and TypeMethodDescriptionTrimPattern.assetId()Returns the value of theassetIdrecord component.ArmorTrim.innerTexture(Holder<ArmorMaterial> armorMaterial) ArmorTrim.outerTexture(Holder<ArmorMaterial> armorMaterial) Constructors in net.minecraft.world.item.armortrim with parameters of type ResourceLocationModifierConstructorDescriptionTrimPattern(ResourceLocation assetId, Holder<Item> templateItem, Component description, boolean decal) Creates an instance of aTrimPatternrecord class.Constructor parameters in net.minecraft.world.item.armortrim with type arguments of type ResourceLocationModifierConstructorDescriptionprivateArmorTrim(Holder<TrimMaterial> material, Holder<TrimPattern> pattern, boolean showInTooltip, Function<Holder<ArmorMaterial>, ResourceLocation> innerTexture, Function<Holder<ArmorMaterial>, ResourceLocation> outerTexture) -
Uses of ResourceLocation in net.minecraft.world.item.component
Methods in net.minecraft.world.item.component with parameters of type ResourceLocationModifier and TypeMethodDescriptionbooleanItemAttributeModifiers.Entry.matches(Holder<Attribute> attribute, ResourceLocation id) -
Uses of ResourceLocation in net.minecraft.world.item.crafting
Fields in net.minecraft.world.item.crafting declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationRecipeHolder.idThe field for theidrecord component.Fields in net.minecraft.world.item.crafting with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate Map<ResourceLocation, RecipeHolder<?>> RecipeManager.byNameMethods in net.minecraft.world.item.crafting that return ResourceLocationModifier and TypeMethodDescriptionRecipeHolder.id()Returns the value of theidrecord component.Methods in net.minecraft.world.item.crafting that return types with arguments of type ResourceLocationMethods in net.minecraft.world.item.crafting with parameters of type ResourceLocationModifier and TypeMethodDescriptionOptional<RecipeHolder<?>> RecipeManager.byKey(ResourceLocation recipeId) private <T extends Recipe<?>>
RecipeHolder<T> RecipeManager.byKeyTyped(RecipeType<T> type, ResourceLocation name) protected static RecipeHolder<?> RecipeManager.fromJson(ResourceLocation recipeId, com.google.gson.JsonObject json, HolderLookup.Provider registries) <I extends RecipeInput,T extends Recipe<I>>
Optional<RecipeHolder<T>> RecipeManager.getRecipeFor(RecipeType<T> recipeType, I input, Level level, ResourceLocation lastRecipe) static <T extends Recipe<?>>
RecipeType<T> RecipeType.simple(ResourceLocation name) Method parameters in net.minecraft.world.item.crafting with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprotected voidRecipeManager.apply(Map<ResourceLocation, com.google.gson.JsonElement> object, ResourceManager resourceManager, ProfilerFiller profiler) Constructors in net.minecraft.world.item.crafting with parameters of type ResourceLocationModifierConstructorDescriptionRecipeHolder(ResourceLocation id, T value) Creates an instance of aRecipeHolderrecord class. -
Uses of ResourceLocation in net.minecraft.world.item.enchantment
Methods in net.minecraft.world.item.enchantment with parameters of type ResourceLocation -
Uses of ResourceLocation in net.minecraft.world.item.enchantment.effects
Fields in net.minecraft.world.item.enchantment.effects declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationRunFunction.functionThe field for thefunctionrecord component.private final ResourceLocationEnchantmentAttributeEffect.idThe field for theidrecord component.Methods in net.minecraft.world.item.enchantment.effects that return ResourceLocationModifier and TypeMethodDescriptionRunFunction.function()Returns the value of thefunctionrecord component.EnchantmentAttributeEffect.id()Returns the value of theidrecord component.private ResourceLocationEnchantmentAttributeEffect.idForSlot(StringRepresentable slot) Constructors in net.minecraft.world.item.enchantment.effects with parameters of type ResourceLocationModifierConstructorDescriptionEnchantmentAttributeEffect(ResourceLocation id, Holder<Attribute> attribute, LevelBasedValue amount, AttributeModifier.Operation operation) Creates an instance of aEnchantmentAttributeEffectrecord class.RunFunction(ResourceLocation function) Creates an instance of aRunFunctionrecord class. -
Uses of ResourceLocation in net.minecraft.world.level
Methods in net.minecraft.world.level that return ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceLocationSpawner.getEntityKey(CompoundTag tag, String spawnDataKey) -
Uses of ResourceLocation in net.minecraft.world.level.biome
Fields in net.minecraft.world.level.biome declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationMultiNoiseBiomeSourceParameterList.Preset.idThe field for theidrecord component.Fields in net.minecraft.world.level.biome with type parameters of type ResourceLocationModifier and TypeFieldDescription(package private) static final Map<ResourceLocation, MultiNoiseBiomeSourceParameterList.Preset> MultiNoiseBiomeSourceParameterList.Preset.BY_NAMEMethods in net.minecraft.world.level.biome that return ResourceLocationModifier and TypeMethodDescriptionMultiNoiseBiomeSourceParameterList.Preset.id()Returns the value of theidrecord component.Constructors in net.minecraft.world.level.biome with parameters of type ResourceLocationModifierConstructorDescriptionCreates an instance of aPresetrecord class. -
Uses of ResourceLocation in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocationShulkerBoxBlock.CONTENTSstatic final ResourceLocationDecoratedPotBlock.SHERDS_DYNAMIC_DROP_IDFields in net.minecraft.world.level.block with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, Supplier<? extends Block>> FlowerPotBlock.fullPotsMethods in net.minecraft.world.level.block that return ResourceLocationModifier and TypeMethodDescriptionprivate ResourceLocationNoteBlock.getCustomSoundId(Level level, BlockPos pos) Methods in net.minecraft.world.level.block that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionMap<ResourceLocation, Supplier<? extends Block>> FlowerPotBlock.getFullPotsView()Returns all the filled pots that can be spawned from filling this pot.protected Stat<ResourceLocation> ChestBlock.getOpenChestStat()protected Stat<ResourceLocation> TrappedChestBlock.getOpenChestStat()Methods in net.minecraft.world.level.block with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoidFlowerPotBlock.addPlant(ResourceLocation flower, Supplier<? extends Block> fullPot) Maps the given flower to the filled pot it is for. -
Uses of ResourceLocation in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationBannerPattern.assetIdThe field for theassetIdrecord component.private final ResourceLocationDecoratedPotPattern.assetIdThe field for theassetIdrecord component.private ResourceLocationJigsawBlockEntity.nameprivate ResourceLocationSkullBlockEntity.noteBlockSoundprivate ResourceLocationStructureBlockEntity.structureNameprivate ResourceLocationJigsawBlockEntity.targetFields in net.minecraft.world.level.block.entity with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<ResourceLocation> AbstractFurnaceBlockEntity.recipesUsedMethods in net.minecraft.world.level.block.entity that return ResourceLocationModifier and TypeMethodDescriptionBannerPattern.assetId()Returns the value of theassetIdrecord component.DecoratedPotPattern.assetId()Returns the value of theassetIdrecord component.static ResourceLocationBlockEntityType.getKey(BlockEntityType<?> blockEntityType) JigsawBlockEntity.getName()SkullBlockEntity.getNoteBlockSound()JigsawBlockEntity.getTarget()Methods in net.minecraft.world.level.block.entity with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoidJigsawBlockEntity.setName(ResourceLocation name) voidStructureBlockEntity.setStructureName(ResourceLocation structureName) voidJigsawBlockEntity.setTarget(ResourceLocation target) Constructors in net.minecraft.world.level.block.entity with parameters of type ResourceLocationModifierConstructorDescriptionBannerPattern(ResourceLocation assetId, String translationKey) Creates an instance of aBannerPatternrecord class.DecoratedPotPattern(ResourceLocation assetId) Creates an instance of aDecoratedPotPatternrecord class. -
Uses of ResourceLocation in net.minecraft.world.level.dimension
Fields in net.minecraft.world.level.dimension declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationDimensionType.effectsLocationThe field for theeffectsLocationrecord component.static final ResourceLocationBuiltinDimensionTypes.END_EFFECTSstatic final ResourceLocationBuiltinDimensionTypes.NETHER_EFFECTSstatic final ResourceLocationBuiltinDimensionTypes.OVERWORLD_EFFECTSMethods in net.minecraft.world.level.dimension that return ResourceLocationModifier and TypeMethodDescriptionDimensionType.effectsLocation()Returns the value of theeffectsLocationrecord component.Constructors in net.minecraft.world.level.dimension with parameters of type ResourceLocationModifierConstructorDescriptionDimensionType(OptionalLong fixedTime, boolean hasSkyLight, boolean hasCeiling, boolean ultraWarm, boolean natural, double coordinateScale, boolean bedWorks, boolean respawnAnchorWorks, int minY, int height, int logicalHeight, TagKey<Block> infiniburn, ResourceLocation effectsLocation, float ambientLight, DimensionType.MonsterSettings monsterSettings) Creates an instance of aDimensionTyperecord class. -
Uses of ResourceLocation in net.minecraft.world.level.levelgen
Fields in net.minecraft.world.level.levelgen declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationSurfaceRules.VerticalGradientConditionSource.randomNameThe field for therandomNamerecord component.Fields in net.minecraft.world.level.levelgen with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, PositionalRandomFactory> RandomState.positionalRandomsMethods in net.minecraft.world.level.levelgen that return ResourceLocationModifier and TypeMethodDescriptionSurfaceRules.VerticalGradientConditionSource.randomName()Returns the value of therandomNamerecord component.Methods in net.minecraft.world.level.levelgen with parameters of type ResourceLocationModifier and TypeMethodDescriptiondefault RandomSourcePositionalRandomFactory.fromHashOf(ResourceLocation name) RandomState.getOrCreateRandomFactory(ResourceLocation location) Constructors in net.minecraft.world.level.levelgen with parameters of type ResourceLocationModifierConstructorDescription(package private)VerticalGradientConditionSource(ResourceLocation randomName, VerticalAnchor trueAtAndBelow, VerticalAnchor falseAtAndAbove) Creates an instance of aVerticalGradientConditionSourcerecord class. -
Uses of ResourceLocation in net.minecraft.world.level.levelgen.feature
Fields in net.minecraft.world.level.levelgen.feature with type parameters of type ResourceLocationModifier and TypeFieldDescriptionfinal List<ResourceLocation> FossilFeatureConfiguration.fossilStructuresfinal List<ResourceLocation> FossilFeatureConfiguration.overlayStructuresConstructor parameters in net.minecraft.world.level.levelgen.feature with type arguments of type ResourceLocationModifierConstructorDescriptionFossilFeatureConfiguration(List<ResourceLocation> fossilStructures, List<ResourceLocation> overlayStructures, Holder<StructureProcessorList> fossilProcessors, Holder<StructureProcessorList> overlayProcessors, int maxEmptyCornersAllowed) -
Uses of ResourceLocation in net.minecraft.world.level.levelgen.structure
Methods in net.minecraft.world.level.levelgen.structure that return ResourceLocationModifier and TypeMethodDescriptionprotected ResourceLocationTemplateStructurePiece.makeTemplateLocation()Constructors in net.minecraft.world.level.levelgen.structure with parameters of type ResourceLocationModifierConstructorDescriptionTemplateStructurePiece(StructurePieceType type, int genDepth, StructureTemplateManager structureTemplateManager, ResourceLocation location, String templateName, StructurePlaceSettings placeSettings, BlockPos templatePosition) Constructor parameters in net.minecraft.world.level.levelgen.structure with type arguments of type ResourceLocationModifierConstructorDescriptionTemplateStructurePiece(StructurePieceType type, CompoundTag tag, StructureTemplateManager structureTemplateManager, Function<ResourceLocation, StructurePlaceSettings> placeSettingsFactory) -
Uses of ResourceLocation in net.minecraft.world.level.levelgen.structure.pieces
Fields in net.minecraft.world.level.levelgen.structure.pieces declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationPiecesContainer.JIGSAW_RENAMEFields in net.minecraft.world.level.levelgen.structure.pieces with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Map<ResourceLocation, ResourceLocation> PiecesContainer.RENAMESprivate static final Map<ResourceLocation, ResourceLocation> PiecesContainer.RENAMES -
Uses of ResourceLocation in net.minecraft.world.level.levelgen.structure.pools
Fields in net.minecraft.world.level.levelgen.structure.pools with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprotected final com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> SinglePoolElement.templateprivate static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate>> SinglePoolElement.TEMPLATE_CODECMethods in net.minecraft.world.level.levelgen.structure.pools that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprotected static <E extends SinglePoolElement>
com.mojang.serialization.codecs.RecordCodecBuilder<E, com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate>> SinglePoolElement.templateCodec()Methods in net.minecraft.world.level.levelgen.structure.pools with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic booleanJigsawPlacement.generateJigsaw(ServerLevel level, Holder<StructureTemplatePool> startPool, ResourceLocation startJigsawName, int maxDepth, BlockPos pos, boolean keepJigsaws) JigsawPlacement.getRandomNamedJigsaw(StructurePoolElement element, ResourceLocation startJigsawName, BlockPos pos, Rotation rotation, StructureTemplateManager structureTemplateManager, WorldgenRandom random) Method parameters in net.minecraft.world.level.levelgen.structure.pools with type arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic Optional<Structure.GenerationStub> JigsawPlacement.addPieces(Structure.GenerationContext context, Holder<StructureTemplatePool> startPool, Optional<ResourceLocation> startJigsawName, int maxDepth, BlockPos pos, boolean useExpansionHack, Optional<Heightmap.Types> projectStartToHeightmap, int maxDistanceFromCenter, PoolAliasLookup aliasLookup, DimensionPadding dimensionPadding, LiquidSettings liquidSettings) private static <T> com.mojang.serialization.DataResult<T> SinglePoolElement.encodeTemplate(com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> template, com.mojang.serialization.DynamicOps<T> ops, T values) Constructor parameters in net.minecraft.world.level.levelgen.structure.pools with type arguments of type ResourceLocationModifierConstructorDescriptionprotectedLegacySinglePoolElement(com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> p_210348_, Holder<StructureProcessorList> p_210349_, StructureTemplatePool.Projection p_210350_, Optional<LiquidSettings> p_352209_) protectedSinglePoolElement(com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> template, Holder<StructureProcessorList> processors, StructureTemplatePool.Projection projection, Optional<LiquidSettings> overrideLiquidSettings) -
Uses of ResourceLocation in net.minecraft.world.level.levelgen.structure.structures
Fields in net.minecraft.world.level.levelgen.structure.structures declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocation[]OceanRuinPieces.BIG_RUINS_BRICKprivate static final ResourceLocation[]OceanRuinPieces.BIG_RUINS_CRACKEDprivate static final ResourceLocation[]OceanRuinPieces.BIG_RUINS_MOSSYprivate static final ResourceLocation[]OceanRuinPieces.BIG_WARM_RUINSprivate static final ResourceLocation[]NetherFossilPieces.FOSSILSprivate static final ResourceLocation[]OceanRuinPieces.RUINS_BRICKprivate static final ResourceLocation[]OceanRuinPieces.RUINS_CRACKEDprivate static final ResourceLocation[]OceanRuinPieces.RUINS_MOSSYprivate static final ResourceLocation[]ShipwreckPieces.STRUCTURE_LOCATION_BEACHED(package private) static final ResourceLocationIglooPieces.STRUCTURE_LOCATION_IGLOOprivate static final ResourceLocationIglooPieces.STRUCTURE_LOCATION_LABORATORYprivate static final ResourceLocationIglooPieces.STRUCTURE_LOCATION_LADDERprivate static final ResourceLocation[]ShipwreckPieces.STRUCTURE_LOCATION_OCEANprivate static final ResourceLocation[]OceanRuinPieces.WARM_RUINSFields in net.minecraft.world.level.levelgen.structure.structures with type parameters of type ResourceLocationModifier and TypeFieldDescription(package private) static final Map<ResourceLocation, BlockPos> IglooPieces.OFFSETS(package private) static final Map<ResourceLocation, BlockPos> IglooPieces.PIVOTSprivate final Optional<ResourceLocation> JigsawStructure.startJigsawNameMethods in net.minecraft.world.level.levelgen.structure.structures that return ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceLocationOceanRuinPieces.getBigWarmRuin(RandomSource random) private static ResourceLocationOceanRuinPieces.getSmallWarmRuin(RandomSource random) private static ResourceLocationWoodlandMansionPieces.WoodlandMansionPiece.makeLocation(String name) private static ResourceLocationEndCityPieces.EndCityPiece.makeResourceLocation(String name) protected ResourceLocationEndCityPieces.EndCityPiece.makeTemplateLocation()protected ResourceLocationWoodlandMansionPieces.WoodlandMansionPiece.makeTemplateLocation()Methods in net.minecraft.world.level.levelgen.structure.structures with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static BlockPosIglooPieces.IglooPiece.makePosition(ResourceLocation location, BlockPos pos, int down) private static StructurePlaceSettingsIglooPieces.IglooPiece.makeSettings(Rotation rotation, ResourceLocation location) private static StructurePlaceSettingsRuinedPortalPiece.makeSettings(StructureTemplateManager structureTemplateManager, CompoundTag tag, ResourceLocation location) Constructors in net.minecraft.world.level.levelgen.structure.structures with parameters of type ResourceLocationModifierConstructorDescriptionIglooPiece(StructureTemplateManager structureTemplateManager, ResourceLocation location, BlockPos startPos, Rotation rotation, int down) NetherFossilPiece(StructureTemplateManager structureManager, ResourceLocation location, BlockPos pos, Rotation rotation) OceanRuinPiece(StructureTemplateManager structureTemplateManager, ResourceLocation location, BlockPos pos, Rotation rotation, float integrity, OceanRuinStructure.Type biomeType, boolean isLarge) RuinedPortalPiece(StructureTemplateManager structureTemplateManager, BlockPos templatePosition, RuinedPortalPiece.VerticalPlacement verticalPlacement, RuinedPortalPiece.Properties properties, ResourceLocation location, StructureTemplate template, Rotation rotation, Mirror mirror, BlockPos pivotPos) ShipwreckPiece(StructureTemplateManager structureTemplateManager, ResourceLocation location, BlockPos pos, Rotation rotation, boolean isBeached) Constructor parameters in net.minecraft.world.level.levelgen.structure.structures with type arguments of type ResourceLocationModifierConstructorDescriptionJigsawStructure(Structure.StructureSettings settings, Holder<StructureTemplatePool> startPool, Optional<ResourceLocation> startJigsawName, int maxDepth, HeightProvider startHeight, boolean useExpansionHack, Optional<Heightmap.Types> projectStartToHeightmap, int maxDistanceFromCenter, List<PoolAliasBinding> poolAliases, DimensionPadding dimensionPadding, LiquidSettings liquidSettings) -
Uses of ResourceLocation in net.minecraft.world.level.levelgen.structure.templatesystem
Fields in net.minecraft.world.level.levelgen.structure.templatesystem with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Supplier<Stream<ResourceLocation>> StructureTemplateManager.Source.listerThe field for thelisterrecord component.private final Function<ResourceLocation, Optional<StructureTemplate>> StructureTemplateManager.Source.loaderThe field for theloaderrecord component.private final Map<ResourceLocation, Optional<StructureTemplate>> StructureTemplateManager.structureRepositoryMethods in net.minecraft.world.level.levelgen.structure.templatesystem that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionStructureTemplateManager.Source.lister()Returns the value of thelisterrecord component.private Stream<ResourceLocation> StructureTemplateManager.listGenerated()private Stream<ResourceLocation> StructureTemplateManager.listResources()StructureTemplateManager.listTemplates()private Stream<ResourceLocation> StructureTemplateManager.listTestStructures()StructureTemplateManager.Source.loader()Returns the value of theloaderrecord component.Methods in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type ResourceLocationModifier and TypeMethodDescriptionStructureTemplateManager.createAndValidatePathToGeneratedStructure(ResourceLocation location, String extension) StructureTemplateManager.get(ResourceLocation id) StructureTemplateManager.getOrCreate(ResourceLocation id) private Optional<StructureTemplate> StructureTemplateManager.loadFromGenerated(ResourceLocation id) private Optional<StructureTemplate> StructureTemplateManager.loadFromResource(ResourceLocation id) private Optional<StructureTemplate> StructureTemplateManager.loadFromSnbt(ResourceLocation id, Path p_path) private Optional<StructureTemplate> StructureTemplateManager.loadFromTestStructures(ResourceLocation id) voidStructureTemplateManager.remove(ResourceLocation id) booleanStructureTemplateManager.save(ResourceLocation id) private Optional<StructureTemplate> StructureTemplateManager.tryLoad(ResourceLocation id) Method parameters in net.minecraft.world.level.levelgen.structure.templatesystem with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate voidStructureTemplateManager.listFolderContents(Path folder, String namespace, String extension, Consumer<ResourceLocation> output) Constructor parameters in net.minecraft.world.level.levelgen.structure.templatesystem with type arguments of type ResourceLocationModifierConstructorDescription(package private)Source(Function<ResourceLocation, Optional<StructureTemplate>> loader, Supplier<Stream<ResourceLocation>> lister) Creates an instance of aSourcerecord class.(package private)Source(Function<ResourceLocation, Optional<StructureTemplate>> loader, Supplier<Stream<ResourceLocation>> lister) Creates an instance of aSourcerecord class. -
Uses of ResourceLocation in net.minecraft.world.level.saveddata.maps
Fields in net.minecraft.world.level.saveddata.maps declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationMapDecorationType.assetIdThe field for theassetIdrecord component.Methods in net.minecraft.world.level.saveddata.maps that return ResourceLocationModifier and TypeMethodDescriptionMapDecorationType.assetId()Returns the value of theassetIdrecord component.MapDecoration.getSpriteLocation()Constructors in net.minecraft.world.level.saveddata.maps with parameters of type ResourceLocationModifierConstructorDescriptionMapDecorationType(ResourceLocation assetId, boolean showOnItemFrame, int mapColor, boolean explorationMapElement, boolean trackCount) Creates an instance of aMapDecorationTyperecord class. -
Uses of ResourceLocation in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage that return types with arguments of type ResourceLocationMethods in net.minecraft.world.level.storage with parameters of type ResourceLocationModifier and TypeMethodDescriptionCommandStorage.get(ResourceLocation id) voidCommandStorage.set(ResourceLocation id, CompoundTag nbt) -
Uses of ResourceLocation in net.minecraft.world.level.storage.loot
Fields in net.minecraft.world.level.storage.loot declared as ResourceLocationModifier and TypeFieldDescriptionprivate ResourceLocationLootTable.lootTableIdprivate ResourceLocationLootContext.Builder.queriedLootTableIdprivate @Nullable ResourceLocationLootContext.queriedLootTableIdFields in net.minecraft.world.level.storage.loot with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, LootParams.DynamicDrop> LootParams.Builder.dynamicDropsprivate final Map<ResourceLocation, LootParams.DynamicDrop> LootParams.dynamicDropsprivate final BiConsumer<T, ResourceLocation> LootDataType.idSetterThe field for theidSetterrecord component.private Optional<ResourceLocation> LootTable.Builder.randomSequenceprivate final Optional<ResourceLocation> LootTable.randomSequenceMethods in net.minecraft.world.level.storage.loot that return ResourceLocationMethods in net.minecraft.world.level.storage.loot that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionLootDataType.idSetter()Returns the value of theidSetterrecord component.Methods in net.minecraft.world.level.storage.loot with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoidLootContext.addDynamicDrops(ResourceLocation name, Consumer<ItemStack> consumer) Add the dynamic drops for the given dynamic drops name to the given consumer.voidLootParams.addDynamicDrops(ResourceLocation location, Consumer<ItemStack> consumer) LootDataType.deserialize(ResourceLocation resourceLocation, com.mojang.serialization.DynamicOps<V> ops, V p_value) voidLootTable.setLootTableId(ResourceLocation id) voidLootContext.setQueriedLootTableId(@Nullable ResourceLocation queriedLootTableId) LootTable.Builder.setRandomSequence(ResourceLocation randomSequence) LootParams.Builder.withDynamicDrop(ResourceLocation name, LootParams.DynamicDrop dynamicDrop) LootContext.Builder.withQueriedLootTableId(ResourceLocation queriedLootTableId) Method parameters in net.minecraft.world.level.storage.loot with type arguments of type ResourceLocationModifier and TypeMethodDescriptionLootContext.Builder.create(Optional<ResourceLocation> sequence) Constructors in net.minecraft.world.level.storage.loot with parameters of type ResourceLocationModifierConstructorDescriptionprivateLootContext(LootParams params, RandomSource random, HolderGetter.Provider lootDataResolver, ResourceLocation queriedLootTableId) Constructor parameters in net.minecraft.world.level.storage.loot with type arguments of type ResourceLocationModifierConstructorDescriptionLootDataType(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, LootDataType.Validator<T> validator, T defaultValue, com.mojang.serialization.Codec<Optional<T>> conditionalCodec, BiConsumer<T, ResourceLocation> idSetter) Creates an instance of aLootDataTyperecord class.privateLootDataType(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, LootDataType.Validator<T> validator, T defaultValue, BiConsumer<T, ResourceLocation> idSetter) (package private)LootTable(LootContextParamSet paramSet, Optional<ResourceLocation> randomSequence, List<LootPool> pools, List<LootItemFunction> functions) -
Uses of ResourceLocation in net.minecraft.world.level.storage.loot.entries
Fields in net.minecraft.world.level.storage.loot.entries declared as ResourceLocationMethods in net.minecraft.world.level.storage.loot.entries with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic LootPoolSingletonContainer.Builder<?> DynamicLoot.dynamicEntry(ResourceLocation dynamicDropsName) Constructors in net.minecraft.world.level.storage.loot.entries with parameters of type ResourceLocationModifierConstructorDescriptionprivateDynamicLoot(ResourceLocation name, int weight, int quality, List<LootItemCondition> conditions, List<LootItemFunction> functions) -
Uses of ResourceLocation in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationApplyBonusCount.FormulaType.idThe field for theidrecord component.private final ResourceLocationSetAttributesFunction.Modifier.idThe field for theidrecord component.private final ResourceLocationSetAttributesFunction.ModifierBuilder.idFields in net.minecraft.world.level.storage.loot.functions with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Map<ResourceLocation, ApplyBonusCount.FormulaType> ApplyBonusCount.FORMULASMethods in net.minecraft.world.level.storage.loot.functions that return ResourceLocationModifier and TypeMethodDescriptionApplyBonusCount.FormulaType.id()Returns the value of theidrecord component.SetAttributesFunction.Modifier.id()Returns the value of theidrecord component.Methods in net.minecraft.world.level.storage.loot.functions with parameters of type ResourceLocationModifier and TypeMethodDescriptionSetAttributesFunction.modifier(ResourceLocation id, Holder<Attribute> attribute, AttributeModifier.Operation operation, NumberProvider amount) Constructors in net.minecraft.world.level.storage.loot.functions with parameters of type ResourceLocationModifierConstructorDescription(package private)FormulaType(ResourceLocation id, com.mojang.serialization.Codec<? extends ApplyBonusCount.Formula> codec) Creates an instance of aFormulaTyperecord class.(package private)Modifier(ResourceLocation id, Holder<Attribute> attribute, AttributeModifier.Operation operation, NumberProvider amount, List<EquipmentSlotGroup> slots) Creates an instance of aModifierrecord class.ModifierBuilder(ResourceLocation id, Holder<Attribute> attribute, AttributeModifier.Operation operation, NumberProvider amount) -
Uses of ResourceLocation in net.minecraft.world.level.storage.loot.parameters
Fields in net.minecraft.world.level.storage.loot.parameters declared as ResourceLocationFields in net.minecraft.world.level.storage.loot.parameters with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final com.google.common.collect.BiMap<ResourceLocation, LootContextParamSet> LootContextParamSets.REGISTRYMethods in net.minecraft.world.level.storage.loot.parameters that return ResourceLocationConstructors in net.minecraft.world.level.storage.loot.parameters with parameters of type ResourceLocation -
Uses of ResourceLocation in net.minecraft.world.level.storage.loot.providers.nbt
Fields in net.minecraft.world.level.storage.loot.providers.nbt declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationStorageNbtProvider.idThe field for theidrecord component.Methods in net.minecraft.world.level.storage.loot.providers.nbt that return ResourceLocationModifier and TypeMethodDescriptionStorageNbtProvider.id()Returns the value of theidrecord component.Constructors in net.minecraft.world.level.storage.loot.providers.nbt with parameters of type ResourceLocationModifierConstructorDescriptionCreates an instance of aStorageNbtProviderrecord class. -
Uses of ResourceLocation in net.minecraft.world.level.storage.loot.providers.number
Fields in net.minecraft.world.level.storage.loot.providers.number declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationStorageValue.storageThe field for thestoragerecord component.Methods in net.minecraft.world.level.storage.loot.providers.number that return ResourceLocationModifier and TypeMethodDescriptionStorageValue.storage()Returns the value of thestoragerecord component.Constructors in net.minecraft.world.level.storage.loot.providers.number with parameters of type ResourceLocationModifierConstructorDescriptionStorageValue(ResourceLocation storage, NbtPathArgument.NbtPath path) Creates an instance of aStorageValuerecord class. -
Uses of ResourceLocation in net.minecraft.world.level.timers
Fields in net.minecraft.world.level.timers declared as ResourceLocationModifier and TypeFieldDescription(package private) final ResourceLocationFunctionCallback.functionIdprivate final ResourceLocationTimerCallback.Serializer.id(package private) final ResourceLocationFunctionTagCallback.tagIdFields in net.minecraft.world.level.timers with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, TimerCallback.Serializer<C, ?>> TimerCallbacks.idToSerializerMethods in net.minecraft.world.level.timers that return ResourceLocationConstructors in net.minecraft.world.level.timers with parameters of type ResourceLocationModifierConstructorDescriptionFunctionCallback(ResourceLocation functionId) Serializer(ResourceLocation id, Class<?> cls) -
Uses of ResourceLocation in net.minecraft.world.scores.criteria
Methods in net.minecraft.world.scores.criteria with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static <T> Optional<ObjectiveCriteria> ObjectiveCriteria.getStat(StatType<T> statType, ResourceLocation resourceLocation) -
Uses of ResourceLocation in net.neoforged.neoforge.capabilities
Fields in net.neoforged.neoforge.capabilities declared as ResourceLocationFields in net.neoforged.neoforge.capabilities with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final ConcurrentMap<ResourceLocation, CapabilityRegistry.StoredCap<C>> CapabilityRegistry.capsMethods in net.neoforged.neoforge.capabilities that return ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceLocationfinal ResourceLocationBaseCapability.name()Returns the name of this capability.Methods in net.neoforged.neoforge.capabilities with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic <T,C extends @Nullable Object>
BlockCapability<T, C> BlockCapability.create(ResourceLocation name, Class<T> typeClass, Class<C> contextClass) Creates a new block capability, or gets it if it already exists.CapabilityRegistry.CapabilityConstructor.create(ResourceLocation name, Class<?> typeClass, Class<?> contextClass) Creates a new capability with the given name, type class and context class.CapabilityRegistry.create(ResourceLocation name, Class<?> typeClass, Class<?> contextClass) Creates a new capability with the given name, type class and context class, or returns an existing one if it was already created.static <T,C extends @Nullable Object>
EntityCapability<T, C> EntityCapability.create(ResourceLocation name, Class<T> typeClass, Class<C> contextClass) Creates a new entity capability, or gets it if it already exists.static <T,C extends @Nullable Object>
ItemCapability<T, C> ItemCapability.create(ResourceLocation name, Class<T> typeClass, Class<C> contextClass) Creates a new item capability, or gets it if it already exists.static <T> BlockCapability<T, @Nullable Direction> BlockCapability.createSided(ResourceLocation name, Class<T> typeClass) Creates a new block capability with nullableDirectioncontext, or gets it if it already exists.static <T> EntityCapability<T, @Nullable Direction> EntityCapability.createSided(ResourceLocation name, Class<T> typeClass) Creates a new entity capability with nullableDirectioncontext, or gets it if it already exists.static <T> BlockCapability<T, @Nullable Void> BlockCapability.createVoid(ResourceLocation name, Class<T> typeClass) Creates a new block capability withVoidcontext, or gets it if it already exists.static <T> EntityCapability<T, @Nullable Void> EntityCapability.createVoid(ResourceLocation name, Class<T> typeClass) Creates a new entity capability withVoidcontext, or gets it if it already exists.static <T> ItemCapability<T, @Nullable Void> ItemCapability.createVoid(ResourceLocation name, Class<T> typeClass) Creates a new item capability withVoidcontext, or gets it if it already exists.Constructors in net.neoforged.neoforge.capabilities with parameters of type ResourceLocationModifierConstructorDescriptionprotectedBaseCapability(ResourceLocation name, Class<T> typeClass, Class<C> contextClass) privateBlockCapability(ResourceLocation name, Class<T> typeClass, Class<C> contextClass) privateEntityCapability(ResourceLocation name, Class<T> typeClass, Class<C> contextClass) privateItemCapability(ResourceLocation name, Class<T> typeClass, Class<C> contextClass) -
Uses of ResourceLocation in net.neoforged.neoforge.client
Fields in net.neoforged.neoforge.client declared as ResourceLocationFields in net.neoforged.neoforge.client with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static com.google.common.collect.ImmutableMap<ResourceLocation, DimensionSpecialEffects> DimensionSpecialEffectsManager.EFFECTSstatic Function<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.LAYERED_ITEM_CUTOUTstatic Function<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.LAYERED_ITEM_CUTOUT_MIPPEDstatic Function<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.LAYERED_ITEM_SOLIDstatic Function<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.LAYERED_ITEM_TRANSLUCENTprivate static com.google.common.collect.ImmutableMap<ResourceLocation, RenderTypeGroup> NamedRenderTypeManager.RENDER_TYPESprivate static Map<EntityType<?>, ResourceLocation> EntitySpectatorShaderManager.SHADERSprivate static final com.google.common.collect.BiMap<ResourceLocation, SpriteSourceType> ClientHooks.SPRITE_SOURCE_TYPES_MAPstatic Function<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXTstatic Function<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_INTENSITYstatic Function<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_INTENSITY_POLYGON_OFFSETstatic Function<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_INTENSITY_SEETHROUGHstatic Function<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_POLYGON_OFFSETstatic Function<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_SEETHROUGHstatic Function<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TRANSLUCENT_PARTICLES_TARGETstatic Function<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.UNLIT_TRANSLUCENT_SORTEDstatic Function<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.UNLIT_TRANSLUCENT_UNSORTEDstatic Function<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.UNSORTED_TRANSLUCENTMethods in net.neoforged.neoforge.client that return ResourceLocationModifier and TypeMethodDescriptionstatic @Nullable ResourceLocationEntitySpectatorShaderManager.get(EntityType<?> entityType) Finds the path to the spectator mode shader used for the specified entity type, or null if none is registered.static ResourceLocationClientHooks.getArmorTexture(Entity entity, ItemStack armor, ArmorMaterial.Layer layer, boolean innerModel, EquipmentSlot slot) static ResourceLocationClientHooks.getShaderImportLocation(String basePath, boolean isRelative, String importPath) Methods in net.neoforged.neoforge.client that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic Map<ResourceLocation, ResourceLocation> ClientHooks.gatherMaterialAtlases(Map<ResourceLocation, ResourceLocation> vanillaAtlases) static Map<ResourceLocation, ResourceLocation> ClientHooks.gatherMaterialAtlases(Map<ResourceLocation, ResourceLocation> vanillaAtlases) ClientCommandSourceStack.getRecipeNames()Returns aStreamof recipe ids that are available on the client.static com.google.common.collect.BiMap<ResourceLocation, SpriteSourceType> ClientHooks.makeSpriteSourceTypesMap()Methods in net.neoforged.neoforge.client with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic RenderTypeGroupNamedRenderTypeManager.get(ResourceLocation name) Finds theRenderTypeGroupfor a given name, or theempty groupif 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 MaterialClientHooks.getBlockMaterial(ResourceLocation loc) static RenderTypeNeoForgeRenderTypes.getEntityCutoutMipped(ResourceLocation textureLocation) static DimensionSpecialEffectsDimensionSpecialEffectsManager.getForType(ResourceLocation type) Finds theDimensionSpecialEffectsfor a given dimension type, or the default if none is registered.static RenderTypeNeoForgeRenderTypes.getItemLayeredCutout(ResourceLocation textureLocation) static RenderTypeNeoForgeRenderTypes.getItemLayeredCutoutMipped(ResourceLocation textureLocation) static RenderTypeNeoForgeRenderTypes.getItemLayeredSolid(ResourceLocation textureLocation) static RenderTypeNeoForgeRenderTypes.getItemLayeredTranslucent(ResourceLocation textureLocation) static RenderTypeNeoForgeRenderTypes.getText(ResourceLocation locationIn) private static RenderTypeNeoForgeRenderTypes.Internal.getText(ResourceLocation locationIn) static RenderTypeNeoForgeRenderTypes.getTextIntensity(ResourceLocation locationIn) private static RenderTypeNeoForgeRenderTypes.Internal.getTextIntensity(ResourceLocation locationIn) static RenderTypeNeoForgeRenderTypes.getTextIntensityPolygonOffset(ResourceLocation locationIn) private static RenderTypeNeoForgeRenderTypes.Internal.getTextIntensityPolygonOffset(ResourceLocation locationIn) static RenderTypeNeoForgeRenderTypes.getTextIntensitySeeThrough(ResourceLocation locationIn) private static RenderTypeNeoForgeRenderTypes.Internal.getTextIntensitySeeThrough(ResourceLocation locationIn) static RenderTypeNeoForgeRenderTypes.getTextPolygonOffset(ResourceLocation locationIn) private static RenderTypeNeoForgeRenderTypes.Internal.getTextPolygonOffset(ResourceLocation locationIn) static RenderTypeNeoForgeRenderTypes.getTextSeeThrough(ResourceLocation locationIn) private static RenderTypeNeoForgeRenderTypes.Internal.getTextSeeThrough(ResourceLocation locationIn) static RenderTypeNeoForgeRenderTypes.getTranslucentParticlesTarget(ResourceLocation locationIn) private static RenderTypeNeoForgeRenderTypes.Internal.getTranslucentParticlesTarget(ResourceLocation locationIn) static RenderTypeNeoForgeRenderTypes.getUnlitTranslucent(ResourceLocation textureLocation) static RenderTypeNeoForgeRenderTypes.getUnlitTranslucent(ResourceLocation textureLocation, boolean sortingEnabled) static RenderTypeNeoForgeRenderTypes.getUnsortedTranslucent(ResourceLocation textureLocation) private static RenderTypeNeoForgeRenderTypes.Internal.layeredItemCutout(ResourceLocation locationIn) private static RenderTypeNeoForgeRenderTypes.Internal.layeredItemCutoutMipped(ResourceLocation locationIn) private static RenderTypeNeoForgeRenderTypes.Internal.layeredItemSolid(ResourceLocation locationIn) private static RenderTypeNeoForgeRenderTypes.Internal.layeredItemTranslucent(ResourceLocation locationIn) private static RenderTypeNeoForgeRenderTypes.Internal.unlitTranslucent(ResourceLocation textureLocation, boolean sortingEnabled) private static RenderTypeNeoForgeRenderTypes.Internal.unsortedTranslucent(ResourceLocation textureLocation) Method parameters in net.neoforged.neoforge.client with type arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic Map<ResourceLocation, ResourceLocation> ClientHooks.gatherMaterialAtlases(Map<ResourceLocation, ResourceLocation> vanillaAtlases) static Map<ResourceLocation, ResourceLocation> ClientHooks.gatherMaterialAtlases(Map<ResourceLocation, ResourceLocation> vanillaAtlases) private static DimensionSpecialEffectsDimensionSpecialEffectsManager.preRegisterVanillaEffects(Map<ResourceLocation, DimensionSpecialEffects> effects) Pre-registers vanilla dimension effects and returns the default fallback effects instance.private static voidNamedRenderTypeManager.preRegisterVanillaRenderTypes(Map<ResourceLocation, RenderTypeGroup> blockRenderTypes) Pre-registers vanilla render types.Constructors in net.neoforged.neoforge.client with parameters of type ResourceLocationModifierConstructorDescriptionprivateCustomizableTextureState(ResourceLocation resLoc, BooleanSupplier blur, BooleanSupplier mipmap) -
Uses of ResourceLocation in net.neoforged.neoforge.client.entity.animation.json
Fields in net.neoforged.neoforge.client.entity.animation.json declared as ResourceLocationFields in net.neoforged.neoforge.client.entity.animation.json with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, AnimationHolder> AnimationLoader.animationsprivate static final com.google.common.collect.ImmutableBiMap<ResourceLocation, AnimationChannel.Interpolation> AnimationTypeManager.DEFAULT_INTERPOLATIONSprivate static final com.google.common.collect.ImmutableBiMap<ResourceLocation, AnimationTarget> AnimationTypeManager.DEFAULT_TARGETSprivate static com.google.common.collect.ImmutableBiMap<ResourceLocation, AnimationChannel.Interpolation> AnimationTypeManager.INTERPOLATIONSprivate static com.google.common.collect.ImmutableBiMap<ResourceLocation, AnimationTarget> AnimationTypeManager.TARGETSMethods in net.neoforged.neoforge.client.entity.animation.json that return ResourceLocationModifier and TypeMethodDescriptionstatic @Nullable ResourceLocationAnimationTypeManager.getInterpolationName(AnimationChannel.Interpolation interpolation) Gets theResourceLocationassociated with the giveninterpolation.static @Nullable ResourceLocationAnimationTypeManager.getTargetName(AnimationTarget target) Gets theResourceLocationassociated with the giventarget.AnimationHolder.key()Gets the key associated with this animation.Methods in net.neoforged.neoforge.client.entity.animation.json with parameters of type ResourceLocationModifier and TypeMethodDescription@Nullable AnimationDefinitionAnimationLoader.getAnimation(ResourceLocation key) Gets a loadedAnimationDefinitionwith the specifiedkey.AnimationLoader.getAnimationHolder(ResourceLocation key) Returns anAnimationHolderfor an animation.AnimationTypeManager.getInterpolation(ResourceLocation name) Gets theinterpolation functionassociated with the givenname.static @Nullable AnimationTargetAnimationTypeManager.getTarget(ResourceLocation name) Gets theAnimationTargetassociated with the givenname.Method parameters in net.neoforged.neoforge.client.entity.animation.json with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprotected voidAnimationLoader.apply(Map<ResourceLocation, com.google.gson.JsonElement> animationJsons, ResourceManager resourceManager, ProfilerFiller profiler) Constructors in net.neoforged.neoforge.client.entity.animation.json with parameters of type ResourceLocation -
Uses of ResourceLocation in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event declared as ResourceLocationFields in net.neoforged.neoforge.client.event with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, ResourceLocation> RegisterMaterialAtlasesEvent.atlasesprivate final Map<ResourceLocation, ResourceLocation> RegisterMaterialAtlasesEvent.atlasesprivate final Map<ResourceLocation, DimensionSpecialEffects> RegisterDimensionSpecialEffectsEvent.effectsprivate final com.google.common.collect.ImmutableMap.Builder<ResourceLocation, AnimationChannel.Interpolation> RegisterJsonAnimationTypesEvent.interpolationsprivate final Map<ResourceLocation, IGeometryLoader<?>> ModelEvent.RegisterGeometryLoaders.loadersprivate final Map<ResourceLocation, AnimationChannel.Interpolation> RegisterJsonAnimationTypesEvent.registeredInterpolationsprivate final Map<ResourceLocation, AnimationTarget> RegisterJsonAnimationTypesEvent.registeredTargetsprivate final Map<ResourceLocation, RenderTypeGroup> RegisterNamedRenderTypesEvent.renderTypesprivate final Map<EntityType<?>, ResourceLocation> RegisterEntitySpectatorShadersEvent.shadersprivate @Nullable Set<ResourceLocation> GatherSkippedAttributeTooltipsEvent.skippedIdsprivate final com.google.common.collect.ImmutableMap.Builder<ResourceLocation, AnimationTarget> RegisterJsonAnimationTypesEvent.targetsprivate final com.google.common.collect.BiMap<ResourceLocation, SpriteSourceType> RegisterSpriteSourceTypesEvent.typesMethods in net.neoforged.neoforge.client.event that return ResourceLocationMethods in net.neoforged.neoforge.client.event that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprotected Set<ResourceLocation> GatherSkippedAttributeTooltipsEvent.getSkippedIds()InitializesGatherSkippedAttributeTooltipsEvent.skippedIdsif necessary, and returns it.Methods in net.neoforged.neoforge.client.event with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static <T> voidRegisterJsonAnimationTypesEvent.checkDuplicate(String what, ResourceLocation key, Map<ResourceLocation, T> by, T obj) booleanGatherSkippedAttributeTooltipsEvent.isSkipped(ResourceLocation id) Checks if a given id is skipped or not.voidModelEvent.RegisterGeometryLoaders.register(ResourceLocation key, IGeometryLoader<?> loader) Registers a new geometry loader.voidRegisterDimensionSpecialEffectsEvent.register(ResourceLocation dimensionType, DimensionSpecialEffects effects) Registers the effects for a given dimension type.voidRegisterEntitySpectatorShadersEvent.register(EntityType<?> entityType, ResourceLocation shader) Registers a spectator shader for a given entity type.private voidRegisterGuiLayersEvent.register(RegisterGuiLayersEvent.Ordering ordering, @Nullable ResourceLocation other, ResourceLocation key, LayeredDraw.Layer layer) voidRegisterMaterialAtlasesEvent.register(ResourceLocation atlasLocation, ResourceLocation atlasInfoLocation) Register a texture atlas with the given name and info locationvoidRegisterNamedRenderTypesEvent.register(ResourceLocation key, RenderType blockRenderType, RenderType entityRenderType) Registers a namedRenderTypeGroup.voidRegisterNamedRenderTypesEvent.register(ResourceLocation key, RenderType blockRenderType, RenderType entityRenderType, RenderType fabulousEntityRenderType) Registers a namedRenderTypeGroup.RegisterSpriteSourceTypesEvent.register(ResourceLocation id, com.mojang.serialization.MapCodec<? extends SpriteSource> codec) Deprecated, for removal: This API element is subject to removal in a future version.voidRegisterSpriteSourceTypesEvent.register(ResourceLocation id, SpriteSourceType sourceType) Registers the givenSpriteSourceTypeunder the given id.RenderLevelStageEvent.RegisterStageEvent.register(ResourceLocation name, @Nullable RenderType renderType) private static RenderLevelStageEvent.StageRenderLevelStageEvent.Stage.register(ResourceLocation name, @Nullable RenderType renderType) voidRegisterGuiLayersEvent.registerAbove(ResourceLocation other, ResourceLocation id, LayeredDraw.Layer layer) Registers an layer that renders above another.voidRegisterGuiLayersEvent.registerAboveAll(ResourceLocation id, LayeredDraw.Layer layer) Registers a layer that renders above all others.voidRegisterGuiLayersEvent.registerBelow(ResourceLocation other, ResourceLocation id, LayeredDraw.Layer layer) Registers a layer that renders below another.voidRegisterGuiLayersEvent.registerBelowAll(ResourceLocation id, LayeredDraw.Layer layer) Registers a layer that renders below all others.voidRegisterJsonAnimationTypesEvent.registerInterpolation(ResourceLocation key, AnimationChannel.Interpolation interpolation) Register a custominterpolation functionwith the specifiedkey.voidRegisterJsonAnimationTypesEvent.registerTarget(ResourceLocation key, AnimationTarget target) Register a customAnimationTargetwith the specifiedkey.voidGatherSkippedAttributeTooltipsEvent.skipId(ResourceLocation id) Marks the id of a specific attribute modifier as skipped, causing it to not be displayed in the tooltip.Method parameters in net.neoforged.neoforge.client.event with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static <T> voidRegisterJsonAnimationTypesEvent.checkDuplicate(String what, ResourceLocation key, Map<ResourceLocation, T> by, T obj) Constructors in net.neoforged.neoforge.client.event with parameters of type ResourceLocationModifierConstructorDescriptionPost(GuiGraphics guiGraphics, DeltaTracker partialTick, ResourceLocation name, LayeredDraw.Layer layer) Pre(GuiGraphics guiGraphics, DeltaTracker partialTick, ResourceLocation name, LayeredDraw.Layer layer) protectedRenderGuiLayerEvent(GuiGraphics guiGraphics, DeltaTracker partialTick, ResourceLocation name, LayeredDraw.Layer layer) Constructor parameters in net.neoforged.neoforge.client.event with type arguments of type ResourceLocationModifierConstructorDescriptionRegisterEntitySpectatorShadersEvent(Map<EntityType<?>, ResourceLocation> shaders) RegisterGeometryLoaders(Map<ResourceLocation, IGeometryLoader<?>> loaders) RegisterJsonAnimationTypesEvent(com.google.common.collect.ImmutableMap.Builder<ResourceLocation, AnimationTarget> targets, com.google.common.collect.ImmutableMap.Builder<ResourceLocation, AnimationChannel.Interpolation> interpolations) RegisterNamedRenderTypesEvent(Map<ResourceLocation, RenderTypeGroup> renderTypes) RegisterSpriteSourceTypesEvent(com.google.common.collect.BiMap<ResourceLocation, SpriteSourceType> types) -
Uses of ResourceLocation in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions with parameters of type ResourceLocationModifier and TypeMethodDescription@Nullable BakedModelIModelBakerExtension.bake(ResourceLocation location, ModelState state, Function<Material, TextureAtlasSprite> sprites) default voidIGuiGraphicsExtension.blitInscribed(ResourceLocation texture, int x, int y, int boundsWidth, int boundsHeight, int rectWidth, int rectHeight) default voidIGuiGraphicsExtension.blitInscribed(ResourceLocation texture, int x, int y, int boundsWidth, int boundsHeight, int rectWidth, int rectHeight, boolean centerX, boolean centerY) default voidIGuiGraphicsExtension.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 voidIGuiGraphicsExtension.blitWithBorder(ResourceLocation texture, int x, int y, int u, int v, int width, int height, int textureWidth, int textureHeight, int topBorder, int bottomBorder, int leftBorder, int rightBorder) Draws a textured box of any size (smallest size is borderSize * 2 square) based on a fixed size textured box with continuous borders and filler. -
Uses of ResourceLocation in net.neoforged.neoforge.client.extensions.common
Methods in net.neoforged.neoforge.client.extensions.common that return ResourceLocationModifier and TypeMethodDescriptiondefault ResourceLocationIClientFluidTypeExtensions.getFlowingTexture()Returns the reference of the texture to apply to a flowing fluid.default ResourceLocationIClientFluidTypeExtensions.getFlowingTexture(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the reference of the texture to apply to a flowing fluid.default ResourceLocationIClientFluidTypeExtensions.getFlowingTexture(FluidStack stack) Returns the reference of the texture to apply to a flowing fluid.default @Nullable ResourceLocationIClientFluidTypeExtensions.getOverlayTexture()Returns the reference of the texture to apply to a fluid directly touching a non-opaque block other than air.default ResourceLocationIClientFluidTypeExtensions.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 ResourceLocationIClientFluidTypeExtensions.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 ResourceLocationIClientFluidTypeExtensions.getRenderOverlayTexture(Minecraft mc) Returns the location of the texture to apply to the camera when it is within the fluid.default ResourceLocationIClientFluidTypeExtensions.getStillTexture()Returns the reference of the texture to apply to a source fluid.default ResourceLocationIClientFluidTypeExtensions.getStillTexture(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the reference of the texture to apply to a source fluid.default ResourceLocationIClientFluidTypeExtensions.getStillTexture(FluidStack stack) Returns the reference of the texture to apply to a source fluid. -
Uses of ResourceLocation in net.neoforged.neoforge.client.gui
Fields in net.neoforged.neoforge.client.gui declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocationVanillaGuiLayers.AIR_LEVELstatic final ResourceLocationVanillaGuiLayers.ARMOR_LEVELstatic final ResourceLocationVanillaGuiLayers.BOSS_OVERLAYstatic final ResourceLocationVanillaGuiLayers.CAMERA_OVERLAYSstatic final ResourceLocationVanillaGuiLayers.CHATstatic final ResourceLocationVanillaGuiLayers.CROSSHAIRstatic final ResourceLocationVanillaGuiLayers.DEBUG_OVERLAYstatic final ResourceLocationVanillaGuiLayers.DEMO_OVERLAYstatic final ResourceLocationVanillaGuiLayers.EFFECTSstatic final ResourceLocationVanillaGuiLayers.EXPERIENCE_BARstatic final ResourceLocationVanillaGuiLayers.EXPERIENCE_LEVELstatic final ResourceLocationVanillaGuiLayers.FOOD_LEVELstatic final ResourceLocationVanillaGuiLayers.HOTBARstatic final ResourceLocationVanillaGuiLayers.JUMP_METERprivate ResourceLocationModListScreen.InfoPanel.logoPathprivate final ResourceLocationGuiLayerManager.NamedLayer.nameThe field for thenamerecord component.static final ResourceLocationVanillaGuiLayers.OVERLAY_MESSAGEstatic final ResourceLocationVanillaGuiLayers.PLAYER_HEALTHstatic final ResourceLocationVanillaGuiLayers.SAVING_INDICATORstatic final ResourceLocationVanillaGuiLayers.SCOREBOARD_SIDEBARstatic final ResourceLocationVanillaGuiLayers.SELECTED_ITEM_NAMEstatic final ResourceLocationVanillaGuiLayers.SLEEP_OVERLAYstatic final ResourceLocationVanillaGuiLayers.SPECTATOR_TOOLTIPstatic final ResourceLocationVanillaGuiLayers.SUBTITLE_OVERLAYstatic final ResourceLocationVanillaGuiLayers.TAB_LISTstatic final ResourceLocationVanillaGuiLayers.TITLEstatic final ResourceLocationVanillaGuiLayers.VEHICLE_HEALTHFields in net.neoforged.neoforge.client.gui with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, Component> ModMismatchDisconnectedScreen.mismatchedChannelDataMethods in net.neoforged.neoforge.client.gui that return ResourceLocationModifier and TypeMethodDescriptionGuiLayerManager.NamedLayer.name()Returns the value of thenamerecord component.Methods in net.neoforged.neoforge.client.gui that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate Map<List<ResourceLocation>, Component> ModMismatchDisconnectedScreen.MismatchInfoPanel.sortAndMergeChannelData(Map<ResourceLocation, Component> mismatchedChannelData) Iterates over the raw channel mismatch data and merges entries with the same reason component into one channel mismatch entry each.Methods in net.neoforged.neoforge.client.gui with parameters of type ResourceLocationModifier and TypeMethodDescriptionGuiLayerManager.add(ResourceLocation name, LayeredDraw.Layer layer) static voidScreenUtils.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 voidScreenUtils.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 voidScreenUtils.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 voidScreenUtils.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) voidModListScreen.InfoPanel.setInfo(List<String> lines, ResourceLocation logoPath, Size2i logoDims) Method parameters in net.neoforged.neoforge.client.gui with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate Map<List<ResourceLocation>, Component> ModMismatchDisconnectedScreen.MismatchInfoPanel.sortAndMergeChannelData(Map<ResourceLocation, Component> mismatchedChannelData) Iterates over the raw channel mismatch data and merges entries with the same reason component into one channel mismatch entry each.private MutableComponentModMismatchDisconnectedScreen.MismatchInfoPanel.toChannelComponent(List<ResourceLocation> ids, ChatFormatting color) Formats the given list of channel ids to a component which, depending on the current display mode of the list, will list either the first or all channel ids.Constructors in net.neoforged.neoforge.client.gui with parameters of type ResourceLocationModifierConstructorDescriptionNamedLayer(ResourceLocation name, LayeredDraw.Layer layer) Creates an instance of aNamedLayerrecord class.Constructor parameters in net.neoforged.neoforge.client.gui with type arguments of type ResourceLocationModifierConstructorDescriptionModMismatchDisconnectedScreen(Screen parentScreen, Component reason, Map<ResourceLocation, Component> mismatchedChannelData) -
Uses of ResourceLocation in net.neoforged.neoforge.client.gui.widget
Fields in net.neoforged.neoforge.client.gui.widget declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationModListWidget.VERSION_CHECK_ICONSprivate static final ResourceLocationModsButton.VERSION_CHECK_ICONS -
Uses of ResourceLocation in net.neoforged.neoforge.client.model
Fields in net.neoforged.neoforge.client.model with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceLocation> ItemLayerModel.renderTypeNamesMethod parameters in net.neoforged.neoforge.client.model with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprotected voidItemLayerModel.Loader.readLayerData(com.google.gson.JsonObject jsonObject, String name, it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap<ResourceLocation> renderTypeNames, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ExtraFaceData> layerData, boolean logWarning) voidCompositeModel.resolveParents(Function<ResourceLocation, UnbakedModel> modelGetter, IGeometryBakingContext context) voidSeparateTransformsModel.resolveParents(Function<ResourceLocation, UnbakedModel> modelGetter, IGeometryBakingContext context) -
Uses of ResourceLocation in net.neoforged.neoforge.client.model.generators
Fields in net.neoforged.neoforge.client.model.generators declared as ResourceLocationModifier and TypeFieldDescriptionprotected final ResourceLocationCustomLoaderBuilder.loaderIdprotected ResourceLocationModelFile.locationFields in net.neoforged.neoforge.client.model.generators with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprotected final Function<ResourceLocation, T> ModelProvider.factoryfinal Map<ResourceLocation, T> ModelProvider.generatedModelsprivate final Map<ResourceLocation, Float> ItemModelBuilder.OverrideBuilder.predicatesMethods in net.neoforged.neoforge.client.model.generators that return ResourceLocationModifier and TypeMethodDescriptionBlockStateProvider.blockTexture(Block block) private ResourceLocationBlockStateProvider.extend(ResourceLocation rl, String suffix) private ResourceLocationModelProvider.extendWithFolder(ResourceLocation rl) ModelFile.getLocation()ModelFile.getUncheckedLocation()private ResourceLocationMethods in net.neoforged.neoforge.client.model.generators with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoidBlockStateProvider.axisBlock(RotatedPillarBlock block, ResourceLocation baseName) voidBlockStateProvider.axisBlock(RotatedPillarBlock block, ResourceLocation side, ResourceLocation end) voidBlockStateProvider.axisBlockWithRenderType(RotatedPillarBlock block, ResourceLocation renderType) voidBlockStateProvider.axisBlockWithRenderType(RotatedPillarBlock block, ResourceLocation baseName, String renderType) voidBlockStateProvider.axisBlockWithRenderType(RotatedPillarBlock block, ResourceLocation baseName, ResourceLocation renderType) voidBlockStateProvider.axisBlockWithRenderType(RotatedPillarBlock block, ResourceLocation side, ResourceLocation end, String renderType) voidBlockStateProvider.axisBlockWithRenderType(RotatedPillarBlock block, ResourceLocation side, ResourceLocation end, ResourceLocation renderType) ItemModelProvider.basicItem(ResourceLocation item) ModelProvider.button(String name, ResourceLocation texture) voidBlockStateProvider.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 TModelProvider.door(String name, String model, ResourceLocation bottom, ResourceLocation top) voidBlockStateProvider.doorBlock(DoorBlock block, String name, ResourceLocation bottom, ResourceLocation top) voidBlockStateProvider.doorBlock(DoorBlock block, ResourceLocation bottom, ResourceLocation top) private voidBlockStateProvider.doorBlockInternal(DoorBlock block, String baseName, ResourceLocation bottom, ResourceLocation top) private voidBlockStateProvider.doorBlockInternalWithRenderType(DoorBlock block, String baseName, ResourceLocation bottom, ResourceLocation top, ResourceLocation renderType) voidBlockStateProvider.doorBlockWithRenderType(DoorBlock block, String name, ResourceLocation bottom, ResourceLocation top, String renderType) voidBlockStateProvider.doorBlockWithRenderType(DoorBlock block, String name, ResourceLocation bottom, ResourceLocation top, ResourceLocation renderType) voidBlockStateProvider.doorBlockWithRenderType(DoorBlock block, ResourceLocation bottom, ResourceLocation top, String renderType) voidBlockStateProvider.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 ResourceLocationBlockStateProvider.extend(ResourceLocation rl, String suffix) private ResourceLocationModelProvider.extendWithFolder(ResourceLocation rl) voidBlockStateProvider.fenceBlock(FenceBlock block, String name, ResourceLocation texture) voidBlockStateProvider.fenceBlock(FenceBlock block, ResourceLocation texture) voidBlockStateProvider.fenceBlockWithRenderType(FenceBlock block, String name, ResourceLocation texture, String renderType) voidBlockStateProvider.fenceBlockWithRenderType(FenceBlock block, String name, ResourceLocation texture, ResourceLocation renderType) voidBlockStateProvider.fenceBlockWithRenderType(FenceBlock block, ResourceLocation texture, String renderType) voidBlockStateProvider.fenceBlockWithRenderType(FenceBlock block, ResourceLocation texture, ResourceLocation renderType) ModelProvider.fenceGate(String name, ResourceLocation texture) voidBlockStateProvider.fenceGateBlock(FenceGateBlock block, String name, ResourceLocation texture) voidBlockStateProvider.fenceGateBlock(FenceGateBlock block, ResourceLocation texture) private voidBlockStateProvider.fenceGateBlockInternal(FenceGateBlock block, String baseName, ResourceLocation texture) private voidBlockStateProvider.fenceGateBlockInternalWithRenderType(FenceGateBlock block, String baseName, ResourceLocation texture, ResourceLocation renderType) voidBlockStateProvider.fenceGateBlockWithRenderType(FenceGateBlock block, String name, ResourceLocation texture, String renderType) voidBlockStateProvider.fenceGateBlockWithRenderType(FenceGateBlock block, String name, ResourceLocation texture, ResourceLocation renderType) voidBlockStateProvider.fenceGateBlockWithRenderType(FenceGateBlock block, ResourceLocation texture, String renderType) voidBlockStateProvider.fenceGateBlockWithRenderType(FenceGateBlock block, ResourceLocation texture, ResourceLocation renderType) ModelProvider.fenceGateOpen(String name, ResourceLocation texture) ModelProvider.fenceGateWall(String name, ResourceLocation texture) ModelProvider.fenceGateWallOpen(String name, ResourceLocation texture) ModelProvider.fenceInventory(String name, ResourceLocation texture) ModelProvider.fencePost(String name, ResourceLocation texture) ModelProvider.fenceSide(String name, ResourceLocation texture) ModelProvider.getExistingFile(ResourceLocation path) ItemModelProvider.handheldItem(ResourceLocation item) voidBlockStateProvider.hangingSignBlock(CeilingHangingSignBlock hangingSignBlock, WallHangingSignBlock wallHangingSignBlock, ResourceLocation texture) voidBlockStateProvider.horizontalBlock(Block block, ResourceLocation side, ResourceLocation front, ResourceLocation top) ModelProvider.leaves(String name, ResourceLocation texture) voidBlockStateProvider.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 TModelProvider.pane(String name, String parent, ResourceLocation pane, ResourceLocation edge) voidBlockStateProvider.paneBlock(IronBarsBlock block, String name, ResourceLocation pane, ResourceLocation edge) voidBlockStateProvider.paneBlock(IronBarsBlock block, ResourceLocation pane, ResourceLocation edge) private voidBlockStateProvider.paneBlockInternal(IronBarsBlock block, String baseName, ResourceLocation pane, ResourceLocation edge) private voidBlockStateProvider.paneBlockInternalWithRenderType(IronBarsBlock block, String baseName, ResourceLocation pane, ResourceLocation edge, ResourceLocation renderType) voidBlockStateProvider.paneBlockWithRenderType(IronBarsBlock block, String name, ResourceLocation pane, ResourceLocation edge, String renderType) voidBlockStateProvider.paneBlockWithRenderType(IronBarsBlock block, String name, ResourceLocation pane, ResourceLocation edge, ResourceLocation renderType) voidBlockStateProvider.paneBlockWithRenderType(IronBarsBlock block, ResourceLocation pane, ResourceLocation edge, String renderType) voidBlockStateProvider.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) voidBlockStateProvider.pressurePlateBlock(PressurePlateBlock block, ResourceLocation texture) ModelProvider.pressurePlateDown(String name, ResourceLocation texture) ModelBuilder.renderType(ResourceLocation renderType) Set the render type for this model.private TModelProvider.sideBottomTop(String name, String parent, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) ModelProvider.sign(String name, ResourceLocation texture) voidBlockStateProvider.signBlock(StandingSignBlock signBlock, WallSignBlock wallSignBlock, ResourceLocation texture) ItemModelProvider.simpleBlockItem(ResourceLocation block) private TModelProvider.singleTexture(String name, String parent, String textureKey, ResourceLocation texture) private TModelProvider.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) voidBlockStateProvider.slabBlock(SlabBlock block, ResourceLocation doubleslab, ResourceLocation texture) voidBlockStateProvider.slabBlock(SlabBlock block, ResourceLocation doubleslab, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) ModelProvider.slabTop(String name, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) ItemModelProvider.spawnEggItem(ResourceLocation item) ModelProvider.stairs(String name, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) voidBlockStateProvider.stairsBlock(StairBlock block, String name, ResourceLocation texture) voidBlockStateProvider.stairsBlock(StairBlock block, String name, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) voidBlockStateProvider.stairsBlock(StairBlock block, ResourceLocation texture) voidBlockStateProvider.stairsBlock(StairBlock block, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) private voidBlockStateProvider.stairsBlockInternal(StairBlock block, String baseName, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) private voidBlockStateProvider.stairsBlockInternalWithRenderType(StairBlock block, String baseName, ResourceLocation side, ResourceLocation bottom, ResourceLocation top, ResourceLocation renderType) voidBlockStateProvider.stairsBlockWithRenderType(StairBlock block, String name, ResourceLocation texture, String renderType) voidBlockStateProvider.stairsBlockWithRenderType(StairBlock block, String name, ResourceLocation texture, ResourceLocation renderType) voidBlockStateProvider.stairsBlockWithRenderType(StairBlock block, String name, ResourceLocation side, ResourceLocation bottom, ResourceLocation top, String renderType) voidBlockStateProvider.stairsBlockWithRenderType(StairBlock block, String name, ResourceLocation side, ResourceLocation bottom, ResourceLocation top, ResourceLocation renderType) voidBlockStateProvider.stairsBlockWithRenderType(StairBlock block, ResourceLocation texture, String renderType) voidBlockStateProvider.stairsBlockWithRenderType(StairBlock block, ResourceLocation texture, ResourceLocation renderType) voidBlockStateProvider.stairsBlockWithRenderType(StairBlock block, ResourceLocation side, ResourceLocation bottom, ResourceLocation top, String renderType) voidBlockStateProvider.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) voidBlockStateProvider.trapdoorBlock(TrapDoorBlock block, String name, ResourceLocation texture, boolean orientable) voidBlockStateProvider.trapdoorBlock(TrapDoorBlock block, ResourceLocation texture, boolean orientable) private voidBlockStateProvider.trapdoorBlockInternal(TrapDoorBlock block, String baseName, ResourceLocation texture, boolean orientable) private voidBlockStateProvider.trapdoorBlockInternalWithRenderType(TrapDoorBlock block, String baseName, ResourceLocation texture, boolean orientable, ResourceLocation renderType) voidBlockStateProvider.trapdoorBlockWithRenderType(TrapDoorBlock block, String name, ResourceLocation texture, boolean orientable, String renderType) voidBlockStateProvider.trapdoorBlockWithRenderType(TrapDoorBlock block, String name, ResourceLocation texture, boolean orientable, ResourceLocation renderType) voidBlockStateProvider.trapdoorBlockWithRenderType(TrapDoorBlock block, ResourceLocation texture, boolean orientable, String renderType) voidBlockStateProvider.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) voidBlockStateProvider.wallBlock(WallBlock block, String name, ResourceLocation texture) voidBlockStateProvider.wallBlock(WallBlock block, ResourceLocation texture) private voidBlockStateProvider.wallBlockInternal(WallBlock block, String baseName, ResourceLocation texture) private voidBlockStateProvider.wallBlockInternalWithRenderType(WallBlock block, String baseName, ResourceLocation texture, ResourceLocation renderType) voidBlockStateProvider.wallBlockWithRenderType(WallBlock block, String name, ResourceLocation texture, String renderType) voidBlockStateProvider.wallBlockWithRenderType(WallBlock block, String name, ResourceLocation texture, ResourceLocation renderType) voidBlockStateProvider.wallBlockWithRenderType(WallBlock block, ResourceLocation texture, String renderType) voidBlockStateProvider.wallBlockWithRenderType(WallBlock block, ResourceLocation texture, ResourceLocation renderType) ModelProvider.wallInventory(String name, ResourceLocation wall) ModelProvider.wallPost(String name, ResourceLocation wall) ModelProvider.wallSide(String name, ResourceLocation wall) ModelProvider.wallSideTall(String name, ResourceLocation wall) ModelProvider.withExistingParent(String name, ResourceLocation parent) Constructors in net.neoforged.neoforge.client.model.generators with parameters of type ResourceLocationModifierConstructorDescriptionBlockModelBuilder(ResourceLocation outputLocation, ExistingFileHelper existingFileHelper) protectedCustomLoaderBuilder(ResourceLocation loaderId, T parent, ExistingFileHelper existingFileHelper, boolean allowInlineElements) ExistingModelFile(ResourceLocation location, ExistingFileHelper existingHelper) ItemModelBuilder(ResourceLocation outputLocation, ExistingFileHelper existingFileHelper) protectedModelBuilder(ResourceLocation outputLocation, ExistingFileHelper existingFileHelper) protectedModelFile(ResourceLocation location) UncheckedModelFile(ResourceLocation location) Constructor parameters in net.neoforged.neoforge.client.model.generators with type arguments of type ResourceLocationModifierConstructorDescriptionModelProvider(PackOutput output, String modid, String folder, BiFunction<ResourceLocation, ExistingFileHelper, T> builderFromModId, ExistingFileHelper existingFileHelper) ModelProvider(PackOutput output, String modid, String folder, Function<ResourceLocation, T> factory, ExistingFileHelper existingFileHelper) -
Uses of ResourceLocation in net.neoforged.neoforge.client.model.generators.loaders
Fields in net.neoforged.neoforge.client.model.generators.loaders declared as ResourceLocationModifier and TypeFieldDescriptionprivate ResourceLocationDynamicFluidContainerModelBuilder.fluidprivate ResourceLocationObjModelBuilder.modelLocationprivate ResourceLocationObjModelBuilder.mtlOverrideFields in net.neoforged.neoforge.client.model.generators.loaders with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, it.unimi.dsi.fastutil.ints.IntSet> ItemLayerModelBuilder.renderTypesMethods in net.neoforged.neoforge.client.model.generators.loaders with parameters of type ResourceLocationModifier and TypeMethodDescriptionObjModelBuilder.modelLocation(ResourceLocation modelLocation) ObjModelBuilder.overrideMaterialLibrary(ResourceLocation mtlOverride) ItemLayerModelBuilder.renderType(ResourceLocation renderType, int... layers) Set the render type for a set of layers. -
Uses of ResourceLocation in net.neoforged.neoforge.client.model.geometry
Fields in net.neoforged.neoforge.client.model.geometry declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocationStandaloneGeometryBakingContext.LOCATIONprivate final ResourceLocationStandaloneGeometryBakingContext.modelNameprivate @Nullable ResourceLocationBlockGeometryBakingContext.renderTypeHintprivate @Nullable ResourceLocationStandaloneGeometryBakingContext.Builder.renderTypeHintprivate final @Nullable ResourceLocationStandaloneGeometryBakingContext.renderTypeHintFields in net.neoforged.neoforge.client.model.geometry with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static com.google.common.collect.ImmutableMap<ResourceLocation, IGeometryLoader<?>> GeometryLoaderManager.LOADERSMethods in net.neoforged.neoforge.client.model.geometry that return ResourceLocationModifier and TypeMethodDescription@Nullable ResourceLocationBlockGeometryBakingContext.getRenderTypeHint()@Nullable ResourceLocationIGeometryBakingContext.getRenderTypeHint()Returns a hint of the render type this model should use. Custom loaders may ignore this..@Nullable ResourceLocationStandaloneGeometryBakingContext.getRenderTypeHint()Methods in net.neoforged.neoforge.client.model.geometry with parameters of type ResourceLocationModifier and TypeMethodDescriptionStandaloneGeometryBakingContext.Builder.build(ResourceLocation modelName) StandaloneGeometryBakingContext.create(ResourceLocation modelName) StandaloneGeometryBakingContext.create(ResourceLocation modelName, Map<String, ResourceLocation> textures) static @Nullable IGeometryLoader<?> GeometryLoaderManager.get(ResourceLocation name) Finds theIGeometryLoaderfor a given name, or null if not found.default RenderTypeGroupIGeometryBakingContext.getRenderType(ResourceLocation name) Returns aRenderTypeGroupwith the given name, or the empty group if not found..voidBlockGeometryBakingContext.setRenderTypeHint(ResourceLocation renderTypeHint) StandaloneGeometryBakingContext.Builder.withRenderTypeHint(ResourceLocation renderTypeHint) StandaloneGeometryBakingContext.Builder.withTextures(Map<String, ResourceLocation> textures, ResourceLocation defaultTexture) StandaloneGeometryBakingContext.Builder.withTextures(ResourceLocation atlasLocation, Map<String, ResourceLocation> textures, ResourceLocation defaultTexture) Method parameters in net.neoforged.neoforge.client.model.geometry with type arguments of type ResourceLocationModifier and TypeMethodDescriptionStandaloneGeometryBakingContext.create(Map<String, ResourceLocation> textures) StandaloneGeometryBakingContext.create(ResourceLocation modelName, Map<String, ResourceLocation> textures) default voidIUnbakedGeometry.resolveParents(Function<ResourceLocation, UnbakedModel> modelGetter, IGeometryBakingContext context) Resolve parents of nestedBlockModels which are later used inIUnbakedGeometry.bake(IGeometryBakingContext, ModelBaker, Function, ModelState, ItemOverrides)viaBlockModel.resolveParents(Function)StandaloneGeometryBakingContext.Builder.withTextures(Map<String, ResourceLocation> textures, ResourceLocation defaultTexture) StandaloneGeometryBakingContext.Builder.withTextures(ResourceLocation atlasLocation, Map<String, ResourceLocation> textures, ResourceLocation defaultTexture) Constructors in net.neoforged.neoforge.client.model.geometry with parameters of type ResourceLocationModifierConstructorDescriptionprivateStandaloneGeometryBakingContext(ResourceLocation modelName, Predicate<String> materialCheck, Function<String, Material> materialLookup, boolean isGui3d, boolean useBlockLight, boolean useAmbientOcclusion, ItemTransforms transforms, Transformation rootTransform, @Nullable ResourceLocation renderTypeHint, BiPredicate<String, Boolean> visibilityTest) -
Uses of ResourceLocation in net.neoforged.neoforge.client.model.obj
Fields in net.neoforged.neoforge.client.model.obj declared as ResourceLocationModifier and TypeFieldDescriptionfinal ResourceLocationObjModel.modelLocationprivate final ResourceLocationObjModel.ModelSettings.modelLocationThe field for themodelLocationrecord component.Fields in net.neoforged.neoforge.client.model.obj with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, ObjMaterialLibrary> ObjLoader.materialCacheMethods in net.neoforged.neoforge.client.model.obj that return ResourceLocationModifier and TypeMethodDescriptionObjModel.ModelSettings.modelLocation()Returns the value of themodelLocationrecord component.Methods in net.neoforged.neoforge.client.model.obj with parameters of type ResourceLocationModifier and TypeMethodDescriptionObjLoader.loadMaterialLibrary(ResourceLocation materialLocation) Method parameters in net.neoforged.neoforge.client.model.obj with type arguments of type ResourceLocationModifier and TypeMethodDescriptionObjModel.ModelGroup.getTextures(IGeometryBakingContext owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) ObjModel.ModelObject.getTextures(IGeometryBakingContext owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) Constructors in net.neoforged.neoforge.client.model.obj with parameters of type ResourceLocationModifierConstructorDescriptionModelSettings(ResourceLocation modelLocation, boolean automaticCulling, boolean shadeQuads, boolean flipV, boolean emissiveAmbient, @Nullable String mtlOverride) Creates an instance of aModelSettingsrecord class. -
Uses of ResourceLocation in net.neoforged.neoforge.client.model.renderable
Fields in net.neoforged.neoforge.client.model.renderable declared as ResourceLocationMethods in net.neoforged.neoforge.client.model.renderable with parameters of type ResourceLocationModifier and TypeMethodDescriptionCompositeRenderable.PartBuilder.addMesh(ResourceLocation texture, List<BakedQuad> quads) ITextureRenderTypeLookup.get(ResourceLocation name) Constructors in net.neoforged.neoforge.client.model.renderable with parameters of type ResourceLocation -
Uses of ResourceLocation in net.neoforged.neoforge.client.textures
Fields in net.neoforged.neoforge.client.textures declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocationNamespacedDirectoryLister.IDstatic final ResourceLocationUnitTextureAtlasSprite.LOCATIONFields in net.neoforged.neoforge.client.textures with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static Map<ResourceLocation, TextureAtlasSprite> FluidSpriteCache.textureLookupMethods in net.neoforged.neoforge.client.textures with parameters of type ResourceLocationModifier and TypeMethodDescription@Nullable SpriteContentsSpriteContentsConstructor.create(ResourceLocation id, FrameSize frameSize, NativeImage nativeImage, ResourceMetadata resourceMetadata) Construct an instance of SpriteContents or return null to not load the sprite.static TextureAtlasSpriteFluidSpriteCache.getSprite(ResourceLocation texture) Returns a specified sprite or a missing sprite texture if sprite is not found. -
Uses of ResourceLocation in net.neoforged.neoforge.common
Fields in net.neoforged.neoforge.common declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationCreativeModeTabRegistry.CREATIVE_MODE_TAB_ORDERING_JSONFields in net.neoforged.neoforge.common with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> CreativeModeTabRegistry.edgesprivate static final com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> CreativeModeTabRegistry.edgesMethods in net.neoforged.neoforge.common that return ResourceLocationModifier and TypeMethodDescriptionstatic @Nullable ResourceLocationCreativeModeTabRegistry.getName(CreativeModeTab tab) Returns the name of the given CreativeModeTab, or null.Methods in net.neoforged.neoforge.common with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static voidCreativeModeTabRegistry.addTabOrder(CreativeModeTab tab, ResourceLocation name) static @Nullable CreativeModeTabCreativeModeTabRegistry.getTab(ResourceLocation name) Returns the CreativeModeTab with the given name, or null.static it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> CommonHooks.modifyLoot(ResourceLocation lootTableId, it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> generatedLoot, LootContext context) Handles the modification of loot table drops via the registered Global Loot Modifiers, so that custom effects can be processed.static StringCommonHooks.prefixNamespace(ResourceLocation registryKey) This method is used to prefix the path, where elements of the associated registry are stored, with their namespace, if it is not minecraftMethod parameters in net.neoforged.neoforge.common with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate <T> voidNeoForgeEventHandler.handleSync(ServerPlayer player, Registry<T> registry, Collection<ResourceLocation> attachments) -
Uses of ResourceLocation in net.neoforged.neoforge.common.conditions
Fields in net.neoforged.neoforge.common.conditions declared as ResourceLocationFields in net.neoforged.neoforge.common.conditions with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate @Nullable Map<ResourceKey<?>, Map<ResourceLocation, Collection<Holder<?>>>> ConditionContext.loadedTagsMethods in net.neoforged.neoforge.common.conditions that return ResourceLocationMethods in net.neoforged.neoforge.common.conditions that return types with arguments of type ResourceLocationModifier and TypeMethodDescription<T> Map<ResourceLocation, Collection<Holder<T>>> ConditionContext.getAllTags(ResourceKey<? extends Registry<T>> registry) <T> Map<ResourceLocation, Collection<Holder<T>>> ICondition.IContext.getAllTags(ResourceKey<? extends Registry<T>> registry) Return all the loaded tags for the passed registry, or an empty map if none is available.Constructors in net.neoforged.neoforge.common.conditions with parameters of type ResourceLocationModifierConstructorDescription -
Uses of ResourceLocation in net.neoforged.neoforge.common.crafting
Methods in net.neoforged.neoforge.common.crafting with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoidConditionalRecipeOutput.accept(ResourceLocation id, Recipe<?> recipe, @Nullable AdvancementHolder advancement, ICondition... conditions) -
Uses of ResourceLocation in net.neoforged.neoforge.common.data
Fields in net.neoforged.neoforge.common.data declared as ResourceLocationModifier and TypeFieldDescriptionprotected static final ResourceLocationSpriteSourceProvider.BANNER_PATTERNS_ATLASprotected static final ResourceLocationSpriteSourceProvider.BEDS_ATLASprotected static final ResourceLocationSpriteSourceProvider.BLOCKS_ATLASprotected static final ResourceLocationSpriteSourceProvider.CHESTS_ATLASprotected static final ResourceLocationSpriteSourceProvider.MOB_EFFECTS_ATLASprivate final ResourceLocationSoundDefinition.Sound.nameprotected static final ResourceLocationSpriteSourceProvider.PAINTINGS_ATLASprotected static final ResourceLocationSpriteSourceProvider.PARTICLES_ATLASprotected static final ResourceLocationSpriteSourceProvider.SHIELD_PATTERNS_ATLASprotected static final ResourceLocationSpriteSourceProvider.SHULKER_BOXES_ATLASprotected static final ResourceLocationSpriteSourceProvider.SIGNS_ATLASFields in net.neoforged.neoforge.common.data with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, SpriteSourceProvider.SourceList> SpriteSourceProvider.atlasesprotected final Map<ResourceLocation, WithConditions<T>> JsonCodecProvider.conditionsprotected final Map<ResourceLocation, List<String>> ParticleDescriptionProvider.descriptionsprivate final com.google.common.collect.Multimap<PackType, ResourceLocation> ExistingFileHelper.generatedMethods in net.neoforged.neoforge.common.data that return ResourceLocationModifier and TypeMethodDescriptionprivate ResourceLocationExistingFileHelper.getLocation(ResourceLocation base, String suffix, String prefix) (package private) ResourceLocationSoundDefinition.Sound.name()Methods in net.neoforged.neoforge.common.data with parameters of type ResourceLocationModifier and TypeMethodDescriptionDataMapProvider.Builder.add(ResourceLocation id, T value, boolean replace, ICondition... conditions) protected voidSoundDefinitionsProvider.add(ResourceLocation soundEvent, SoundDefinition definition) protected final SpriteSourceProvider.SourceListSpriteSourceProvider.atlas(ResourceLocation id) Get or create aSpriteSourceProvider.SourceListfor the given atlasvoidJsonCodecProvider.conditionally(ResourceLocation id, Consumer<WithConditions.Builder<T>> configurator) booleanExistingFileHelper.exists(ResourceLocation loc, PackType packType) Check if a given resource exists in the known resource packs.booleanExistingFileHelper.exists(ResourceLocation loc, PackType packType, String pathSuffix, String pathPrefix) Check if a given resource exists in the known resource packs.booleanExistingFileHelper.exists(ResourceLocation loc, ExistingFileHelper.IResourceType type) Check if a given resource exists in the known resource packs.private ResourceLocationExistingFileHelper.getLocation(ResourceLocation base, String suffix, String prefix) ExistingFileHelper.getResource(ResourceLocation loc, PackType packType) ExistingFileHelper.getResource(ResourceLocation loc, PackType packType, String pathSuffix, String pathPrefix) ExistingFileHelper.getResourceStack(ResourceLocation loc, PackType packType) private voidJsonCodecProvider.process(ResourceLocation id, WithConditions<T> withConditions) DataMapProvider.AdvancedBuilder.remove(ResourceLocation id, VR remover) DataMapProvider.Builder.remove(ResourceLocation id) static SoundDefinition.SoundSoundDefinition.Sound.sound(ResourceLocation name, SoundDefinition.SoundType type) Creates a new sound with the given name and type.protected static SoundDefinition.SoundSoundDefinitionsProvider.sound(ResourceLocation name) Creates a new sound with the given name andSoundDefinition.SoundType.SOUNDas sound type.protected static SoundDefinition.SoundSoundDefinitionsProvider.sound(ResourceLocation name, SoundDefinition.SoundType type) Creates a new sound with the given name and type.protected voidParticleDescriptionProvider.sprite(ParticleType<?> type, ResourceLocation texture) Creates a new particle description that contains a single texture for the associatedParticleType.protected voidParticleDescriptionProvider.spriteSet(ParticleType<?> type, ResourceLocation baseName, int numOfTextures, boolean reverse) Creates a new particle description that contains multiple textures for the associatedParticleType.protected voidParticleDescriptionProvider.spriteSet(ParticleType<?> type, ResourceLocation texture, ResourceLocation... textures) Creates a new particle description that contains multiple textures for the associatedParticleType.private StringSoundDefinition.Sound.stripMcPrefix(ResourceLocation name) voidExistingFileHelper.trackGenerated(ResourceLocation loc, PackType packType, String pathSuffix, String pathPrefix) Track the existence of a generated file.voidExistingFileHelper.trackGenerated(ResourceLocation loc, ExistingFileHelper.IResourceType type) Track the existence of a generated file.voidJsonCodecProvider.unconditional(ResourceLocation id, T value) private booleanSoundDefinitionsProvider.validateEvent(String soundName, ResourceLocation name) private booleanSoundDefinitionsProvider.validateSound(String soundName, ResourceLocation name) Method parameters in net.neoforged.neoforge.common.data with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprotected voidParticleDescriptionProvider.spriteSet(ParticleType<?> type, Iterable<ResourceLocation> textures) Creates a new particle description that contains multiple textures for the associatedParticleType.Constructors in net.neoforged.neoforge.common.data with parameters of type ResourceLocationModifierConstructorDescriptionprivateSound(ResourceLocation name, SoundDefinition.SoundType type) -
Uses of ResourceLocation in net.neoforged.neoforge.common.data.internal
Fields in net.neoforged.neoforge.common.data.internal with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Set<ResourceLocation> NeoForgeRecipeProvider.excludesprivate final Map<ResourceLocation, TagBuilder> NeoForgeDamageTypeTagsProvider.vanillaBuildersMethods in net.neoforged.neoforge.common.data.internal with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate @Nullable IngredientNeoForgeRecipeProvider.enhance(ResourceLocation name, Ingredient vanilla) private @Nullable Recipe<?> NeoForgeRecipeProvider.enhance(ResourceLocation id, Recipe<?> vanilla) private @Nullable ShapedRecipeNeoForgeRecipeProvider.enhance(ResourceLocation id, ShapedRecipe vanilla) private @Nullable ShapelessRecipeNeoForgeRecipeProvider.enhance(ResourceLocation id, ShapelessRecipe vanilla) -
Uses of ResourceLocation in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return ResourceLocationModifier and TypeMethodDescriptiondefault @Nullable ResourceLocationIItemExtension.getArmorTexture(ItemStack stack, Entity entity, EquipmentSlot slot, ArmorMaterial.Layer layer, boolean innerModel) Called by RenderBiped and RenderPlayer to determine the armor texture that should be use for the currently equipped item.default @Nullable ResourceLocationIAttributeExtension.getBaseId()Gets the specific ID that represents a "base" (green) modifier for this attribute.Methods in net.neoforged.neoforge.common.extensions with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoidIRecipeOutputExtension.accept(ResourceLocation id, Recipe<?> recipe, @Nullable AdvancementHolder advancement, ICondition... conditions) Generates a recipe with the given conditions.default AdvancementHolderICommandSourceStackExtension.getAdvancement(ResourceLocation id) default booleanICommonPacketListener.hasChannel(ResourceLocation payloadId) Checks if the connection has negotiated and opened a channel for the payload.IIntrinsicHolderTagAppenderExtension.remove(ResourceLocation location) IIntrinsicHolderTagAppenderExtension.remove(ResourceLocation first, ResourceLocation... locations) default TagsProvider.TagAppender<T> ITagAppenderExtension.remove(ResourceLocation location) Adds a single element's ID to the tag json's remove list.default TagsProvider.TagAppender<T> ITagAppenderExtension.remove(ResourceLocation first, ResourceLocation... locations) Adds multiple elements' IDs to the tag json's remove list.default TagBuilderITagBuilderExtension.removeElement(ResourceLocation elementID) Adds a single-element entry to the remove list.default TagBuilderITagBuilderExtension.removeElement(ResourceLocation elementID, String source) Deprecated, for removal: This API element is subject to removal in a future version.UseITagBuilderExtension.removeElement(ResourceLocation)instead.default TagBuilderITagBuilderExtension.removeTag(ResourceLocation tagID) Adds a tag to the remove list.default TagBuilderITagBuilderExtension.removeTag(ResourceLocation tagID, String source) Deprecated, for removal: This API element is subject to removal in a future version.UseITagBuilderExtension.removeElement(ResourceLocation)instead.default AdvancementHolderIAdvancementBuilderExtension.save(Consumer<AdvancementHolder> saver, ResourceLocation id, ExistingFileHelper fileHelper) Saves this builder with the given id using theExistingFileHelperto check if the parent is already known. -
Uses of ResourceLocation in net.neoforged.neoforge.common.loot
Fields in net.neoforged.neoforge.common.loot declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationLootTableIdCondition.Builder.targetLootTableIdprivate final ResourceLocationLootTableIdCondition.targetLootTableIdstatic final ResourceLocationLootTableIdCondition.UNKNOWN_LOOT_TABLEFields in net.neoforged.neoforge.common.loot with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate Map<ResourceLocation, IGlobalLootModifier> LootModifierManager.registeredLootModifiersMethods in net.neoforged.neoforge.common.loot that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprotected Map<ResourceLocation, com.google.gson.JsonElement> LootModifierManager.prepare(ResourceManager resourceManager, ProfilerFiller profilerFiller) Methods in net.neoforged.neoforge.common.loot with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic LootTableIdCondition.BuilderLootTableIdCondition.builder(ResourceLocation targetLootTableId) Method parameters in net.neoforged.neoforge.common.loot with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprotected voidLootModifierManager.apply(Map<ResourceLocation, com.google.gson.JsonElement> resourceList, ResourceManager resourceManagerIn, ProfilerFiller profilerIn) Constructors in net.neoforged.neoforge.common.loot with parameters of type ResourceLocationModifierConstructorDescriptionBuilder(ResourceLocation targetLootTableId) privateLootTableIdCondition(ResourceLocation targetLootTableId) -
Uses of ResourceLocation in net.neoforged.neoforge.common.util
Fields in net.neoforged.neoforge.common.util declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocationAttributeUtil.BASE_ATTACK_DAMAGE_IDID of the base modifier for Attack Damagestatic final ResourceLocationAttributeUtil.BASE_ATTACK_SPEED_IDID of the base modifier for Attack Speedstatic final ResourceLocationAttributeUtil.BASE_ENTITY_REACH_IDID of the base modifier for Attack Rangestatic final ResourceLocationAttributeUtil.FAKE_MERGED_IDID used for attribute modifiers used to hold merged values whenNeoForgeMod.enableMergedAttributeTooltips()is active. -
Uses of ResourceLocation in net.neoforged.neoforge.common.world.chunk
Fields in net.neoforged.neoforge.common.world.chunk declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationTicketHelper.controllerIdprivate final ResourceLocationForcedChunkManager.TicketOwner.idprivate final ResourceLocationTicketController.idThe field for theidrecord component.Fields in net.neoforged.neoforge.common.world.chunk with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static Map<ResourceLocation, TicketController> ForcedChunkManager.controllersMethods in net.neoforged.neoforge.common.world.chunk that return ResourceLocationModifier and TypeMethodDescriptionTicketController.id()Returns the value of theidrecord component.Methods in net.neoforged.neoforge.common.world.chunk that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static <T extends Comparable<? super T>>
Map<ResourceLocation, Map<T, TicketSet>> ForcedChunkManager.gatherTicketsById(ForcedChunkManager.TicketTracker<T> tickets) Gathers tickets into an ID filtered map for use in providing all tickets a controller has registered to itsLoadingValidationCallback.Methods in net.neoforged.neoforge.common.world.chunk with parameters of type ResourceLocationModifier and TypeMethodDescription(package private) static <T extends Comparable<? super T>>
booleanForcedChunkManager.forceChunk(ServerLevel level, ResourceLocation id, T owner, int chunkX, int chunkZ, boolean add, boolean ticking, TicketType<ForcedChunkManager.TicketOwner<T>> type, Function<ForcedChunksSavedData, ForcedChunkManager.TicketTracker<T>> ticketGetter) Forces a chunk to be loaded for the given mod with the given "owner".private static voidForcedChunkManager.readBlockForcedChunks(ResourceLocation controllerId, long chunkPos, CompoundTag modEntry, String key, Map<ForcedChunkManager.TicketOwner<BlockPos>, it.unimi.dsi.fastutil.longs.LongSet> blockForcedChunks) Reads the forge block forced chunks.private static voidForcedChunkManager.readEntityForcedChunks(ResourceLocation controllerId, long chunkPos, CompoundTag modEntry, String key, Map<ForcedChunkManager.TicketOwner<UUID>, it.unimi.dsi.fastutil.longs.LongSet> entityForcedChunks) Reads the forge entity forced chunks.Method parameters in net.neoforged.neoforge.common.world.chunk with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static <T extends Comparable<? super T>>
voidForcedChunkManager.writeForcedChunkOwners(Map<ResourceLocation, it.unimi.dsi.fastutil.longs.Long2ObjectMap<CompoundTag>> forcedEntries, Map<ForcedChunkManager.TicketOwner<T>, it.unimi.dsi.fastutil.longs.LongSet> forcedChunks, String listKey, int listType, BiConsumer<T, ListTag> ownerWriter) private static <T extends Comparable<? super T>>
voidForcedChunkManager.writeForcedChunkOwners(Map<ResourceLocation, it.unimi.dsi.fastutil.longs.Long2ObjectMap<CompoundTag>> forcedEntries, ForcedChunkManager.TicketTracker<T> tracker, String listKey, int listType, BiConsumer<T, ListTag> ownerWriter) Constructors in net.neoforged.neoforge.common.world.chunk with parameters of type ResourceLocationModifierConstructorDescriptionCreates a ticket controller without a validation callback.TicketController(ResourceLocation id, @Nullable LoadingValidationCallback callback) Creates an instance of aTicketControllerrecord class.(package private)TicketHelper(ForcedChunksSavedData saveData, ResourceLocation controllerId, Map<BlockPos, TicketSet> blockTickets, Map<UUID, TicketSet> entityTickets) (package private)TicketOwner(ResourceLocation id, T owner) -
Uses of ResourceLocation in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationItemAttributeModifierEvent.ItemAttributeModifiersBuilder.Key.idThe field for theidrecord component.private final ResourceLocationLootTableLoadEvent.nameMethods in net.neoforged.neoforge.event that return ResourceLocationModifier and TypeMethodDescriptionLootTableLoadEvent.getName()ItemAttributeModifierEvent.ItemAttributeModifiersBuilder.Key.id()Returns the value of theidrecord component.Methods in net.neoforged.neoforge.event with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoidAddPackFindersEvent.addPackFinders(ResourceLocation packLocation, PackType packType, Component packNameDisplay, PackSource packSource, boolean alwaysActive, Pack.Position packPosition) Helper method to register a pack found under the `resources/` folder.static @Nullable LootTableEventHooks.loadLootTable(ResourceLocation name, LootTable table) Fires theLootTableLoadEventfor non-empty loot tables and returns the table if the event was not canceled and the table was not set toLootTable.EMPTYin the event.(package private) booleanItemAttributeModifierEvent.ItemAttributeModifiersBuilder.removeModifier(Holder<Attribute> attribute, ResourceLocation id) Removes a modifier for the target attribute with the given id.booleanItemAttributeModifierEvent.removeModifier(Holder<Attribute> attribute, ResourceLocation id) Removes an attribute modifier for the target attribute by idConstructors in net.neoforged.neoforge.event with parameters of type ResourceLocationModifierConstructorDescriptionprivateKey(Holder<Attribute> attr, ResourceLocation id) Creates an instance of aKeyrecord class.LootTableLoadEvent(ResourceLocation name, LootTable table) -
Uses of ResourceLocation in net.neoforged.neoforge.network.configuration
Fields in net.neoforged.neoforge.network.configuration declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocationRegistryDataMapNegotiation.IDprivate static final ResourceLocationSyncConfig.IDprivate static final ResourceLocationSyncRegistries.IDFields in net.neoforged.neoforge.network.configuration with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static Set<ResourceLocation> CheckFeatureFlags.moddedFlagsMethods in net.neoforged.neoforge.network.configuration that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static Set<ResourceLocation> CheckFeatureFlags.getModdedFeatureFlags() -
Uses of ResourceLocation in net.neoforged.neoforge.network.filters
Methods in net.neoforged.neoforge.network.filters with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static booleanVanillaConnectionNetworkFilter.isVanillaRegistry(ResourceLocation location) -
Uses of ResourceLocation in net.neoforged.neoforge.network.handlers
Fields in net.neoforged.neoforge.network.handlers with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Map<ResourceLocation, RegistrySnapshot> ClientPayloadHandler.synchronizedRegistriesprivate static final Set<ResourceLocation> ClientPayloadHandler.toSynchronize -
Uses of ResourceLocation in net.neoforged.neoforge.network.handling
Fields in net.neoforged.neoforge.network.handling declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationClientPayloadContext.payloadIdThe field for thepayloadIdrecord component.private final ResourceLocationServerPayloadContext.payloadIdThe field for thepayloadIdrecord component.Methods in net.neoforged.neoforge.network.handling that return ResourceLocationModifier and TypeMethodDescriptionClientPayloadContext.payloadId()Returns the value of thepayloadIdrecord component.ServerPayloadContext.payloadId()Returns the value of thepayloadIdrecord component.Constructors in net.neoforged.neoforge.network.handling with parameters of type ResourceLocationModifierConstructorDescriptionClientPayloadContext(ClientCommonPacketListener listener, ResourceLocation payloadId) Creates an instance of aClientPayloadContextrecord class.ServerPayloadContext(ServerCommonPacketListener listener, ResourceLocation payloadId) Creates an instance of aServerPayloadContextrecord class. -
Uses of ResourceLocation in net.neoforged.neoforge.network.negotiation
Fields in net.neoforged.neoforge.network.negotiation declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationNegotiableNetworkComponent.idThe field for theidrecord component.private final ResourceLocationNegotiatedNetworkComponent.idThe field for theidrecord component.Fields in net.neoforged.neoforge.network.negotiation with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, Component> NegotiationResult.failureReasonsThe field for thefailureReasonsrecord component.Methods in net.neoforged.neoforge.network.negotiation that return ResourceLocationModifier and TypeMethodDescriptionNegotiableNetworkComponent.id()Returns the value of theidrecord component.NegotiatedNetworkComponent.id()Returns the value of theidrecord component.Methods in net.neoforged.neoforge.network.negotiation that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionNegotiationResult.failureReasons()Returns the value of thefailureReasonsrecord component.Constructors in net.neoforged.neoforge.network.negotiation with parameters of type ResourceLocationModifierConstructorDescriptionNegotiableNetworkComponent(ResourceLocation id, String version, Optional<PacketFlow> flow, boolean optional) Creates an instance of aNegotiableNetworkComponentrecord class.NegotiatedNetworkComponent(ResourceLocation id, String version) Creates an instance of aNegotiatedNetworkComponentrecord class.Constructor parameters in net.neoforged.neoforge.network.negotiation with type arguments of type ResourceLocationModifierConstructorDescriptionNegotiationResult(List<NegotiatedNetworkComponent> components, boolean success, Map<ResourceLocation, Component> failureReasons) Creates an instance of aNegotiationResultrecord class. -
Uses of ResourceLocation in net.neoforged.neoforge.network.payload
Fields in net.neoforged.neoforge.network.payload declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationKnownRegistryDataMapsPayload.KnownDataMap.idThe field for theidrecord component.private final ResourceLocationModdedNetworkComponent.idThe field for theidrecord component.private final ResourceLocationModdedNetworkQueryComponent.idThe field for theidrecord component.static final ResourceLocationCommonRegisterPayload.IDstatic final ResourceLocationCommonVersionPayload.IDstatic final ResourceLocationMinecraftRegisterPayload.IDstatic final ResourceLocationMinecraftUnregisterPayload.IDstatic final ResourceLocationModdedNetworkPayload.IDstatic final ResourceLocationModdedNetworkQueryPayload.IDstatic final ResourceLocationModdedNetworkSetupFailedPayload.IDprivate final ResourceLocationFrozenRegistryPayload.registryNameThe field for theregistryNamerecord component.Fields in net.neoforged.neoforge.network.payload with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Set<ResourceLocation> CommonRegisterPayload.channelsThe field for thechannelsrecord component.static final StreamCodec<FriendlyByteBuf, Set<ResourceLocation>> DinnerboneProtocolUtils.CHANNELS_CODECprivate final Map<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>> KnownRegistryDataMapsReplyPayload.dataMapsThe field for thedataMapsrecord component.private final Map<ResourceLocation, Map<ResourceKey<T>, ?>> RegistryDataMapSyncPayload.dataMapsThe field for thedataMapsrecord component.private final Map<ResourceLocation, Component> ModdedNetworkSetupFailedPayload.failureReasonsThe field for thefailureReasonsrecord component.private final Set<ResourceLocation> MinecraftUnregisterPayload.forgottenChannelsThe field for theforgottenChannelsrecord component.private final Set<ResourceLocation> FeatureFlagDataPayload.moddedFlagsThe field for themoddedFlagsrecord component.private final Set<ResourceLocation> MinecraftRegisterPayload.newChannelsThe field for thenewChannelsrecord component.private final List<ResourceLocation> FrozenRegistrySyncStartPayload.toAccessThe field for thetoAccessrecord component.Methods in net.neoforged.neoforge.network.payload that return ResourceLocationModifier and TypeMethodDescriptionKnownRegistryDataMapsPayload.KnownDataMap.id()Returns the value of theidrecord component.ModdedNetworkComponent.id()Returns the value of theidrecord component.ModdedNetworkQueryComponent.id()Returns the value of theidrecord component.FrozenRegistryPayload.registryName()Returns the value of theregistryNamerecord component.Methods in net.neoforged.neoforge.network.payload that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionCommonRegisterPayload.channels()Returns the value of thechannelsrecord component.Map<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>> KnownRegistryDataMapsReplyPayload.dataMaps()Returns the value of thedataMapsrecord component.Map<ResourceLocation, Map<ResourceKey<T>, ?>> RegistryDataMapSyncPayload.dataMaps()Returns the value of thedataMapsrecord component.ModdedNetworkSetupFailedPayload.failureReasons()Returns the value of thefailureReasonsrecord component.MinecraftUnregisterPayload.forgottenChannels()Returns the value of theforgottenChannelsrecord component.FeatureFlagDataPayload.moddedFlags()Returns the value of themoddedFlagsrecord component.MinecraftRegisterPayload.newChannels()Returns the value of thenewChannelsrecord component.private static Set<ResourceLocation> DinnerboneProtocolUtils.readChannels(FriendlyByteBuf buf) Reads a set of channels from the buffer.FrozenRegistrySyncStartPayload.toAccess()Returns the value of thetoAccessrecord component.Method parameters in net.neoforged.neoforge.network.payload with type arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic ModdedNetworkQueryPayloadModdedNetworkQueryPayload.fromRegistry(Map<ConnectionProtocol, Map<ResourceLocation, PayloadRegistration<?>>> registry) private static voidDinnerboneProtocolUtils.parseAndAddChannel(StringBuilder builder, Set<ResourceLocation> channels) private static voidDinnerboneProtocolUtils.writeChannels(FriendlyByteBuf buf, Set<ResourceLocation> channels) Writes a set of channels to the buffer.Constructors in net.neoforged.neoforge.network.payload with parameters of type ResourceLocationModifierConstructorDescriptionFrozenRegistryPayload(ResourceLocation registryName, RegistrySnapshot snapshot) Creates an instance of aFrozenRegistryPayloadrecord class.KnownDataMap(ResourceLocation id, boolean mandatory) Creates an instance of aKnownDataMaprecord class.ModdedNetworkComponent(ResourceLocation id, Optional<String> version) Creates an instance of aModdedNetworkComponentrecord class.ModdedNetworkQueryComponent(ResourceLocation id, String version, Optional<PacketFlow> flow, boolean optional) Creates an instance of aModdedNetworkQueryComponentrecord class.Constructor parameters in net.neoforged.neoforge.network.payload with type arguments of type ResourceLocationModifierConstructorDescriptionCommonRegisterPayload(int version, ConnectionProtocol protocol, Set<ResourceLocation> channels) Creates an instance of aCommonRegisterPayloadrecord class.FeatureFlagDataPayload(Set<ResourceLocation> moddedFlags) Creates an instance of aFeatureFlagDataPayloadrecord class.FrozenRegistrySyncStartPayload(List<ResourceLocation> toAccess) Creates an instance of aFrozenRegistrySyncStartPayloadrecord class.KnownRegistryDataMapsReplyPayload(Map<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>> dataMaps) Creates an instance of aKnownRegistryDataMapsReplyPayloadrecord class.MinecraftRegisterPayload(Set<ResourceLocation> newChannels) Creates an instance of aMinecraftRegisterPayloadrecord class.MinecraftUnregisterPayload(Set<ResourceLocation> forgottenChannels) Creates an instance of aMinecraftUnregisterPayloadrecord class.ModdedNetworkSetupFailedPayload(Map<ResourceLocation, Component> failureReasons) Creates an instance of aModdedNetworkSetupFailedPayloadrecord class.RegistryDataMapSyncPayload(ResourceKey<? extends Registry<T>> registryKey, Map<ResourceLocation, Map<ResourceKey<T>, ?>> dataMaps) Creates an instance of aRegistryDataMapSyncPayloadrecord class. -
Uses of ResourceLocation in net.neoforged.neoforge.network.registration
Fields in net.neoforged.neoforge.network.registration declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationModdedConfigurationPayloadRegistration.idThe field for theidrecord component.private final ResourceLocationModdedPlayPayloadRegistration.idThe field for theidrecord component.private final ResourceLocationNetworkChannel.idThe field for theidrecord component.Fields in net.neoforged.neoforge.network.registration with type parameters of type ResourceLocationModifier and TypeFieldDescriptionstatic final io.netty.util.AttributeKey<Set<ResourceLocation>> ChannelAttributes.ADHOC_CHANNELSKnown ad-hoc channels fromMinecraftRegisterPayload.private static final Map<ResourceLocation, StreamCodec<FriendlyByteBuf, ? extends CustomPacketPayload>> NetworkRegistry.BUILTIN_PAYLOADSMap of NeoForge payloads that may be sent before channel negotiation.private final Map<ConnectionProtocol, Map<ResourceLocation, NetworkChannel>> NetworkPayloadSetup.channelsThe field for thechannelsrecord component.static final io.netty.util.AttributeKey<Map<ConnectionProtocol, Set<ResourceLocation>>> ChannelAttributes.COMMON_CHANNELSKnown common channels fromCommonRegisterPayload.private static final Map<ConnectionProtocol, Map<ResourceLocation, PayloadRegistration<?>>> NetworkRegistry.PAYLOAD_REGISTRATIONSRegistry of all custom payload handlers.Methods in net.neoforged.neoforge.network.registration that return ResourceLocationModifier and TypeMethodDescriptionModdedConfigurationPayloadRegistration.id()Returns the value of theidrecord component.ModdedPlayPayloadRegistration.id()Returns the value of theidrecord component.NetworkChannel.id()Returns the value of theidrecord component.PayloadRegistration.id()Methods in net.neoforged.neoforge.network.registration that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionNetworkPayloadSetup.channels()Returns the value of thechannelsrecord component.NetworkPayloadSetup.getChannels(ConnectionProtocol protocol) static Set<ResourceLocation> NetworkRegistry.getCommonPlayChannels(PacketFlow flow) static Set<ResourceLocation> NetworkRegistry.getInitialListeningChannels(PacketFlow flow) Returns the initial channels for the configuration phase..static Set<ResourceLocation> NetworkRegistry.getInitialServerUnregisterChannels()static Set<ResourceLocation> ChannelAttributes.getOrCreateAdHocChannels(Connection connection) Returns a mutable set of the currently known ad-hoc channels.static Set<ResourceLocation> ChannelAttributes.getOrCreateCommonChannels(Connection connection, ConnectionProtocol protocol) Returns a mutable set of the currently known common channels for the given protocol.Methods in net.neoforged.neoforge.network.registration with parameters of type ResourceLocationModifier and TypeMethodDescription@Nullable NetworkChannelNetworkPayloadSetup.getChannel(ConnectionProtocol protocol, ResourceLocation id) static @Nullable StreamCodec<? super FriendlyByteBuf, ? extends CustomPacketPayload> NetworkRegistry.getCodec(ResourceLocation id, ConnectionProtocol protocol, PacketFlow flow) Attempts to retrieve theStreamCodecfor a non-vanilla payload.static <T> CompletableFuture<T> NetworkRegistry.guard(CompletableFuture<T> future, ResourceLocation payloadId) Helper to guard futures generated byIPayloadContextagainst exceptions.private static booleanNetworkRegistry.hasAdhocChannel(ConnectionProtocol protocol, ResourceLocation id, PacketFlow flow) Checks if a given payload is ad-hoc readable, that is, may be read without a negotiated channel being present.static booleanNetworkRegistry.hasChannel(Connection connection, @Nullable ConnectionProtocol protocol, ResourceLocation payloadId) Indicates whether the given connection has a connection setup that can transmit the given payload id.static booleanNetworkRegistry.hasChannel(ICommonPacketListener listener, ResourceLocation payloadId) Checks if the packet listener's connection can send/receive the given payload.Method parameters in net.neoforged.neoforge.network.registration with type arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic voidNetworkRegistry.onMinecraftRegister(Connection connection, Set<ResourceLocation> resourceLocations) Invoked to add to the known ad-hoc channels on a connection.static voidNetworkRegistry.onMinecraftUnregister(Connection connection, Set<ResourceLocation> resourceLocations) Invoked to remove from the known ad-hoc channels on a connection.Constructors in net.neoforged.neoforge.network.registration with parameters of type ResourceLocationModifierConstructorDescriptionModdedConfigurationPayloadRegistration(ResourceLocation id, Class<T> type, IPayloadHandler<T> handler, StreamCodec<FriendlyByteBuf, T> reader) Creates an instance of aModdedConfigurationPayloadRegistrationrecord class.ModdedPlayPayloadRegistration(ResourceLocation id, Class<T> type, IPayloadHandler<T> handler, StreamCodec<RegistryFriendlyByteBuf, T> reader) Creates an instance of aModdedPlayPayloadRegistrationrecord class.NetworkChannel(ResourceLocation id, String chosenVersion) Creates an instance of aNetworkChannelrecord class.Constructor parameters in net.neoforged.neoforge.network.registration with type arguments of type ResourceLocationModifierConstructorDescriptionCreates an instance of aNetworkPayloadSetuprecord class. -
Uses of ResourceLocation in net.neoforged.neoforge.registries
Fields in net.neoforged.neoforge.registries declared as ResourceLocationModifier and TypeFieldDescriptionprivate @Nullable ResourceLocationRegistryBuilder.defaultKeyfinal ResourceLocationIdMappingEvent.ModRemapping.keyfinal ResourceLocationIdMappingEvent.ModRemapping.registryFields in net.neoforged.neoforge.registries with type parameters of type ResourceLocationModifier and TypeFieldDescription(package private) final Map<ResourceLocation, ResourceLocation> BaseMappedRegistry.aliases(package private) final Map<ResourceLocation, ResourceLocation> BaseMappedRegistry.aliasesprivate final Map<ResourceLocation, ResourceLocation> DeferredRegister.aliasesprivate final Map<ResourceLocation, ResourceLocation> DeferredRegister.aliasesprivate final Map<ResourceLocation, ResourceLocation> RegistrySnapshot.aliasesprivate final Map<ResourceLocation, ResourceLocation> RegistrySnapshot.aliasesprivate final Map<ResourceLocation, ResourceLocation> RegistrySnapshot.aliasesViewprivate final Map<ResourceLocation, ResourceLocation> RegistrySnapshot.aliasesViewstatic final io.netty.util.AttributeKey<Map<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>>> RegistryManager.ATTRIBUTE_KNOWN_DATA_MAPSprivate static Map<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> RegistryManager.dataMapsprivate static Map<ResourceLocation, RegistrySnapshot> RegistryManager.frozenSnapshotprivate final it.unimi.dsi.fastutil.ints.Int2ObjectSortedMap<ResourceLocation> RegistrySnapshot.idsprivate final it.unimi.dsi.fastutil.ints.Int2ObjectSortedMap<ResourceLocation> RegistrySnapshot.idsViewprivate final com.google.common.collect.ImmutableSet<ResourceLocation> IdMappingEvent.keysprivate static Set<ResourceLocation> RegistryManager.pendingModdedRegistriesprivate final Map<ResourceLocation, com.google.common.collect.ImmutableList<IdMappingEvent.ModRemapping>> IdMappingEvent.remapsprivate static final Comparator<ResourceLocation> RegistrySnapshot.SORTERprivate static Set<ResourceLocation> RegistryManager.vanillaRegistryKeysprivate static Map<ResourceLocation, RegistrySnapshot> RegistryManager.vanillaSnapshotMethods in net.neoforged.neoforge.registries that return ResourceLocationModifier and TypeMethodDescriptionDeferredHolder.getId()default @Nullable ResourceLocationIRegistryExtension.getKeyOrNull(T element) Returns the key of the element, or null if it is not present in this registry.DeferredRegister.getRegistryName()BaseMappedRegistry.resolve(ResourceLocation name) IRegistryExtension.resolve(ResourceLocation name) Resolves a registry name of a potential object in this registry.Methods in net.neoforged.neoforge.registries that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionRegistrySnapshot.getAliases()RegistrySnapshot.getAliases()static Map<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> RegistryManager.getDataMaps()Returns a view of all registered data maps.it.unimi.dsi.fastutil.ints.Int2ObjectSortedMap<ResourceLocation> RegistrySnapshot.getIds()static Set<ResourceLocation> GameData.getRegistrationOrder()Creates aLinkedHashSetcontaining the ordered list of registry names in the registration order.com.google.common.collect.ImmutableSet<ResourceLocation> IdMappingEvent.getRegistries()static List<ResourceLocation> RegistryManager.getRegistryNamesForSyncToClient()static Set<ResourceLocation> RegistryManager.getVanillaRegistryKeys()static Map<ResourceLocation, RegistrySnapshot> RegistryManager.takeSnapshot(RegistryManager.SnapshotType snapshotType) Takes a snapshot of the current registries registered toBuiltInRegistries.REGISTRY.Methods in net.neoforged.neoforge.registries with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoidBaseMappedRegistry.addAlias(ResourceLocation from, ResourceLocation to) voidDeferredRegister.addAlias(ResourceLocation from, ResourceLocation to) Adds an alias that maps from the name specified byfromto the name specified byto.voidIRegistryExtension.addAlias(ResourceLocation from, ResourceLocation to) Adds an alias that maps from the name specified byfromto the name specified byto.static <R,T extends R>
DeferredHolder<R, T> DeferredHolder.create(ResourceKey<? extends Registry<R>> registryKey, ResourceLocation valueName) Creates a new DeferredHolder targeting the value with the specified name in the specified registry.static <R,T extends R>
DeferredHolder<R, T> DeferredHolder.create(ResourceLocation registryName, ResourceLocation valueName) Creates a new DeferredHolder targeting the value with the specified name in the specified registry.static <B> DeferredRegister<B> DeferredRegister.create(ResourceLocation registryName, String modid) DeferredRegister factory for custom forge registries orvanilla registriesto lookup based on the provided registry name.static <T extends Block>
DeferredBlock<T> DeferredBlock.createBlock(ResourceLocation key) Creates a newDeferredHoldertargeting theBlockwith the specified name.protected <I extends Block>
DeferredBlock<I> DeferredRegister.Blocks.createHolder(ResourceKey<? extends Registry<Block>> registryKey, ResourceLocation key) protected <I extends T>
DeferredHolder<T, I> DeferredRegister.createHolder(ResourceKey<? extends Registry<T>> registryKey, ResourceLocation key) Create aDeferredHolderor an inheriting type to be stored.protected <I extends Item>
DeferredItem<I> DeferredRegister.Items.createHolder(ResourceKey<? extends Registry<Item>> registryKey, ResourceLocation key) static <T extends Item>
DeferredItem<T> DeferredItem.createItem(ResourceLocation key) Creates a newDeferredHoldertargeting theItemwith the specified name.DeferredRegister.createTagKey(ResourceLocation location) Creates a tag key based on the provided resource location and the registry name linked to this DeferredRegister.RegistryBuilder.defaultKey(ResourceLocation key) static <R> @Nullable DataMapType<R, ?> RegistryManager.getDataMap(ResourceKey<? extends Registry<R>> registry, ResourceLocation key) static StringDataMapLoader.getFolderLocation(ResourceLocation registryId) intBaseMappedRegistry.getId(ResourceLocation name) intIRegistryExtension.getId(ResourceLocation name) Gets the integer id linked to the given name.com.google.common.collect.ImmutableList<IdMappingEvent.ModRemapping> IdMappingEvent.getRemaps(ResourceLocation registry) booleanDeferredHolder.is(ResourceLocation id) Returns true if the passed ResourceLocation is the same as the ID of the target object.DeferredRegister.makeRegistry(ResourceLocation registryName, Consumer<RegistryBuilder<T>> consumer) <T> voidRegisterEvent.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.voidRegisterEvent.RegisterHelper.register(ResourceLocation name, T value) Registers the given value with the given name to the registry.BaseMappedRegistry.resolve(ResourceLocation name) IRegistryExtension.resolve(ResourceLocation name) Resolves a registry name of a potential object in this registry.(package private) static voidRegistryManager.trackModdedRegistry(ResourceLocation registry) Called byRegistryBuilderto make sure that modders don't forget to register their registries.Method parameters in net.neoforged.neoforge.registries with type arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic Set<ResourceKey<?>> RegistryManager.applySnapshot(Map<ResourceLocation, RegistrySnapshot> snapshots, boolean allowMissing, boolean isLocalWorld) Applies the snapshot to the current state of theBuiltInRegistries.(package private) static voidGameData.fireRemapEvent(Map<ResourceLocation, Map<ResourceLocation, IdMappingEvent.IdRemapping>> remaps, boolean isFreezing) (package private) static voidGameData.fireRemapEvent(Map<ResourceLocation, Map<ResourceLocation, IdMappingEvent.IdRemapping>> remaps, boolean isFreezing) <B extends Block>
DeferredBlock<B> DeferredRegister.Blocks.register(String name, Function<ResourceLocation, ? extends B> func) Adds a new block to the list of entries to be registered and returns aDeferredHolderthat will be populated with the created block automatically.<I extends Item>
DeferredItem<I> DeferredRegister.Items.register(String name, Function<ResourceLocation, ? extends I> func) Adds a new item to the list of entries to be registered and returns aDeferredItemthat will be populated with the created item automatically.<I extends T>
DeferredHolder<T, I> DeferredRegister.register(String name, Function<ResourceLocation, ? extends I> func) Adds a new entry to the list of entries to be registered and returns aDeferredHolderthat will be populated with the created entry automatically.Constructors in net.neoforged.neoforge.registries with parameters of type ResourceLocationModifierConstructorDescriptionprivateModRemapping(ResourceLocation registry, ResourceLocation key, int oldId, int newId) Constructor parameters in net.neoforged.neoforge.registries with type arguments of type ResourceLocationModifierConstructorDescriptionIdMappingEvent(Map<ResourceLocation, Map<ResourceLocation, IdMappingEvent.IdRemapping>> remaps, boolean isFrozen) IdMappingEvent(Map<ResourceLocation, Map<ResourceLocation, IdMappingEvent.IdRemapping>> remaps, boolean isFrozen) -
Uses of ResourceLocation in net.neoforged.neoforge.registries.datamaps
Fields in net.neoforged.neoforge.registries.datamaps declared as ResourceLocationModifier and TypeFieldDescriptionprotected final ResourceLocationDataMapType.Builder.idprivate final ResourceLocationDataMapType.idFields in net.neoforged.neoforge.registries.datamaps with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> RegisterDataMapTypesEvent.attachmentsMethods in net.neoforged.neoforge.registries.datamaps that return ResourceLocationMethods in net.neoforged.neoforge.registries.datamaps with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic <T,R> AdvancedDataMapType.Builder <T, R, DataMapValueRemover.Default<T, R>> AdvancedDataMapType.builder(ResourceLocation id, ResourceKey<Registry<R>> registry, com.mojang.serialization.Codec<T> codec) Returns an advanced data map type builder.static <T,R> DataMapType.Builder <T, R> DataMapType.builder(ResourceLocation id, ResourceKey<Registry<R>> registry, com.mojang.serialization.Codec<T> codec) Returns a data map type builder.Constructors in net.neoforged.neoforge.registries.datamaps with parameters of type ResourceLocationModifierConstructorDescriptionprivateAdvancedDataMapType(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec, @Nullable com.mojang.serialization.Codec<T> networkCodec, boolean mandatorySync, com.mojang.serialization.Codec<VR> remover, DataMapValueMerger<R, T> merger) (package private)Builder(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec) (package private)Builder(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec) (package private)DataMapType(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec, @Nullable com.mojang.serialization.Codec<T> networkCodec, boolean mandatorySync) Constructor parameters in net.neoforged.neoforge.registries.datamaps with type arguments of type ResourceLocationModifierConstructorDescriptionRegisterDataMapTypesEvent(Map<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> attachments) -
Uses of ResourceLocation in net.neoforged.neoforge.registries.datamaps.builtin
Methods in net.neoforged.neoforge.registries.datamaps.builtin that return ResourceLocation -
Uses of ResourceLocation in net.neoforged.neoforge.resource
Methods in net.neoforged.neoforge.resource with parameters of type ResourceLocationModifier and TypeMethodDescription@Nullable IoSupplier<InputStream> EmptyPackResources.getResource(PackType type, ResourceLocation location) -
Uses of ResourceLocation in net.neoforged.neoforge.server.command
Methods in net.neoforged.neoforge.server.command that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static List<ResourceLocation> DumpCommand.getSortedRegistryKeys(boolean alphabeticalSort, boolean printNumericIds, Registry<?> registry) Method parameters in net.neoforged.neoforge.server.command with type arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic <T extends Registry<?>>
com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> CommandUtils.suggestFromRegistry(Function<Registry<?>, Iterable<ResourceLocation>> namesFunction, String argumentString, ResourceKey<Registry<T>> registryKey) -
Uses of ResourceLocation in net.neoforged.neoforge.server.permission
Methods in net.neoforged.neoforge.server.permission that return ResourceLocationModifier and TypeMethodDescriptionstatic @Nullable ResourceLocationPermissionAPI.getActivePermissionHandler() -
Uses of ResourceLocation in net.neoforged.neoforge.server.permission.events
Fields in net.neoforged.neoforge.server.permission.events with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate Map<ResourceLocation, IPermissionHandlerFactory> PermissionGatherEvent.Handler.availableHandlersMethods in net.neoforged.neoforge.server.permission.events that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionPermissionGatherEvent.Handler.getAvailablePermissionHandlerFactories()Methods in net.neoforged.neoforge.server.permission.events with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoidPermissionGatherEvent.Handler.addPermissionHandler(ResourceLocation identifier, IPermissionHandlerFactory handlerFactory) -
Uses of ResourceLocation in net.neoforged.neoforge.server.permission.handler
Fields in net.neoforged.neoforge.server.permission.handler declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocationDefaultPermissionHandler.IDENTIFIERMethods in net.neoforged.neoforge.server.permission.handler that return ResourceLocationModifier and TypeMethodDescriptionDefaultPermissionHandler.getIdentifier()IPermissionHandler.getIdentifier()Returns an identifier for the PermissionHandler. -
Uses of ResourceLocation in net.neoforged.neoforge.server.permission.nodes
Constructors in net.neoforged.neoforge.server.permission.nodes with parameters of type ResourceLocationModifierConstructorDescriptionPermissionNode(ResourceLocation nodeName, PermissionType<T> type, PermissionNode.PermissionResolver<T> defaultResolver, PermissionDynamicContextKey... dynamics) CallsPermissionNode(String, PermissionType, PermissionResolver, PermissionDynamicContextKey[])with "namespace.path" as the first parameter
CommonListenerCookie(GameProfile, WorldSessionTelemetryManager, RegistryAccess.Frozen, FeatureFlagSet, String, ServerData, Screen, Map, ChatComponent.State, boolean, Map, ServerLinks, net.neoforged.neoforge.network.connection.ConnectionType)instead,to indicate whether the connection is modded.