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.opengl
Fields in com.mojang.blaze3d.opengl declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationGlDevice.ShaderCompilationKey.idThe field for theidrecord component.private final ResourceLocationGlShaderModule.idFields in com.mojang.blaze3d.opengl with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final BiFunction<ResourceLocation, ShaderType, String> GlDevice.defaultShaderSourceMethods in com.mojang.blaze3d.opengl that return ResourceLocationModifier and TypeMethodDescriptionGlShaderModule.getId()GlDevice.ShaderCompilationKey.id()Returns the value of theidrecord component.Methods in com.mojang.blaze3d.opengl with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic GlShaderModuleGlShaderModule.compile(ResourceLocation id, ShaderType type, String source) protected GlShaderModuleGlDevice.getOrCompileShader(ResourceLocation shader, ShaderType type, ShaderDefines defines, BiFunction<ResourceLocation, ShaderType, String> shaderSource) Method parameters in com.mojang.blaze3d.opengl with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate GlRenderPipelineGlDevice.compilePipeline(RenderPipeline pipeline, BiFunction<ResourceLocation, ShaderType, String> shaderSource) private GlShaderModuleGlDevice.compileShader(GlDevice.ShaderCompilationKey key, BiFunction<ResourceLocation, ShaderType, String> shaderSource) protected GlShaderModuleGlDevice.getOrCompileShader(ResourceLocation shader, ShaderType type, ShaderDefines defines, BiFunction<ResourceLocation, ShaderType, String> shaderSource) GlDevice.precompilePipeline(RenderPipeline p_410489_, BiFunction<ResourceLocation, ShaderType, String> p_410134_) Constructors in com.mojang.blaze3d.opengl with parameters of type ResourceLocationModifierConstructorDescriptionGlShaderModule(int shaderId, ResourceLocation id, ShaderType type) (package private)ShaderCompilationKey(ResourceLocation id, ShaderType type, ShaderDefines defines) Creates an instance of aShaderCompilationKeyrecord class.Constructor parameters in com.mojang.blaze3d.opengl with type arguments of type ResourceLocationModifierConstructorDescriptionGlDevice(long window, int debugVerbosity, boolean synchronous, BiFunction<ResourceLocation, ShaderType, String> defaultShaderSource, boolean renderDebugLabels) -
Uses of ResourceLocation in com.mojang.blaze3d.pipeline
Fields in com.mojang.blaze3d.pipeline declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationRenderPipeline.fragmentShaderprivate final ResourceLocationRenderPipeline.locationprivate final ResourceLocationRenderPipeline.vertexShaderFields in com.mojang.blaze3d.pipeline with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate Optional<ResourceLocation> RenderPipeline.Builder.fragmentShaderprivate final Optional<ResourceLocation> RenderPipeline.Snippet.fragmentShaderThe field for thefragmentShaderrecord component.private Optional<ResourceLocation> RenderPipeline.Builder.locationprivate Optional<ResourceLocation> RenderPipeline.Builder.vertexShaderprivate final Optional<ResourceLocation> RenderPipeline.Snippet.vertexShaderThe field for thevertexShaderrecord component.Methods in com.mojang.blaze3d.pipeline that return ResourceLocationModifier and TypeMethodDescriptionRenderPipeline.getFragmentShader()RenderPipeline.getLocation()RenderPipeline.getVertexShader()Methods in com.mojang.blaze3d.pipeline that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionRenderPipeline.Snippet.fragmentShader()Returns the value of thefragmentShaderrecord component.RenderPipeline.Snippet.vertexShader()Returns the value of thevertexShaderrecord component.Methods in com.mojang.blaze3d.pipeline with parameters of type ResourceLocationModifier and TypeMethodDescriptionRenderPipeline.Builder.withFragmentShader(ResourceLocation fragmentShader) RenderPipeline.Builder.withLocation(ResourceLocation location) RenderPipeline.Builder.withVertexShader(ResourceLocation vertexShader) Constructors in com.mojang.blaze3d.pipeline with parameters of type ResourceLocationModifierConstructorDescriptionprotectedRenderPipeline(ResourceLocation location, ResourceLocation vertexShader, ResourceLocation fragmentShader, ShaderDefines shaderDefines, List<String> samplers, List<RenderPipeline.UniformDescription> uniforms, Optional<BlendFunction> blendFunction, DepthTestFunction depthTestFunction, PolygonMode polygonMode, boolean cull, boolean writeColor, boolean writeAlpha, boolean writeDepth, LogicOp colorLogic, VertexFormat vertexFormat, VertexFormat.Mode vertexFormatMode, float depthBiasScaleFactor, float depthBiasConstant) Constructor parameters in com.mojang.blaze3d.pipeline with type arguments of type ResourceLocationModifierConstructorDescriptionSnippet(Optional<ResourceLocation> vertexShader, Optional<ResourceLocation> fragmentShader, Optional<ShaderDefines> shaderDefines, Optional<List<String>> samplers, Optional<List<RenderPipeline.UniformDescription>> uniforms, Optional<BlendFunction> blendFunction, Optional<DepthTestFunction> depthTestFunction, Optional<PolygonMode> polygonMode, Optional<Boolean> cull, Optional<Boolean> writeColor, Optional<Boolean> writeAlpha, Optional<Boolean> writeDepth, Optional<LogicOp> colorLogic, Optional<VertexFormat> vertexFormat, Optional<VertexFormat.Mode> vertexFormatMode) Creates an instance of aSnippetrecord class. -
Uses of ResourceLocation in com.mojang.blaze3d.shaders
Methods in com.mojang.blaze3d.shaders with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic ShaderTypeShaderType.byLocation(ResourceLocation location) -
Uses of ResourceLocation in com.mojang.blaze3d.systems
Method parameters in com.mojang.blaze3d.systems with type arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic voidRenderSystem.initRenderer(long window, int glDebugVerbosity, boolean synchronous, BiFunction<ResourceLocation, ShaderType, String> defaultShaderSource, boolean renderDebugLabels) GpuDevice.precompilePipeline(RenderPipeline renderPipeline, BiFunction<ResourceLocation, ShaderType, String> shaderSource) -
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_SPRITEstatic final ResourceLocationRealmsMainScreen.HARDCORE_MODE_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 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.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 TypeMethodDescriptionAdvancement.parent()Returns the value of theparentrecord component.Methods in net.minecraft.advancements with parameters of type ResourceLocationModifier and TypeMethodDescriptionAdvancement.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.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. -
Uses of ResourceLocation in net.minecraft.advancements.critereon
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.advancementsMethods in net.minecraft.advancements.critereon that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionPlayerPredicate.advancements()Returns the value of theadvancementsrecord component.Methods in net.minecraft.advancements.critereon with parameters of type ResourceLocationModifier and TypeMethodDescriptionPlayerPredicate.Builder.checkAdvancementCriterions(ResourceLocation advancement, Map<String, Boolean> criterions) PlayerPredicate.Builder.checkAdvancementDone(ResourceLocation advancement, boolean done) 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<ResourceKey<Recipe<?>>> recipes, Map<ResourceLocation, PlayerPredicate.AdvancementPredicate> advancements, Optional<EntityPredicate> lookingAt, Optional<InputPredicate> input) 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.color.item
Fields in net.minecraft.client.color.item with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends ItemTintSource>> ItemTintSources.ID_MAPPER -
Uses of ResourceLocation in net.minecraft.client.data
Fields in net.minecraft.client.data declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationAtlasProvider.TRIM_PALETTE_KEYFields in net.minecraft.client.data with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Map<String, ResourceLocation> AtlasProvider.TRIM_PALETTE_VALUESMethods in net.minecraft.client.data that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static List<ResourceLocation> AtlasProvider.patternTextures()Methods in net.minecraft.client.data with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate CompletableFuture<?> AtlasProvider.storeAtlas(CachedOutput output, ResourceLocation atlasId, List<SpriteSource> sources) -
Uses of ResourceLocation in net.minecraft.client.data.models
Fields in net.minecraft.client.data.models declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocationItemModelGenerators.TRIM_PREFIX_BOOTSstatic final ResourceLocationItemModelGenerators.TRIM_PREFIX_CHESTPLATEstatic final ResourceLocationItemModelGenerators.TRIM_PREFIX_HELMETstatic final ResourceLocationItemModelGenerators.TRIM_PREFIX_LEGGINGSFields in net.minecraft.client.data.models with type parameters of type ResourceLocationModifier and TypeFieldDescriptionstatic final Map<BlockModelGenerators.BookSlotModelCacheKey, ResourceLocation> BlockModelGenerators.CHISELED_BOOKSHELF_SLOT_MODEL_CACHEBlockModelGenerators.modelOutputItemModelGenerators.modelOutputprivate final Map<ModelTemplate, ResourceLocation> BlockModelGenerators.BlockFamilyProvider.modelsprivate final Map<ResourceLocation, ModelInstance> ModelProvider.SimpleModelCollector.modelsMethods in net.minecraft.client.data.models that return ResourceLocationModifier and TypeMethodDescriptionBlockModelGenerators.createCreakingHeartModel(TexturedModel.Provider modelProvider, Block block, String suffix) BlockModelGenerators.createFlatItemModel(Item item) ItemModelGenerators.createFlatItemModel(Item item, String suffix, ModelTemplate modelTemplate) ItemModelGenerators.createFlatItemModel(Item item, ModelTemplate modelTemplate) ItemModelGenerators.createFlatItemModel(Item item, Item layerZeroItem, ModelTemplate modelTemplate) BlockModelGenerators.createFlatItemModelWithBlockTexture(Item item, Block block) BlockModelGenerators.createFlatItemModelWithBlockTexture(Item item, Block block, String suffix) BlockModelGenerators.createFlatItemModelWithBlockTextureAndOverlay(Item item, Block block, String suffix) BlockModelGenerators.PlantType.createItemModel(BlockModelGenerators generator, Block block) BlockModelGenerators.createSuffixedVariant(Block block, String suffix, ModelTemplate modelTemplate, Function<ResourceLocation, TextureMapping> textureMappingGetter) ItemModelGenerators.generateBundleCoverModel(Item bundleItem, ModelTemplate modelTemplate, String suffix) ItemModelGenerators.generateLayeredItem(ResourceLocation modelLocation, ResourceLocation layer0, ResourceLocation layer1) ItemModelGenerators.generateLayeredItem(Item item, ResourceLocation layer0, ResourceLocation layer1) BlockModelGenerators.BlockFamilyProvider.getOrCreateModel(ModelTemplate modelTemplate, Block block) static ResourceLocationItemModelGenerators.prefixForSlotTrim(String name) Methods in net.minecraft.client.data.models with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoidModelProvider.SimpleModelCollector.accept(ResourceLocation p_388633_, ModelInstance p_388119_) voidItemModelGenerators.addPotionTint(Item potionItem, ResourceLocation model) voidBlockModelGenerators.createAirLikeBlock(Block airLikeBlock, ResourceLocation particleTexture) voidBlockModelGenerators.createChest(Block chestBlock, Block particleBlock, ResourceLocation texture, boolean useGiftTexture) voidBlockModelGenerators.createHead(Block headBlock, Block wallHeadBlock, SkullBlock.Type type, ResourceLocation modelLocation) ItemModelGenerators.generateLayeredItem(ResourceLocation modelLocation, ResourceLocation layer0, ResourceLocation layer1) voidItemModelGenerators.generateLayeredItem(ResourceLocation modelLocation, ResourceLocation layer0, ResourceLocation layer1, ResourceLocation layer2) ItemModelGenerators.generateLayeredItem(Item item, ResourceLocation layer0, ResourceLocation layer1) voidItemModelGenerators.generateTrimmableItem(Item item, ResourceKey<EquipmentAsset> equipmentAsset, ResourceLocation modelId, boolean usesSecondLayer) static VariantBlockModelGenerators.plainModel(ResourceLocation modelLocation) static MultiVariantBlockModelGenerators.plainVariant(ResourceLocation id) voidBlockModelGenerators.registerSimpleItemModel(Item item, ResourceLocation model) voidBlockModelGenerators.registerSimpleItemModel(Block block, ResourceLocation model) voidBlockModelGenerators.registerSimpleTintedItemModel(Block block, ResourceLocation model, ItemTintSource tintSource) Method parameters in net.minecraft.client.data.models with type arguments of type ResourceLocationModifier and TypeMethodDescriptionBlockModelGenerators.BlockStateGeneratorSupplier.create(Block block, Variant variant, TextureMapping textureMapping, BiConsumer<ResourceLocation, ModelInstance> output) BlockModelGenerators.createMirroredColumnGenerator(Block block, Variant variant, TextureMapping textureMapping, BiConsumer<ResourceLocation, ModelInstance> modelOutput) BlockModelGenerators.createMirroredCubeGenerator(Block block, Variant variant, TextureMapping textureMapping, BiConsumer<ResourceLocation, ModelInstance> modelOutput) BlockModelGenerators.createNorthWestMirroredCubeGenerator(Block block, Variant variant, TextureMapping textureMapping, BiConsumer<ResourceLocation, ModelInstance> modelOutput) BlockModelGenerators.createPillarBlockUVLocked(Block block, TextureMapping textureMapping, BiConsumer<ResourceLocation, ModelInstance> modelOutput) BlockModelGenerators.createSuffixedVariant(Block block, String suffix, ModelTemplate modelTemplate, Function<ResourceLocation, TextureMapping> textureMappingGetter) Constructor parameters in net.minecraft.client.data.models with type arguments of type ResourceLocationModifierConstructorDescriptionBlockModelGenerators(Consumer<BlockModelDefinitionGenerator> blockStateOutput, ItemModelOutput itemModelOutput, BiConsumer<ResourceLocation, ModelInstance> modelOutput) ItemModelGenerators(ItemModelOutput itemModelOutput, BiConsumer<ResourceLocation, ModelInstance> modelOutput) -
Uses of ResourceLocation in net.minecraft.client.data.models.model
Fields in net.minecraft.client.data.models.model declared as ResourceLocationFields in net.minecraft.client.data.models.model with type parameters of type ResourceLocationModifier and TypeFieldDescriptionfinal Optional<ResourceLocation> ModelTemplate.modelprivate final Map<TextureSlot, ResourceLocation> TextureMapping.slotsMethods in net.minecraft.client.data.models.model that return ResourceLocationModifier and TypeMethodDescriptionModelTemplate.create(ResourceLocation modelLocation, TextureMapping textureMapping, BiConsumer<ResourceLocation, ModelInstance> output) ModelTemplate.create(Item item, TextureMapping textureMapping, BiConsumer<ResourceLocation, ModelInstance> output) ModelTemplate.create(Block block, TextureMapping textureMapping, BiConsumer<ResourceLocation, ModelInstance> output) TexturedModel.create(Block block, BiConsumer<ResourceLocation, ModelInstance> output) default ResourceLocationTexturedModel.Provider.create(Block block, BiConsumer<ResourceLocation, ModelInstance> output) ModelTemplate.createWithOverride(Block block, String suffix, TextureMapping textureMapping, BiConsumer<ResourceLocation, ModelInstance> output) ModelTemplate.createWithSuffix(Block block, String suffix, TextureMapping textureMapping, BiConsumer<ResourceLocation, ModelInstance> output) TexturedModel.createWithSuffix(Block block, String suffix, BiConsumer<ResourceLocation, ModelInstance> output) default ResourceLocationTexturedModel.Provider.createWithSuffix(Block block, String suffix, BiConsumer<ResourceLocation, ModelInstance> output) static ResourceLocationModelLocationUtils.decorateBlockModelLocation(String name) Deprecated.static ResourceLocationModelLocationUtils.decorateItemModelLocation(String name) TextureMapping.get(TextureSlot slot) static ResourceLocationTextureMapping.getBlockTexture(Block block) static ResourceLocationTextureMapping.getBlockTexture(Block block, String suffix) ModelTemplate.getDefaultModelLocation(Block block) static ResourceLocationTextureMapping.getItemTexture(Item item) static ResourceLocationTextureMapping.getItemTexture(Item item, String suffix) static ResourceLocationModelLocationUtils.getModelLocation(Item item) static ResourceLocationModelLocationUtils.getModelLocation(Item item, String suffix) static ResourceLocationModelLocationUtils.getModelLocation(Block block) static ResourceLocationModelLocationUtils.getModelLocation(Block block, String suffix) Methods in net.minecraft.client.data.models.model that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate Map<TextureSlot, ResourceLocation> ModelTemplate.createMap(TextureMapping textureMapping) Methods in net.minecraft.client.data.models.model with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic TextureMappingTextureMapping.cauldron(ResourceLocation texture) static TextureMappingTextureMapping.column(ResourceLocation side, ResourceLocation end) TextureMapping.copyAndUpdate(TextureSlot slot, ResourceLocation texture) ModelTemplate.create(ResourceLocation modelLocation, TextureMapping textureMapping, BiConsumer<ResourceLocation, ModelInstance> output) static TexturedModelTexturedModel.createAllSame(ResourceLocation location) ModelTemplate.createBaseTemplate(ResourceLocation p_388380_, Map<TextureSlot, ResourceLocation> map) static TextureMappingTextureMapping.crop(ResourceLocation block) static TextureMappingTextureMapping.cross(ResourceLocation texture) static TextureMappingTextureMapping.cube(ResourceLocation texture) static TextureMappingTextureMapping.defaultTexture(ResourceLocation texture) static TextureMappingTextureMapping.door(ResourceLocation top, ResourceLocation bottom) static TextureMappingTextureMapping.layer0(ResourceLocation texture) static TextureMappingTextureMapping.layered(ResourceLocation layer0, ResourceLocation layer1) static TextureMappingTextureMapping.layered(ResourceLocation layer0, ResourceLocation layer1, ResourceLocation layer2) static TextureMappingTextureMapping.particle(ResourceLocation texture) static ItemModel.UnbakedItemModelUtils.plainModel(ResourceLocation model) static TextureMappingTextureMapping.plant(ResourceLocation texture) TextureMapping.put(TextureSlot slot, ResourceLocation texture) TextureMapping.putForced(TextureSlot slot, ResourceLocation texture) static TextureMappingTextureMapping.rail(ResourceLocation texture) static TextureMappingTextureMapping.singleSlot(TextureSlot slot, ResourceLocation texture) static ItemModel.UnbakedItemModelUtils.specialModel(ResourceLocation base, SpecialModelRenderer.Unbaked specialModel) static ItemModel.UnbakedItemModelUtils.tintedModel(ResourceLocation model, ItemTintSource... tintSources) static TextureMappingTextureMapping.torch(ResourceLocation texture) static TextureMappingTextureMapping.wool(ResourceLocation texture) Method parameters in net.minecraft.client.data.models.model with type arguments of type ResourceLocationModifier and TypeMethodDescriptionModelTemplate.create(ResourceLocation modelLocation, TextureMapping textureMapping, BiConsumer<ResourceLocation, ModelInstance> output) ModelTemplate.create(Item item, TextureMapping textureMapping, BiConsumer<ResourceLocation, ModelInstance> output) ModelTemplate.create(Block block, TextureMapping textureMapping, BiConsumer<ResourceLocation, ModelInstance> output) TexturedModel.create(Block block, BiConsumer<ResourceLocation, ModelInstance> output) default ResourceLocationTexturedModel.Provider.create(Block block, BiConsumer<ResourceLocation, ModelInstance> output) ModelTemplate.createBaseTemplate(ResourceLocation p_388380_, Map<TextureSlot, ResourceLocation> map) ModelTemplate.createWithOverride(Block block, String suffix, TextureMapping textureMapping, BiConsumer<ResourceLocation, ModelInstance> output) ModelTemplate.createWithSuffix(Block block, String suffix, TextureMapping textureMapping, BiConsumer<ResourceLocation, ModelInstance> output) TexturedModel.createWithSuffix(Block block, String suffix, BiConsumer<ResourceLocation, ModelInstance> output) default ResourceLocationTexturedModel.Provider.createWithSuffix(Block block, String suffix, BiConsumer<ResourceLocation, ModelInstance> output) Constructors in net.minecraft.client.data.models.model with parameters of type ResourceLocationConstructor parameters in net.minecraft.client.data.models.model with type arguments of type ResourceLocationModifierConstructorDescriptionModelTemplate(Optional<ResourceLocation> model, Optional<String> suffix, TextureSlot... requiredSlots) -
Uses of ResourceLocation in net.minecraft.client.gui
Fields in net.minecraft.client.gui declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationGui.AIR_EMPTY_SPRITEprivate 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 ResourceLocationstatic final ResourceLocationGui.NAUSEA_LOCATIONprivate 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(Function<ResourceLocation, RenderType> renderTypeGetter, ResourceLocation atlasLocation, int x, int y, float uOffset, float vOffset, int uWidth, int vHeight, int textureWidth, int textureHeight) voidGuiGraphics.blit(Function<ResourceLocation, RenderType> renderTypeGetter, ResourceLocation atlasLocation, int x, int y, float uOffset, float vOffset, int uWidth, int vHeight, int textureWidth, int textureHeight, int color) voidGuiGraphics.blit(Function<ResourceLocation, RenderType> renderTypeGetter, ResourceLocation atlasLocation, int x, int y, float uOffset, float vOffset, int uWidth, int vHeight, int width, int height, int textureWidth, int textureHeight) voidGuiGraphics.blit(Function<ResourceLocation, RenderType> renderTypeGetter, ResourceLocation atlasLocation, int x, int y, float uOffset, float vOffset, int uWidth, int vHeight, int width, int height, int textureWidth, int textureHeight, int color) voidGuiGraphics.blitSprite(Function<ResourceLocation, RenderType> renderTypeGetter, ResourceLocation sprite, int x, int y, int width, int height) voidGuiGraphics.blitSprite(Function<ResourceLocation, RenderType> renderTypeGetter, ResourceLocation sprite, int x, int y, int width, int height, int blitOffset) voidGuiGraphics.blitSprite(Function<ResourceLocation, RenderType> renderTypeGetter, ResourceLocation sprite, int textureWidth, int textureHeight, int uPosition, int vPosition, int x, int y, int uWidth, int vHeight) (package private) FontSetFont.getFontSet(ResourceLocation fontLocation) GuiSpriteManager.getSprite(ResourceLocation p_296464_) private voidGuiGraphics.innerBlit(Function<ResourceLocation, RenderType> renderTypeGetter, ResourceLocation atlasLocation, int x1, int x2, int y1, int y2, float minU, float maxU, float minV, float maxV, int color) voidGuiGraphics.renderComponentTooltip(Font font, List<? extends FormattedText> tooltipLines, int mouseX, int mouseY, ItemStack stack, ResourceLocation backgroundTexture) Renders a tooltip with multiple lines of component-based text at the specified mouse coordinates.voidGuiGraphics.renderComponentTooltip(Font font, List<Component> tooltipLines, int mouseX, int mouseY, ResourceLocation sprite) voidGuiGraphics.renderComponentTooltipFromElements(Font font, List<com.mojang.datafixers.util.Either<FormattedText, TooltipComponent>> elements, int mouseX, int mouseY, ItemStack stack, ResourceLocation backgroundTexture) private voidGui.renderTextureOverlay(GuiGraphics guiGraphics, ResourceLocation shaderLocation, float alpha) Renders a texture overlay on the screen with the specified shader location and alpha value.voidGuiGraphics.renderTooltip(Font font, List<? extends FormattedCharSequence> tooltipLines, int mouseX, int mouseY, ResourceLocation sprite) voidGuiGraphics.renderTooltip(Font font, List<Component> tooltipLines, Optional<TooltipComponent> visualTooltipComponent, int mouseX, int mouseY, ResourceLocation sprite) voidGuiGraphics.renderTooltip(Font font, List<Component> textComponents, Optional<TooltipComponent> tooltipComponent, ItemStack stack, int mouseX, int mouseY, ResourceLocation backgroundTexture) voidGuiGraphics.renderTooltip(Font font, Component text, int mouseX, int mouseY, ResourceLocation sprite) private voidGuiGraphics.renderTooltipInternal(Font font, List<ClientTooltipComponent> tooltipLines, int mouseX, int mouseY, ClientTooltipPositioner tooltipPositioner, ResourceLocation sprite) Method parameters in net.minecraft.client.gui with type arguments of type ResourceLocationModifier and TypeMethodDescriptionvoidGuiGraphics.blit(Function<ResourceLocation, RenderType> renderTypeGetter, ResourceLocation atlasLocation, int x, int y, float uOffset, float vOffset, int uWidth, int vHeight, int textureWidth, int textureHeight) voidGuiGraphics.blit(Function<ResourceLocation, RenderType> renderTypeGetter, ResourceLocation atlasLocation, int x, int y, float uOffset, float vOffset, int uWidth, int vHeight, int textureWidth, int textureHeight, int color) voidGuiGraphics.blit(Function<ResourceLocation, RenderType> renderTypeGetter, ResourceLocation atlasLocation, int x, int y, float uOffset, float vOffset, int uWidth, int vHeight, int width, int height, int textureWidth, int textureHeight) voidGuiGraphics.blit(Function<ResourceLocation, RenderType> renderTypeGetter, ResourceLocation atlasLocation, int x, int y, float uOffset, float vOffset, int uWidth, int vHeight, int width, int height, int textureWidth, int textureHeight, int color) private voidGuiGraphics.blitNineSlicedSprite(Function<ResourceLocation, RenderType> renderTypeGetter, TextureAtlasSprite sprite, GuiSpriteScaling.NineSlice nineSlice, int x, int y, int blitOffset, int width, int height) private voidGuiGraphics.blitNineSliceInnerSegment(Function<ResourceLocation, RenderType> renderTypeGetter, GuiSpriteScaling.NineSlice nineSlice, TextureAtlasSprite sprite, int x, int y, int width, int height, int uPosition, int vPosition, int spriteWidth, int spriteHeight, int nineSliceWidth, int nineSliceHeight, int blitOffset) voidGuiGraphics.blitSprite(Function<ResourceLocation, RenderType> renderTypeGetter, TextureAtlasSprite sprite, int x, int y, int width, int height) voidGuiGraphics.blitSprite(Function<ResourceLocation, RenderType> renderTypeGetter, TextureAtlasSprite sprite, int x, int y, int width, int height, int blitOffset) private voidGuiGraphics.blitSprite(Function<ResourceLocation, RenderType> renderTypeGetter, TextureAtlasSprite sprite, int textureWidth, int textureHeight, int uPosition, int vPosition, int x, int y, int uWidth, int vHeight, int blitOffset) voidGuiGraphics.blitSprite(Function<ResourceLocation, RenderType> renderTypeGetter, ResourceLocation sprite, int x, int y, int width, int height) voidGuiGraphics.blitSprite(Function<ResourceLocation, RenderType> renderTypeGetter, ResourceLocation sprite, int x, int y, int width, int height, int blitOffset) voidGuiGraphics.blitSprite(Function<ResourceLocation, RenderType> renderTypeGetter, ResourceLocation sprite, int textureWidth, int textureHeight, int uPosition, int vPosition, int x, int y, int uWidth, int vHeight) private voidGuiGraphics.blitTiledSprite(Function<ResourceLocation, RenderType> renderTypeGetter, TextureAtlasSprite sprite, int x, int y, int width, int height, int uPosition, int vPosition, int spriteWidth, int spriteHeight, int nineSliceWidth, int nineSliceHeight, int blitOffset) private voidGuiGraphics.innerBlit(Function<ResourceLocation, RenderType> renderTypeGetter, ResourceLocation atlasLocation, int x1, int x2, int y1, int y2, float minU, float maxU, float minV, float maxV, int color) 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 ResourceLocationAbstractScrollArea.SCROLLER_BACKGROUND_SPRITEprivate static final ResourceLocationAbstractScrollArea.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 skinTexture, int x, int y, int size, boolean drawHat, boolean upsideDown, int color) private voidBossHealthOverlay.drawBar(GuiGraphics guiGraphics, int x, int y, BossEvent bossEvent, int progress, ResourceLocation[] barProgressSprites, ResourceLocation[] overlayProgressSprites) private static voidPlayerFaceRenderer.drawHat(GuiGraphics guiGraphics, ResourceLocation skinTexture, int x, int y, int size, boolean upsideDown, int color) 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 p_285121_, Path p_285511_) 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> p_285405_) voidFontManager.UnresolvedBuilderBundle.visitRequiredDependencies(Consumer<ResourceLocation> p_285391_) 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_LOCATIONstatic 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 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 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 ResourceLocationEffectsInInventory.EFFECT_BACKGROUND_LARGE_SPRITEprivate static final ResourceLocationEffectsInInventory.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 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 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 static final ResourceLocationAbstractContainerScreen.SLOT_HIGHLIGHT_BACK_SPRITEprivate static final ResourceLocationAbstractContainerScreen.SLOT_HIGHLIGHT_FRONT_SPRITEprivate static final ResourceLocationHorseInventoryScreen.SLOT_SPRITEprivate 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 ResourceLocationMethods 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 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, Inventory playerInventory, Component title, Component recipeFilterName, ResourceLocation texture, ResourceLocation litProgressSprite, ResourceLocation burnProgressSprite, List<RecipeBookComponent.TabInfo> tabInfos) 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 ResourceLocationTooltipRenderUtil.BACKGROUND_SPRITEprivate static final ResourceLocationTooltipRenderUtil.FRAME_SPRITEprivate static final ResourceLocationClientBundleTooltip.PROGRESSBAR_BORDER_SPRITEprivate static final ResourceLocationClientBundleTooltip.PROGRESSBAR_FILL_SPRITEprivate static final ResourceLocationClientBundleTooltip.PROGRESSBAR_FULL_SPRITEprivate static final ResourceLocationClientBundleTooltip.SLOT_BACKGROUND_SPRITEprivate static final ResourceLocationClientBundleTooltip.SLOT_HIGHLIGHT_BACK_SPRITEprivate static final ResourceLocationClientBundleTooltip.SLOT_HIGHLIGHT_FRONT_SPRITEMethods in net.minecraft.client.gui.screens.inventory.tooltip that return ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceLocationTooltipRenderUtil.getBackgroundSprite(ResourceLocation name) private static ResourceLocationTooltipRenderUtil.getFrameSprite(ResourceLocation name) private ResourceLocationClientBundleTooltip.getProgressBarTexture()Methods in net.minecraft.client.gui.screens.inventory.tooltip with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceLocationTooltipRenderUtil.getBackgroundSprite(ResourceLocation name) private static ResourceLocationTooltipRenderUtil.getFrameSprite(ResourceLocation name) static voidTooltipRenderUtil.renderTooltipBackground(GuiGraphics guiGraphics, int x, int y, int width, int height, int z, ResourceLocation sprite) -
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 TypeFieldDescriptionprivate static final ResourceLocationOverlayRecipeComponent.OverlayCraftingRecipeButton.DISABLED_SPRITEprivate static final ResourceLocationOverlayRecipeComponent.OverlaySmeltingRecipeButton.DISABLED_SPRITEprivate static final ResourceLocationOverlayRecipeComponent.OverlayCraftingRecipeButton.ENABLED_SPRITEprivate static final ResourceLocationOverlayRecipeComponent.OverlaySmeltingRecipeButton.ENABLED_SPRITEprivate static final ResourceLocationOverlayRecipeComponent.OverlayCraftingRecipeButton.HIGHLIGHTED_DISABLED_SPRITEprivate static final ResourceLocationOverlayRecipeComponent.OverlaySmeltingRecipeButton.HIGHLIGHTED_DISABLED_SPRITEprivate static final ResourceLocationOverlayRecipeComponent.OverlayCraftingRecipeButton.HIGHLIGHTED_ENABLED_SPRITEprivate static final ResourceLocationOverlayRecipeComponent.OverlaySmeltingRecipeButton.HIGHLIGHTED_ENABLED_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_SPRITEMethods in net.minecraft.client.gui.screens.recipebook that return ResourceLocationModifier and TypeMethodDescriptionprotected ResourceLocationOverlayRecipeComponent.OverlayCraftingRecipeButton.getSprite(boolean p_363013_) protected abstract ResourceLocationOverlayRecipeComponent.OverlayRecipeButton.getSprite(boolean enabled) protected ResourceLocationOverlayRecipeComponent.OverlaySmeltingRecipeButton.getSprite(boolean p_363404_) -
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 AnimationHolderModel.getAnimation(ResourceLocation key) final RenderTypeModel.renderType(ResourceLocation location) Constructor parameters in net.minecraft.client.model with type arguments of type ResourceLocationModifierConstructorDescriptionprotectedEntityModel(ModelPart root, Function<ResourceLocation, RenderType> p_102613_) HumanoidModel(ModelPart root, Function<ResourceLocation, RenderType> renderType) Model(ModelPart root, Function<ResourceLocation, RenderType> renderType) Simple(ModelPart root, Function<ResourceLocation, RenderType> renderType) -
Uses of ResourceLocation in net.minecraft.client.model.geom
Fields in net.minecraft.client.model.geom declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationModelLayerLocation.modelThe field for themodelrecord component.Methods in net.minecraft.client.model.geom that return ResourceLocationModifier and TypeMethodDescriptionModelLayerLocation.model()Returns the value of themodelrecord component.Constructors in net.minecraft.client.model.geom with parameters of type ResourceLocationModifierConstructorDescriptionModelLayerLocation(ResourceLocation model, String layer) Creates an instance of aModelLayerLocationrecord class. -
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()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, 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, 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 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_POST_CHAIN_IDstatic final ResourceLocationSheets.CHEST_SHEETstatic final ResourceLocationLevelTargetBundle.CLOUDS_TARGET_IDstatic final ResourceLocationSheets.DECORATED_POT_SHEETstatic final ResourceLocationSkyRenderer.END_SKY_LOCATIONprivate static final ResourceLocationLevelRenderer.ENTITY_OUTLINE_POST_CHAIN_IDstatic final ResourceLocationLevelTargetBundle.ENTITY_OUTLINE_TARGET_IDstatic final ResourceLocationWorldBorderRenderer.FORCEFIELD_LOCATIONprivate final ResourceLocationPostChainConfig.Pass.fragmentShaderIdThe field for thefragmentShaderIdrecord component.private static final ResourceLocationGpuWarnlistManager.GPU_WARNLIST_LOCATIONprivate final ResourceLocationRenderStateShard.MultiTextureStateShard.Entry.idThe field for theidrecord component.private final ResourceLocationShaderManager.ShaderSourceKey.idThe field for theidrecord component.static final ResourceLocationLevelTargetBundle.ITEM_ENTITY_TARGET_IDprivate final ResourceLocationPostChainConfig.TextureInput.locationThe field for thelocationrecord component.static final ResourceLocationLevelTargetBundle.MAIN_TARGET_IDstatic final ResourceLocationPostChain.MAIN_TARGET_IDprivate static final ResourceLocationSkyRenderer.MOON_LOCATIONprivate final ResourceLocationPostChainConfig.Pass.outputTargetThe field for theoutputTargetrecord component.private final ResourceLocationPostPass.outputTargetIdstatic final ResourceLocationPanoramaRenderer.PANORAMA_OVERLAYstatic final ResourceLocationLevelTargetBundle.PARTICLES_TARGET_IDprivate ResourceLocationGameRenderer.postEffectIdprivate static final ResourceLocationWeatherEffectRenderer.RAIN_LOCATIONprivate final ResourceLocationMaterialMapper.sheetThe field for thesheetrecord component.static final ResourceLocationSheets.SHIELD_SHEETstatic final ResourceLocationSheets.SHULKER_SHEETstatic final ResourceLocationSheets.SIGN_SHEETprivate static final ResourceLocationWeatherEffectRenderer.SNOW_LOCATIONprivate static final ResourceLocationSkyRenderer.SUN_LOCATIONprivate final ResourceLocationPostChainConfig.TargetInput.targetIdThe field for thetargetIdrecord component.private final ResourceLocationPostPass.TargetInput.targetIdThe field for thetargetIdrecord component.private static final ResourceLocationCloudRenderer.TEXTURE_LOCATIONstatic final ResourceLocationLevelTargetBundle.TRANSLUCENT_TARGET_IDprivate static final ResourceLocationLevelRenderer.TRANSPARENCY_POST_CHAIN_IDprivate static final ResourceLocationScreenEffectRenderer.UNDERWATER_LOCATIONprivate final ResourceLocationPostChainConfig.Pass.vertexShaderIdThe field for thevertexShaderIdrecord component.static final ResourceLocationLevelTargetBundle.WEATHER_TARGET_IDFields in net.minecraft.client.renderer with type parameters of type ResourceLocationModifier and TypeFieldDescriptionstatic final Function<ResourceLocation, RenderType> RenderType.ARMOR_CUTOUT_NO_CULLstatic final Function<ResourceLocation, RenderType> RenderType.ARMOR_TRANSLUCENTprivate static final Map<ResourceLocation, Material> Sheets.BANNER_MATERIALSstatic final BiFunction<ResourceLocation, Boolean, RenderType> RenderType.BEACON_BEAMstatic final Function<ResourceLocation, RenderType> RenderType.BLOCK_SCREEN_EFFECTstatic final Function<ResourceLocation, RenderType> RenderType.CELESTIALstatic final Function<ResourceLocation, RenderType> RenderType.CROSSHAIRstatic 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 Function<ResourceLocation, RenderType> RenderType.ENTITY_SOLID_Z_OFFSET_FORWARDstatic final BiFunction<ResourceLocation, Boolean, RenderType> RenderType.ENTITY_TRANSLUCENTstatic final BiFunction<ResourceLocation, Boolean, RenderType> RenderType.ENTITY_TRANSLUCENT_EMISSIVEprivate final Set<ResourceLocation> PostChain.externalTargetsstatic final Function<ResourceLocation, RenderType> RenderType.EYESstatic final Function<ResourceLocation, RenderType> RenderType.FIRE_SCREEN_EFFECTstatic final Function<ResourceLocation, RenderType> RenderType.GUI_OPAQUE_TEXTURED_BACKGROUNDstatic final Function<ResourceLocation, RenderType> RenderType.GUI_TEXTUREDstatic final Function<ResourceLocation, RenderType> RenderType.GUI_TEXTURED_OVERLAYprivate final Map<ResourceLocation, PostChainConfig.InternalTarget> PostChain.internalTargetsprivate final Map<ResourceLocation, PostChainConfig.InternalTarget> PostChainConfig.internalTargetsThe field for theinternalTargetsrecord component.static final Function<ResourceLocation, RenderType> RenderType.ITEM_ENTITY_TRANSLUCENT_CULLstatic final Set<ResourceLocation> LevelTargetBundle.MAIN_TARGETSstatic final Function<ResourceLocation, RenderType> RenderType.OPAQUE_PARTICLE(package private) static final BiFunction<ResourceLocation, Boolean, RenderType> RenderType.CompositeRenderType.OUTLINEstatic final Set<ResourceLocation> LevelTargetBundle.OUTLINE_TARGETSprivate static final Map<ResourceLocation, RenderPipeline> RenderPipelines.PIPELINES_BY_LOCATION(package private) final Map<ResourceLocation, Optional<PostChain>> ShaderManager.CompilationCache.postChainsprivate final Map<ResourceLocation, PostChainConfig> ShaderManager.Configs.postChainsThe field for thepostChainsrecord component.private static final Map<ResourceLocation, Material> Sheets.SHIELD_MATERIALSprivate final List<ResourceLocation> CubeMap.sidesstatic final Set<ResourceLocation> LevelTargetBundle.SORTING_TARGETSstatic 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.texturestatic final Function<ResourceLocation, RenderType> RenderType.TRANSLUCENT_PARTICLEstatic final Function<ResourceLocation, RenderType> RenderType.VIGNETTEstatic final Function<ResourceLocation, RenderType> RenderType.WEATHER_DEPTH_WRITEstatic final Function<ResourceLocation, RenderType> RenderType.WEATHER_NO_DEPTH_WRITEMethods in net.minecraft.client.renderer that return ResourceLocationModifier and TypeMethodDescriptionstatic ResourceLocationSheets.colorToResourceMaterial(DyeColor color) static ResourceLocationSheets.colorToShulkerMaterial(DyeColor color) GameRenderer.currentPostEffect()PostChainConfig.Pass.fragmentShaderId()Returns the value of thefragmentShaderIdrecord component.RenderStateShard.MultiTextureStateShard.Entry.id()Returns the value of theidrecord component.ShaderManager.ShaderSourceKey.id()Returns the value of theidrecord component.PostChainConfig.TextureInput.location()Returns the value of thelocationrecord component.PostChainConfig.Pass.outputTarget()Returns the value of theoutputTargetrecord component.MaterialMapper.sheet()Returns the value of thesheetrecord component.PostChainConfig.TargetInput.targetId()Returns the value of thetargetIdrecord component.PostPass.TargetInput.targetId()Returns the value of thetargetIdrecord component.PostChainConfig.Pass.vertexShaderId()Returns the value of thevertexShaderIdrecord component.Methods in net.minecraft.client.renderer that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static Function<ResourceLocation, RenderType> RenderType.createWeather(RenderPipeline renderPipeline) protected Optional<ResourceLocation> RenderStateShard.EmptyTextureStateShard.cutoutTexture()protected Optional<ResourceLocation> RenderStateShard.MultiTextureStateShard.cutoutTexture()protected Optional<ResourceLocation> RenderStateShard.TextureStateShard.cutoutTexture()PostChainConfig.internalTargets()Returns the value of theinternalTargetsrecord component.ShaderManager.Configs.postChains()Returns the value of thepostChainsrecord component.PostChainConfig.Input.referencedTargets()PostChainConfig.Pass.referencedTargets()PostChainConfig.TargetInput.referencedTargets()PostChainConfig.TextureInput.referencedTargets()Methods in net.minecraft.client.renderer with parameters of type ResourceLocationModifier and TypeMethodDescriptionRenderStateShard.MultiTextureStateShard.Builder.add(ResourceLocation texture, boolean blur, boolean mipmap) MaterialMapper.apply(ResourceLocation name) static RenderTypeRenderType.armorCutoutNoCull(ResourceLocation location) static RenderTypeRenderType.armorTranslucent(ResourceLocation id) static RenderTypeRenderType.beaconBeam(ResourceLocation location, boolean colorFlag) static RenderTypeRenderType.blockScreenEffect(ResourceLocation texture) static RenderTypeRenderType.breezeEyes(ResourceLocation location) static RenderTypeRenderType.breezeWind(ResourceLocation location, float u, float v) static RenderTypeRenderType.celestial(ResourceLocation texture) static RenderTypeRenderType.createArmorDecalCutoutNoCull(ResourceLocation id) private static PostPassPostChain.createPass(TextureManager textureManager, PostChainConfig.Pass pass, ResourceLocation location) private static GlslPreprocessorShaderManager.createPreprocessor(Map<ResourceLocation, Resource> shaderResources, ResourceLocation shaderLocation) static RenderTypeRenderType.crosshair(ResourceLocation location) 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.entitySolidZOffsetForward(ResourceLocation location) static RenderTypeRenderType.entityTranslucent(ResourceLocation location) static RenderTypeRenderType.entityTranslucent(ResourceLocation location, boolean outline) static RenderTypeRenderType.entityTranslucentEmissive(ResourceLocation location) static RenderTypeRenderType.entityTranslucentEmissive(ResourceLocation location, boolean outline) static RenderTypeRenderType.eyes(ResourceLocation location) static RenderTypeRenderType.fireScreenEffect(ResourceLocation texture) LevelTargetBundle.get(ResourceLocation p_363913_) PostChain.TargetBundle.get(ResourceLocation id) ShaderManager.CompilationCache.getOrLoadPostChain(ResourceLocation name, Set<ResourceLocation> externalTargets) default ResourceHandle<RenderTarget> PostChain.TargetBundle.getOrThrow(ResourceLocation id) ShaderManager.getPostChain(ResourceLocation id, Set<ResourceLocation> externalTargets) ShaderManager.getShader(ResourceLocation id, ShaderType type) ShaderManager.CompilationCache.getShaderSource(ResourceLocation id, ShaderType type) static RenderTypeRenderType.guiOpaqueTexturedBackground(ResourceLocation location) static RenderTypeRenderType.guiTextured(ResourceLocation location) static RenderTypeRenderType.guiTexturedOverlay(ResourceLocation location) private static booleanShaderManager.isShader(ResourceLocation location) static RenderTypeRenderType.itemEntityTranslucentCull(ResourceLocation location) static PostChainPostChain.load(PostChainConfig config, TextureManager textureManager, Set<ResourceLocation> externalTargets, ResourceLocation name) private PostChainShaderManager.CompilationCache.loadPostChain(ResourceLocation name, Set<ResourceLocation> externalTargets) private static voidShaderManager.loadPostChain(ResourceLocation location, Resource postChain, ImmutableMap.Builder<ResourceLocation, PostChainConfig> output) private static voidShaderManager.loadShader(ResourceLocation location, Resource shader, ShaderType type, Map<ResourceLocation, Resource> shaderResources, ImmutableMap.Builder<ShaderManager.ShaderSourceKey, String> output) static PostChain.TargetBundlePostChain.TargetBundle.of(ResourceLocation id, ResourceHandle<RenderTarget> handle) static RenderTypeRenderType.opaqueParticle(ResourceLocation texture) static RenderTypeRenderType.outline(ResourceLocation location) static voidScreenEffectRenderer.renderFluid(Minecraft p_110726_, PoseStack p_110727_, MultiBufferSource p_383128_, ResourceLocation texture) voidLevelTargetBundle.replace(ResourceLocation p_360547_, ResourceHandle<RenderTarget> p_363379_) voidPostChain.TargetBundle.replace(ResourceLocation id, ResourceHandle<RenderTarget> handle) voidGameRenderer.setPostEffect(ResourceLocation postEffectId) 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) static RenderTypeRenderType.translucentParticle(ResourceLocation texture) static RenderTypeRenderType.vignette(ResourceLocation location) static RenderTypeRenderType.weather(ResourceLocation texture, boolean depthWrite) Method parameters in net.minecraft.client.renderer with type arguments of type ResourceLocationModifier and TypeMethodDescriptionvoidPostPass.addToFrame(FrameGraphBuilder frameGraphBuilder, Map<ResourceLocation, ResourceHandle<RenderTarget>> targets, org.joml.Matrix4f projectionMatrix, Consumer<RenderPass> uniformSetter) voidPostPass.Input.addToPass(FramePass pass, Map<ResourceLocation, ResourceHandle<RenderTarget>> targets) voidPostPass.TargetInput.addToPass(FramePass p_364579_, Map<ResourceLocation, ResourceHandle<RenderTarget>> p_360589_) voidPostPass.TextureInput.addToPass(FramePass p_361843_, Map<ResourceLocation, ResourceHandle<RenderTarget>> p_362022_) voidPostPass.Input.bindTo(RenderPass renderPass, Map<ResourceLocation, ResourceHandle<RenderTarget>> targets) voidPostPass.TargetInput.bindTo(RenderPass p_409676_, Map<ResourceLocation, ResourceHandle<RenderTarget>> p_361239_) voidPostPass.TextureInput.bindTo(RenderPass p_410527_, Map<ResourceLocation, ResourceHandle<RenderTarget>> p_363141_) default voidPostPass.Input.cleanup(Map<ResourceLocation, ResourceHandle<RenderTarget>> targets) voidPostPass.TargetInput.cleanup(Map<ResourceLocation, ResourceHandle<RenderTarget>> p_363172_) private static GlslPreprocessorShaderManager.createPreprocessor(Map<ResourceLocation, Resource> shaderResources, ResourceLocation shaderLocation) private ResourceHandle<RenderTarget> PostPass.TargetInput.getHandle(Map<ResourceLocation, ResourceHandle<RenderTarget>> targets) ShaderManager.CompilationCache.getOrLoadPostChain(ResourceLocation name, Set<ResourceLocation> externalTargets) ShaderManager.getPostChain(ResourceLocation id, Set<ResourceLocation> externalTargets) static PostChainPostChain.load(PostChainConfig config, TextureManager textureManager, Set<ResourceLocation> externalTargets, ResourceLocation name) private PostChainShaderManager.CompilationCache.loadPostChain(ResourceLocation name, Set<ResourceLocation> externalTargets) private static voidShaderManager.loadPostChain(ResourceLocation location, Resource postChain, ImmutableMap.Builder<ResourceLocation, PostChainConfig> output) private static voidShaderManager.loadShader(ResourceLocation location, Resource shader, ShaderType type, Map<ResourceLocation, Resource> shaderResources, ImmutableMap.Builder<ShaderManager.ShaderSourceKey, String> output) Constructors in net.minecraft.client.renderer with parameters of type ResourceLocationModifierConstructorDescriptionCubeMap(ResourceLocation baseImageLocation) Entry(ResourceLocation id, boolean blur, boolean mipmap) Creates an instance of aEntryrecord class.MaterialMapper(ResourceLocation sheet, String prefix) Creates an instance of aMaterialMapperrecord class.Pass(ResourceLocation vertexShaderId, ResourceLocation fragmentShaderId, List<PostChainConfig.Input> inputs, ResourceLocation outputTarget, List<PostChainConfig.Uniform> uniforms) Creates an instance of aPassrecord class.PostPass(RenderPipeline pipeline, ResourceLocation outputTargetId, List<PostChainConfig.Uniform> uniforms) (package private)ShaderSourceKey(ResourceLocation id, ShaderType type) Creates an instance of aShaderSourceKeyrecord class.TargetInput(String samplerName, ResourceLocation targetId, boolean useDepthBuffer, boolean bilinear) Creates an instance of aTargetInputrecord class.TargetInput(String samplerName, ResourceLocation targetId, boolean depthBuffer, boolean bilinear) Creates an instance of aTargetInputrecord class.TextureInput(String samplerName, ResourceLocation location, int width, int height, boolean bilinear) Creates an instance of aTextureInputrecord class.TextureStateShard(ResourceLocation texture, TriState blur, boolean mipmap) Constructor parameters in net.minecraft.client.renderer with type arguments of type ResourceLocationModifierConstructorDescriptionprivatePostChain(List<PostPass> passes, Map<ResourceLocation, PostChainConfig.InternalTarget> internalTargets, Set<ResourceLocation> externalTargets) privatePostChain(List<PostPass> passes, Map<ResourceLocation, PostChainConfig.InternalTarget> internalTargets, Set<ResourceLocation> externalTargets) PostChainConfig(Map<ResourceLocation, PostChainConfig.InternalTarget> internalTargets, List<PostChainConfig.Pass> passes) Creates an instance of aPostChainConfigrecord class. -
Uses of ResourceLocation in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocationItemModelGenerator.GENERATED_ITEM_MODEL_IDprivate final ResourceLocationVariant.modelLocationThe field for themodelLocationrecord component.private final ResourceLocationBlockModel.parentThe field for theparentrecord component.Fields in net.minecraft.client.renderer.block.model with type parameters of type ResourceLocationModifier and TypeFieldDescriptionstatic final VariantMutator.VariantProperty<ResourceLocation> VariantMutator.MODELMethods in net.minecraft.client.renderer.block.model that return ResourceLocationModifier and TypeMethodDescriptionVariant.modelLocation()Returns the value of themodelLocationrecord component.BlockModel.parent()Returns the value of theparentrecord component.Methods in net.minecraft.client.renderer.block.model with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic SimpleModelWrapperSimpleModelWrapper.bake(ModelBaker baker, ResourceLocation modelLocation, ModelState modelState) private static voidTextureSlots.parseEntry(ResourceLocation atlas, String name, String material, TextureSlots.Data.Builder builder) static TextureSlots.DataTextureSlots.parseTextureMap(JsonObject json, ResourceLocation atlas) Variant.withModel(ResourceLocation modelLocation) Constructors in net.minecraft.client.renderer.block.model with parameters of type ResourceLocationModifierConstructorDescriptionBlockModel(UnbakedGeometry geometry, UnbakedModel.GuiLight guiLight, Boolean ambientOcclusion, ItemTransforms transforms, TextureSlots.Data textureSlots, ResourceLocation parent) BlockModel(UnbakedGeometry geometry, UnbakedModel.GuiLight guiLight, Boolean ambientOcclusion, ItemTransforms transforms, TextureSlots.Data textureSlots, ResourceLocation parent, Transformation rootTransform, RenderTypeGroup renderTypeGroup, Map<String, Boolean> partVisibility) Creates an instance of aBlockModelrecord class.Variant(ResourceLocation p_404842_) Variant(ResourceLocation modelLocation, Variant.SimpleModelState modelState) Creates an instance of aVariantrecord class. -
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 RenderTypeSkullBlockRenderer.getRenderType(SkullBlock.Type type, ResolvableProfile profile, ResourceLocation textureOverride) static 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 ResourceLocationCodRenderer.COD_LOCATIONprivate static final ResourceLocationStriderRenderer.COLD_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_ARMORstatic 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 ResourceLocationCreakingRenderer.EYES_TEXTURE_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 ResourceLocationAbstractMinecartRenderer.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 ResourceLocationPiglinRenderer.PIGLIN_BRUTE_LOCATIONprivate static final ResourceLocationPiglinRenderer.PIGLIN_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_LOCATIONstatic 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 final ResourceLocationBoatRenderer.textureprivate final ResourceLocationDonkeyRenderer.texture(package private) final ResourceLocationDonkeyRenderer.Type.textureprivate final ResourceLocationRaftRenderer.textureprivate final ResourceLocationUndeadHorseRenderer.texture(package private) final ResourceLocationUndeadHorseRenderer.Type.textureprivate static final ResourceLocationWardenRenderer.TEXTUREprivate static final ResourceLocationBreezeRenderer.TEXTURE_LOCATIONprivate static final ResourceLocationCreakingRenderer.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_LOCATIONprivate static final ResourceLocationZombifiedPiglinRenderer.ZOMBIFIED_PIGLIN_LOCATIONFields in net.minecraft.client.renderer.entity with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Map<Variant, ResourceLocation> HorseRenderer.LOCATION_BY_VARIANTprivate static final Map<Axolotl.Variant, ResourceLocation> AxolotlRenderer.TEXTURE_BY_TYPEprivate static final Map<MushroomCow.Variant, ResourceLocation> MushroomCowRenderer.TEXTURESprivate static final Map<Panda.Gene, ResourceLocation> PandaRenderer.TEXTURESMethods in net.minecraft.client.renderer.entity that return ResourceLocationModifier and TypeMethodDescriptionAbstractZombieRenderer.getTextureLocation(S p_362921_) AllayRenderer.getTextureLocation(AllayRenderState p_361874_) ArmadilloRenderer.getTextureLocation(ArmadilloRenderState p_364558_) ArmorStandRenderer.getTextureLocation(ArmorStandRenderState p_364197_) protected abstract ResourceLocationArrowRenderer.getTextureLocation(S renderState) AxolotlRenderer.getTextureLocation(AxolotlRenderState p_362427_) BatRenderer.getTextureLocation(BatRenderState p_360545_) BeeRenderer.getTextureLocation(BeeRenderState p_363810_) BlazeRenderer.getTextureLocation(LivingEntityRenderState p_364849_) BoggedRenderer.getTextureLocation(BoggedRenderState p_360981_) BreezeRenderer.getTextureLocation(BreezeRenderState p_365503_) CamelRenderer.getTextureLocation(CamelRenderState p_364241_) CatRenderer.getTextureLocation(CatRenderState p_362035_) CaveSpiderRenderer.getTextureLocation(LivingEntityRenderState p_362781_) ChickenRenderer.getTextureLocation(ChickenRenderState p_364952_) CodRenderer.getTextureLocation(LivingEntityRenderState p_362950_) CowRenderer.getTextureLocation(CowRenderState p_401372_) CreakingRenderer.getTextureLocation(CreakingRenderState p_379686_) CreeperRenderer.getTextureLocation(CreeperRenderState p_363813_) DolphinRenderer.getTextureLocation(DolphinRenderState p_362016_) DonkeyRenderer.getTextureLocation(DonkeyRenderState p_363990_) DrownedRenderer.getTextureLocation(ZombieRenderState p_361561_) ElderGuardianRenderer.getTextureLocation(GuardianRenderState p_360347_) EndermanRenderer.getTextureLocation(EndermanRenderState p_361663_) EndermiteRenderer.getTextureLocation(LivingEntityRenderState p_363663_) EvokerRenderer.getTextureLocation(EvokerRenderState p_361448_) FoxRenderer.getTextureLocation(FoxRenderState p_365240_) FrogRenderer.getTextureLocation(FrogRenderState p_365294_) GhastRenderer.getTextureLocation(GhastRenderState p_361669_) GiantMobRenderer.getTextureLocation(ZombieRenderState p_360439_) GlowSquidRenderer.getTextureLocation(SquidRenderState p_362231_) GoatRenderer.getTextureLocation(GoatRenderState p_362356_) GuardianRenderer.getTextureLocation(GuardianRenderState p_363236_) HoglinRenderer.getTextureLocation(HoglinRenderState p_364914_) HorseRenderer.getTextureLocation(HorseRenderState p_365094_) HuskRenderer.getTextureLocation(ZombieRenderState p_365391_) IllusionerRenderer.getTextureLocation(IllusionerRenderState p_361469_) IronGolemRenderer.getTextureLocation(IronGolemRenderState p_362083_) abstract ResourceLocationLivingEntityRenderer.getTextureLocation(S renderState) LlamaRenderer.getTextureLocation(LlamaRenderState p_361005_) MagmaCubeRenderer.getTextureLocation(SlimeRenderState p_361835_) MushroomCowRenderer.getTextureLocation(MushroomCowRenderState p_362880_) OcelotRenderer.getTextureLocation(FelineRenderState p_361442_) PandaRenderer.getTextureLocation(PandaRenderState p_364827_) ParrotRenderer.getTextureLocation(ParrotRenderState p_363063_) PhantomRenderer.getTextureLocation(PhantomRenderState p_363735_) PiglinRenderer.getTextureLocation(PiglinRenderState p_363784_) PigRenderer.getTextureLocation(PigRenderState p_363187_) PillagerRenderer.getTextureLocation(IllagerRenderState p_360658_) PolarBearRenderer.getTextureLocation(PolarBearRenderState p_360804_) PufferfishRenderer.getTextureLocation(PufferfishRenderState p_363552_) RabbitRenderer.getTextureLocation(RabbitRenderState p_365061_) RavagerRenderer.getTextureLocation(RavagerRenderState p_363518_) SalmonRenderer.getTextureLocation(SalmonRenderState p_365406_) SheepRenderer.getTextureLocation(SheepRenderState p_360570_) ShulkerRenderer.getTextureLocation(ShulkerRenderState p_362847_) static ResourceLocationShulkerRenderer.getTextureLocation(DyeColor color) SilverfishRenderer.getTextureLocation(LivingEntityRenderState p_361306_) SkeletonRenderer.getTextureLocation(SkeletonRenderState p_365297_) SlimeRenderer.getTextureLocation(SlimeRenderState p_365351_) SnifferRenderer.getTextureLocation(SnifferRenderState p_360679_) SnowGolemRenderer.getTextureLocation(SnowGolemRenderState p_388676_) protected ResourceLocationSpectralArrowRenderer.getTextureLocation(ArrowRenderState p_364566_) SpiderRenderer.getTextureLocation(LivingEntityRenderState p_361974_) SquidRenderer.getTextureLocation(SquidRenderState p_365407_) StrayRenderer.getTextureLocation(SkeletonRenderState p_365489_) StriderRenderer.getTextureLocation(StriderRenderState p_363553_) TadpoleRenderer.getTextureLocation(LivingEntityRenderState p_361492_) protected ResourceLocationTippableArrowRenderer.getTextureLocation(TippableArrowRenderState p_362029_) TropicalFishRenderer.getTextureLocation(TropicalFishRenderState p_363704_) TurtleRenderer.getTextureLocation(TurtleRenderState p_362874_) UndeadHorseRenderer.getTextureLocation(EquineRenderState p_362480_) VexRenderer.getTextureLocation(VexRenderState p_364652_) VillagerRenderer.getTextureLocation(VillagerRenderState p_362235_) VindicatorRenderer.getTextureLocation(IllagerRenderState p_364813_) WanderingTraderRenderer.getTextureLocation(VillagerRenderState p_365495_) WardenRenderer.getTextureLocation(WardenRenderState p_362254_) WitchRenderer.getTextureLocation(WitchRenderState p_363921_) WitherBossRenderer.getTextureLocation(WitherRenderState p_362122_) WitherSkeletonRenderer.getTextureLocation(SkeletonRenderState p_362316_) private ResourceLocationWitherSkullRenderer.getTextureLocation(WitherSkullRenderState renderState) WolfRenderer.getTextureLocation(WolfRenderState p_364302_) ZoglinRenderer.getTextureLocation(HoglinRenderState p_365121_) ZombieVillagerRenderer.getTextureLocation(ZombieVillagerRenderState p_363256_) ZombifiedPiglinRenderer.getTextureLocation(ZombifiedPiglinRenderState p_362156_) static ResourceLocationParrotRenderer.getVariantTexture(Parrot.Variant variant) Constructors in net.minecraft.client.renderer.entity with parameters of type ResourceLocationModifierConstructorDescriptionprivateType(ResourceLocation texture, ModelLayerLocation model, ModelLayerLocation babyModel, EquipmentClientInfo.LayerType saddleLayer, ModelLayerLocation saddleModel, ModelLayerLocation babySaddleModel) privateType(ResourceLocation texture, ModelLayerLocation model, ModelLayerLocation babyModel, EquipmentClientInfo.LayerType saddleLayer, ModelLayerLocation saddleModel, ModelLayerLocation babySaddleModel) -
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 ResourceLocationHorseMarkingLayer.INVISIBLE_TEXTUREprivate static final ResourceLocationTropicalFishPatternLayer.KOB_TEXTUREprivate static final ResourceLocationCreeperPowerLayer.POWER_LOCATIONprivate static final ResourceLocationSheepWoolLayer.SHEEP_WOOL_LOCATIONprivate static final ResourceLocationSheepWoolUndercoatLayer.SHEEP_WOOL_UNDERCOAT_LOCATIONprivate static final ResourceLocationTropicalFishPatternLayer.SNOOPER_TEXTUREprivate static final ResourceLocationTropicalFishPatternLayer.SPOTTY_TEXTUREprivate static final ResourceLocationTropicalFishPatternLayer.STRIPEY_TEXTUREprivate static final ResourceLocationTropicalFishPatternLayer.SUNSTREAK_TEXTUREprivate final ResourceLocationLivingEntityEmissiveLayer.textureprivate final ResourceLocationStuckInBodyLayer.texturestatic final ResourceLocationSpinAttackEffectLayer.TEXTUREprivate static final ResourceLocationBreezeWindLayer.TEXTURE_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 final Function<ResourceLocation, RenderType> LivingEntityEmissiveLayer.bufferProviderprivate final Function<EquipmentLayerRenderer.LayerTextureKey, ResourceLocation> EquipmentLayerRenderer.layerTextureLookupprivate 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 TypeMethodDescriptionprivate static ResourceLocationWingsLayer.getPlayerElytraTexture(HumanoidRenderState renderState) private ResourceLocationVillagerProfessionLayer.getResourceLocation(String folder, Holder<?> holder) private ResourceLocationVillagerProfessionLayer.getResourceLocation(String folder, ResourceLocation location) protected ResourceLocationCreeperPowerLayer.getTextureLocation()protected abstract ResourceLocationEnergySwirlLayer.getTextureLocation()protected ResourceLocationWitherArmorLayer.getTextureLocation()EquipmentLayerRenderer.TrimSpriteKey.spriteId()Methods in net.minecraft.client.renderer.entity.layers with parameters of type ResourceLocationModifier and TypeMethodDescriptionprotected static <S extends LivingEntityRenderState>
voidRenderLayer.coloredCutoutModelCopyLayerRender(EntityModel<S> model, ResourceLocation textureLocation, PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, S renderState, int color) private ResourceLocationVillagerProfessionLayer.getResourceLocation(String folder, ResourceLocation location) protected static voidRenderLayer.renderColoredCutoutModel(EntityModel<?> model, ResourceLocation textureLocation, PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, LivingEntityRenderState renderState, int color) voidEquipmentLayerRenderer.renderLayers(EquipmentClientInfo.LayerType layerType, ResourceKey<EquipmentAsset> equipmentAsset, Model armorModel, ItemStack item, PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, ResourceLocation playerTexture) Constructors in net.minecraft.client.renderer.entity.layers with parameters of type ResourceLocationModifierConstructorDescriptionLivingEntityEmissiveLayer(RenderLayerParent<S, M> renderer, ResourceLocation texture, LivingEntityEmissiveLayer.AlphaFunction<S> alphaFunction, LivingEntityEmissiveLayer.DrawSelector<S, M> drawSelector, Function<ResourceLocation, RenderType> bufferProvider, boolean alwaysVisible) SkeletonClothingLayer(RenderLayerParent<S, M> renderer, EntityModelSet models, ModelLayerLocation modelLayerLocation, ResourceLocation clothesLocation) StuckInBodyLayer(LivingEntityRenderer<?, PlayerRenderState, M> renderer, Model model, ResourceLocation texture, StuckInBodyLayer.PlacementStyle placementStyle) Constructor parameters in net.minecraft.client.renderer.entity.layers with type arguments of type ResourceLocationModifierConstructorDescriptionLivingEntityEmissiveLayer(RenderLayerParent<S, M> renderer, ResourceLocation texture, LivingEntityEmissiveLayer.AlphaFunction<S> alphaFunction, LivingEntityEmissiveLayer.DrawSelector<S, M> drawSelector, Function<ResourceLocation, RenderType> bufferProvider, boolean alwaysVisible) -
Uses of ResourceLocation in net.minecraft.client.renderer.entity.player
Methods in net.minecraft.client.renderer.entity.player that return ResourceLocationMethods in net.minecraft.client.renderer.entity.player with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate voidPlayerRenderer.renderHand(PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, ResourceLocation skinTexture, ModelPart arm, boolean isSleeveVisible) voidPlayerRenderer.renderLeftHand(PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, ResourceLocation skinTexture, boolean isSleeveVisible) Deprecated.voidPlayerRenderer.renderLeftHand(PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, ResourceLocation skinTexture, boolean isSleeveVisible, AbstractClientPlayer player) voidPlayerRenderer.renderRightHand(PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, ResourceLocation skinTexture, boolean isSleeveVisible) Deprecated.voidPlayerRenderer.renderRightHand(PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, ResourceLocation skinTexture, boolean isSleeveVisible, AbstractClientPlayer player) -
Uses of ResourceLocation in net.minecraft.client.renderer.entity.state
Fields in net.minecraft.client.renderer.entity.state declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationCatRenderState.DEFAULT_TEXTUREprivate static final ResourceLocationFrogRenderState.DEFAULT_TEXTUREprivate static final ResourceLocationWolfRenderState.DEFAULT_TEXTURECatRenderState.textureFrogRenderState.textureWolfRenderState.texture -
Uses of ResourceLocation in net.minecraft.client.renderer.item
Fields in net.minecraft.client.renderer.item declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationSpecialModelWrapper.Unbaked.baseThe field for thebaserecord component.private final ResourceLocationBlockModelWrapper.Unbaked.modelThe field for themodelrecord component.Fields in net.minecraft.client.renderer.item with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Function<ResourceLocation, ClientItem.Properties> ItemModelResolver.clientPropertiesprivate static final ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends ItemModel.Unbaked>> ItemModels.ID_MAPPERprivate final Function<ResourceLocation, ItemModel> ItemModelResolver.modelGetterMethods in net.minecraft.client.renderer.item that return ResourceLocationModifier and TypeMethodDescriptionSpecialModelWrapper.Unbaked.base()Returns the value of thebaserecord component.BlockModelWrapper.Unbaked.model()Returns the value of themodelrecord component.Constructors in net.minecraft.client.renderer.item with parameters of type ResourceLocationModifierConstructorDescriptionUnbaked(ResourceLocation model, List<ItemTintSource> tints) Creates an instance of aUnbakedrecord class.Unbaked(ResourceLocation base, SpecialModelRenderer.Unbaked specialModel) Creates an instance of aUnbakedrecord class. -
Uses of ResourceLocation in net.minecraft.client.renderer.item.properties.conditional
Fields in net.minecraft.client.renderer.item.properties.conditional with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends ConditionalItemModelProperty>> ConditionalItemModelProperties.ID_MAPPER -
Uses of ResourceLocation in net.minecraft.client.renderer.item.properties.numeric
Fields in net.minecraft.client.renderer.item.properties.numeric with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends RangeSelectItemModelProperty>> RangeSelectItemModelProperties.ID_MAPPER -
Uses of ResourceLocation in net.minecraft.client.renderer.item.properties.select
Fields in net.minecraft.client.renderer.item.properties.select with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final ExtraCodecs.LateBoundIdMapper<ResourceLocation, SelectItemModelProperty.Type<?, ?>> SelectItemModelProperties.ID_MAPPER -
Uses of ResourceLocation in net.minecraft.client.renderer.special
Fields in net.minecraft.client.renderer.special declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocationChestSpecialRenderer.ENDER_CHEST_TEXTUREstatic final ResourceLocationChestSpecialRenderer.GIFT_CHEST_TEXTUREstatic final ResourceLocationChestSpecialRenderer.NORMAL_CHEST_TEXTUREprivate final ResourceLocationBedSpecialRenderer.Unbaked.textureThe field for thetexturerecord component.private final ResourceLocationChestSpecialRenderer.Unbaked.textureThe field for thetexturerecord component.private final ResourceLocationShulkerBoxSpecialRenderer.Unbaked.textureThe field for thetexturerecord component.private final ResourceLocationSkullSpecialRenderer.textureOverridestatic final ResourceLocationChestSpecialRenderer.TRAPPED_CHEST_TEXTUREFields in net.minecraft.client.renderer.special with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends SpecialModelRenderer.Unbaked>> SpecialModelRenderers.ID_MAPPERprivate final Optional<ResourceLocation> HangingSignSpecialRenderer.Unbaked.textureThe field for thetexturerecord component.private final Optional<ResourceLocation> StandingSignSpecialRenderer.Unbaked.textureThe field for thetexturerecord component.private final Optional<ResourceLocation> SkullSpecialRenderer.Unbaked.textureOverrideThe field for thetextureOverriderecord component.Methods in net.minecraft.client.renderer.special that return ResourceLocationModifier and TypeMethodDescriptionBedSpecialRenderer.Unbaked.texture()Returns the value of thetexturerecord component.ChestSpecialRenderer.Unbaked.texture()Returns the value of thetexturerecord component.ShulkerBoxSpecialRenderer.Unbaked.texture()Returns the value of thetexturerecord component.Methods in net.minecraft.client.renderer.special that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionHangingSignSpecialRenderer.Unbaked.texture()Returns the value of thetexturerecord component.StandingSignSpecialRenderer.Unbaked.texture()Returns the value of thetexturerecord component.SkullSpecialRenderer.Unbaked.textureOverride()Returns the value of thetextureOverriderecord component.Constructors in net.minecraft.client.renderer.special with parameters of type ResourceLocationModifierConstructorDescriptionSkullSpecialRenderer(SkullBlock.Type skullType, SkullModelBase model, ResourceLocation textureOverride, float animation) Unbaked(ResourceLocation texture) Creates an instance of aUnbakedrecord class.Unbaked(ResourceLocation p_387139_) Unbaked(ResourceLocation texture, float openness) Creates an instance of aUnbakedrecord class.Unbaked(ResourceLocation texture, float openness, Direction orientation) Creates an instance of aUnbakedrecord class.Constructor parameters in net.minecraft.client.renderer.special with type arguments of type ResourceLocationModifierConstructorDescriptionUnbaked(WoodType woodType, Optional<ResourceLocation> texture) Creates an instance of aUnbakedrecord class.Unbaked(SkullBlock.Type kind, Optional<ResourceLocation> textureOverride, float animation) Creates an instance of aUnbakedrecord class.Unbaked(WoodType woodType, Optional<ResourceLocation> texture) Creates an instance of aUnbakedrecord class. -
Uses of ResourceLocation in net.minecraft.client.renderer.state
Fields in net.minecraft.client.renderer.state declared as ResourceLocation -
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_TEXTUREprivate final ResourceLocationSpriteLoader.locationprivate final ResourceLocationTextureAtlas.locationstatic final ResourceLocationTextureAtlas.LOCATION_BLOCKSDeprecated.static final ResourceLocationTextureAtlas.LOCATION_PARTICLESDeprecated.private static final ResourceLocationMissingTextureAtlasSprite.MISSING_TEXTURE_LOCATIONprivate final ResourceLocationSpriteContents.nameprivate final ResourceLocationReloadableTexture.resourceIdFields 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()ReloadableTexture.resourceId()Methods in net.minecraft.client.renderer.texture that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic CompletableFuture<ResourceLocation> SkinTextureDownloader.downloadAndRegisterSkin(ResourceLocation textureLocation, Path path, String url, boolean isLegacySkin) private Map<ResourceLocation, TextureAtlasSprite> SpriteLoader.getStitchedSprites(Stitcher<SpriteContents> stitcher, int x, int y) TextureAtlas.getTextures()SpriteLoader.Preparations.regions()Returns the value of theregionsrecord component.private static CompletableFuture<ResourceLocation> SkinTextureDownloader.registerTextureInManager(ResourceLocation location, NativeImage image) Methods in net.minecraft.client.renderer.texture with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic CompletableFuture<ResourceLocation> SkinTextureDownloader.downloadAndRegisterSkin(ResourceLocation textureLocation, Path path, String url, boolean isLegacySkin) voidDumpable.dumpContents(ResourceLocation resourceLocation, Path path) voidDynamicTexture.dumpContents(ResourceLocation p_276119_, Path p_276105_) voidTextureAtlas.dumpContents(ResourceLocation p_276106_, Path p_276127_) TextureAtlas.getSprite(ResourceLocation name) TextureManager.getTexture(ResourceLocation path) static TextureContentsTextureContents.load(ResourceManager resourceManager, ResourceLocation textureId) SpriteLoader.loadAndStitch(ResourceManager resouceManager, ResourceLocation location, int mipLevel, Executor executor) SpriteLoader.loadAndStitch(ResourceManager resourceManager, ResourceLocation location, int mipLevel, Executor executor, Collection<MetadataSectionType<?>> sectionSerializers) private static TextureContentsTextureManager.loadContents(ResourceManager resourceManager, ResourceLocation textureId, ReloadableTexture texture) private TextureContentsTextureManager.loadContentsSafe(ResourceLocation textureId, ReloadableTexture texture) voidTextureManager.register(ResourceLocation path, AbstractTexture texture) voidTextureManager.registerAndLoad(ResourceLocation textureId, ReloadableTexture texture) voidTextureManager.registerForNextReload(ResourceLocation textureId) private static CompletableFuture<ResourceLocation> SkinTextureDownloader.registerTextureInManager(ResourceLocation location, NativeImage image) voidTextureManager.release(ResourceLocation path) private voidTextureManager.safeClose(ResourceLocation path, AbstractTexture texture) private static TextureManager.PendingReloadTextureManager.scheduleLoad(ResourceManager resourceManager, ResourceLocation textureId, ReloadableTexture texture, Executor executor) 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 ResourceLocationModifierConstructorDescriptionReloadableTexture(ResourceLocation resourceId) 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 ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends SpriteSource>> SpriteSources.ID_MAPPERMethods 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.paletteKeyThe field for thepaletteKeyrecord component.private final ResourceLocationPalettedPermutations.PalettedSpriteSupplier.permutationLocationThe field for thepermutationLocationrecord component.private final ResourceLocationUnstitcher.resourceThe field for theresourcerecord component.private final ResourceLocationSingleFile.resourceIdThe field for theresourceIdrecord component.private 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.permutationsThe field for thepermutationsrecord component.private final Optional<ResourceLocation> SingleFile.spriteIdThe field for thespriteIdrecord component.private final List<ResourceLocation> PalettedPermutations.texturesThe field for thetexturesrecord component.Methods in net.minecraft.client.renderer.texture.atlas.sources that return ResourceLocationModifier and TypeMethodDescriptionPalettedPermutations.paletteKey()Returns the value of thepaletteKeyrecord component.PalettedPermutations.PalettedSpriteSupplier.permutationLocation()Returns the value of thepermutationLocationrecord component.Unstitcher.resource()Returns the value of theresourcerecord component.SingleFile.resourceId()Returns the value of theresourceIdrecord component.Unstitcher.Region.sprite()Returns the value of thespriterecord component.Methods in net.minecraft.client.renderer.texture.atlas.sources that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionPalettedPermutations.permutations()Returns the value of thepermutationsrecord component.SingleFile.spriteId()Returns the value of thespriteIdrecord component.PalettedPermutations.textures()Returns the value of thetexturesrecord component.Methods in net.minecraft.client.renderer.texture.atlas.sources with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static 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> p_267282_, ResourceLocation p_266681_, Map<String, ResourceLocation> p_266741_) PalettedPermutations(List<ResourceLocation> textures, ResourceLocation paletteKey, Map<String, ResourceLocation> permutations, String separator) Creates an instance of aPalettedPermutationsrecord class.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 p_400289_) SingleFile(ResourceLocation resourceId, Optional<ResourceLocation> spriteId) Creates an instance of aSingleFilerecord class.Unstitcher(ResourceLocation resource, List<Unstitcher.Region> regions, double xDivisor, double yDivisor) Creates an instance of aUnstitcherrecord class.Constructor parameters in net.minecraft.client.renderer.texture.atlas.sources with type arguments of type ResourceLocationModifierConstructorDescriptionPalettedPermutations(List<ResourceLocation> p_267282_, ResourceLocation p_266681_, Map<String, ResourceLocation> p_266741_) PalettedPermutations(List<ResourceLocation> p_267282_, ResourceLocation p_266681_, Map<String, ResourceLocation> p_266741_) PalettedPermutations(List<ResourceLocation> textures, ResourceLocation paletteKey, Map<String, ResourceLocation> permutations, String separator) Creates an instance of aPalettedPermutationsrecord class.PalettedPermutations(List<ResourceLocation> textures, ResourceLocation paletteKey, Map<String, ResourceLocation> permutations, String separator) Creates an instance of aPalettedPermutationsrecord class.SingleFile(ResourceLocation resourceId, Optional<ResourceLocation> spriteId) Creates an instance of aSingleFilerecord class. -
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.(package private) final ResourceLocationMapTextureManager.MapInstance.locationprivate static final ResourceLocationDryFoliageColorReloadListener.LOCATIONprivate 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) MapTextureManager.prepareMapTexture(MapId id, MapItemSavedData data) 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<MetadataSectionType<?>> metadataSections) -
Uses of ResourceLocation in net.minecraft.client.resources.model
Fields in net.minecraft.client.resources.model declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocationAtlasIds.ARMOR_TRIMSprivate final ResourceLocationAtlasSet.AtlasEntry.atlasInfoLocationThe field for theatlasInfoLocationrecord component.private final ResourceLocationMaterial.atlasLocationstatic final ResourceLocationAtlasIds.BANNER_PATTERNSstatic final ResourceLocationAtlasIds.BEDSstatic final ResourceLocationAtlasIds.BLOCKSstatic final ResourceLocationAtlasIds.CHESTSstatic final ResourceLocationAtlasIds.DECORATED_POTprivate static final ResourceLocationBlockStateDefinitions.GLOW_ITEM_FRAME_LOCATIONstatic final ResourceLocationAtlasIds.GUIprivate final ResourceLocationClientItemInfoLoader.PendingLoad.idThe field for theidrecord component.private final ResourceLocationModelDiscovery.ModelWrapper.idprivate static final ResourceLocationBlockStateDefinitions.ITEM_FRAME_LOCATIONstatic final ResourceLocationMissingBlockModel.LOCATIONstatic final ResourceLocationAtlasIds.MAP_DECORATIONSstatic final ResourceLocationAtlasIds.MOB_EFFECTSstatic final ResourceLocationAtlasIds.PAINTINGSstatic final ResourceLocationAtlasIds.PARTICLESstatic final ResourceLocationAtlasIds.SHIELD_PATTERNSstatic final ResourceLocationAtlasIds.SHULKER_BOXESstatic final ResourceLocationAtlasIds.SIGNSprivate final ResourceLocationMaterial.textureprivate final ResourceLocationEquipmentClientInfo.Layer.textureIdThe field for thetextureIdrecord component.Fields 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 Map<ResourceLocation, ItemModel> ModelManager.bakedItemStackModelsstatic final List<ResourceLocation> ModelBakery.BREAKING_LOCATIONSprivate final Map<ResourceLocation, ClientItem> ModelBakery.clientInfosprivate final Map<ResourceLocation, ClientItem> ClientItemInfoLoader.LoadedClientInfos.contentsThe field for thecontentsrecord component.static final List<ResourceLocation> ModelBakery.DESTROY_STAGESprivate final Map<ResourceLocation, ClientItem.Properties> ModelBakery.BakingResult.itemPropertiesThe field for theitemPropertiesrecord component.private Map<ResourceLocation, ClientItem.Properties> ModelManager.itemPropertiesprivate final Map<ResourceLocation, ItemModel> ModelBakery.BakingResult.itemStackModelsThe field for theitemStackModelsrecord component.private final Map<ResourceLocation, ResolvedModel> ModelManager.ResolvedModels.modelsThe field for themodelsrecord component.private final it.unimi.dsi.fastutil.objects.Object2ObjectMap<ResourceLocation, ModelDiscovery.ModelWrapper> ModelDiscovery.modelWrappersprivate Set<ResourceLocation> ModelManager.reportedMissingItemModels(package private) final Map<ResourceLocation, ResolvedModel> ModelBakery.resolvedModelsprivate static final Map<ResourceLocation, StateDefinition<Block, BlockState>> BlockStateDefinitions.STATIC_DEFINITIONSprivate final it.unimi.dsi.fastutil.objects.Object2ObjectFunction<ResourceLocation, ModelDiscovery.ModelWrapper> ModelDiscovery.uncachedResolverprivate 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()EquipmentClientInfo.Layer.getTextureLocation(EquipmentClientInfo.LayerType type) ClientItemInfoLoader.PendingLoad.id()Returns the value of theidrecord component.default ResourceLocationUnbakedModel.parent()Material.texture()EquipmentClientInfo.Layer.textureId()Returns the value of thetextureIdrecord component.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.ClientItemInfoLoader.LoadedClientInfos.contents()Returns the value of thecontentsrecord component.(package private) static Function<ResourceLocation, StateDefinition<Block, BlockState>> BlockStateDefinitions.definitionLocationToBlockStateMapper()ModelBakery.BakingResult.itemProperties()Returns the value of theitemPropertiesrecord component.ModelBakery.BakingResult.itemStackModels()Returns the value of theitemStackModelsrecord component.private static CompletableFuture<Map<ResourceLocation, UnbakedModel>> ModelManager.loadBlockModels(ResourceManager resourceManager, Executor executor) ModelManager.ResolvedModels.models()Returns the value of themodelsrecord component.ModelDiscovery.resolve()AtlasSet.scheduleLoad(ResourceManager resourceManager, int mipLevel, Executor executor) Methods in net.minecraft.client.resources.model with parameters of type ResourceLocationModifier and TypeMethodDescriptionEquipmentClientInfo.Builder.addHumanoidLayers(ResourceLocation textureId) EquipmentClientInfo.Builder.addHumanoidLayers(ResourceLocation textureId, boolean dyeable) EquipmentClientInfo.Builder.addMainHumanoidLayer(ResourceLocation textureId, boolean dyeable) voidModelDiscovery.addSpecialModel(ResourceLocation id, UnbakedModel model) private ModelDiscovery.ModelWrapperModelDiscovery.createAndQueueWrapper(ResourceLocation id, UnbakedModel model) AtlasSet.getAtlas(ResourceLocation location) ModelManager.getAtlas(ResourceLocation location) ModelManager.getItemModel(ResourceLocation modelLocation) ModelManager.getItemProperties(ResourceLocation itemId) ModelBaker.getModel(ResourceLocation modelLocation) ModelBakery.ModelBakerImpl.getModel(ResourceLocation p_248568_) private ModelDiscovery.ModelWrapperModelDiscovery.getOrCreateModel(ResourceLocation location) AtlasSet.StitchResult.getSprite(ResourceLocation location) static EquipmentClientInfo.LayerEquipmentClientInfo.Layer.leatherDyeable(ResourceLocation textureId, boolean dyeable) private static BlockStateModelLoader.LoadedModelsBlockStateModelLoader.loadBlockStateDefinitionStack(ResourceLocation blockStateId, StateDefinition<Block, BlockState> stateDefinition, List<BlockStateModelLoader.LoadedBlockModelDefinition> modelDefinitions) voidResolvableModel.Resolver.markDependency(ResourceLocation dependency) static EquipmentClientInfo.LayerEquipmentClientInfo.Layer.onlyIfDyed(ResourceLocation textureId, boolean dyeable) Method parameters in net.minecraft.client.resources.model with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprotected voidEquipmentAssetManager.apply(Map<ResourceLocation, EquipmentClientInfo> p_388124_, ResourceManager p_387311_, ProfilerFiller p_387076_) Material.buffer(MultiBufferSource bufferSource, Function<ResourceLocation, RenderType> renderTypeGetter) Material.buffer(MultiBufferSource bufferSource, Function<ResourceLocation, RenderType> renderTypeGetter, boolean noEntity, boolean withGlint) private static ModelManager.ResolvedModelsModelManager.discoverModelDependencies(Map<ResourceLocation, UnbakedModel> inputModels, BlockStateModelLoader.LoadedModels loadedModels, ClientItemInfoLoader.LoadedClientInfos loadedClientInfos) private static ModelManager.ResolvedModelsModelManager.discoverModelDependencies(Map<ResourceLocation, UnbakedModel> inputModels, BlockStateModelLoader.LoadedModels loadedModels, ClientItemInfoLoader.LoadedClientInfos loadedClientInfos, StandaloneModelLoader.LoadedModels standaloneModels) private static CompletableFuture<ModelManager.ReloadState> ModelManager.loadModels(Map<ResourceLocation, AtlasSet.StitchResult> stitchResults, ModelBakery modelBakery, it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState> modelGroups, EntityModelSet entityModelSet, SpecialBlockModelRenderer specialBlockModelRenderer, Executor executor) Material.renderType(Function<ResourceLocation, RenderType> renderTypeGetter) 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.Layer(ResourceLocation p_386866_) Layer(ResourceLocation textureId, Optional<EquipmentClientInfo.Dyeable> dyeable, boolean usePlayerTexture) Creates an instance of aLayerrecord class.Material(ResourceLocation atlasLocation, ResourceLocation texture) (package private)ModelWrapper(ResourceLocation id, UnbakedModel wrapped, boolean valid) (package private)PendingLoad(ResourceLocation id, ClientItem clientItemInfo) Creates an instance of aPendingLoadrecord 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) LoadedClientInfos(Map<ResourceLocation, ClientItem> contents) Creates an instance of aLoadedClientInfosrecord class.ModelDiscovery(Map<ResourceLocation, UnbakedModel> inputModels, UnbakedModel missingModel) (package private)ResolvedModels(ResolvedModel missing, Map<ResourceLocation, ResolvedModel> models) Creates an instance of aResolvedModelsrecord class. -
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()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) Methods in net.minecraft.commands.arguments with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static booleanResourceSelectorArgument.matches(String string, ResourceLocation location) -
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 p_335407_, ResourceLocation p_335837_) ComponentPredicateParser.Context.forTagType(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation tagType) ItemPredicateArgument.Context.forTagType(com.mojang.brigadier.ImmutableStringReader p_335801_, ResourceLocation p_336117_) (package private) static CommandFunction<CommandSourceStack> FunctionArgument.getFunction(com.mojang.brigadier.context.CommandContext<CommandSourceStack> 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 p_336180_, ResourceLocation p_335872_) ComponentPredicateParser.Context.lookupPredicateType(com.mojang.brigadier.ImmutableStringReader reader, ResourceLocation predicateType) ItemPredicateArgument.Context.lookupPredicateType(com.mojang.brigadier.ImmutableStringReader p_335514_, ResourceLocation p_335709_) protected CComponentPredicateParser.ComponentLookupRule.validateElement(com.mojang.brigadier.ImmutableStringReader p_335604_, ResourceLocation p_335964_) protected TComponentPredicateParser.ElementLookupRule.validateElement(com.mojang.brigadier.ImmutableStringReader p_335629_, ResourceLocation p_335530_) protected PComponentPredicateParser.PredicateLookupRule.validateElement(com.mojang.brigadier.ImmutableStringReader p_336035_, ResourceLocation p_335697_) protected TComponentPredicateParser.TagLookupRule.validateElement(com.mojang.brigadier.ImmutableStringReader p_335858_, ResourceLocation p_335888_) Constructors in net.minecraft.commands.arguments.item with parameters of type ResourceLocationModifierConstructorDescription(package private)ComponentWrapper(ResourceLocation id, Predicate<ItemStack> presenceChecker, com.mojang.serialization.Decoder<? extends Predicate<ItemStack>> valueChecker) Creates an instance of 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(NamedRule<com.mojang.brigadier.StringReader, ResourceLocation> idParser, ComponentPredicateParser.Context<T, C, P> context) (package private)ElementLookupRule(NamedRule<com.mojang.brigadier.StringReader, ResourceLocation> idParser, ComponentPredicateParser.Context<T, C, P> context) (package private)PredicateLookupRule(NamedRule<com.mojang.brigadier.StringReader, ResourceLocation> idParser, ComponentPredicateParser.Context<T, C, P> context) (package private)TagLookupRule(NamedRule<com.mojang.brigadier.StringReader, 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> p_306061_, com.mojang.brigadier.CommandDispatcher<T> p_306059_, ResourceLocation p_306158_) MacroFunction.PlainTextEntry.instantiate(List<String> p_306111_, com.mojang.brigadier.CommandDispatcher<T> p_305941_, ResourceLocation p_305903_) Constructors in net.minecraft.commands.functions with parameters of type ResourceLocationModifierConstructorDescriptionMacroFunction(ResourceLocation 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 ResourceLocationClientAsset.idThe field for theidrecord component.private final ResourceLocationRegistrySynchronization.PackedRegistryEntry.idThe field for theidrecord component.private final ResourceLocationClientAsset.texturePathThe field for thetexturePathrecord 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) ClientAsset.id()Returns the value of theidrecord component.RegistrySynchronization.PackedRegistryEntry.id()Returns the value of theidrecord component.ClientAsset.texturePath()Returns the value of thetexturePathrecord 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 p_122761_) booleanRegistry.containsKey(ResourceLocation name) MappedRegistry.get(ResourceLocation p_316743_) Registry.get(ResourceLocation key) intMappedRegistry.getId(ResourceLocation name) DefaultedMappedRegistry.getOptional(ResourceLocation p_260078_) Registry.getOptional(ResourceLocation name) DefaultedMappedRegistry.getValue(ResourceLocation p_368576_) DefaultedRegistry.getValue(ResourceLocation p_122328_) MappedRegistry.getValue(ResourceLocation p_122739_) Registry.getValue(ResourceLocation key) booleanHolder.Direct.is(ResourceLocation p_205727_) booleanHolder.is(ResourceLocation location) booleanHolder.Reference.is(ResourceLocation p_205779_) 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 ResourceLocationModifierConstructorDescriptionClientAsset(ResourceLocation p_400237_) ClientAsset(ResourceLocation id, ResourceLocation texturePath) Creates an instance of aClientAssetrecord class.PackedRegistryEntry(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.ITEM_MODELstatic final DataComponentType<ResourceLocation> DataComponents.NOTE_BLOCK_SOUNDstatic final DataComponentType<ResourceLocation> DataComponents.TOOLTIP_STYLE -
Uses of ResourceLocation in net.minecraft.core.component.predicates
Fields in net.minecraft.core.component.predicates with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Optional<ResourceLocation> AttributeModifiersPredicate.EntryPredicate.idThe field for theidrecord component.Methods in net.minecraft.core.component.predicates that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionAttributeModifiersPredicate.EntryPredicate.id()Returns the value of theidrecord component. -
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) Method parameters in net.minecraft.data with type arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic <T> CompletableFuture<?> DataProvider.saveAll(CachedOutput output, com.mojang.serialization.Codec<T> codec, PackOutput.PathProvider pathProvider, Map<ResourceLocation, T> entries) -
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.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) -
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.data.worldgen
Methods in net.minecraft.data.worldgen with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic ResourceKey<StructureTemplatePool> Pools.createKey(ResourceLocation location) -
Uses of ResourceLocation in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationTestData.structureThe field for thestructurerecord component.Fields in net.minecraft.gametest.framework with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Optional<ResourceLocation> TestEnvironmentDefinition.Functions.setupFunctionThe field for thesetupFunctionrecord component.private final Optional<ResourceLocation> TestEnvironmentDefinition.Functions.teardownFunctionThe field for theteardownFunctionrecord component.private final Map<ResourceLocation, TestData<ResourceKey<TestEnvironmentDefinition>>> GeneratedTest.testsThe field for thetestsrecord component.Methods in net.minecraft.gametest.framework that return ResourceLocationModifier and TypeMethodDescriptionGameTestInfo.getStructure()GameTestInfo.id()GameTestInstance.structure()TestData.structure()Returns the value of thestructurerecord component.Methods in net.minecraft.gametest.framework that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionTestEnvironmentDefinition.Functions.setupFunction()Returns the value of thesetupFunctionrecord component.TestEnvironmentDefinition.Functions.teardownFunction()Returns the value of theteardownFunctionrecord component.GeneratedTest.tests()Returns the value of thetestsrecord component.Methods in net.minecraft.gametest.framework with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic TestInstanceBlockEntityStructureUtils.createNewEmptyTest(ResourceLocation id, BlockPos pos, Vec3i size, Rotation rotation, ServerLevel level) private static intTestCommand.createNewStructure(CommandSourceStack source, ResourceLocation id, int width, int height, int depth) private static voidTestEnvironmentDefinition.Functions.run(ServerLevel level, ResourceLocation function) private static booleanTestCommand.verifyStructureExists(CommandSourceStack source, ResourceLocation structure) Constructors in net.minecraft.gametest.framework with parameters of type ResourceLocationModifierConstructorDescriptionGeneratedTest(Map<ResourceLocation, TestData<ResourceKey<TestEnvironmentDefinition>>> p_397881_, ResourceLocation p_397734_, Consumer<GameTestHelper> p_397974_) GeneratedTest(ResourceLocation p_397873_, TestData<ResourceKey<TestEnvironmentDefinition>> p_397065_, Consumer<GameTestHelper> p_397393_) TestData(EnvironmentType p_397623_, ResourceLocation p_397576_, int p_397143_, int p_397037_, boolean p_397352_) TestData(EnvironmentType p_397869_, ResourceLocation p_397537_, int p_397240_, int p_397081_, boolean p_397911_, Rotation p_397516_) TestData(EnvironmentType environment, ResourceLocation structure, int maxTicks, int setupTicks, boolean required, Rotation rotation, boolean manualOnly, int maxAttempts, int requiredSuccesses, boolean skyAccess) Creates an instance of aTestDatarecord class.Constructor parameters in net.minecraft.gametest.framework with type arguments of type ResourceLocationModifierConstructorDescriptionFunctions(Optional<ResourceLocation> setupFunction, Optional<ResourceLocation> teardownFunction) Creates an instance of aFunctionsrecord class.GeneratedTest(Map<ResourceLocation, TestData<ResourceKey<TestEnvironmentDefinition>>> tests, ResourceKey<Consumer<GameTestHelper>> functionKey, Consumer<GameTestHelper> function) Creates an instance of aGeneratedTestrecord class.GeneratedTest(Map<ResourceLocation, TestData<ResourceKey<TestEnvironmentDefinition>>> p_397881_, ResourceLocation p_397734_, Consumer<GameTestHelper> p_397974_) -
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, Integer shadowColor, 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 ResourceLocationClientboundCooldownPacket.cooldownGroupThe field for thecooldownGrouprecord component.private final ResourceLocationClientboundStopSoundPacket.nameprivate final ResourceLocationServerboundSetJigsawBlockPacket.nameprivate final ResourceLocationServerboundSetJigsawBlockPacket.poolprivate 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 Set<ResourceLocation> ClientboundUpdateAdvancementsPacket.removedMethods in net.minecraft.network.protocol.game that return ResourceLocationModifier and TypeMethodDescriptionClientboundCooldownPacket.cooldownGroup()Returns the value of thecooldownGrouprecord component.ClientboundStopSoundPacket.getName()ServerboundSetJigsawBlockPacket.getName()ServerboundSetJigsawBlockPacket.getPool()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 TypeMethodDescriptionClientboundUpdateAdvancementsPacket.getProgress()ClientboundUpdateAdvancementsPacket.getRemoved()Constructors in net.minecraft.network.protocol.game with parameters of type ResourceLocationModifierConstructorDescription(package private)ArgumentNodeStub(String id, ArgumentTypeInfo.Template<?> argumentType, ResourceLocation suggestionId) ClientboundCooldownPacket(ResourceLocation cooldownGroup, int duration) Creates an instance of aClientboundCooldownPacketrecord class.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 ResourceLocationModifierConstructorDescriptionClientboundUpdateAdvancementsPacket(boolean reset, Collection<AdvancementHolder> added, Set<ResourceLocation> removed, Map<ResourceLocation, AdvancementProgress> progress, boolean showAdvancements) ClientboundUpdateAdvancementsPacket(boolean reset, Collection<AdvancementHolder> added, Set<ResourceLocation> removed, Map<ResourceLocation, AdvancementProgress> progress, boolean showAdvancements) -
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) 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) 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.private Map<ResourceLocation, List<CommandFunction<CommandSourceStack>>> 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 function) ServerFunctionLibrary.getFunction(ResourceLocation location) ServerFunctionLibrary.getTag(ResourceLocation location) ServerFunctionManager.getTag(ResourceLocation tag) 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, Advancement> 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.eventsprivate static final com.mojang.serialization.Codec<Map<ResourceLocation, CustomBossEvent.Packed>> CustomBossEvents.EVENTS_CODECMethods 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(ResourceLocation id, CustomBossEvent.Packed packed) 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 that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static Stream<ResourceLocation> AttributeCommand.getAttributeModifiers(Entity entity, Holder<Attribute> attribute) 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 p_180091_, ResourceLocation p_180092_, int p_180093_) 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, boolean strict) 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 ResourceLocation -
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 p_295406_, ResourceLocation p_296382_) FilePackResources.getResource(PackType p_249605_, ResourceLocation p_252147_) PackResources.getResource(PackType packType, ResourceLocation location) static IoSupplier<InputStream> PathPackResources.getResource(ResourceLocation location, Path path) PathPackResources.getResource(PackType p_249352_, ResourceLocation p_251715_) VanillaPackResources.getResource(PackType p_250512_, ResourceLocation p_251554_) 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 p_215413_, Predicate<ResourceLocation> p_215414_) MultiPackResourceManager.listResources(String p_215476_, Predicate<ResourceLocation> p_215477_) ReloadableResourceManager.listResources(String p_215488_, Predicate<ResourceLocation> p_215489_) ResourceManager.Empty.listResources(String p_215570_, Predicate<ResourceLocation> p_215571_) ResourceManager.listResources(String path, Predicate<ResourceLocation> filter) FallbackResourceManager.listResourceStacks(String p_215416_, Predicate<ResourceLocation> p_215417_) MultiPackResourceManager.listResourceStacks(String p_215479_, Predicate<ResourceLocation> p_215480_) ReloadableResourceManager.listResourceStacks(String p_215491_, Predicate<ResourceLocation> p_215492_) ResourceManager.Empty.listResourceStacks(String p_215573_, Predicate<ResourceLocation> p_215574_) ResourceManager.listResourceStacks(String path, Predicate<ResourceLocation> filter) protected Map<ResourceLocation, T> 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 p_215419_) MultiPackResourceManager.getResource(ResourceLocation p_215482_) ReloadableResourceManager.getResource(ResourceLocation p_215494_) ResourceManager.Empty.getResource(ResourceLocation p_215576_) ResourceProvider.getResource(ResourceLocation location) private static ResourceLocationFallbackResourceManager.getResourceLocationFromMetadata(ResourceLocation metadataResourceLocation) default ResourceResourceProvider.getResourceOrThrow(ResourceLocation location) FallbackResourceManager.getResourceStack(ResourceLocation p_215367_) MultiPackResourceManager.getResourceStack(ResourceLocation p_215466_) ReloadableResourceManager.getResourceStack(ResourceLocation p_215486_) 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 p_215413_, Predicate<ResourceLocation> p_215414_) MultiPackResourceManager.listResources(String p_215476_, Predicate<ResourceLocation> p_215477_) ReloadableResourceManager.listResources(String p_215488_, Predicate<ResourceLocation> p_215489_) ResourceManager.Empty.listResources(String p_215570_, Predicate<ResourceLocation> p_215571_) ResourceManager.listResources(String path, Predicate<ResourceLocation> filter) FallbackResourceManager.listResourceStacks(String p_215416_, Predicate<ResourceLocation> p_215417_) MultiPackResourceManager.listResourceStacks(String p_215479_, Predicate<ResourceLocation> p_215480_) ReloadableResourceManager.listResourceStacks(String p_215491_, Predicate<ResourceLocation> p_215492_) ResourceManager.Empty.listResourceStacks(String p_215573_, Predicate<ResourceLocation> p_215574_) ResourceManager.listResourceStacks(String 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 <T> voidSimpleJsonResourceReloadListener.scanDirectory(ResourceManager resourceManager, FileToIdConverter lister, com.mojang.serialization.DynamicOps<JsonElement> ops, com.mojang.serialization.Codec<T> codec, Map<ResourceLocation, T> output) static <T> voidSimpleJsonResourceReloadListener.scanDirectory(ResourceManager resourceManager, ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.DynamicOps<JsonElement> ops, com.mojang.serialization.Codec<T> codec, Map<ResourceLocation, T> output) static <T> voidSimpleJsonResourceReloadListener.scanDirectoryWithOptionalValues(ResourceManager p_386974_, ResourceKey<? extends Registry<T>> p_388878_, com.mojang.serialization.DynamicOps<JsonElement> p_388402_, com.mojang.serialization.Codec<Optional<T>> p_387608_, Map<ResourceLocation, Optional<T>> p_386495_) 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 ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationSoundEvent.locationThe field for thelocationrecord component.Methods in net.minecraft.sounds that return ResourceLocationModifier and TypeMethodDescriptionSoundEvent.location()Returns the value of thelocationrecord component.Methods 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 ResourceLocationModifierConstructorDescriptionSoundEvent(ResourceLocation location, Optional<Float> fixedRange) Creates an instance of aSoundEventrecord class. -
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 ResourceLocationMethods in net.minecraft.stats that return ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceLocationStats.makeCustomStat(String key, StatFormatter formatter) Methods in net.minecraft.stats with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static <T> StringStat.locationToKey(ResourceLocation location) -
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 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) 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 id, boolean required) TagLoader.ElementLookup.get(ResourceLocation id, boolean required) static TagEntryTagEntry.optionalElement(ResourceLocation elementLocation) static TagEntryTagEntry.optionalTag(ResourceLocation tagLocation) TagEntry.Lookup.tag(ResourceLocation id) 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> p_285469_) voidTagEntry.visitRequiredDependencies(Consumer<ResourceLocation> visitor) voidTagLoader.SortingEntry.visitRequiredDependencies(Consumer<ResourceLocation> p_285529_) TagLoader.wrapTags(ResourceKey<? extends Registry<T>> registryKey, Map<ResourceLocation, List<Holder<T>>> tags) 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 ResourceLocationModifierConstructorDescription(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.context
Fields in net.minecraft.util.context declared as ResourceLocationMethods in net.minecraft.util.context that return ResourceLocationConstructors in net.minecraft.util.context with parameters of type ResourceLocation -
Uses of ResourceLocation in net.minecraft.util.datafix.fixes
Fields in net.minecraft.util.datafix.fixes with type parameters of type ResourceLocationModifier and TypeFieldDescriptionstatic final Map<com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<Tag>, com.mojang.serialization.Dynamic<Tag>>, ResourceLocation> TrialSpawnerConfigInRegistryFix.VanillaTrialChambers.CONFIGS_TO_KEYMethods in net.minecraft.util.datafix.fixes with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static voidTrialSpawnerConfigInRegistryFix.VanillaTrialChambers.register(ResourceLocation name, String normal, String ominous) -
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 NamedRule<com.mojang.brigadier.StringReader, ResourceLocation> ResourceLookupRule.idParserstatic final Rule<com.mojang.brigadier.StringReader, ResourceLocation> ResourceLocationParseRule.INSTANCEMethods in net.minecraft.util.parsing.packrat.commands that return ResourceLocationModifier and TypeMethodDescriptionResourceLocationParseRule.parse(ParseState<com.mojang.brigadier.StringReader> p_409659_) Methods in net.minecraft.util.parsing.packrat.commands that return types with arguments of type ResourceLocationMethods 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(NamedRule<com.mojang.brigadier.StringReader, 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 ResourceLocationModifierConstructorDescriptionRandomSequence(long seed, Optional<ResourceLocation> location) privateRandomSequences(long worldSeed, int salt, boolean includeWorldSeed, boolean includeSequenceId, Map<ResourceLocation, RandomSequence> sequences) -
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 TypeFieldDescriptionstatic final ResourceLocationTemperatureVariants.COLDprivate static final ResourceLocationRabbit.EVIL_ATTACK_POWER_MODIFIERprivate static final ResourceLocationRabbit.KILLER_BUNNYstatic final ResourceLocationTemperatureVariants.TEMPERATEstatic final ResourceLocationTemperatureVariants.WARMMethods in net.minecraft.world.entity.animal with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceKey<ChickenVariant> ChickenVariants.createKey(ResourceLocation name) private static ResourceKey<CowVariant> CowVariants.createKey(ResourceLocation name) private static ResourceKey<PigVariant> PigVariants.createKey(ResourceLocation name) -
Uses of ResourceLocation in net.minecraft.world.entity.animal.frog
Methods in net.minecraft.world.entity.animal.frog with parameters of type ResourceLocationModifier and TypeMethodDescriptionprivate static ResourceKey<FrogVariant> FrogVariants.createKey(ResourceLocation name) -
Uses of ResourceLocation in net.minecraft.world.entity.animal.wolf
Methods in net.minecraft.world.entity.animal.wolf that return ResourceLocation -
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, Optional<Component> title, Optional<Component> author) 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) -
Uses of ResourceLocation in net.minecraft.world.entity.variant
Constructors in net.minecraft.world.entity.variant with parameters 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 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 TypeFieldDescriptionprivate static final ResourceLocationHorseInventoryMenu.ARMOR_SLOT_SPRITEprivate ResourceLocationSlot.backgroundSpritestatic 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 ResourceLocationBrewingStandMenu.EMPTY_SLOT_FUEL(package private) static final ResourceLocationEnchantmentMenu.EMPTY_SLOT_LAPIS_LAZULI(package private) static final ResourceLocationBrewingStandMenu.EMPTY_SLOT_POTIONprivate final ResourceLocationArmorSlot.emptyIconprivate static final ResourceLocationHorseInventoryMenu.LLAMA_ARMOR_SLOT_SPRITEprivate static final ResourceLocationHorseInventoryMenu.SADDLE_SLOT_SPRITEFields in net.minecraft.world.inventory with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Map<EquipmentSlot, ResourceLocation> InventoryMenu.TEXTURE_EMPTY_SLOTSMethods in net.minecraft.world.inventory that return ResourceLocationModifier and TypeMethodDescriptionArmorSlot.getNoItemIcon()BrewingStandMenu.FuelSlot.getNoItemIcon()BrewingStandMenu.PotionSlot.getNoItemIcon()Slot.getNoItemIcon()Methods in net.minecraft.world.inventory with parameters of type ResourceLocationModifier and TypeMethodDescriptionSlot.setBackground(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 TypeFieldDescription(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 static final ResourceLocationCreativeModeTabs.INVENTORY_BACKGROUNDprivate 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.tabsImageFields in net.minecraft.world.item with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final List<ResourceLocation> SmithingTemplateItem.additionalSlotEmptyIconsprivate final List<ResourceLocation> SmithingTemplateItem.baseSlotEmptyIconsprivate final Map<ResourceLocation, ItemCooldowns.CooldownInstance> ItemCooldowns.cooldownsprivate DependantName<Item, ResourceLocation> Item.Properties.modelprivate final List<ResourceLocation> CreativeModeTab.Builder.tabsAfterfinal List<ResourceLocation> CreativeModeTab.tabsAfterprivate final List<ResourceLocation> CreativeModeTab.Builder.tabsBeforefinal List<ResourceLocation> CreativeModeTab.tabsBeforeMethods in net.minecraft.world.item that return ResourceLocationModifier and TypeMethodDescriptionstatic ResourceLocationCreativeModeTab.createTextureLocation(String name) Item.Properties.effectiveModel()CreativeModeTab.getBackgroundTexture()ItemCooldowns.getCooldownGroup(ItemStack stack) CreativeModeTab.getScrollerSprite()CreativeModeTab.getTabsImage()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 TypeMethodDescriptionvoidItemCooldowns.addCooldown(ResourceLocation group, int cooldown) CreativeModeTab.Builder.backgroundTexture(ResourceLocation backgroundTexture) (package private) DataComponentMapItem.Properties.buildAndValidateComponents(Component itemName, ResourceLocation itemModel) protected voidItemCooldowns.onCooldownEnded(ResourceLocation group) protected voidServerItemCooldowns.onCooldownEnded(ResourceLocation p_366791_) protected voidItemCooldowns.onCooldownStarted(ResourceLocation group, int cooldown) protected voidServerItemCooldowns.onCooldownStarted(ResourceLocation p_366780_, int p_43070_) voidItemCooldowns.removeCooldown(ResourceLocation group) 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) Constructor parameters in net.minecraft.world.item with type arguments 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) SmithingTemplateItem(Component appliesTo, Component ingredients, Component baseSlotDescription, Component additionsSlotDescription, List<ResourceLocation> baseSlotEmptyIcons, List<ResourceLocation> additionalSlotEmptyIcons, Item.Properties properties) -
Uses of ResourceLocation in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Optional<ResourceLocation> UseCooldown.cooldownGroupThe field for thecooldownGrouprecord component.Methods in net.minecraft.world.item.component that return ResourceLocationMethods in net.minecraft.world.item.component that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionUseCooldown.cooldownGroup()Returns the value of thecooldownGrouprecord component.Methods in net.minecraft.world.item.component with parameters of type ResourceLocationModifier and TypeMethodDescriptionbooleanItemAttributeModifiers.Entry.matches(Holder<Attribute> attribute, ResourceLocation id) Constructor parameters in net.minecraft.world.item.component with type arguments of type ResourceLocationModifierConstructorDescriptionUseCooldown(float seconds, Optional<ResourceLocation> cooldownGroup) Creates an instance of aUseCooldownrecord class. -
Uses of ResourceLocation in net.minecraft.world.item.crafting
Methods in net.minecraft.world.item.crafting with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic <T extends Recipe<?>>
RecipeType<T> RecipeType.simple(ResourceLocation name) -
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.item.equipment
Fields in net.minecraft.world.item.equipment with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate Optional<ResourceLocation> Equippable.Builder.cameraOverlayprivate final Optional<ResourceLocation> Equippable.cameraOverlayThe field for thecameraOverlayrecord component.Methods in net.minecraft.world.item.equipment that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionEquippable.cameraOverlay()Returns the value of thecameraOverlayrecord component.Methods in net.minecraft.world.item.equipment with parameters of type ResourceLocationModifier and TypeMethodDescriptionEquippable.Builder.setCameraOverlay(ResourceLocation cameraOverlay) -
Uses of ResourceLocation in net.minecraft.world.item.equipment.trim
Fields in net.minecraft.world.item.equipment.trim declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationTrimPattern.assetIdThe field for theassetIdrecord component.Methods in net.minecraft.world.item.equipment.trim that return ResourceLocationModifier and TypeMethodDescriptionTrimPattern.assetId()Returns the value of theassetIdrecord component.static ResourceLocationTrimPatterns.defaultAssetId(ResourceKey<TrimPattern> key) ArmorTrim.layerAssetId(String prefix, ResourceKey<EquipmentAsset> equipmentAssetId) Constructors in net.minecraft.world.item.equipment.trim with parameters of type ResourceLocationModifierConstructorDescriptionTrimPattern(ResourceLocation assetId, Component description, boolean decal) Creates an instance of aTrimPatternrecord class. -
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.static final ResourceLocationJigsawBlockEntity.EMPTY_IDprivate ResourceLocationJigsawBlockEntity.nameprivate ResourceLocationSkullBlockEntity.noteBlockSoundprivate ResourceLocationStructureBlockEntity.structureNameprivate ResourceLocationJigsawBlockEntity.targetMethods 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 that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionMethods in net.minecraft.world.level.block.entity with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic booleanTestInstanceBlockEntity.export(ServerLevel level, ResourceLocation test, Consumer<Component> messageSender) static booleanStructureBlockEntity.saveStructure(ServerLevel level, ResourceLocation name, BlockPos pos, Vec3i size, boolean ignoreEntities, String author, boolean writeToDisk) voidJigsawBlockEntity.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 declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationFeaturePoolElement.DEFAULT_JIGSAW_NAMEFields 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 ResourceLocationMethods 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 declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationStructureTemplate.JigsawBlockInfo.nameThe field for thenamerecord component.private final ResourceLocationStructureTemplate.JigsawBlockInfo.targetThe field for thetargetrecord component.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 ResourceLocationModifier and TypeMethodDescriptionStructureTemplate.JigsawBlockInfo.name()Returns the value of thenamerecord component.StructureTemplate.JigsawBlockInfo.target()Returns the value of thetargetrecord component.Methods in net.minecraft.world.level.levelgen.structure.templatesystem that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionStructureTemplateManager.Source.lister()Returns the value of 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 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) Constructors in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type ResourceLocationModifierConstructorDescriptionJigsawBlockInfo(StructureTemplate.StructureBlockInfo info, JigsawBlockEntity.JointType jointType, ResourceLocation name, ResourceKey<StructureTemplatePool> pool, ResourceLocation target, int placementPriority, int selectionPriority) Creates an instance of aJigsawBlockInforecord class.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) 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) LootParams(ServerLevel level, ContextMap params, Map<ResourceLocation, LootParams.DynamicDrop> dynamicDrops, float luck) (package private)LootTable(ContextKeySet 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 with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final BiMap<ResourceLocation, ContextKeySet> LootContextParamSets.REGISTRY -
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 TypeFieldDescriptionprivate final ResourceLocationFunctionCallback.functionIdThe field for thefunctionIdrecord component.private final ResourceLocationFunctionTagCallback.tagIdThe field for thetagIdrecord component.Fields in net.minecraft.world.level.timers with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends TimerCallback<C>>> TimerCallbacks.idMapperMethods in net.minecraft.world.level.timers that return ResourceLocationModifier and TypeMethodDescriptionFunctionCallback.functionId()Returns the value of thefunctionIdrecord component.FunctionTagCallback.tagId()Returns the value of thetagIdrecord component.Methods in net.minecraft.world.level.timers with parameters of type ResourceLocationModifier and TypeMethodDescriptionTimerCallbacks.register(ResourceLocation name, com.mojang.serialization.MapCodec<? extends TimerCallback<C>> codec) Constructors in net.minecraft.world.level.timers with parameters of type ResourceLocationModifierConstructorDescriptionFunctionCallback(ResourceLocation functionId) Creates an instance of aFunctionCallbackrecord class.Creates an instance of aFunctionTagCallbackrecord class. -
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 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 ImmutableMap<ResourceLocation, RenderTypeGroup> NamedRenderTypeManager.RENDER_TYPESprivate static Map<EntityType<?>, ResourceLocation> EntitySpectatorShaderManager.SHADERSstatic Function<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_FILTEREDstatic Function<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_INTENSITY_FILTEREDstatic Function<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_INTENSITY_POLYGON_OFFSET_FILTEREDstatic Function<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_INTENSITY_SEETHROUGH_FILTEREDstatic Function<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_POLYGON_OFFSET_FILTEREDstatic Function<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_SEETHROUGH_FILTEREDstatic 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(ItemStack armor, EquipmentClientInfo.LayerType type, EquipmentClientInfo.Layer layer, ResourceLocation _default) private static ResourceLocationClientNeoForgeMod.neoForgeId(String path) 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) 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.@Nullable AdvancementHolderClientCommandSourceStack.getAdvancement(ResourceLocation id) Returns the advancement from the id from the client side where the advancement needs to be visible to the player.static ResourceLocationClientHooks.getArmorTexture(ItemStack armor, EquipmentClientInfo.LayerType type, EquipmentClientInfo.Layer layer, ResourceLocation _default) 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.getTextFiltered(ResourceLocation locationIn) private static RenderTypeNeoForgeRenderTypes.Internal.getTextFiltered(ResourceLocation locationIn) static RenderTypeNeoForgeRenderTypes.getTextIntensityFiltered(ResourceLocation locationIn) private static RenderTypeNeoForgeRenderTypes.Internal.getTextIntensityFiltered(ResourceLocation locationIn) static RenderTypeNeoForgeRenderTypes.getTextIntensityPolygonOffsetFiltered(ResourceLocation locationIn) private static RenderTypeNeoForgeRenderTypes.Internal.getTextIntensityPolygonOffsetFiltered(ResourceLocation locationIn) static RenderTypeNeoForgeRenderTypes.getTextIntensitySeeThroughFiltered(ResourceLocation locationIn) private static RenderTypeNeoForgeRenderTypes.Internal.getTextIntensitySeeThroughFiltered(ResourceLocation locationIn) static RenderTypeNeoForgeRenderTypes.getTextPolygonOffsetFiltered(ResourceLocation locationIn) private static RenderTypeNeoForgeRenderTypes.Internal.getTextPolygonOffsetFiltered(ResourceLocation locationIn) static RenderTypeNeoForgeRenderTypes.getTextSeeThroughFiltered(ResourceLocation locationIn) private static RenderTypeNeoForgeRenderTypes.Internal.getTextSeeThroughFiltered(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) static RenderTooltipEvent.TextureClientHooks.onRenderTooltipTexture(ItemStack stack, GuiGraphics graphics, int x, int y, Font font, List<ClientTooltipComponent> components, @Nullable ResourceLocation texture) 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) static voidClientHooks.onModifyBakingResult(ModelBakery.BakingResult bakingResult, Map<ResourceLocation, AtlasSet.StitchResult> stitchResults, ModelBakery modelBakery) 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. -
Uses of ResourceLocation in net.neoforged.neoforge.client.data
Fields in net.neoforged.neoforge.client.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_ATLASprotected 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.client.data with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, SpriteSourceProvider.SourceList> SpriteSourceProvider.atlasesprotected final Map<ResourceLocation, List<String>> ParticleDescriptionProvider.descriptionsMethods in net.neoforged.neoforge.client.data with parameters of type ResourceLocationModifier and TypeMethodDescriptionprotected final SpriteSourceProvider.SourceListSpriteSourceProvider.atlas(ResourceLocation id) Get or create aSpriteSourceProvider.SourceListfor the given atlasprotected 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.Method parameters in net.neoforged.neoforge.client.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. -
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 ImmutableBiMap<ResourceLocation, AnimationChannel.Interpolation> AnimationTypeManager.DEFAULT_INTERPOLATIONSprivate static final ImmutableBiMap<ResourceLocation, AnimationTarget> AnimationTypeManager.DEFAULT_TARGETSprivate static ImmutableBiMap<ResourceLocation, AnimationChannel.Interpolation> AnimationTypeManager.INTERPOLATIONSprivate static 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, AnimationDefinition> 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 ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationRenderGuiLayerEvent.nameprivate final @Nullable ResourceLocationRenderTooltipEvent.Texture.originalTextureprivate @Nullable ResourceLocationRenderTooltipEvent.Texture.textureFields 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 ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends CustomBlockModelDefinition>> RegisterBlockStateModels.defintionIdMapperprivate final Map<ResourceLocation, DimensionSpecialEffects> RegisterDimensionSpecialEffectsEvent.effectsprivate final ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends ItemTintSource>> RegisterColorHandlersEvent.ItemTintSources.idMapperprivate final ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends ConditionalItemModelProperty>> RegisterConditionalItemModelPropertyEvent.idMapperprivate final ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends ItemModel.Unbaked>> RegisterItemModelsEvent.idMapperprivate final ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends RangeSelectItemModelProperty>> RegisterRangeSelectItemModelPropertyEvent.idMapperprivate final ExtraCodecs.LateBoundIdMapper<ResourceLocation, SelectItemModelProperty.Type<?, ?>> RegisterSelectItemModelPropertyEvent.idMapperprivate final ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends SpecialModelRenderer.Unbaked>> RegisterSpecialModelRendererEvent.idMapperprivate final ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends SpriteSource>> RegisterSpriteSourcesEvent.idMapperprivate final ImmutableMap.Builder<ResourceLocation, AnimationChannel.Interpolation> RegisterJsonAnimationTypesEvent.interpolationsprivate final Map<ResourceLocation, UnbakedModelLoader<?>> ModelEvent.RegisterLoaders.loadersprivate final ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends CustomUnbakedBlockStateModel>> RegisterBlockStateModels.modelIdMapperprivate 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 final ImmutableMap.Builder<ResourceLocation, AnimationTarget> RegisterJsonAnimationTypesEvent.targetsMethods in net.neoforged.neoforge.client.event that return ResourceLocationModifier and TypeMethodDescriptionRenderGuiLayerEvent.getName()@Nullable ResourceLocationRenderTooltipEvent.Texture.getOriginalTexture()Returns the original texture location given to the tooltip render method (may originate fromDataComponents.TOOLTIP_STYLE).@Nullable ResourceLocationRenderTooltipEvent.Texture.getTexture()Returns the texture location that will be used to render the tooltip.private static ResourceLocationAddClientReloadListenersEvent.lookupName(PreparableReloadListener listener) 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) voidModelEvent.RegisterLoaders.register(ResourceLocation key, UnbakedModelLoader<?> loader) Registers a new unbaked model loader.voidRegisterColorHandlersEvent.ItemTintSources.register(ResourceLocation location, com.mojang.serialization.MapCodec<? extends ItemTintSource> source) voidRegisterConditionalItemModelPropertyEvent.register(ResourceLocation location, com.mojang.serialization.MapCodec<? extends ConditionalItemModelProperty> source) 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) voidRegisterItemModelsEvent.register(ResourceLocation location, com.mojang.serialization.MapCodec<? extends ItemModel.Unbaked> source) 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.voidRegisterRangeSelectItemModelPropertyEvent.register(ResourceLocation location, com.mojang.serialization.MapCodec<? extends RangeSelectItemModelProperty> source) voidRegisterSelectItemModelPropertyEvent.register(ResourceLocation location, SelectItemModelProperty.Type<?, ?> source) voidRegisterSpecialModelRendererEvent.register(ResourceLocation location, com.mojang.serialization.MapCodec<? extends SpecialModelRenderer.Unbaked> source) voidRegisterSpriteSourcesEvent.register(ResourceLocation id, com.mojang.serialization.MapCodec<? extends SpriteSource> codec) 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.voidRegisterBlockStateModels.registerDefinition(ResourceLocation location, com.mojang.serialization.MapCodec<? extends CustomBlockModelDefinition> codec) voidRegisterJsonAnimationTypesEvent.registerInterpolation(ResourceLocation key, AnimationChannel.Interpolation interpolation) Register a custominterpolation functionwith the specifiedkey.voidRegisterBlockStateModels.registerModel(ResourceLocation location, com.mojang.serialization.MapCodec<? extends CustomUnbakedBlockStateModel> codec) voidRegisterJsonAnimationTypesEvent.registerTarget(ResourceLocation key, AnimationTarget target) Register a customAnimationTargetwith the specifiedkey.voidRegisterGuiLayersEvent.replaceLayer(ResourceLocation id, LayeredDraw.Layer replacement) Replace the layer with the givenidwith a new one.voidRenderTooltipEvent.Texture.setTexture(@Nullable ResourceLocation texture) Set the texture to use for the tooltip background and frame ornullto use the default textures.voidRegisterGuiLayersEvent.wrapLayer(ResourceLocation id, UnaryOperator<LayeredDraw.Layer> wrapper) Wrap the layer with the givenidin a new layer.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) Texture(ItemStack stack, GuiGraphics graphics, int x, int y, Font font, List<ClientTooltipComponent> components, @Nullable ResourceLocation texture) Constructor parameters in net.neoforged.neoforge.client.event with type arguments of type ResourceLocationModifierConstructorDescriptionItemTintSources(ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends ItemTintSource>> idMapper) RegisterBlockStateModels(ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends CustomUnbakedBlockStateModel>> modelIdMapper, ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends CustomBlockModelDefinition>> defintionIdMapper) RegisterConditionalItemModelPropertyEvent(ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends ConditionalItemModelProperty>> idMapper) RegisterEntitySpectatorShadersEvent(Map<EntityType<?>, ResourceLocation> shaders) RegisterItemModelsEvent(ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends ItemModel.Unbaked>> idMapper) RegisterJsonAnimationTypesEvent(ImmutableMap.Builder<ResourceLocation, AnimationTarget> targets, ImmutableMap.Builder<ResourceLocation, AnimationChannel.Interpolation> interpolations) RegisterLoaders(Map<ResourceLocation, UnbakedModelLoader<?>> loaders) RegisterNamedRenderTypesEvent(Map<ResourceLocation, RenderTypeGroup> renderTypes) RegisterRangeSelectItemModelPropertyEvent(ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends RangeSelectItemModelProperty>> idMapper) RegisterSelectItemModelPropertyEvent(ExtraCodecs.LateBoundIdMapper<ResourceLocation, SelectItemModelProperty.Type<?, ?>> idMapper) RegisterSpecialModelRendererEvent(ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends SpecialModelRenderer.Unbaked>> idMapper) RegisterSpriteSourcesEvent(ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends SpriteSource>> idMapper) -
Uses of ResourceLocation in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions that return ResourceLocationModifier and TypeMethodDescriptiondefault ResourceLocationIModelProviderExtension.mcLocation(String modelPath) default ResourceLocationIModelProviderExtension.modLocation(String modelPath) Methods in net.neoforged.neoforge.client.extensions with parameters of type ResourceLocationModifier and TypeMethodDescriptiondefault 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) -
Uses of ResourceLocation in net.neoforged.neoforge.client.extensions.common
Methods in net.neoforged.neoforge.client.extensions.common that return ResourceLocationModifier and TypeMethodDescriptiondefault @Nullable ResourceLocationIClientItemExtensions.getArmorTexture(ItemStack stack, EquipmentClientInfo.LayerType type, EquipmentClientInfo.Layer layer, ResourceLocation _default) Called by RenderBiped and RenderPlayer to determine the armor texture that should be used for the currently equipped item.default 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.Methods in net.neoforged.neoforge.client.extensions.common with parameters of type ResourceLocationModifier and TypeMethodDescriptiondefault @Nullable ResourceLocationIClientItemExtensions.getArmorTexture(ItemStack stack, EquipmentClientInfo.LayerType type, EquipmentClientInfo.Layer layer, ResourceLocation _default) Called by RenderBiped and RenderPlayer to determine the armor texture that should be used for the currently equipped item. -
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) (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.internal
Methods in net.neoforged.neoforge.client.internal with parameters of type ResourceLocationModifier and TypeMethodDescriptionNeoForgeClientProxy.newClientPayloadContext(ClientCommonPacketListener listener, ResourceLocation payloadId) -
Uses of ResourceLocation in net.neoforged.neoforge.client.loading
Fields in net.neoforged.neoforge.client.loading declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocationNeoForgeLoadingOverlay.LOADING_OVERLAY_TEXTURE_ID -
Uses of ResourceLocation in net.neoforged.neoforge.client.model
Fields in net.neoforged.neoforge.client.model declared as ResourceLocationModifier and TypeFieldDescriptionprivate final @Nullable ResourceLocationStandardModelParameters.parentThe field for theparentrecord component.Fields in net.neoforged.neoforge.client.model with type parameters of type ResourceLocationModifier and TypeFieldDescription(package private) final ImmutableMap<String, com.mojang.datafixers.util.Either<ResourceLocation, UnbakedModel>> CompositeUnbakedGeometry.childrenprivate static ImmutableMap<ResourceLocation, UnbakedModelLoader<?>> UnbakedModelParser.LOADERSMethods in net.neoforged.neoforge.client.model that return ResourceLocationModifier and TypeMethodDescription@Nullable ResourceLocationAbstractUnbakedModel.parent()@Nullable ResourceLocationDelegateUnbakedModel.parent()@Nullable ResourceLocationStandardModelParameters.parent()Returns the value of theparentrecord component.Methods in net.neoforged.neoforge.client.model with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic @Nullable UnbakedModelLoader<?> UnbakedModelParser.get(ResourceLocation name) Method parameters in net.neoforged.neoforge.client.model with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static voidCompositeUnbakedModel.Loader.readChildren(JsonObject jsonObject, String name, ImmutableMap.Builder<String, com.mojang.datafixers.util.Either<ResourceLocation, UnbakedModel>> children, JsonDeserializationContext context) Constructors in net.neoforged.neoforge.client.model with parameters of type ResourceLocationModifierConstructorDescriptionStandardModelParameters(@Nullable ResourceLocation parent, TextureSlots.Data textures, @Nullable ItemTransforms itemTransforms, @Nullable Boolean ambientOcclusion, UnbakedModel.GuiLight guiLight, @Nullable Transformation rootTransform, RenderTypeGroup renderTypeGroup, Map<String, Boolean> partVisibility) Creates an instance of aStandardModelParametersrecord class.Constructor parameters in net.neoforged.neoforge.client.model with type arguments of type ResourceLocationModifierConstructorDescriptionCompositeUnbakedGeometry(ImmutableMap<String, com.mojang.datafixers.util.Either<ResourceLocation, UnbakedModel>> children) -
Uses of ResourceLocation in net.neoforged.neoforge.client.model.block
Fields in net.neoforged.neoforge.client.model.block with type parameters of type ResourceLocationModifier and TypeFieldDescription(package private) static final ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends CustomBlockModelDefinition>> BlockStateModelHooks.BLOCK_MODEL_DEFINITION_IDS(package private) static final ExtraCodecs.LateBoundIdMapper<ResourceLocation, com.mojang.serialization.MapCodec<? extends CustomUnbakedBlockStateModel>> BlockStateModelHooks.BLOCK_STATE_MODEL_IDS -
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 @Nullable ResourceLocationObjModelBuilder.modelLocationprivate @Nullable ResourceLocationObjModelBuilder.mtlOverrideFields in net.neoforged.neoforge.client.model.generators.loaders with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<String, com.mojang.datafixers.util.Either<ResourceLocation, CompositeModelBuilder.InlineChild>> CompositeModelBuilder.childModelsMethods in net.neoforged.neoforge.client.model.generators.loaders with parameters of type ResourceLocationModifier and TypeMethodDescriptionCompositeModelBuilder.child(String name, ResourceLocation model) Add a child model by reference.ObjModelBuilder.modelLocation(ResourceLocation modelLocation) ObjModelBuilder.overrideMaterialLibrary(ResourceLocation mtlOverride) -
Uses of ResourceLocation in net.neoforged.neoforge.client.model.generators.template
Fields in net.neoforged.neoforge.client.model.generators.template declared as ResourceLocationModifier and TypeFieldDescriptionprivate static final ResourceLocationCustomLoaderBuilder.DUMMYprotected final ResourceLocationCustomLoaderBuilder.loaderId(package private) final @Nullable ResourceLocationExtendedModelTemplate.renderType(package private) @Nullable ResourceLocationExtendedModelTemplateBuilder.renderTypeFields in net.neoforged.neoforge.client.model.generators.template with type parameters of type ResourceLocationModifier and TypeFieldDescription(package private) Optional<ResourceLocation> ExtendedModelTemplateBuilder.parentMethods in net.neoforged.neoforge.client.model.generators.template with parameters of type ResourceLocationModifier and TypeMethodDescriptionExtendedModelTemplate.createBaseTemplate(ResourceLocation modelPath, Map<TextureSlot, ResourceLocation> textureMap) ExtendedModelTemplateBuilder.parent(ResourceLocation parent) Parent model which this template will inherit its properties from.ExtendedModelTemplateBuilder.renderType(ResourceLocation renderType) Set the render type for this model.Method parameters in net.neoforged.neoforge.client.model.generators.template with type arguments of type ResourceLocationModifier and TypeMethodDescriptionExtendedModelTemplate.createBaseTemplate(ResourceLocation modelPath, Map<TextureSlot, ResourceLocation> textureMap) Constructors in net.neoforged.neoforge.client.model.generators.template with parameters of type ResourceLocationModifierConstructorDescriptionprotectedCustomLoaderBuilder(ResourceLocation loaderId, boolean allowInlineElements) -
Uses of ResourceLocation in net.neoforged.neoforge.client.model.item
Fields in net.neoforged.neoforge.client.model.item with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Optional<ResourceLocation> DynamicFluidContainerModel.Textures.baseThe field for thebaserecord component.private final Optional<ResourceLocation> DynamicFluidContainerModel.Textures.coverThe field for thecoverrecord component.private final Optional<ResourceLocation> DynamicFluidContainerModel.Textures.fluidThe field for thefluidrecord component.private final Optional<ResourceLocation> DynamicFluidContainerModel.Textures.particleThe field for theparticlerecord component.Methods in net.neoforged.neoforge.client.model.item that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionDynamicFluidContainerModel.Textures.base()Returns the value of thebaserecord component.DynamicFluidContainerModel.Textures.cover()Returns the value of thecoverrecord component.DynamicFluidContainerModel.Textures.fluid()Returns the value of thefluidrecord component.DynamicFluidContainerModel.Textures.particle()Returns the value of theparticlerecord component.Constructor parameters in net.neoforged.neoforge.client.model.item with type arguments of type ResourceLocationModifierConstructorDescriptionTextures(Optional<ResourceLocation> particle, Optional<ResourceLocation> base, Optional<ResourceLocation> fluid, Optional<ResourceLocation> cover) Creates an instance of aTexturesrecord class. -
Uses of ResourceLocation in net.neoforged.neoforge.client.model.obj
Fields in net.neoforged.neoforge.client.model.obj declared as ResourceLocationModifier and TypeFieldDescriptionfinal ResourceLocationObjGeometry.modelLocationprivate final ResourceLocationObjGeometry.Settings.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 TypeMethodDescriptionObjGeometry.Settings.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) Constructors in net.neoforged.neoforge.client.model.obj with parameters of type ResourceLocationModifierConstructorDescriptionSettings(ResourceLocation modelLocation, boolean automaticCulling, boolean shadeQuads, boolean flipV, boolean emissiveAmbient, @Nullable String mtlOverride) Creates an instance of aSettingsrecord class. -
Uses of ResourceLocation in net.neoforged.neoforge.client.model.standalone
Fields in net.neoforged.neoforge.client.model.standalone declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationStandaloneModelBakerWrapper.modelIdprivate final ResourceLocationStandaloneModelKey.modelIdMethods in net.neoforged.neoforge.client.model.standalone that return ResourceLocationConstructors in net.neoforged.neoforge.client.model.standalone with parameters of type ResourceLocationModifierConstructorDescriptionStandaloneModelBakerWrapper(ResourceLocation model, StandaloneModelBaker<T> baker) StandaloneModelKey(ResourceLocation modelId) -
Uses of ResourceLocation in net.neoforged.neoforge.client.network.handlers
Fields in net.neoforged.neoforge.client.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.client.network.handling
Fields in net.neoforged.neoforge.client.network.handling declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationClientPayloadContext.payloadIdThe field for thepayloadIdrecord component.Methods in net.neoforged.neoforge.client.network.handling that return ResourceLocationModifier and TypeMethodDescriptionClientPayloadContext.payloadId()Returns the value of thepayloadIdrecord component.Constructors in net.neoforged.neoforge.client.network.handling with parameters of type ResourceLocationModifierConstructorDescriptionClientPayloadContext(ClientCommonPacketListener listener, ResourceLocation payloadId) Creates an instance of aClientPayloadContextrecord class. -
Uses of ResourceLocation in net.neoforged.neoforge.client.pipeline
Methods in net.neoforged.neoforge.client.pipeline with parameters of type ResourceLocationModifier and TypeMethodDescriptionPipelineModifier.apply(RenderPipeline pipeline, ResourceLocation name) Apply modifications to the providedRenderPipeline(seeRenderPipeline.toBuilder()), return an existingRenderPipelineto replace the provided one or return the provided one to pass. -
Uses of ResourceLocation in net.neoforged.neoforge.client.resources
Fields in net.neoforged.neoforge.client.resources declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocationVanillaClientListeners.BLOCK_ENTITY_RENDERERstatic final ResourceLocationVanillaClientListeners.BLOCK_RENDERERstatic final ResourceLocationVanillaClientListeners.CLOUD_RENDERERstatic final ResourceLocationVanillaClientListeners.DRY_FOLIAGE_COLORstatic final ResourceLocationVanillaClientListeners.ENTITY_RENDERERstatic final ResourceLocationVanillaClientListeners.EQUIPMENT_ASSETSstatic final ResourceLocationVanillaClientListeners.FIRSTSentinel field that will always reference the first reload listener in the vanilla order.static final ResourceLocationVanillaClientListeners.FOLIAGE_COLORstatic final ResourceLocationVanillaClientListeners.FONTSstatic final ResourceLocationVanillaClientListeners.GPU_WARNLISTstatic final ResourceLocationVanillaClientListeners.GRASS_COLORstatic final ResourceLocationVanillaClientListeners.GUI_SPRITESstatic final ResourceLocationVanillaClientListeners.LANGUAGEstatic final ResourceLocationVanillaClientListeners.LASTSentinel field that will always reference the last reload listener in the vanilla order.static final ResourceLocationVanillaClientListeners.LEVEL_RENDERERstatic final ResourceLocationVanillaClientListeners.MAP_DECORATIONSstatic final ResourceLocationVanillaClientListeners.MOB_EFFECT_TEXTURESstatic final ResourceLocationVanillaClientListeners.MODELSstatic final ResourceLocationVanillaClientListeners.PAINTING_TEXTURESstatic final ResourceLocationVanillaClientListeners.PARTICLE_ENGINEstatic final ResourceLocationVanillaClientListeners.REGIONAL_COMPLIANCESstatic final ResourceLocationVanillaClientListeners.SHADERSstatic final ResourceLocationVanillaClientListeners.SOUNDSstatic final ResourceLocationVanillaClientListeners.SPLASHESstatic final ResourceLocationVanillaClientListeners.TEXTURESFields in net.neoforged.neoforge.client.resources with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Map<Class<?>, ResourceLocation> VanillaClientListeners.KNOWN_CLASSESMethods in net.neoforged.neoforge.client.resources that return ResourceLocationModifier and TypeMethodDescriptionstatic @Nullable ResourceLocationVanillaClientListeners.getNameForClass(Class<? extends PreparableReloadListener> cls) private static ResourceLocationVanillaClientListeners.key(Class<? extends PreparableReloadListener> cls) -
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 Multimap<ResourceLocation, ResourceLocation> CreativeModeTabRegistry.edgesprivate static final 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
Methods in net.neoforged.neoforge.common.conditions with parameters of type ResourceLocationModifier and TypeMethodDescriptionstatic IConditionNeoForgeConditions.itemRegistered(ResourceLocation itemName) static IConditionNeoForgeConditions.itemTagEmpty(ResourceLocation tagName) static <TRegistry>
IConditionNeoForgeConditions.registered(ResourceKey<? extends Registry<TRegistry>> registryType, ResourceLocation registryName) static IConditionNeoForgeConditions.registered(ResourceLocation registryTypeName, ResourceLocation registryName) static <TRegistry>
IConditionNeoForgeConditions.tagEmpty(ResourceKey<? extends Registry<TRegistry>> tagType, ResourceLocation tagName) Constructors in net.neoforged.neoforge.common.conditions with parameters of type ResourceLocationModifierConstructorDescriptionprivateRegisteredCondition(ResourceLocation registryType, ResourceLocation registryName) privateTagEmptyCondition(ResourceLocation registryType, ResourceLocation tagName) -
Uses of ResourceLocation in net.neoforged.neoforge.common.data
Fields in net.neoforged.neoforge.common.data declared as ResourceLocationFields in net.neoforged.neoforge.common.data with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprotected final Map<ResourceLocation, WithConditions<T>> JsonCodecProvider.conditionsprivate final Map<ResourceLocation, Integer> RecipePrioritiesProvider.toSerializeMethods in net.neoforged.neoforge.common.data that return ResourceLocationModifier and TypeMethodDescription(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) voidRecipePrioritiesProvider.add(ResourceLocation recipe, int priority) protected voidSoundDefinitionsProvider.add(ResourceLocation soundEvent, SoundDefinition definition) voidJsonCodecProvider.conditionally(ResourceLocation id, Consumer<WithConditions.Builder<T>> configurator) 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.private StringSoundDefinition.Sound.stripMcPrefix(ResourceLocation name) voidJsonCodecProvider.unconditional(ResourceLocation id, T value) 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 Map<ResourceLocation, TagBuilder> NeoForgeDamageTypeTagsProvider.vanillaBuilders -
Uses of ResourceLocation in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return ResourceLocationModifier and TypeMethodDescriptiondefault @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 TypeMethodDescriptiondefault @Nullable 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.removeTag(ResourceLocation tagID) Adds a tag to the remove list.default AdvancementHolderIAdvancementBuilderExtension.save(Consumer<AdvancementHolder> saver, ResourceLocation id) Saves this builder with the given id. -
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, 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, 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.Methods in net.neoforged.neoforge.common.util that return ResourceLocationModifier and TypeMethodDescriptionstatic ResourceLocationConverts a vanilla class name into an identifier compliant with the rules set byResourceLocation. -
Uses of ResourceLocation in net.neoforged.neoforge.common.world.chunk
Fields in net.neoforged.neoforge.common.world.chunk declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationForcedChunkManager.OwnedChunks.controllerThe field for thecontrollerrecord component.private 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 TypeMethodDescriptionForcedChunkManager.OwnedChunks.controller()Returns the value of thecontrollerrecord component.TicketController.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, boolean includeLoaded, boolean includeDeactivated) 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 forceNaturalSpawning, Function<TicketStorage, ForcedChunkManager.TicketTracker<T>> ticketGetter) Forces a chunk to be loaded for the given mod with the given "owner".Method parameters in net.neoforged.neoforge.common.world.chunk with type arguments of type ResourceLocationModifier and TypeMethodDescriptionprivate static <T extends Comparable<? super T>>
voidForcedChunkManager.gatherTicketsById(it.unimi.dsi.fastutil.longs.Long2ObjectMap<Set<ForcedChunkManager.TicketOwner<T>>> tickets, Function<TicketSet, it.unimi.dsi.fastutil.longs.LongSet> typeGetter, Map<ResourceLocation, Map<T, TicketSet>> modSortedOwnedChunks) Gathers tickets into an ID filtered map for use in providing all tickets a controller has registered to itsLoadingValidationCallback.Constructors in net.neoforged.neoforge.common.world.chunk with parameters of type ResourceLocationModifierConstructorDescriptionOwnedChunks(ResourceLocation controller, Map<BlockPos, TicketSet> blockChunks, Map<UUID, TicketSet> entityChunks) Creates an instance of aOwnedChunksrecord class.Creates a ticket controller without a validation callback.TicketController(ResourceLocation id, @Nullable LoadingValidationCallback callback) Creates an instance of aTicketControllerrecord class.(package private)TicketHelper(TicketStorage 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.nameFields in net.neoforged.neoforge.event with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate final Map<PreparableReloadListener, ResourceLocation> SortedReloadListenerEvent.keysprivate final Map<ResourceLocation, PreparableReloadListener> SortedReloadListenerEvent.registryprivate @Nullable Set<ResourceLocation> GatherSkippedAttributeTooltipsEvent.skippedIdsMethods in net.neoforged.neoforge.event that return ResourceLocationModifier and TypeMethodDescriptionSortedReloadListenerEvent.NameLookup.apply(PreparableReloadListener t) Looks up the name for a reload listener.LootTableLoadEvent.getName()private ResourceLocationSortedReloadListenerEvent.getOrThrow(PreparableReloadListener listener) ItemAttributeModifierEvent.ItemAttributeModifiersBuilder.Key.id()Returns the value of theidrecord component.private static ResourceLocationAddServerReloadListenersEvent.lookupName(PreparableReloadListener listener) Methods in net.neoforged.neoforge.event that return types with arguments of type ResourceLocationModifier and TypeMethodDescriptionSortedReloadListenerEvent.getRegistry()Returns an immutable view of the reload listener registry.protected Set<ResourceLocation> GatherSkippedAttributeTooltipsEvent.getSkippedIds()InitializesGatherSkippedAttributeTooltipsEvent.skippedIdsif necessary, and returns it.Methods in net.neoforged.neoforge.event with parameters of type ResourceLocationModifier and TypeMethodDescriptionvoidSortedReloadListenerEvent.addDependency(ResourceLocation first, ResourceLocation second) Adds a new dependency entry, such thatfirstmust run beforesecond.voidSortedReloadListenerEvent.addListener(ResourceLocation key, PreparableReloadListener listener) Adds a newreload listenerto the resource manager.voidAddPackFindersEvent.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.private PreparableReloadListenerSortedReloadListenerEvent.getOrThrow(ResourceLocation key) booleanGatherSkippedAttributeTooltipsEvent.isSkipped(ResourceLocation id) Checks if a given id is skipped or not.static @Nullable LootTableEventHooks.loadLootTable(HolderLookup.Provider registries, 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.RegisterGameTestsEvent.registerEnvironment(ResourceLocation name, TestEnvironmentDefinition definition) RegisterGameTestsEvent.registerEnvironment(ResourceLocation name, TestEnvironmentDefinition... definitions) voidRegisterGameTestsEvent.registerTest(ResourceLocation name, Function<TestData<Holder<TestEnvironmentDefinition>>, GameTestInstance> factory, TestData<Holder<TestEnvironmentDefinition>> testData) voidRegisterGameTestsEvent.registerTest(ResourceLocation name, GameTestInstance test) (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 idvoidGatherSkippedAttributeTooltipsEvent.skipId(ResourceLocation id) Marks the id of a specific attribute modifier as skipped, causing it to not be displayed in the tooltip.Constructors in net.neoforged.neoforge.event with parameters of type ResourceLocationModifierConstructorDescriptionprivateKey(Holder<Attribute> attr, ResourceLocation id) Creates an instance of aKeyrecord class.LootTableLoadEvent(HolderLookup.Provider registries, ResourceLocation name, LootTable table) -
Uses of ResourceLocation in net.neoforged.neoforge.internal
Methods in net.neoforged.neoforge.internal with parameters of type ResourceLocationModifier and TypeMethodDescriptionNeoForgeProxy.newClientPayloadContext(ClientCommonPacketListener listener, ResourceLocation payloadId) -
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.handling
Fields in net.neoforged.neoforge.network.handling declared as ResourceLocationModifier and TypeFieldDescriptionprivate final ResourceLocationServerPayloadContext.payloadIdThe field for thepayloadIdrecord component.Methods in net.neoforged.neoforge.network.handling that return ResourceLocationModifier and TypeMethodDescriptionServerPayloadContext.payloadId()Returns the value of thepayloadIdrecord component.Constructors in net.neoforged.neoforge.network.handling with parameters of type ResourceLocationModifierConstructorDescriptionServerPayloadContext(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 ResourceLocationFields 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 static Set<ResourceLocation> RegistryManager.pendingModdedRegistriesprivate 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.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.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.<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. -
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
Fields in net.neoforged.neoforge.resource declared as ResourceLocationModifier and TypeFieldDescriptionstatic final ResourceLocationVanillaServerListeners.ADVANCEMENTSstatic final ResourceLocationNeoForgeReloadListeners.BRANDINGstatic final ResourceLocationNeoForgeReloadListeners.CLIENT_MOD_LOADINGstatic final ResourceLocationNeoForgeReloadListeners.CREATIVE_TABSstatic final ResourceLocationNeoForgeReloadListeners.DATA_MAPSstatic final ResourceLocationNeoForgeReloadListeners.ENTITY_ANIMATIONSstatic final ResourceLocationVanillaServerListeners.FIRSTSentinel field that will always reference the first reload listener in the vanilla order.static final ResourceLocationVanillaServerListeners.FUNCTIONSstatic final ResourceLocationVanillaServerListeners.LASTSentinel field that will always reference the last reload listener in the vanilla order.static final ResourceLocationNeoForgeReloadListeners.LOOT_MODIFIERSstatic final ResourceLocationNeoForgeReloadListeners.OBJ_LOADERstatic final ResourceLocationNeoForgeReloadListeners.RECIPE_PRIORITIESstatic final ResourceLocationVanillaServerListeners.RECIPESFields in net.neoforged.neoforge.resource with type parameters of type ResourceLocationModifier and TypeFieldDescriptionprivate static final Map<Class<?>, ResourceLocation> VanillaServerListeners.KNOWN_CLASSESMethods in net.neoforged.neoforge.resource that return ResourceLocationModifier and TypeMethodDescriptionstatic @Nullable ResourceLocationVanillaServerListeners.getNameForClass(Class<? extends PreparableReloadListener> cls) private static ResourceLocationprivate static ResourceLocationVanillaServerListeners.key(Class<? extends PreparableReloadListener> cls) Methods in net.neoforged.neoforge.resource with parameters of type ResourceLocationModifier and TypeMethodDescription@Nullable IoSupplier<InputStream> EmptyPackResources.getResource(PackType type, ResourceLocation location) Method parameters in net.neoforged.neoforge.resource with type arguments of type ResourceLocationModifier and TypeMethodDescriptionstatic List<PreparableReloadListener> ReloadListenerSort.sortListeners(SortedReloadListenerEvent.NameLookup lookup, MutableGraph<PreparableReloadListener> graph, Map<ResourceLocation, PreparableReloadListener> registry, PreparableReloadListener lastVanilla) Implementation forReloadListenerSort.sort(SortedReloadListenerEvent). -
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, Map, ServerLinks, net.neoforged.neoforge.network.connection.ConnectionType)instead,to indicate whether the connection is modded.