Uses of Class
net.minecraft.resources.ResourceLocation
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
Extension interfaces for
client
-only classes.-
Uses of ResourceLocation in com.mojang.blaze3d.systems
Modifier and TypeMethodDescriptionstatic void
RenderSystem._setShaderTexture
(int p_157180_, ResourceLocation p_157181_) static void
RenderSystem.setShaderTexture
(int p_157457_, ResourceLocation p_157458_) -
Uses of ResourceLocation in com.mojang.realmsclient
Modifier and TypeFieldDescription(package private) static final ResourceLocation
RealmsMainScreen.BUTTON_LOCATION
private static final ResourceLocation
RealmsMainScreen.CONFIGURE_LOCATION
(package private) static final ResourceLocation
RealmsMainScreen.CROSS_ICON_LOCATION
private static final ResourceLocation
RealmsMainScreen.DARKEN_LOCATION
private static final ResourceLocation
RealmsMainScreen.EXPIRED_ICON_LOCATION
private static final ResourceLocation
RealmsMainScreen.EXPIRES_SOON_ICON_LOCATION
private static final ResourceLocation
RealmsMainScreen.INVITATION_ICONS_LOCATION
private static final ResourceLocation
RealmsMainScreen.INVITE_ICON_LOCATION
private static final ResourceLocation
RealmsMainScreen.LEAVE_ICON_LOCATION
private static final ResourceLocation
RealmsMainScreen.LOGO_LOCATION
private static final ResourceLocation
RealmsMainScreen.NEWS_LOCATION
private static final ResourceLocation
RealmsMainScreen.OFF_ICON_LOCATION
private static final ResourceLocation
RealmsMainScreen.ON_ICON_LOCATION
private static final ResourceLocation
RealmsMainScreen.POPUP_LOCATION
private static final ResourceLocation
RealmsMainScreen.TRIAL_ICON_LOCATION
(package private) static final ResourceLocation
RealmsMainScreen.WORLDICON_LOCATION
Modifier and TypeFieldDescriptionprivate static List<ResourceLocation>
RealmsMainScreen.teaserImages
-
Uses of ResourceLocation in com.mojang.realmsclient.gui
Modifier and TypeFieldDescriptionstatic final ResourceLocation
RealmsWorldSlotButton.CHECK_MARK_LOCATION
static final ResourceLocation
RealmsWorldSlotButton.DEFAULT_WORLD_SLOT_1
static final ResourceLocation
RealmsWorldSlotButton.DEFAULT_WORLD_SLOT_2
static final ResourceLocation
RealmsWorldSlotButton.DEFAULT_WORLD_SLOT_3
static final ResourceLocation
RealmsWorldSlotButton.EMPTY_SLOT_LOCATION
static final ResourceLocation
RealmsWorldSlotButton.SLOT_FRAME_LOCATION
-
Uses of ResourceLocation in com.mojang.realmsclient.gui.screens
Modifier and TypeFieldDescription(package private) static final ResourceLocation
RealmsPendingInvitesScreen.ACCEPT_ICON_LOCATION
private static final ResourceLocation
RealmsResetWorldScreen.ADVENTURE_MAP_LOCATION
private static final ResourceLocation
RealmsPlayerScreen.CROSS_ICON_LOCATION
private static final ResourceLocation
RealmsResetWorldScreen.EXPERIENCE_LOCATION
private static final ResourceLocation
RealmsConfigureWorldScreen.EXPIRED_ICON_LOCATION
private static final ResourceLocation
RealmsConfigureWorldScreen.EXPIRES_SOON_ICON_LOCATION
private final ResourceLocation
RealmsResetWorldScreen.FrameButton.image
private static final ResourceLocation
RealmsResetWorldScreen.INSPIRATION_LOCATION
private static final ResourceLocation
RealmsNotificationsScreen.INVITE_ICON_LOCATION
(package private) static final ResourceLocation
RealmsSelectWorldTemplateScreen.LINK_ICON
private static final ResourceLocation
RealmsResetWorldScreen.NEW_WORLD_LOCATION
private static final ResourceLocation
RealmsNotificationsScreen.NEWS_ICON_LOCATION
private static final ResourceLocation
RealmsConfigureWorldScreen.OFF_ICON_LOCATION
private static final ResourceLocation
RealmsConfigureWorldScreen.ON_ICON_LOCATION
private static final ResourceLocation
RealmsPlayerScreen.OP_ICON_LOCATION
private static final ResourceLocation
RealmsPlayerScreen.OPTIONS_BACKGROUND
(package private) static final ResourceLocation
RealmsBackupScreen.PLUS_ICON_LOCATION
(package private) static final ResourceLocation
RealmsPendingInvitesScreen.REJECT_ICON_LOCATION
(package private) static final ResourceLocation
RealmsBackupScreen.RESTORE_ICON_LOCATION
private static final ResourceLocation
RealmsResetWorldScreen.SLOT_FRAME_LOCATION
(package private) static final ResourceLocation
RealmsSelectWorldTemplateScreen.SLOT_FRAME_LOCATION
private static final ResourceLocation
RealmsResetWorldScreen.SURVIVAL_SPAWN_LOCATION
(package private) static final ResourceLocation
RealmsSelectWorldTemplateScreen.TRAILER_ICON
private static final ResourceLocation
RealmsNotificationsScreen.TRIAL_ICON_LOCATION
private static final ResourceLocation
RealmsResetWorldScreen.UPLOAD_LOCATION
private static final ResourceLocation
RealmsPlayerScreen.USER_ICON_LOCATION
Modifier and TypeMethodDescription(package private) void
RealmsResetWorldScreen.drawFrame
(PoseStack p_89355_, int p_89356_, int p_89357_, Component p_89358_, ResourceLocation p_89359_, boolean p_89360_, boolean p_89361_) ModifierConstructorDescriptionFrameButton
(int p_89439_, int p_89440_, Component p_89441_, ResourceLocation p_89442_, Button.OnPress p_89443_) -
Uses of ResourceLocation in com.mojang.realmsclient.util
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
RealmsTextureManager.TEMPLATE_ICON_LOCATION
-
Uses of ResourceLocation in net.minecraft
Modifier and TypeMethodDescriptionstatic String
Util.makeDescriptionId
(String p_137493_, ResourceLocation p_137494_) -
Uses of ResourceLocation in net.minecraft.advancements
Modifier and TypeFieldDescriptionprivate final ResourceLocation
DisplayInfo.background
private ResourceLocation
AdvancementRewards.Builder.function
private final ResourceLocation
Advancement.id
private final ResourceLocation[]
AdvancementRewards.loot
private ResourceLocation
Advancement.Builder.parentId
private final ResourceLocation[]
AdvancementRewards.recipes
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
Advancement> AdvancementList.advancements
private static final Map<ResourceLocation,
CriterionTrigger<?>> CriteriaTriggers.CRITERIA
private final List<ResourceLocation>
AdvancementRewards.Builder.loot
private final List<ResourceLocation>
AdvancementRewards.Builder.recipes
Modifier and TypeMethodDescriptionDisplayInfo.getBackground()
CriterionTriggerInstance.getCriterion()
Advancement.getId()
CriterionTrigger.getId()
AdvancementRewards.getRecipes()
Modifier and TypeMethodDescriptionAdvancementRewards.Builder.addLootTable
(ResourceLocation p_144825_) AdvancementRewards.Builder.addRecipe
(ResourceLocation p_10012_) Advancement.Builder.build
(ResourceLocation p_138404_) Advancement.Builder.display
(ItemStack p_138363_, Component p_138364_, Component p_138365_, ResourceLocation p_138366_, FrameType p_138367_, boolean p_138368_, boolean p_138369_, boolean p_138370_) Advancement.Builder.display
(ItemLike p_138372_, Component p_138373_, Component p_138374_, ResourceLocation p_138375_, FrameType p_138376_, boolean p_138377_, boolean p_138378_, boolean p_138379_) static AdvancementRewards.Builder
AdvancementRewards.Builder.function
(ResourceLocation p_144827_) AdvancementList.get
(ResourceLocation p_139338_) static <T extends CriterionTriggerInstance>
CriterionTrigger<T>CriteriaTriggers.getCriterion
(ResourceLocation p_10598_) static AdvancementRewards.Builder
AdvancementRewards.Builder.loot
(ResourceLocation p_144823_) Advancement.Builder.parent
(ResourceLocation p_138397_) static AdvancementRewards.Builder
AdvancementRewards.Builder.recipe
(ResourceLocation p_10010_) AdvancementRewards.Builder.runs
(ResourceLocation p_144829_) Modifier and TypeMethodDescriptionvoid
AdvancementList.add
(Map<ResourceLocation, Advancement.Builder> p_139334_) boolean
Advancement.Builder.canBuild
(Function<ResourceLocation, Advancement> p_138393_) void
AdvancementList.remove
(Set<ResourceLocation> p_139336_) ModifierConstructorDescriptionAdvancement
(ResourceLocation p_138307_, Advancement p_138308_, DisplayInfo p_138309_, AdvancementRewards p_138310_, Map<String, Criterion> p_138311_, String[][] p_138312_) AdvancementRewards
(int p_9985_, ResourceLocation[] p_9986_, ResourceLocation[] p_9987_, CommandFunction.CacheableFunction p_9988_) (package private)
Builder
(ResourceLocation p_138341_, DisplayInfo p_138342_, AdvancementRewards p_138343_, Map<String, Criterion> p_138344_, String[][] p_138345_) DisplayInfo
(ItemStack p_14969_, Component p_14970_, Component p_14971_, ResourceLocation p_14972_, FrameType p_14973_, boolean p_14974_, boolean p_14975_, boolean p_14976_) -
Uses of ResourceLocation in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate final ResourceLocation
AbstractCriterionTriggerInstance.criterion
private final ResourceLocation
DeserializationContext.id
(package private) final ResourceLocation
DistanceTrigger.id
(package private) final ResourceLocation
ItemInteractWithBlockTrigger.id
(package private) final ResourceLocation
KilledTrigger.id
private final ResourceLocation
PickedUpItemTrigger.id
(package private) final ResourceLocation
PlayerTrigger.id
(package private) static final ResourceLocation
BeeNestDestroyedTrigger.ID
(package private) static final ResourceLocation
BredAnimalsTrigger.ID
(package private) static final ResourceLocation
BrewedPotionTrigger.ID
(package private) static final ResourceLocation
ChangeDimensionTrigger.ID
(package private) static final ResourceLocation
ChanneledLightningTrigger.ID
(package private) static final ResourceLocation
ConstructBeaconTrigger.ID
(package private) static final ResourceLocation
ConsumeItemTrigger.ID
(package private) static final ResourceLocation
CuredZombieVillagerTrigger.ID
(package private) static final ResourceLocation
EffectsChangedTrigger.ID
(package private) static final ResourceLocation
EnchantedItemTrigger.ID
(package private) static final ResourceLocation
EnterBlockTrigger.ID
(package private) static final ResourceLocation
EntityHurtPlayerTrigger.ID
(package private) static final ResourceLocation
FilledBucketTrigger.ID
(package private) static final ResourceLocation
FishingRodHookedTrigger.ID
(package private) static final ResourceLocation
ImpossibleTrigger.ID
(package private) static final ResourceLocation
InventoryChangeTrigger.ID
(package private) static final ResourceLocation
ItemDurabilityTrigger.ID
(package private) static final ResourceLocation
KilledByCrossbowTrigger.ID
(package private) static final ResourceLocation
LevitationTrigger.ID
(package private) static final ResourceLocation
LightningStrikeTrigger.ID
(package private) static final ResourceLocation
LootTableTrigger.ID
(package private) static final ResourceLocation
PlacedBlockTrigger.ID
(package private) static final ResourceLocation
PlayerHurtEntityTrigger.ID
(package private) static final ResourceLocation
PlayerInteractTrigger.ID
(package private) static final ResourceLocation
RecipeUnlockedTrigger.ID
(package private) static final ResourceLocation
ShotCrossbowTrigger.ID
(package private) static final ResourceLocation
SlideDownBlockTrigger.ID
(package private) static final ResourceLocation
StartRidingTrigger.ID
(package private) static final ResourceLocation
SummonedEntityTrigger.ID
(package private) static final ResourceLocation
TameAnimalTrigger.ID
(package private) static final ResourceLocation
TargetBlockTrigger.ID
(package private) static final ResourceLocation
TradeTrigger.ID
(package private) static final ResourceLocation
UsedEnderEyeTrigger.ID
(package private) static final ResourceLocation
UsedTotemTrigger.ID
(package private) static final ResourceLocation
UsingItemTrigger.ID
private final ResourceLocation
LootTableTrigger.TriggerInstance.lootTable
private final ResourceLocation
RecipeUnlockedTrigger.TriggerInstance.recipe
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
PlayerPredicate.AdvancementPredicate> PlayerPredicate.advancements
private final Map<ResourceLocation,
PlayerPredicate.AdvancementPredicate> PlayerPredicate.Builder.advancements
private static final Map<ResourceLocation,
Function<com.google.gson.JsonObject, ItemPredicate>> ItemPredicate.custom_predicates
private final it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceLocation>
PlayerPredicate.Builder.recipes
private final it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceLocation>
PlayerPredicate.recipes
private static final Map<ResourceLocation,
Function<com.google.gson.JsonObject, ItemPredicate>> ItemPredicate.unmod_predicates
Modifier and TypeMethodDescriptionDeserializationContext.getAdvancementId()
AbstractCriterionTriggerInstance.getCriterion()
ImpossibleTrigger.TriggerInstance.getCriterion()
BeeNestDestroyedTrigger.getId()
BredAnimalsTrigger.getId()
BrewedPotionTrigger.getId()
ChangeDimensionTrigger.getId()
ChanneledLightningTrigger.getId()
ConstructBeaconTrigger.getId()
ConsumeItemTrigger.getId()
CuredZombieVillagerTrigger.getId()
DistanceTrigger.getId()
EffectsChangedTrigger.getId()
EnchantedItemTrigger.getId()
EnterBlockTrigger.getId()
EntityHurtPlayerTrigger.getId()
FilledBucketTrigger.getId()
FishingRodHookedTrigger.getId()
ImpossibleTrigger.getId()
InventoryChangeTrigger.getId()
ItemDurabilityTrigger.getId()
ItemInteractWithBlockTrigger.getId()
KilledByCrossbowTrigger.getId()
KilledTrigger.getId()
LevitationTrigger.getId()
LightningStrikeTrigger.getId()
LootTableTrigger.getId()
PickedUpItemTrigger.getId()
PlacedBlockTrigger.getId()
PlayerHurtEntityTrigger.getId()
PlayerInteractTrigger.getId()
PlayerTrigger.getId()
RecipeUnlockedTrigger.getId()
ShotCrossbowTrigger.getId()
SlideDownBlockTrigger.getId()
StartRidingTrigger.getId()
SummonedEntityTrigger.getId()
TameAnimalTrigger.getId()
TargetBlockTrigger.getId()
TradeTrigger.getId()
UsedEnderEyeTrigger.getId()
UsedTotemTrigger.getId()
UsingItemTrigger.getId()
private static <T> ResourceLocation
PlayerPredicate.getStatValueId
(Stat<T> p_62266_) Modifier and TypeMethodDescriptionstatic Map<ResourceLocation,
Function<com.google.gson.JsonObject, ItemPredicate>> ItemPredicate.getPredicates()
Modifier and TypeMethodDescriptionPlayerPredicate.Builder.addRecipe
(ResourceLocation p_156781_, boolean p_156782_) PlayerPredicate.Builder.checkAdvancementCriterions
(ResourceLocation p_156778_, Map<String, Boolean> p_156779_) PlayerPredicate.Builder.checkAdvancementDone
(ResourceLocation p_156784_, boolean p_156785_) private static <T> Stat<T>
PlayerPredicate.getStat
(StatType<T> p_62268_, ResourceLocation p_62269_) LootTableTrigger.TriggerInstance.lootTableUsed
(ResourceLocation p_54619_) boolean
LootTableTrigger.TriggerInstance.matches
(ResourceLocation p_54621_) static void
ItemPredicate.register
(ResourceLocation name, Function<com.google.gson.JsonObject, ItemPredicate> deserializer) void
LootTableTrigger.trigger
(ServerPlayer p_54598_, ResourceLocation p_54599_) RecipeUnlockedTrigger.unlocked
(ResourceLocation p_63729_) ModifierConstructorDescriptionAbstractCriterionTriggerInstance
(ResourceLocation p_16975_, EntityPredicate.Composite p_16976_) DeserializationContext
(ResourceLocation p_25871_, PredicateManager p_25872_) DistanceTrigger
(ResourceLocation p_186163_) ItemInteractWithBlockTrigger
(ResourceLocation p_220038_) KilledTrigger
(ResourceLocation p_48102_) PickedUpItemTrigger
(ResourceLocation p_221296_) PlayerTrigger
(ResourceLocation p_222616_) TriggerInstance
(ResourceLocation p_186184_, EntityPredicate.Composite p_186185_, LocationPredicate p_186186_, DistancePredicate p_186187_) TriggerInstance
(ResourceLocation p_220061_, EntityPredicate.Composite p_220062_, LocationPredicate p_220063_, ItemPredicate p_220064_) TriggerInstance
(ResourceLocation p_48126_, EntityPredicate.Composite p_48127_, EntityPredicate.Composite p_48128_, DamageSourcePredicate p_48129_) TriggerInstance
(EntityPredicate.Composite p_54614_, ResourceLocation p_54615_) TriggerInstance
(ResourceLocation p_221318_, EntityPredicate.Composite p_221319_, ItemPredicate p_221320_, EntityPredicate.Composite p_221321_) TriggerInstance
(ResourceLocation p_222631_, EntityPredicate.Composite p_222632_) TriggerInstance
(EntityPredicate.Composite p_63737_, ResourceLocation p_63738_) ModifierConstructorDescription(package private)
PlayerPredicate
(MinMaxBounds.Ints p_156746_, GameType p_156747_, Map<Stat<?>, MinMaxBounds.Ints> p_156748_, it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceLocation> p_156749_, Map<ResourceLocation, PlayerPredicate.AdvancementPredicate> p_156750_, EntityPredicate p_156751_) -
Uses of ResourceLocation in net.minecraft.client
Modifier and TypeFieldDescriptionstatic final ResourceLocation
Minecraft.ALT_FONT
static final ResourceLocation
Minecraft.DEFAULT_FONT
private final ResourceLocation
PeriodicNotificationManager.notifications
private static final ResourceLocation
Minecraft.REGIONAL_COMPLIANCIES
(package private) static final ResourceLocation
GuiMessageTag.TEXTURE_LOCATION
static final ResourceLocation
Minecraft.UNIFORM_FONT
Modifier and TypeMethodDescriptionprivate void
KeyboardHandler.copyCreateEntityCommand
(ResourceLocation p_90923_, Vec3 p_90924_, CompoundTag p_90925_) Minecraft.getTextureAtlas
(ResourceLocation p_91259_) ModifierConstructorDescriptionPeriodicNotificationManager
(ResourceLocation p_205293_, it.unimi.dsi.fastutil.objects.Object2BooleanFunction<String> p_205294_) -
Uses of ResourceLocation in net.minecraft.client.gui
Modifier and TypeFieldDescriptionstatic final ResourceLocation
GuiComponent.BACKGROUND_LOCATION
static final ResourceLocation
GuiComponent.GUI_ICONS_LOCATION
private static final ResourceLocation
MapRenderer.MAP_ICONS_LOCATION
protected static final ResourceLocation
protected static final ResourceLocation
protected static final ResourceLocation
static final ResourceLocation
GuiComponent.STATS_ICON_LOCATION
protected static final ResourceLocation
protected static final ResourceLocation
Gui.WIDGETS_LOCATION
Modifier and TypeMethodDescription(package private) FontSet
Font.getFontSet
(ResourceLocation p_92864_) protected void
Gui.renderTextureOverlay
(ResourceLocation p_168709_, float p_168710_) ModifierConstructorDescriptionFont
(Function<ResourceLocation, FontSet> p_243253_, boolean p_243245_) -
Uses of ResourceLocation in net.minecraft.client.gui.components
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
BossHealthOverlay.GUI_BARS_LOCATION
private final ResourceLocation
ImageButton.resourceLocation
protected ResourceLocation
StateSwitchingButton.resourceLocation
private static final ResourceLocation
Checkbox.TEXTURE
static final ResourceLocation
AbstractWidget.WIDGETS_LOCATION
Modifier and TypeMethodDescriptionvoid
StateSwitchingButton.initTextureValues
(int p_94625_, int p_94626_, int p_94627_, int p_94628_, ResourceLocation p_94629_) ModifierConstructorDescriptionImageButton
(int p_94230_, int p_94231_, int p_94232_, int p_94233_, int p_94234_, int p_94235_, int p_94236_, ResourceLocation p_94237_, int p_94238_, int p_94239_, Button.OnPress p_94240_) ImageButton
(int p_94256_, int p_94257_, int p_94258_, int p_94259_, int p_94260_, int p_94261_, int p_94262_, ResourceLocation p_94263_, int p_94264_, int p_94265_, Button.OnPress p_94266_, Component p_94267_) ImageButton
(int p_94269_, int p_94270_, int p_94271_, int p_94272_, int p_94273_, int p_94274_, int p_94275_, ResourceLocation p_94276_, Button.OnPress p_94277_) ImageButton
(int p_169011_, int p_169012_, int p_169013_, int p_169014_, int p_169015_, int p_169016_, ResourceLocation p_169017_, Button.OnPress p_169018_) -
Uses of ResourceLocation in net.minecraft.client.gui.components.spectator
Modifier and TypeFieldDescriptionstatic final ResourceLocation
SpectatorGui.SPECTATOR_LOCATION
private static final ResourceLocation
SpectatorGui.WIDGETS_LOCATION
-
Uses of ResourceLocation in net.minecraft.client.gui.components.toasts
-
Uses of ResourceLocation in net.minecraft.client.gui.font
Modifier and TypeFieldDescriptionstatic final ResourceLocation
FontManager.MISSING_FONT
private final ResourceLocation
FontSet.name
private final ResourceLocation
FontTexture.name
Modifier and TypeFieldDescription(package private) final Map<ResourceLocation,
FontSet> FontManager.fontSets
private Map<ResourceLocation,
ResourceLocation> FontManager.renames
private Map<ResourceLocation,
ResourceLocation> FontManager.renames
Modifier and TypeMethodDescriptionvoid
FontManager.setRenames
(Map<ResourceLocation, ResourceLocation> p_95012_) void
FontManager.setRenames
(Map<ResourceLocation, ResourceLocation> p_95012_) ModifierConstructorDescriptionFontSet
(TextureManager p_95062_, ResourceLocation p_95063_) FontTexture
(ResourceLocation p_95097_, boolean p_95098_) -
Uses of ResourceLocation in net.minecraft.client.gui.font.providers
Modifier and TypeFieldDescriptionprivate final ResourceLocation
TrueTypeGlyphProviderBuilder.location
private final ResourceLocation
LegacyUnicodeBitmapsProvider.Builder.metadata
private final ResourceLocation
BitmapProvider.Builder.texture
Modifier and TypeMethodDescriptionprivate static ResourceLocation
LegacyUnicodeBitmapsProvider.getSheetLocation
(String p_250928_, int p_249330_) Modifier and TypeMethodDescriptionprivate static String
LegacyUnicodeBitmapsProvider.getCommonSearchPrefix
(Set<ResourceLocation> p_250091_) ModifierConstructorDescriptionBuilder
(ResourceLocation p_95349_, int p_95350_, int p_95351_, List<int[]> p_95352_) Builder
(ResourceLocation p_95448_, String p_95449_) TrueTypeGlyphProviderBuilder
(ResourceLocation p_95491_, float p_95492_, float p_95493_, float p_95494_, float p_95495_, String p_95496_) -
Uses of ResourceLocation in net.minecraft.client.gui.screens
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
TitleScreen.ACCESSIBILITY_TEXTURE
private static final ResourceLocation
DemoIntroScreen.DEMO_BACKGROUND_LOCATION
private static final ResourceLocation
WinScreen.EDITION_LOCATION
private static final ResourceLocation
WinScreen.LOGO_LOCATION
private static final ResourceLocation
TitleScreen.MINECRAFT_EDITION
private static final ResourceLocation
TitleScreen.MINECRAFT_LOGO
(package private) static final ResourceLocation
LoadingOverlay.MOJANG_STUDIOS_LOGO_LOCATION
private static final ResourceLocation
TitleScreen.PANORAMA_OVERLAY
private static final ResourceLocation
WinScreen.VIGNETTE_LOCATION
-
Uses of ResourceLocation in net.minecraft.client.gui.screens.achievement
Modifier and TypeFieldDescriptionprivate final Stat<ResourceLocation>
StatsScreen.GeneralStatisticsList.Entry.stat
Modifier and TypeMethodDescription(package private) static String
StatsScreen.getTranslationKey
(Stat<ResourceLocation> p_96947_) -
Uses of ResourceLocation in net.minecraft.client.gui.screens.advancements
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
AdvancementsScreen.TABS_LOCATION
private static final ResourceLocation
AdvancementWidget.WIDGETS_LOCATION
private static final ResourceLocation
AdvancementsScreen.WINDOW_LOCATION
-
Uses of ResourceLocation in net.minecraft.client.gui.screens.debug
Modifier and TypeFieldDescription(package private) static final ResourceLocation
GameModeSwitcherScreen.GAMEMODE_SWITCHER_LOCATION
-
Uses of ResourceLocation in net.minecraft.client.gui.screens.inventory
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
EnchantmentNames.ALT_FONT
private static final ResourceLocation
AnvilScreen.ANVIL_LOCATION
(package private) static final ResourceLocation
BeaconScreen.BEACON_LOCATION
private static final ResourceLocation
CartographyTableScreen.BG_LOCATION
private static final ResourceLocation
LoomScreen.BG_LOCATION
private static final ResourceLocation
StonecutterScreen.BG_LOCATION
static final ResourceLocation
BookViewScreen.BOOK_LOCATION
private static final ResourceLocation
BrewingStandScreen.BREWING_STAND_LOCATION
private static final ResourceLocation
ContainerScreen.CONTAINER_BACKGROUND
private static final ResourceLocation
DispenserScreen.CONTAINER_LOCATION
private static final ResourceLocation
ShulkerBoxScreen.CONTAINER_TEXTURE
private static final ResourceLocation
CraftingScreen.CRAFTING_TABLE_LOCATION
private static final ResourceLocation
CreativeModeInventoryScreen.CREATIVE_TABS_LOCATION
private static final ResourceLocation
EnchantmentScreen.ENCHANTING_BOOK_LOCATION
private static final ResourceLocation
EnchantmentScreen.ENCHANTING_TABLE_LOCATION
private static final ResourceLocation
GrindstoneScreen.GRINDSTONE_LOCATION
private static final ResourceLocation
HopperScreen.HOPPER_LOCATION
private static final ResourceLocation
HorseInventoryScreen.HORSE_INVENTORY_LOCATION
static final ResourceLocation
AbstractContainerScreen.INVENTORY_LOCATION
private final ResourceLocation
ItemCombinerScreen.menuResource
private static final ResourceLocation
AbstractFurnaceScreen.RECIPE_BUTTON_LOCATION
private static final ResourceLocation
CraftingScreen.RECIPE_BUTTON_LOCATION
private static final ResourceLocation
InventoryScreen.RECIPE_BUTTON_LOCATION
private static final ResourceLocation
SmithingScreen.SMITHING_LOCATION
private final ResourceLocation
AbstractFurnaceScreen.texture
private final ResourceLocation
HangingSignEditScreen.texture
private static final ResourceLocation
BlastFurnaceScreen.TEXTURE
private static final ResourceLocation
FurnaceScreen.TEXTURE
private static final ResourceLocation
SmokerScreen.TEXTURE
private static final ResourceLocation
MerchantScreen.VILLAGER_LOCATION
Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<ResourceLocation,
ResourceLocation> CreativeModeInventoryScreen.SlotWrapper.getNoItemIcon()
com.mojang.datafixers.util.Pair<ResourceLocation,
ResourceLocation> CreativeModeInventoryScreen.SlotWrapper.getNoItemIcon()
Modifier and TypeMethodDescriptionCreativeModeInventoryScreen.SlotWrapper.setBackground
(ResourceLocation atlas, ResourceLocation sprite) ModifierConstructorDescriptionAbstractFurnaceScreen
(T p_97825_, AbstractFurnaceRecipeBookComponent p_97826_, Inventory p_97827_, Component p_97828_, ResourceLocation p_97829_) ItemCombinerScreen
(T p_98901_, Inventory p_98902_, Component p_98903_, ResourceLocation p_98904_) -
Uses of ResourceLocation in net.minecraft.client.gui.screens.inventory.tooltip
Modifier and TypeFieldDescriptionstatic final ResourceLocation
ClientBundleTooltip.TEXTURE_LOCATION
-
Uses of ResourceLocation in net.minecraft.client.gui.screens.multiplayer
Modifier and TypeFieldDescription(package private) static final ResourceLocation
ServerSelectionList.ICON_MISSING
(package private) static final ResourceLocation
ServerSelectionList.ICON_OVERLAY_LOCATION
private final ResourceLocation
ServerSelectionList.OnlineServerEntry.iconLocation
Modifier and TypeMethodDescriptionprotected void
ServerSelectionList.OnlineServerEntry.drawIcon
(PoseStack p_99890_, int p_99891_, int p_99892_, ResourceLocation p_99893_) -
Uses of ResourceLocation in net.minecraft.client.gui.screens.packs
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
PackSelectionScreen.DEFAULT_ICON
(package private) static final ResourceLocation
TransferableSelectionList.ICON_OVERLAY_LOCATION
Modifier and TypeFieldDescription(package private) final Function<Pack,
ResourceLocation> PackSelectionModel.iconGetter
private final Map<String,
ResourceLocation> PackSelectionScreen.packIcons
Modifier and TypeMethodDescriptionPackSelectionModel.Entry.getIconTexture()
PackSelectionModel.EntryBase.getIconTexture()
private ResourceLocation
PackSelectionScreen.getPackIcon
(Pack p_99990_) private ResourceLocation
PackSelectionScreen.loadPackIcon
(TextureManager p_100017_, Pack p_100018_) ModifierConstructorDescriptionPackSelectionModel
(Runnable p_99909_, Function<Pack, ResourceLocation> p_99910_, PackRepository p_99911_, Consumer<PackRepository> p_99912_) -
Uses of ResourceLocation in net.minecraft.client.gui.screens.recipebook
Modifier and TypeFieldDescription(package private) static final ResourceLocation
OverlayRecipeComponent.RECIPE_BOOK_LOCATION
protected static final ResourceLocation
RecipeBookComponent.RECIPE_BOOK_LOCATION
private static final ResourceLocation
RecipeButton.RECIPE_BOOK_LOCATION
-
Uses of ResourceLocation in net.minecraft.client.gui.screens.reporting
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
ChatSelectionScreen.ChatSelectionList.MessageEntry.CHECKMARK_TEXTURE
private final ResourceLocation
ChatSelectionScreen.ChatSelectionList.MessageHeadingEntry.skin
Modifier and TypeMethodDescriptionprivate void
ChatSelectionScreen.ChatSelectionList.MessageHeadingEntry.renderFace
(PoseStack p_238956_, int p_238957_, int p_238958_, ResourceLocation p_238959_) -
Uses of ResourceLocation in net.minecraft.client.gui.screens.social
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
PlayerEntry.REPORT_BUTTON_LOCATION
protected static final ResourceLocation
SocialInteractionsScreen.SOCIAL_INTERACTIONS_LOCATION
ModifierConstructorDescriptionPlayerEntry
(Minecraft p_243293_, SocialInteractionsScreen p_243214_, UUID p_243288_, String p_243311_, Supplier<ResourceLocation> p_243309_, boolean p_243297_) -
Uses of ResourceLocation in net.minecraft.client.gui.screens.worldselection
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
WorldSelectionList.FORGE_EXPERIMENTAL_WARNING_ICON
(package private) static final ResourceLocation
WorldSelectionList.ICON_MISSING
(package private) static final ResourceLocation
WorldSelectionList.ICON_OVERLAY_LOCATION
private final ResourceLocation
WorldSelectionList.WorldListEntry.iconLocation
-
Uses of ResourceLocation in net.minecraft.client.gui.spectator
-
Uses of ResourceLocation in net.minecraft.client.gui.spectator.categories
Modifier and TypeFieldDescriptionprivate final ResourceLocation
TeleportToTeamMenuCategory.TeamSelectionItem.iconSkin
ModifierConstructorDescriptionprivate
TeamSelectionItem
(PlayerTeam p_259176_, List<PlayerInfo> p_259231_, ResourceLocation p_260113_) -
Uses of ResourceLocation in net.minecraft.client.model
Modifier and TypeFieldDescriptionprotected final Function<ResourceLocation,
RenderType> Model.renderType
ModifierConstructorDescriptionprotected
AgeableListModel
(Function<ResourceLocation, RenderType> p_102015_, boolean p_102016_, float p_102017_, float p_102018_, float p_102019_, float p_102020_, float p_102021_) protected
EntityModel
(Function<ResourceLocation, RenderType> p_102613_) HierarchicalModel
(Function<ResourceLocation, RenderType> p_170623_) HumanoidModel
(ModelPart p_170679_, Function<ResourceLocation, RenderType> p_170680_) ListModel
(Function<ResourceLocation, RenderType> p_103011_) Model
(Function<ResourceLocation, RenderType> p_103110_) -
Uses of ResourceLocation in net.minecraft.client.model.geom
-
Uses of ResourceLocation in net.minecraft.client.multiplayer
Modifier and TypeFieldDescriptionprivate final Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,
ResourceLocation> PlayerInfo.textureLocations
Modifier and TypeMethodDescriptionPlayerInfo.getCapeLocation()
PlayerInfo.getElytraLocation()
PlayerInfo.getSkinLocation()
Modifier and TypeMethodDescriptionClientSuggestionProvider.getAvailableSounds()
ClientSuggestionProvider.getRecipeNames()
-
Uses of ResourceLocation in net.minecraft.client.particle
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
ParticleEngine.PARTICLES_ATLAS_INFO
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
ParticleProvider<?>> ParticleEngine.providers
private final Map<ResourceLocation,
ParticleEngine.MutableSpriteSet> ParticleEngine.spriteSets
private final List<ResourceLocation>
ParticleDescription.textures
Modifier and TypeMethodDescriptionParticleDescription.getTextures()
private Optional<List<ResourceLocation>>
ParticleEngine.loadParticleDescription
(ResourceLocation p_250648_, Resource p_248793_) Modifier and TypeMethodDescriptionprivate Optional<List<ResourceLocation>>
ParticleEngine.loadParticleDescription
(ResourceLocation p_250648_, Resource p_248793_) -
Uses of ResourceLocation in net.minecraft.client.player
Modifier and TypeMethodDescriptionAbstractClientPlayer.getCloakTextureLocation()
AbstractClientPlayer.getElytraTextureLocation()
static ResourceLocation
AbstractClientPlayer.getSkinLocation
(String p_108557_) AbstractClientPlayer.getSkinTextureLocation()
Modifier and TypeMethodDescriptionstatic void
AbstractClientPlayer.registerSkinTexture
(ResourceLocation p_172522_, String p_172523_) -
Uses of ResourceLocation in net.minecraft.client.renderer
Modifier and TypeFieldDescriptionstatic final ResourceLocation
Sheets.BANNER_SHEET
static final ResourceLocation
Sheets.BED_SHEET
static final ResourceLocation
Sheets.CHEST_SHEET
private static final ResourceLocation
LevelRenderer.CLOUDS_LOCATION
(package private) static final ResourceLocation[]
GameRenderer.EFFECTS
private static final ResourceLocation
LevelRenderer.END_SKY_LOCATION
private static final ResourceLocation
LevelRenderer.FORCEFIELD_LOCATION
private static final ResourceLocation
GpuWarnlistManager.GPU_WARNLIST_LOCATION
private final ResourceLocation[]
CubeMap.images
private final ResourceLocation
LightTexture.lightTextureLocation
private static final ResourceLocation
LevelRenderer.MOON_LOCATION
private static final ResourceLocation
GameRenderer.NAUSEA_LOCATION
private static final ResourceLocation
LevelRenderer.RAIN_LOCATION
static final ResourceLocation
Sheets.SHIELD_SHEET
static final ResourceLocation
Sheets.SHULKER_SHEET
static final ResourceLocation
Sheets.SIGN_SHEET
private static final ResourceLocation
LevelRenderer.SNOW_LOCATION
private static final ResourceLocation
LevelRenderer.SUN_LOCATION
private static final ResourceLocation
ScreenEffectRenderer.UNDERWATER_LOCATION
Modifier and TypeFieldDescriptionprivate static final Function<ResourceLocation,
RenderType> RenderType.ARMOR_CUTOUT_NO_CULL
private static final BiFunction<ResourceLocation,
Boolean, RenderType> RenderType.BEACON_BEAM
private final com.google.common.collect.ImmutableList.Builder<org.apache.commons.lang3.tuple.Triple<ResourceLocation,
Boolean, Boolean>> RenderStateShard.MultiTextureStateShard.Builder.builder
private final Map<ResourceLocation,
Resource> GameRenderer.ResourceCache.cache
The field for thecache
record component.private static final Function<ResourceLocation,
RenderType> RenderType.CRUMBLING
private final Optional<ResourceLocation>
RenderStateShard.MultiTextureStateShard.cutoutTexture
private static final Function<ResourceLocation,
RenderType> RenderType.DRAGON_EXPLOSION_ALPHA
private static final it.unimi.dsi.fastutil.objects.Object2ObjectMap<ResourceLocation,
DimensionSpecialEffects> DimensionSpecialEffects.EFFECTS
private static final Function<ResourceLocation,
RenderType> RenderType.ENTITY_CUTOUT
private static final BiFunction<ResourceLocation,
Boolean, RenderType> RenderType.ENTITY_CUTOUT_NO_CULL
private static final BiFunction<ResourceLocation,
Boolean, RenderType> RenderType.ENTITY_CUTOUT_NO_CULL_Z_OFFSET
private static final Function<ResourceLocation,
RenderType> RenderType.ENTITY_DECAL
private static final Function<ResourceLocation,
RenderType> RenderType.ENTITY_NO_OUTLINE
private static final Function<ResourceLocation,
RenderType> RenderType.ENTITY_SHADOW
private static final Function<ResourceLocation,
RenderType> RenderType.ENTITY_SMOOTH_CUTOUT
private static final Function<ResourceLocation,
RenderType> RenderType.ENTITY_SOLID
private static final BiFunction<ResourceLocation,
Boolean, RenderType> RenderType.ENTITY_TRANSLUCENT
private static final Function<ResourceLocation,
RenderType> RenderType.ENTITY_TRANSLUCENT_CULL
private static final BiFunction<ResourceLocation,
Boolean, RenderType> RenderType.ENTITY_TRANSLUCENT_EMISSIVE
private static final Function<ResourceLocation,
RenderType> RenderType.EYES
private static final Function<ResourceLocation,
RenderType> RenderType.ITEM_ENTITY_TRANSLUCENT_CULL
(package private) static final BiFunction<ResourceLocation,
RenderStateShard.CullStateShard, RenderType> RenderType.CompositeRenderType.OUTLINE
private static final Function<ResourceLocation,
RenderType> RenderType.TEXT
private static final Function<ResourceLocation,
RenderType> RenderType.TEXT_INTENSITY
private static final Function<ResourceLocation,
RenderType> RenderType.TEXT_INTENSITY_POLYGON_OFFSET
private static final Function<ResourceLocation,
RenderType> RenderType.TEXT_INTENSITY_SEE_THROUGH
private static final Function<ResourceLocation,
RenderType> RenderType.TEXT_POLYGON_OFFSET
private static final Function<ResourceLocation,
RenderType> RenderType.TEXT_SEE_THROUGH
private final Optional<ResourceLocation>
RenderStateShard.TextureStateShard.texture
Modifier and TypeMethodDescriptionGameRenderer.ResourceCache.cache()
Returns the value of thecache
record component.protected Optional<ResourceLocation>
RenderStateShard.EmptyTextureStateShard.cutoutTexture()
protected Optional<ResourceLocation>
RenderStateShard.MultiTextureStateShard.cutoutTexture()
protected Optional<ResourceLocation>
RenderStateShard.TextureStateShard.cutoutTexture()
Modifier and TypeMethodDescriptionRenderStateShard.MultiTextureStateShard.Builder.add
(ResourceLocation p_173133_, boolean p_173134_, boolean p_173135_) static RenderType
RenderType.armorCutoutNoCull
(ResourceLocation p_110432_) static RenderType
RenderType.beaconBeam
(ResourceLocation p_110461_, boolean p_110462_) static RenderType
RenderType.crumbling
(ResourceLocation p_110495_) static RenderType
RenderType.dragonExplosionAlpha
(ResourceLocation p_173236_) static RenderType
RenderType.energySwirl
(ResourceLocation p_110437_, float p_110438_, float p_110439_) static RenderType
RenderType.entityCutout
(ResourceLocation p_110453_) static RenderType
RenderType.entityCutoutNoCull
(ResourceLocation p_110459_) static RenderType
RenderType.entityCutoutNoCull
(ResourceLocation p_110444_, boolean p_110445_) static RenderType
RenderType.entityCutoutNoCullZOffset
(ResourceLocation p_110465_) static RenderType
RenderType.entityCutoutNoCullZOffset
(ResourceLocation p_110449_, boolean p_110450_) static RenderType
RenderType.entityDecal
(ResourceLocation p_110480_) static RenderType
RenderType.entityNoOutline
(ResourceLocation p_110483_) static RenderType
RenderType.entityShadow
(ResourceLocation p_110486_) static RenderType
RenderType.entitySmoothCutout
(ResourceLocation p_110477_) static RenderType
RenderType.entitySolid
(ResourceLocation p_110447_) static RenderType
RenderType.entityTranslucent
(ResourceLocation p_110474_) static RenderType
RenderType.entityTranslucent
(ResourceLocation p_110455_, boolean p_110456_) static RenderType
RenderType.entityTranslucentCull
(ResourceLocation p_110471_) static RenderType
RenderType.entityTranslucentEmissive
(ResourceLocation p_234339_) static RenderType
RenderType.entityTranslucentEmissive
(ResourceLocation p_234336_, boolean p_234337_) static RenderType
RenderType.eyes
(ResourceLocation p_110489_) GameRenderer.ResourceCache.getResource
(ResourceLocation p_251007_) static RenderType
RenderType.itemEntityTranslucentCull
(ResourceLocation p_110468_) private void
PostChain.load
(TextureManager p_110034_, ResourceLocation p_110035_) void
GameRenderer.loadEffect
(ResourceLocation p_109129_) static RenderType
RenderType.outline
(ResourceLocation p_110492_) static void
ScreenEffectRenderer.renderFluid
(Minecraft p_110726_, PoseStack p_110727_, ResourceLocation texture) static RenderType
RenderType.text
(ResourceLocation p_110498_) static RenderType
RenderType.textIntensity
(ResourceLocation p_173238_) static RenderType
RenderType.textIntensityPolygonOffset
(ResourceLocation p_181447_) static RenderType
RenderType.textIntensitySeeThrough
(ResourceLocation p_173241_) static RenderType
RenderType.textPolygonOffset
(ResourceLocation p_181445_) static RenderType
RenderType.textSeeThrough
(ResourceLocation p_110501_) ModifierConstructorDescriptionCubeMap
(ResourceLocation p_108848_) PostChain
(TextureManager p_110018_, ResourceManager p_110019_, RenderTarget p_110020_, ResourceLocation p_110021_) ShaderInstance
(ResourceProvider p_173336_, ResourceLocation shaderLocation, VertexFormat p_173338_) TextureStateShard
(ResourceLocation p_110333_, boolean p_110334_, boolean p_110335_) ModifierConstructorDescription(package private)
MultiTextureStateShard
(com.google.common.collect.ImmutableList<org.apache.commons.lang3.tuple.Triple<ResourceLocation, Boolean, Boolean>> p_173123_) ResourceCache
(ResourceProvider original, Map<ResourceLocation, Resource> cache) Creates an instance of aResourceCache
record class. -
Uses of ResourceLocation in net.minecraft.client.renderer.block
Modifier and TypeMethodDescriptionstatic ModelResourceLocation
BlockModelShaper.stateToModelLocation
(ResourceLocation p_110890_, BlockState p_110891_) -
Uses of ResourceLocation in net.minecraft.client.renderer.block.model
Modifier and TypeFieldDescriptionprivate final ResourceLocation
ItemOverride.model
private final ResourceLocation
Variant.modelLocation
protected ResourceLocation
BlockModel.parentLocation
private final ResourceLocation[]
ItemOverrides.properties
private final ResourceLocation
ItemOverride.Predicate.property
Modifier and TypeMethodDescriptionItemOverride.getModel()
protected ResourceLocation
Variant.Deserializer.getModel
(com.google.gson.JsonObject p_111899_) Variant.getModelLocation()
BlockModel.getParentLocation()
ItemOverride.Predicate.getProperty()
Modifier and TypeMethodDescriptionBlockModel.bake
(ModelBaker p_252120_, Function<Material, TextureAtlasSprite> p_250023_, ModelState p_251130_, ResourceLocation p_252208_) Deprecated.BlockModel.bake
(ModelBaker p_249720_, BlockModel p_111451_, Function<Material, TextureAtlasSprite> p_111452_, ModelState p_111453_, ResourceLocation p_111454_, boolean p_111455_) MultiVariant.bake
(ModelBaker p_249016_, Function<Material, TextureAtlasSprite> p_111851_, ModelState p_111852_, ResourceLocation p_111853_) static BakedQuad
BlockModel.bakeFace
(BlockElement p_111438_, BlockElementFace p_111439_, TextureAtlasSprite p_111440_, Direction p_111441_, ModelState p_111442_, ResourceLocation p_111443_) FaceBakery.bakeQuad
(org.joml.Vector3f p_253895_, org.joml.Vector3f p_253976_, BlockElementFace p_111603_, TextureAtlasSprite p_111604_, Direction p_111605_, ModelState p_111606_, BlockElementRotation p_111607_, boolean p_111608_, ResourceLocation p_111609_) BlockModel.bakeVanilla
(ModelBaker p_249720_, BlockModel p_111451_, Function<Material, TextureAtlasSprite> p_111452_, ModelState p_111453_, ResourceLocation p_111454_, boolean p_111455_, RenderTypeGroup renderTypes) Deprecated, for removal: This API element is subject to removal in a future version.Forge: For internal use only.static ItemTransforms.TransformType
ItemTransforms.TransformType.create
(String keyName, ResourceLocation serializeName) static ItemTransforms.TransformType
ItemTransforms.TransformType.create
(String keyName, ResourceLocation serializeName, ItemTransforms.TransformType fallback) BlockModel.Deserializer.parseTextureLocationOrReference
(ResourceLocation p_111504_, String p_111505_) static BlockFaceUV
FaceBakery.recomputeUVs
(BlockFaceUV p_111582_, Direction p_111583_, Transformation p_111584_, ResourceLocation p_111585_) Modifier and TypeMethodDescriptionvoid
BlockModel.resolveParents
(Function<ResourceLocation, UnbakedModel> p_249059_) void
MultiVariant.resolveParents
(Function<ResourceLocation, UnbakedModel> p_249314_) ModifierConstructorDescriptionBlockModel
(ResourceLocation p_111429_, List<BlockElement> p_111430_, Map<String, com.mojang.datafixers.util.Either<Material, String>> p_111431_, boolean p_111432_, BlockModel.GuiLight p_111433_, ItemTransforms p_111434_, List<ItemOverride> p_111435_) ItemOverride
(ResourceLocation p_173447_, List<ItemOverride.Predicate> p_173448_) Predicate
(ResourceLocation p_173457_, float p_173458_) private
TransformType
(ResourceLocation serializeName) private
TransformType
(ResourceLocation serializeName, ItemTransforms.TransformType fallback) Variant
(ResourceLocation p_111879_, Transformation p_111880_, boolean p_111881_, int p_111882_) -
Uses of ResourceLocation in net.minecraft.client.renderer.block.model.multipart
Modifier and TypeMethodDescriptionMultiPart.bake
(ModelBaker p_249988_, Function<Material, TextureAtlasSprite> p_111972_, ModelState p_111973_, ResourceLocation p_111974_) Modifier and TypeMethodDescriptionvoid
MultiPart.resolveParents
(Function<ResourceLocation, UnbakedModel> p_251539_) -
Uses of ResourceLocation in net.minecraft.client.renderer.blockentity
Modifier and TypeFieldDescriptionstatic final ResourceLocation
BeaconRenderer.BEAM_LOCATION
private static final ResourceLocation
TheEndGatewayRenderer.BEAM_LOCATION
static final ResourceLocation
TheEndPortalRenderer.END_PORTAL_LOCATION
static final ResourceLocation
TheEndPortalRenderer.END_SKY_LOCATION
Modifier and TypeFieldDescriptionstatic final Map<SkullBlock.Type,
ResourceLocation> SkullBlockRenderer.SKIN_BY_TYPE
Modifier and TypeMethodDescriptionstatic void
BeaconRenderer.renderBeaconBeam
(PoseStack p_112185_, MultiBufferSource p_112186_, ResourceLocation p_112187_, float p_112188_, float p_112189_, long p_112190_, int p_112191_, int p_112192_, float[] p_112193_, float p_112194_, float p_112195_) -
Uses of ResourceLocation in net.minecraft.client.renderer.entity
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
AllayRenderer.ALLAY_TEXTURE
private static final ResourceLocation
BeeRenderer.ANGRY_BEE_TEXTURE
private static final ResourceLocation
BeeRenderer.ANGRY_NECTAR_BEE_TEXTURE
private static final ResourceLocation
BatRenderer.BAT_LOCATION
private static final ResourceLocation
PolarBearRenderer.BEAR_LOCATION
private static final ResourceLocation
BeeRenderer.BEE_TEXTURE
private static final ResourceLocation
WardenRenderer.BIOLUMINESCENT_LAYER_TEXTURE
private static final ResourceLocation
BlazeRenderer.BLAZE_LOCATION
private static final ResourceLocation
ParrotRenderer.BLUE
private static final ResourceLocation
LlamaRenderer.BROWN
private static final ResourceLocation
CamelRenderer.CAMEL_LOCATION
private static final ResourceLocation
OcelotRenderer.CAT_OCELOT_LOCATION
private static final ResourceLocation
CaveSpiderRenderer.CAVE_SPIDER_LOCATION
private static final ResourceLocation
ChickenRenderer.CHICKEN_LOCATION
private static final ResourceLocation
CodRenderer.COD_LOCATION
private static final ResourceLocation
StriderRenderer.COLD_LOCATION
private static final ResourceLocation
CowRenderer.COW_LOCATION
private static final ResourceLocation
LlamaRenderer.CREAMY
private static final ResourceLocation
CreeperRenderer.CREEPER_LOCATION
static final ResourceLocation
EnderDragonRenderer.CRYSTAL_BEAM_LOCATION
static final ResourceLocation
ArmorStandRenderer.DEFAULT_SKIN_LOCATION
private static final ResourceLocation
ShulkerRenderer.DEFAULT_TEXTURE_LOCATION
private static final ResourceLocation
DolphinRenderer.DOLPHIN_LOCATION
private static final ResourceLocation
EnderDragonRenderer.DRAGON_EXPLODING_LOCATION
private static final ResourceLocation
EnderDragonRenderer.DRAGON_EYES_LOCATION
private static final ResourceLocation
EnderDragonRenderer.DRAGON_LOCATION
private static final ResourceLocation
DrownedRenderer.DROWNED_LOCATION
static final ResourceLocation
ItemRenderer.ENCHANT_GLINT_LOCATION
private static final ResourceLocation
EndCrystalRenderer.END_CRYSTAL_LOCATION
private static final ResourceLocation
EndermanRenderer.ENDERMAN_LOCATION
private static final ResourceLocation
EndermiteRenderer.ENDERMITE_LOCATION
private static final ResourceLocation
EvokerRenderer.EVOKER_ILLAGER
private static final ResourceLocation
ExperienceOrbRenderer.EXPERIENCE_ORB_LOCATION
private static final ResourceLocation
GhastRenderer.GHAST_LOCATION
private static final ResourceLocation
GhastRenderer.GHAST_SHOOTING_LOCATION
private static final ResourceLocation
GlowSquidRenderer.GLOW_SQUID_LOCATION
private static final ResourceLocation
GoatRenderer.GOAT_LOCATION
private static final ResourceLocation
IronGolemRenderer.GOLEM_LOCATION
private static final ResourceLocation
LlamaRenderer.GRAY
private static final ResourceLocation
ParrotRenderer.GREEN
private static final ResourceLocation
ParrotRenderer.GREY
private static final ResourceLocation
GuardianRenderer.GUARDIAN_BEAM_LOCATION
static final ResourceLocation
ElderGuardianRenderer.GUARDIAN_ELDER_LOCATION
private static final ResourceLocation
GuardianRenderer.GUARDIAN_LOCATION
private static final ResourceLocation
WardenRenderer.HEART_TEXTURE
private static final ResourceLocation
HoglinRenderer.HOGLIN_LOCATION
private static final ResourceLocation
HuskRenderer.HUSK_LOCATION
private static final ResourceLocation
IllusionerRenderer.ILLUSIONER
private static final ResourceLocation
LeashKnotRenderer.KNOT_LOCATION
private static final ResourceLocation
LlamaSpitRenderer.LLAMA_SPIT_LOCATION
private static final ResourceLocation
MagmaCubeRenderer.MAGMACUBE_LOCATION
private static final ResourceLocation
MinecartRenderer.MINECART_LOCATION
private static final ResourceLocation
TropicalFishRenderer.MODEL_A_TEXTURE
private static final ResourceLocation
TropicalFishRenderer.MODEL_B_TEXTURE
private static final ResourceLocation
BeeRenderer.NECTAR_BEE_TEXTURE
static final ResourceLocation
TippableArrowRenderer.NORMAL_ARROW_LOCATION
private static final ResourceLocation
PhantomRenderer.PHANTOM_LOCATION
private static final ResourceLocation
PigRenderer.PIG_LOCATION
private static final ResourceLocation
PillagerRenderer.PILLAGER
private static final ResourceLocation
PufferfishRenderer.PUFFER_LOCATION
private static final ResourceLocation
WardenRenderer.PULSATING_SPOTS_TEXTURE_1
private static final ResourceLocation
WardenRenderer.PULSATING_SPOTS_TEXTURE_2
private static final ResourceLocation
RabbitRenderer.RABBIT_BLACK_LOCATION
private static final ResourceLocation
RabbitRenderer.RABBIT_BROWN_LOCATION
private static final ResourceLocation
RabbitRenderer.RABBIT_EVIL_LOCATION
private static final ResourceLocation
RabbitRenderer.RABBIT_GOLD_LOCATION
private static final ResourceLocation
RabbitRenderer.RABBIT_SALT_LOCATION
private static final ResourceLocation
RabbitRenderer.RABBIT_TOAST_LOCATION
private static final ResourceLocation
RabbitRenderer.RABBIT_WHITE_LOCATION
private static final ResourceLocation
RabbitRenderer.RABBIT_WHITE_SPLOTCHED_LOCATION
private static final ResourceLocation
ParrotRenderer.RED_BLUE
private static final ResourceLocation
FoxRenderer.RED_FOX_SLEEP_TEXTURE
private static final ResourceLocation
FoxRenderer.RED_FOX_TEXTURE
private static final ResourceLocation
SalmonRenderer.SALMON_LOCATION
private static final ResourceLocation
SheepRenderer.SHEEP_LOCATION
private static final ResourceLocation
SilverfishRenderer.SILVERFISH_LOCATION
private static final ResourceLocation
SkeletonRenderer.SKELETON_LOCATION
private static final ResourceLocation
SlimeRenderer.SLIME_LOCATION
private static final ResourceLocation
FoxRenderer.SNOW_FOX_SLEEP_TEXTURE
private static final ResourceLocation
FoxRenderer.SNOW_FOX_TEXTURE
private static final ResourceLocation
SnowGolemRenderer.SNOW_GOLEM_LOCATION
static final ResourceLocation
SpectralArrowRenderer.SPECTRAL_ARROW_LOCATION
private static final ResourceLocation
SpiderRenderer.SPIDER_LOCATION
private static final ResourceLocation
SquidRenderer.SQUID_LOCATION
private static final ResourceLocation
StrayRenderer.STRAY_SKELETON_LOCATION
private static final ResourceLocation
StriderRenderer.STRIDER_LOCATION
private static final ResourceLocation
TadpoleRenderer.TADPOLE_TEXTURE
private static final ResourceLocation
WardenRenderer.TEXTURE
private static final ResourceLocation
DragonFireballRenderer.TEXTURE_LOCATION
private static final ResourceLocation
EvokerFangsRenderer.TEXTURE_LOCATION
private static final ResourceLocation
FishingHookRenderer.TEXTURE_LOCATION
private static final ResourceLocation
RavagerRenderer.TEXTURE_LOCATION
private static final ResourceLocation
ShulkerBulletRenderer.TEXTURE_LOCATION
private static final ResourceLocation[]
ShulkerRenderer.TEXTURE_LOCATION
static final ResourceLocation
TippableArrowRenderer.TIPPED_ARROW_LOCATION
static final ResourceLocation
ThrownTridentRenderer.TRIDENT_LOCATION
private static final ResourceLocation
TurtleRenderer.TURTLE_LOCATION
private static final ResourceLocation
VexRenderer.VEX_CHARGING_LOCATION
private static final ResourceLocation
VexRenderer.VEX_LOCATION
private static final ResourceLocation
VillagerRenderer.VILLAGER_BASE_SKIN
private static final ResourceLocation
WanderingTraderRenderer.VILLAGER_BASE_SKIN
private static final ResourceLocation
VindicatorRenderer.VINDICATOR
private static final ResourceLocation
LlamaRenderer.WHITE
private static final ResourceLocation
WitchRenderer.WITCH_LOCATION
private static final ResourceLocation
WitherBossRenderer.WITHER_INVULNERABLE_LOCATION
private static final ResourceLocation
WitherSkullRenderer.WITHER_INVULNERABLE_LOCATION
private static final ResourceLocation
WitherBossRenderer.WITHER_LOCATION
private static final ResourceLocation
WitherSkullRenderer.WITHER_LOCATION
private static final ResourceLocation
WitherSkeletonRenderer.WITHER_SKELETON_LOCATION
private static final ResourceLocation
WolfRenderer.WOLF_ANGRY_LOCATION
private static final ResourceLocation
WolfRenderer.WOLF_LOCATION
private static final ResourceLocation
WolfRenderer.WOLF_TAME_LOCATION
private static final ResourceLocation
ParrotRenderer.YELLOW_BLUE
private static final ResourceLocation
ZoglinRenderer.ZOGLIN_LOCATION
private static final ResourceLocation
AbstractZombieRenderer.ZOMBIE_LOCATION
private static final ResourceLocation
GiantMobRenderer.ZOMBIE_LOCATION
private static final ResourceLocation
ZombieVillagerRenderer.ZOMBIE_VILLAGER_LOCATION
Modifier and TypeFieldDescriptionprivate final Map<Boat.Type,
com.mojang.datafixers.util.Pair<ResourceLocation, ListModel<Boat>>> BoatRenderer.boatResources
private static final Map<Variant,
ResourceLocation> HorseRenderer.LOCATION_BY_VARIANT
private static final Map<EntityType<?>,
ResourceLocation> ChestedHorseRenderer.MAP
private static final Map<EntityType<?>,
ResourceLocation> UndeadHorseRenderer.MAP
private static final Map<Axolotl.Variant,
ResourceLocation> AxolotlRenderer.TEXTURE_BY_TYPE
private static final Map<MushroomCow.MushroomType,
ResourceLocation> MushroomCowRenderer.TEXTURES
private static final Map<Panda.Gene,
ResourceLocation> PandaRenderer.TEXTURES
private static final Map<EntityType<?>,
ResourceLocation> PiglinRenderer.TEXTURES
Modifier and TypeMethodDescriptionAbstractZombieRenderer.getTextureLocation
(Zombie p_113771_) AllayRenderer.getTextureLocation
(Allay p_234558_) ArmorStandRenderer.getTextureLocation
(ArmorStand p_113798_) AxolotlRenderer.getTextureLocation
(Axolotl p_173925_) BatRenderer.getTextureLocation
(Bat p_113876_) BeeRenderer.getTextureLocation
(Bee p_113897_) BlazeRenderer.getTextureLocation
(Blaze p_113908_) BoatRenderer.getTextureLocation
(Boat p_113927_) Deprecated.CamelRenderer.getTextureLocation
(Camel p_249584_) CatRenderer.getTextureLocation
(Cat p_113950_) CaveSpiderRenderer.getTextureLocation
(CaveSpider p_113972_) ChestedHorseRenderer.getTextureLocation
(T p_113987_) ChickenRenderer.getTextureLocation
(Chicken p_113998_) CodRenderer.getTextureLocation
(Cod p_114015_) CowRenderer.getTextureLocation
(Cow p_114029_) CreeperRenderer.getTextureLocation
(Creeper p_114041_) DolphinRenderer.getTextureLocation
(Dolphin p_114059_) DragonFireballRenderer.getTextureLocation
(DragonFireball p_114078_) DrownedRenderer.getTextureLocation
(Zombie p_114115_) ElderGuardianRenderer.getTextureLocation
(Guardian p_114127_) EndCrystalRenderer.getTextureLocation
(EndCrystal p_114157_) EnderDragonRenderer.getTextureLocation
(EnderDragon p_114206_) EndermanRenderer.getTextureLocation
(EnderMan p_114334_) EndermiteRenderer.getTextureLocation
(Endermite p_114354_) abstract ResourceLocation
EntityRenderer.getTextureLocation
(T p_114482_) EvokerFangsRenderer.getTextureLocation
(EvokerFangs p_114526_) EvokerRenderer.getTextureLocation
(T p_114541_) ExperienceOrbRenderer.getTextureLocation
(ExperienceOrb p_114597_) FallingBlockRenderer.getTextureLocation
(FallingBlockEntity p_114632_) FireworkEntityRenderer.getTextureLocation
(FireworkRocketEntity p_114654_) FishingHookRenderer.getTextureLocation
(FishingHook p_114703_) FoxRenderer.getTextureLocation
(Fox p_114736_) FrogRenderer.getTextureLocation
(Frog p_234623_) GhastRenderer.getTextureLocation
(Ghast p_114755_) GiantMobRenderer.getTextureLocation
(Giant p_114773_) GlowSquidRenderer.getTextureLocation
(GlowSquid p_174144_) GoatRenderer.getTextureLocation
(Goat p_174157_) GuardianRenderer.getTextureLocation
(Guardian p_114827_) HoglinRenderer.getTextureLocation
(Hoglin p_114862_) HorseRenderer.getTextureLocation
(Horse p_114872_) HuskRenderer.getTextureLocation
(Zombie p_114905_) IllusionerRenderer.getTextureLocation
(Illusioner p_114950_) IronGolemRenderer.getTextureLocation
(IronGolem p_115012_) ItemEntityRenderer.getTextureLocation
(ItemEntity p_115034_) ItemFrameRenderer.getTextureLocation
(T p_115071_) LeashKnotRenderer.getTextureLocation
(LeashFenceKnotEntity p_115244_) LightningBoltRenderer.getTextureLocation
(LightningBolt p_115264_) LlamaRenderer.getTextureLocation
(Llama p_115355_) LlamaSpitRenderer.getTextureLocation
(LlamaSpit p_115371_) MagmaCubeRenderer.getTextureLocation
(MagmaCube p_115393_) MinecartRenderer.getTextureLocation
(T p_115416_) MushroomCowRenderer.getTextureLocation
(MushroomCow p_115514_) NoopRenderer.getTextureLocation
(T p_174328_) OcelotRenderer.getTextureLocation
(Ocelot p_115524_) PaintingRenderer.getTextureLocation
(Painting p_115550_) PandaRenderer.getTextureLocation
(Panda p_115639_) ParrotRenderer.getTextureLocation
(Parrot p_115658_) PhantomRenderer.getTextureLocation
(Phantom p_115679_) PiglinRenderer.getTextureLocation
(Mob p_115708_) PigRenderer.getTextureLocation
(Pig p_115697_) PillagerRenderer.getTextureLocation
(Pillager p_115720_) PolarBearRenderer.getTextureLocation
(PolarBear p_115732_) PufferfishRenderer.getTextureLocation
(Pufferfish p_115775_) RabbitRenderer.getTextureLocation
(Rabbit p_115803_) RavagerRenderer.getTextureLocation
(Ravager p_115811_) RenderLayerParent.getTextureLocation
(T p_115812_) SalmonRenderer.getTextureLocation
(Salmon p_115826_) SheepRenderer.getTextureLocation
(Sheep p_115840_) ShulkerBulletRenderer.getTextureLocation
(ShulkerBullet p_115860_) ShulkerRenderer.getTextureLocation
(Shulker p_115902_) static ResourceLocation
ShulkerRenderer.getTextureLocation
(DyeColor p_174376_) SilverfishRenderer.getTextureLocation
(Silverfish p_115929_) SkeletonRenderer.getTextureLocation
(AbstractSkeleton p_115941_) SlimeRenderer.getTextureLocation
(Slime p_115974_) SnowGolemRenderer.getTextureLocation
(SnowGolem p_115993_) SpectralArrowRenderer.getTextureLocation
(SpectralArrow p_116001_) SpiderRenderer.getTextureLocation
(T p_116009_) SquidRenderer.getTextureLocation
(T p_116030_) StrayRenderer.getTextureLocation
(AbstractSkeleton p_116049_) StriderRenderer.getTextureLocation
(Strider p_116064_) TadpoleRenderer.getTextureLocation
(Tadpole p_234659_) ThrownItemRenderer.getTextureLocation
(Entity p_116083_) ThrownTridentRenderer.getTextureLocation
(ThrownTrident p_116109_) TippableArrowRenderer.getTextureLocation
(Arrow p_116140_) TntRenderer.getTextureLocation
(PrimedTnt p_116175_) TropicalFishRenderer.getTextureLocation
(TropicalFish p_116217_) TurtleRenderer.getTextureLocation
(Turtle p_116259_) UndeadHorseRenderer.getTextureLocation
(AbstractHorse p_116274_) VexRenderer.getTextureLocation
(Vex p_116292_) VillagerRenderer.getTextureLocation
(Villager p_116312_) VindicatorRenderer.getTextureLocation
(Vindicator p_116324_) WanderingTraderRenderer.getTextureLocation
(WanderingTrader p_116373_) WardenRenderer.getTextureLocation
(Warden p_234791_) WitchRenderer.getTextureLocation
(Witch p_116410_) WitherBossRenderer.getTextureLocation
(WitherBoss p_116437_) WitherSkeletonRenderer.getTextureLocation
(AbstractSkeleton p_116458_) WitherSkullRenderer.getTextureLocation
(WitherSkull p_116482_) WolfRenderer.getTextureLocation
(Wolf p_116526_) ZoglinRenderer.getTextureLocation
(Zoglin p_116544_) ZombieVillagerRenderer.getTextureLocation
(ZombieVillager p_116559_) static ResourceLocation
ParrotRenderer.getVariantTexture
(Parrot.Variant p_262577_) Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<ResourceLocation,
ListModel<Boat>> BoatRenderer.getModelWithLocation
(Boat boat) -
Uses of ResourceLocation in net.minecraft.client.renderer.entity.layers
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
BeeStingerLayer.BEE_STINGER_LOCATION
private static final ResourceLocation
TropicalFishPatternLayer.BETTY_TEXTURE
private static final ResourceLocation
TropicalFishPatternLayer.BLOCKFISH_TEXTURE
private static final ResourceLocation
TropicalFishPatternLayer.BRINELY_TEXTURE
private static final ResourceLocation
CatCollarLayer.CAT_COLLAR_LOCATION
private static final ResourceLocation
TropicalFishPatternLayer.CLAYFISH_TEXTURE
private static final ResourceLocation
TropicalFishPatternLayer.DASHER_TEXTURE
private static final ResourceLocation
DrownedOuterLayer.DROWNED_OUTER_LAYER_LOCATION
private static final ResourceLocation
TropicalFishPatternLayer.FLOPPER_TEXTURE
private static final ResourceLocation
TropicalFishPatternLayer.GLITTER_TEXTURE
private static final ResourceLocation
TropicalFishPatternLayer.KOB_TEXTURE
private static final ResourceLocation
CreeperPowerLayer.POWER_LOCATION
private static final ResourceLocation
SheepFurLayer.SHEEP_FUR_LOCATION
private static final ResourceLocation
TropicalFishPatternLayer.SNOOPER_TEXTURE
private static final ResourceLocation
TropicalFishPatternLayer.SPOTTY_TEXTURE
private static final ResourceLocation
StrayClothingLayer.STRAY_CLOTHES_LOCATION
private static final ResourceLocation
TropicalFishPatternLayer.STRIPEY_TEXTURE
private static final ResourceLocation
TropicalFishPatternLayer.SUNSTREAK_TEXTURE
private final ResourceLocation
WardenEmissiveLayer.texture
static final ResourceLocation
SpinAttackEffectLayer.TEXTURE
private static final ResourceLocation[]
LlamaDecorLayer.TEXTURE_LOCATION
private final ResourceLocation
SaddleLayer.textureLocation
private static final ResourceLocation
LlamaDecorLayer.TRADER_LLAMA
private static final ResourceLocation
ElytraLayer.WINGS_LOCATION
private static final ResourceLocation
WitherArmorLayer.WITHER_ARMOR_LOCATION
private static final ResourceLocation
WolfCollarLayer.WOLF_COLLAR_LOCATION
Modifier and TypeFieldDescriptionprivate static final Map<String,
ResourceLocation> HumanoidArmorLayer.ARMOR_LOCATION_CACHE
private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceLocation>
VillagerProfessionLayer.LEVEL_LOCATIONS
private static final Map<Markings,
ResourceLocation> HorseMarkingLayer.LOCATION_BY_MARKINGS
private static final Map<IronGolem.Crackiness,
ResourceLocation> IronGolemCrackinessLayer.resourceLocations
Modifier and TypeMethodDescriptionprivate ResourceLocation
HumanoidArmorLayer.getArmorLocation
(ArmorItem p_117081_, boolean p_117082_, String p_117083_) Deprecated.HumanoidArmorLayer.getArmorResource
(Entity entity, ItemStack stack, EquipmentSlot slot, String type) More generic ForgeHook version of the above function, it allows for Items to have more control over what texture they provide.ElytraLayer.getElytraTexture
(ItemStack stack, T entity) Gets the texture to use with this ElytraLayer.private ResourceLocation
VillagerProfessionLayer.getResourceLocation
(String p_117669_, ResourceLocation p_117670_) protected ResourceLocation
CreeperPowerLayer.getTextureLocation()
protected abstract ResourceLocation
EnergySwirlLayer.getTextureLocation()
protected ResourceLocation
RenderLayer.getTextureLocation
(T p_117348_) protected ResourceLocation
WitherArmorLayer.getTextureLocation()
Modifier and TypeMethodDescriptionprotected static <T extends LivingEntity>
voidRenderLayer.coloredCutoutModelCopyLayerRender
(EntityModel<T> p_117360_, EntityModel<T> p_117361_, ResourceLocation p_117362_, PoseStack p_117363_, MultiBufferSource p_117364_, int p_117365_, T p_117366_, float p_117367_, float p_117368_, float p_117369_, float p_117370_, float p_117371_, float p_117372_, float p_117373_, float p_117374_, float p_117375_) private ResourceLocation
VillagerProfessionLayer.getResourceLocation
(String p_117669_, ResourceLocation p_117670_) protected static <T extends LivingEntity>
voidRenderLayer.renderColoredCutoutModel
(EntityModel<T> p_117377_, ResourceLocation p_117378_, PoseStack p_117379_, MultiBufferSource p_117380_, int p_117381_, T p_117382_, float p_117383_, float p_117384_, float p_117385_) private void
HumanoidArmorLayer.renderModel
(PoseStack p_117107_, MultiBufferSource p_117108_, int p_117109_, boolean p_117111_, Model p_117112_, float p_117114_, float p_117115_, float p_117116_, ResourceLocation armorResource) ModifierConstructorDescriptionSaddleLayer
(RenderLayerParent<T, M> p_117390_, M p_117391_, ResourceLocation p_117392_) WardenEmissiveLayer
(RenderLayerParent<T, M> p_234885_, ResourceLocation p_234886_, WardenEmissiveLayer.AlphaFunction<T> p_234887_, WardenEmissiveLayer.DrawSelector<T, M> p_234888_) -
Uses of ResourceLocation in net.minecraft.client.renderer.entity.player
Modifier and TypeMethodDescriptionPlayerRenderer.getTextureLocation
(AbstractClientPlayer p_117783_) -
Uses of ResourceLocation in net.minecraft.client.renderer.item
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
ItemProperties.DAMAGE
private static final ResourceLocation
ItemProperties.DAMAGED
Modifier and TypeFieldDescriptionprivate static final Map<ResourceLocation,
ItemPropertyFunction> ItemProperties.GENERIC_PROPERTIES
private static final Map<Item,
Map<ResourceLocation, ItemPropertyFunction>> ItemProperties.PROPERTIES
Modifier and TypeMethodDescriptionstatic ItemPropertyFunction
ItemProperties.getProperty
(Item p_117830_, ResourceLocation p_117831_) static void
ItemProperties.register
(Item p_174571_, ResourceLocation p_174572_, ItemPropertyFunction p_174573_) static ItemPropertyFunction
ItemProperties.registerGeneric
(ResourceLocation p_174582_, ItemPropertyFunction p_174583_) -
Uses of ResourceLocation in net.minecraft.client.renderer.texture
Modifier and TypeFieldDescriptionprivate final ResourceLocation
TextureAtlasSprite.atlasLocation
static final ResourceLocation
TextureManager.INTENTIONAL_MISSING_TEXTURE
protected final ResourceLocation
SimpleTexture.location
private final ResourceLocation
SpriteLoader.location
private final ResourceLocation
TextureAtlas.location
static final ResourceLocation
TextureAtlas.LOCATION_BLOCKS
Deprecated.static final ResourceLocation
TextureAtlas.LOCATION_PARTICLES
Deprecated.private static final ResourceLocation
MissingTextureAtlasSprite.MISSING_TEXTURE_LOCATION
private final ResourceLocation
SpriteContents.name
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
AbstractTexture> TextureManager.byPath
private final Map<ResourceLocation,
TextureAtlasSprite> SpriteLoader.Preparations.regions
The field for theregions
record component.private Map<ResourceLocation,
TextureAtlasSprite> TextureAtlas.texturesByName
Modifier and TypeMethodDescriptionTextureAtlasSprite.atlasLocation()
static ResourceLocation
MissingTextureAtlasSprite.getLocation()
TextureAtlas.location()
SpriteContents.name()
Stitcher.Entry.name()
TextureManager.register
(String p_118491_, DynamicTexture p_118492_) Modifier and TypeMethodDescriptionprivate Map<ResourceLocation,
TextureAtlasSprite> SpriteLoader.getStitchedSprites
(Stitcher<SpriteContents> p_249904_) TextureAtlas.getTextureLocations()
Returns the set of sprites in this atlas..SpriteLoader.Preparations.regions()
Returns the value of theregions
record component.Modifier and TypeMethodDescriptionprivate void
TextureManager._bind
(ResourceLocation p_118520_) void
TextureManager.bindForSetup
(ResourceLocation p_174785_) TextureAtlas.getSprite
(ResourceLocation p_118317_) TextureManager.getTexture
(ResourceLocation p_118507_) TextureManager.getTexture
(ResourceLocation p_174787_, AbstractTexture p_174788_) static SimpleTexture.TextureImage
SimpleTexture.TextureImage.load
(ResourceManager p_118156_, ResourceLocation p_118157_) SpriteLoader.loadAndStitch
(ResourceManager p_262108_, ResourceLocation p_261754_, int p_262104_, Executor p_261687_) static SpriteContents
SpriteLoader.loadSprite
(ResourceLocation p_251630_, Resource p_250558_) private AbstractTexture
TextureManager.loadTexture
(ResourceLocation p_118516_, AbstractTexture p_118517_) TextureManager.preload
(ResourceLocation p_118502_, Executor p_118503_) void
TextureManager.register
(ResourceLocation p_118496_, AbstractTexture p_118497_) void
TextureManager.release
(ResourceLocation p_118514_) void
AbstractTexture.reset
(TextureManager p_117956_, ResourceManager p_117957_, ResourceLocation p_117958_, Executor p_117959_) void
PreloadedTexture.reset
(TextureManager p_118114_, ResourceManager p_118115_, ResourceLocation p_118116_, Executor p_118117_) private void
TextureManager.safeClose
(ResourceLocation p_118509_, AbstractTexture p_118510_) Modifier and TypeMethodDescriptionprivate static void
TextureAtlas.dumpSpriteNames
(Path p_261769_, String p_262102_, Map<ResourceLocation, TextureAtlasSprite> p_261722_) ModifierConstructorDescriptionHttpTexture
(File p_118002_, String p_118003_, ResourceLocation p_118004_, boolean p_118005_, Runnable p_118006_) PreloadedTexture
(ResourceManager p_118102_, ResourceLocation p_118103_, Executor p_118104_) SimpleTexture
(ResourceLocation p_118133_) SpriteContents
(ResourceLocation p_249787_, FrameSize p_251031_, NativeImage p_252131_, AnimationMetadataSection p_250432_) Deprecated.Forge: Use the overload with Forge metadata parameter to properly forward custom loaders.SpriteContents
(ResourceLocation p_249787_, FrameSize p_251031_, NativeImage p_252131_, AnimationMetadataSection p_250432_, ForgeTextureMetadata forgeMeta) SpriteLoader
(ResourceLocation p_250575_, int p_252264_) TextureAtlas
(ResourceLocation p_118269_) protected
TextureAtlasSprite
(ResourceLocation p_250211_, SpriteContents p_248526_, int p_248950_, int p_249741_, int p_248672_, int p_248637_) ModifierConstructorDescriptionPreparations
(int width, int height, int mipLevel, TextureAtlasSprite missing, Map<ResourceLocation, TextureAtlasSprite> regions, CompletableFuture<Void> readyForUpload) Creates an instance of aPreparations
record class. -
Uses of ResourceLocation in net.minecraft.client.renderer.texture.atlas
Modifier and TypeFieldDescriptionprivate static final com.google.common.collect.BiMap<ResourceLocation,
SpriteSourceType> SpriteSources.TYPES
Modifier and TypeMethodDescriptionvoid
SpriteSource.Output.add
(ResourceLocation p_261821_, SpriteSource.SpriteSupplier p_261760_) default void
SpriteSource.Output.add
(ResourceLocation p_261841_, Resource p_261651_) static SpriteResourceLoader
SpriteResourceLoader.load
(ResourceManager p_261551_, ResourceLocation p_261709_) Modifier and TypeMethodDescriptionvoid
SpriteSource.Output.removeAll
(Predicate<ResourceLocation> p_261532_) -
Uses of ResourceLocation in net.minecraft.client.renderer.texture.atlas.sources
Modifier and TypeFieldDescriptionprivate final ResourceLocation
Unstitcher.LazyLoadedImage.id
private final ResourceLocation
Unstitcher.resource
private final ResourceLocation
SingleFile.resourceId
private final ResourceLocation
Unstitcher.Region.sprite
The field for thesprite
record component.Modifier and TypeMethodDescriptionUnstitcher.Region.sprite()
Returns the value of thesprite
record component.ModifierConstructorDescription(package private)
LazyLoadedImage
(ResourceLocation p_261579_, Resource p_262172_, int p_261817_) (package private)
Region
(ResourceLocation sprite, double x, double y, double width, double height) Creates an instance of aRegion
record class.SingleFile
(ResourceLocation p_261658_, Optional<ResourceLocation> p_261712_) Unstitcher
(ResourceLocation p_261679_, List<Unstitcher.Region> p_261974_, double p_262181_, double p_261631_) ModifierConstructorDescriptionSingleFile
(ResourceLocation p_261658_, Optional<ResourceLocation> p_261712_) -
Uses of ResourceLocation in net.minecraft.client.resources
Modifier and TypeFieldDescriptionprivate final ResourceLocation
TextureAtlasHolder.atlasInfoLocation
private static final ResourceLocation
PaintingTextureManager.BACK_SPRITE_LOCATION
private static final ResourceLocation
FoliageColorReloadListener.LOCATION
private static final ResourceLocation
GrassColorReloadListener.LOCATION
private static final ResourceLocation
ClientPackSource.PACKS_DIR
private static final ResourceLocation
SplashManager.SPLASHES_LOCATION
private final ResourceLocation
DefaultPlayerSkin.SkinType.texture
The field for thetexture
record component.Modifier and TypeMethodDescriptionstatic ResourceLocation
DefaultPlayerSkin.getDefaultSkin()
static ResourceLocation
DefaultPlayerSkin.getDefaultSkin
(UUID p_118628_) SkinManager.getInsecureSkinLocation
(com.mojang.authlib.GameProfile p_240307_) private static ResourceLocation
SkinManager.getTextureLocation
(com.mojang.authlib.minecraft.MinecraftProfileTexture.Type p_242930_, String p_242947_) SkinManager.registerTexture
(com.mojang.authlib.minecraft.MinecraftProfileTexture p_118826_, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type p_118827_) private ResourceLocation
SkinManager.registerTexture
(com.mojang.authlib.minecraft.MinecraftProfileTexture p_118829_, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type p_118830_, SkinManager.SkinTextureCallback p_118831_) DefaultPlayerSkin.SkinType.texture()
Returns the value of thetexture
record component.Modifier and TypeMethodDescriptionstatic int[]
LegacyStuffWrapper.getPixels
(ResourceManager p_118727_, ResourceLocation p_118728_) Deprecated.protected TextureAtlasSprite
TextureAtlasHolder.getSprite
(ResourceLocation p_118902_) void
SkinManager.SkinTextureCallback.onSkinTextureAvailable
(com.mojang.authlib.minecraft.MinecraftProfileTexture.Type p_118857_, ResourceLocation p_118858_, com.mojang.authlib.minecraft.MinecraftProfileTexture p_118859_) ModifierConstructorDescription(package private)
SkinType
(ResourceLocation texture, DefaultPlayerSkin.ModelType model) Creates an instance of aSkinType
record class.TextureAtlasHolder
(TextureManager p_262057_, ResourceLocation p_261554_, ResourceLocation p_262147_) -
Uses of ResourceLocation in net.minecraft.client.resources.model
Modifier and TypeFieldDescriptionprivate final ResourceLocation
AtlasSet.AtlasEntry.atlasInfoLocation
The field for theatlasInfoLocation
record component.private final ResourceLocation
Material.atlasLocation
private final ResourceLocation
ModelBakery.BakedCacheKey.id
The field for theid
record component.private final ResourceLocation
Material.texture
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
AtlasSet.AtlasEntry> AtlasSet.atlases
private final Map<ResourceLocation,
AtlasSet.StitchResult> ModelManager.ReloadState.atlasPreparations
The field for theatlasPreparations
record component.private Map<ResourceLocation,
BakedModel> ModelManager.bakedRegistry
private final Map<ResourceLocation,
BakedModel> ModelBakery.bakedTopLevelModels
private final Map<ResourceLocation,
List<ModelBakery.LoadedJson>> ModelBakery.blockStateResources
static final List<ResourceLocation>
ModelBakery.BREAKING_LOCATIONS
static final List<ResourceLocation>
ModelBakery.DESTROY_STAGES
private final Set<ResourceLocation>
ModelBakery.loadingStack
private final Map<ResourceLocation,
BlockModel> ModelBakery.modelResources
private static final Map<ResourceLocation,
StateDefinition<Block, BlockState>> ModelBakery.STATIC_DEFINITIONS
private final Map<ResourceLocation,
UnbakedModel> ModelBakery.topLevelModels
private final Map<ResourceLocation,
UnbakedModel> ModelBakery.unbakedCache
private static final Map<ResourceLocation,
ResourceLocation> ModelManager.VANILLA_ATLASES
private static final Map<ResourceLocation,
ResourceLocation> ModelManager.VANILLA_ATLASES
Modifier and TypeMethodDescriptionAtlasSet.AtlasEntry.atlasInfoLocation()
Returns the value of theatlasInfoLocation
record component.Material.atlasLocation()
ModelBakery.BakedCacheKey.id()
Returns the value of theid
record component.Material.texture()
Modifier and TypeMethodDescriptionModelManager.ReloadState.atlasPreparations()
Returns the value of theatlasPreparations
record component.ModelBakery.getBakedTopLevelModels()
UnbakedModel.getDependencies()
private static CompletableFuture<Map<ResourceLocation,
BlockModel>> ModelManager.loadBlockModels
(ResourceManager p_251361_, Executor p_252189_) private static CompletableFuture<Map<ResourceLocation,
List<ModelBakery.LoadedJson>>> ModelManager.loadBlockStates
(ResourceManager p_252084_, Executor p_249943_) AtlasSet.scheduleLoad
(ResourceManager p_249256_, int p_251059_, Executor p_250751_) Modifier and TypeMethodDescriptionModelBaker.bake
(ResourceLocation p_250776_, ModelState p_251280_) Deprecated.Forge: UseIForgeModelBaker.bake(ResourceLocation, ModelState, java.util.function.Function)
instead.ModelBakery.ModelBakerImpl.bake
(ResourceLocation p_252176_, ModelState p_249765_) ModelBakery.ModelBakerImpl.bake
(ResourceLocation p_252176_, ModelState p_249765_, Function<Material, TextureAtlasSprite> sprites) UnbakedModel.bake
(ModelBaker p_250133_, Function<Material, TextureAtlasSprite> p_119535_, ModelState p_119536_, ResourceLocation p_119537_) private void
ModelBakery.cacheAndQueueDependencies
(ResourceLocation p_119353_, UnbakedModel p_119354_) AtlasSet.getAtlas
(ResourceLocation p_250828_) ModelManager.getAtlas
(ResourceLocation p_119429_) ModelBaker.getModel
(ResourceLocation p_252194_) ModelBakery.getModel
(ResourceLocation p_119342_) ModelBakery.ModelBakerImpl.getModel
(ResourceLocation p_248568_) ModelManager.getModel
(ResourceLocation modelLocation) AtlasSet.StitchResult.getSprite
(ResourceLocation p_249039_) protected BlockModel
ModelBakery.loadBlockModel
(ResourceLocation p_119365_) private void
ModelBakery.loadModel
(ResourceLocation p_119363_) Modifier and TypeMethodDescriptionvoid
ModelBakery.bakeModels
(BiFunction<ResourceLocation, Material, TextureAtlasSprite> p_248669_) Material.buffer
(MultiBufferSource p_119195_, Function<ResourceLocation, RenderType> p_119196_) Material.buffer
(MultiBufferSource p_119198_, Function<ResourceLocation, RenderType> p_119199_, boolean p_119200_) private ModelManager.ReloadState
ModelManager.loadModels
(ProfilerFiller p_252136_, Map<ResourceLocation, AtlasSet.StitchResult> p_250646_, ModelBakery p_248945_) Material.renderType
(Function<ResourceLocation, RenderType> p_119202_) void
UnbakedModel.resolveParents
(Function<ResourceLocation, UnbakedModel> p_119538_) ModifierConstructorDescription(package private)
AtlasEntry
(TextureAtlas atlas, ResourceLocation atlasInfoLocation) Creates an instance of aAtlasEntry
record class.(package private)
BakedCacheKey
(ResourceLocation id, Transformation transformation, boolean isUvLocked) Creates an instance of aBakedCacheKey
record class.Material
(ResourceLocation p_119191_, ResourceLocation p_119192_) (package private)
ModelBakerImpl
(BiFunction<ResourceLocation, Material, TextureAtlasSprite> p_249651_, ResourceLocation p_251408_) ModelResourceLocation
(ResourceLocation p_119442_, String p_119443_) ModifierConstructorDescriptionAtlasSet
(Map<ResourceLocation, ResourceLocation> p_249969_, TextureManager p_252059_) AtlasSet
(Map<ResourceLocation, ResourceLocation> p_249969_, TextureManager p_252059_) (package private)
ModelBakerImpl
(BiFunction<ResourceLocation, Material, TextureAtlasSprite> p_249651_, ResourceLocation p_251408_) ModelBakery
(BlockColors p_249183_, ProfilerFiller p_252014_, Map<ResourceLocation, BlockModel> p_251087_, Map<ResourceLocation, List<ModelBakery.LoadedJson>> p_250416_) -
Uses of ResourceLocation in net.minecraft.client.resources.sounds
Modifier and TypeFieldDescriptionprotected final ResourceLocation
AbstractSoundInstance.location
private final ResourceLocation
Sound.location
Modifier and TypeMethodDescriptionAbstractSoundInstance.getLocation()
Sound.getLocation()
SoundInstance.getLocation()
Sound.getPath()
ModifierConstructorDescriptionprotected
AbstractSoundInstance
(ResourceLocation p_235068_, SoundSource p_235069_, RandomSource p_235070_) SimpleSoundInstance
(ResourceLocation p_235087_, SoundSource p_235088_, float p_235089_, float p_235090_, RandomSource p_235091_, boolean p_235092_, int p_235093_, SoundInstance.Attenuation p_235094_, double p_235095_, double p_235096_, double p_235097_, boolean p_235098_) -
Uses of ResourceLocation in net.minecraft.client.searchtree
Modifier and TypeMethodDescriptionstatic <T> ResourceLocationSearchTree<T>
ResourceLocationSearchTree.create
(List<T> p_235213_, Function<T, Stream<ResourceLocation>> p_235214_) ModifierConstructorDescriptionIdSearchTree
(Function<T, Stream<ResourceLocation>> p_235167_, List<T> p_235168_) -
Uses of ResourceLocation in net.minecraft.client.sounds
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
CompletableFuture<SoundBuffer>> SoundBufferLibrary.cache
private static final Set<ResourceLocation>
SoundEngine.ONLY_WARN_ONCE
(package private) final Map<ResourceLocation,
WeighedSoundEvents> SoundManager.Preparations.registry
private final Map<ResourceLocation,
WeighedSoundEvents> SoundManager.registry
private Map<ResourceLocation,
Resource> SoundManager.Preparations.soundCache
private final Map<ResourceLocation,
Resource> SoundManager.soundCache
Modifier and TypeMethodDescriptionSoundBufferLibrary.getCompleteBuffer
(ResourceLocation p_120203_) SoundManager.getSoundEvent
(ResourceLocation p_120385_) SoundBufferLibrary.getStream
(ResourceLocation p_120205_, boolean p_120206_) (package private) void
SoundManager.Preparations.handleRegistration
(ResourceLocation p_250806_, SoundEventRegistration p_249632_) void
SoundEngine.stop
(ResourceLocation p_120300_, SoundSource p_120301_) void
SoundManager.stop
(ResourceLocation p_120387_, SoundSource p_120388_) (package private) static boolean
SoundManager.validateSoundResource
(Sound p_250396_, ResourceLocation p_250879_, ResourceProvider p_248737_) Modifier and TypeMethodDescriptionvoid
SoundManager.Preparations.apply
(Map<ResourceLocation, WeighedSoundEvents> p_251229_, Map<ResourceLocation, Resource> p_251045_, SoundEngine p_250302_) -
Uses of ResourceLocation in net.minecraft.commands
Modifier and TypeFieldDescriptionprivate final ResourceLocation
CommandFunction.CacheableFunction.id
(package private) final ResourceLocation
CommandFunction.id
Modifier and TypeMethodDescriptionCommandFunction.CacheableFunction.getId()
CommandFunction.getId()
Modifier and TypeMethodDescriptionCommandSourceStack.getAvailableSounds()
SharedSuggestionProvider.getAvailableSounds()
CommandSourceStack.getRecipeNames()
SharedSuggestionProvider.getRecipeNames()
Modifier and TypeMethodDescriptionstatic CommandFunction
CommandFunction.fromLines
(ResourceLocation p_77985_, com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_77986_, CommandSourceStack p_77987_, List<String> p_77988_) Modifier and TypeMethodDescriptionstatic <T> void
SharedSuggestionProvider.filterResources
(Iterable<T> p_82939_, String p_82940_, String p_82941_, Function<T, ResourceLocation> p_82942_, Consumer<T> p_82943_) static <T> void
SharedSuggestionProvider.filterResources
(Iterable<T> p_82945_, String p_82946_, Function<T, ResourceLocation> p_82947_, Consumer<T> p_82948_) static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
SharedSuggestionProvider.suggestResource
(Iterable<ResourceLocation> p_82927_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82928_) static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
SharedSuggestionProvider.suggestResource
(Iterable<ResourceLocation> p_82930_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82931_, String p_82932_) static <T> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
SharedSuggestionProvider.suggestResource
(Iterable<T> p_82934_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82935_, Function<T, ResourceLocation> p_82936_, Function<T, com.mojang.brigadier.Message> p_82937_) static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
SharedSuggestionProvider.suggestResource
(Stream<ResourceLocation> p_82958_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82959_) static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
SharedSuggestionProvider.suggestResource
(Stream<ResourceLocation> p_205107_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_205108_, String p_205109_) static <T> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
SharedSuggestionProvider.suggestResource
(Stream<T> p_82961_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82962_, Function<T, ResourceLocation> p_82963_, Function<T, com.mojang.brigadier.Message> p_82964_) ModifierConstructorDescriptionCacheableFunction
(ResourceLocation p_77998_) CommandFunction
(ResourceLocation p_77979_, CommandFunction.Entry[] p_77980_) -
Uses of ResourceLocation in net.minecraft.commands.arguments
Modifier and TypeMethodDescriptionstatic ResourceLocation
ResourceLocationArgument.getId
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_107012_, String p_107013_) DimensionArgument.parse
(com.mojang.brigadier.StringReader p_88807_) ResourceLocationArgument.parse
(com.mojang.brigadier.StringReader p_106986_) -
Uses of ResourceLocation in net.minecraft.commands.arguments.blocks
-
Uses of ResourceLocation in net.minecraft.commands.arguments.item
Modifier and TypeMethodDescriptionstatic com.mojang.datafixers.util.Pair<ResourceLocation,
com.mojang.datafixers.util.Either<CommandFunction, Collection<CommandFunction>>> FunctionArgument.getFunctionOrTag
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120921_, String p_120922_) com.mojang.datafixers.util.Pair<ResourceLocation,
com.mojang.datafixers.util.Either<CommandFunction, Collection<CommandFunction>>> FunctionArgument.Result.unwrap
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120956_) Modifier and TypeMethodDescription(package private) static CommandFunction
FunctionArgument.getFunction
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120929_, ResourceLocation p_120930_) (package private) static Collection<CommandFunction>
FunctionArgument.getFunctionTag
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_235274_, ResourceLocation p_235275_) -
Uses of ResourceLocation in net.minecraft.commands.synchronization
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
SuggestionProviders.DEFAULT_NAME
(package private) final ResourceLocation
SuggestionProviders.Wrapper.name
Modifier and TypeFieldDescriptionprivate static final Map<ResourceLocation,
com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider>> SuggestionProviders.PROVIDERS_BY_NAME
Modifier and TypeMethodDescriptionstatic ResourceLocation
SuggestionProviders.getName
(com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> p_121655_) Modifier and TypeMethodDescriptionstatic com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider>
SuggestionProviders.getProvider
(ResourceLocation p_121657_) static <S extends SharedSuggestionProvider>
com.mojang.brigadier.suggestion.SuggestionProvider<S>SuggestionProviders.register
(ResourceLocation p_121659_, com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> p_121660_) ModifierConstructorDescriptionWrapper
(ResourceLocation p_121678_, com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> p_121679_) -
Uses of ResourceLocation in net.minecraft.core
Modifier and TypeFieldDescriptionprivate final ResourceLocation
DefaultedMappedRegistry.defaultKey
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
Holder.Reference<T>> MappedRegistry.byLocation
private static final Set<ResourceLocation>
MappedRegistry.KNOWN
private final Map<ResourceLocation,
HolderGetter<?>> RegistrySetBuilder.BuildState.registries
The field for theregistries
record component.Modifier and TypeMethodDescriptionDefaultedMappedRegistry.getDefaultKey()
DefaultedRegistry.getDefaultKey()
Modifier and TypeMethodDescriptionstatic Set<ResourceLocation>
MappedRegistry.getKnownRegistries()
MappedRegistry.keySet()
Registry.keySet()
RegistrySetBuilder.BuildState.registries()
Returns the value of theregistries
record component.Modifier and TypeMethodDescriptionboolean
MappedRegistry.containsKey
(ResourceLocation p_122761_) boolean
Registry.containsKey
(ResourceLocation p_123011_) DefaultedMappedRegistry.get
(ResourceLocation p_260004_) DefaultedRegistry.get
(ResourceLocation p_122328_) MappedRegistry.get
(ResourceLocation p_122739_) Registry.get
(ResourceLocation p_123002_) DefaultedMappedRegistry.getOptional
(ResourceLocation p_260078_) Registry.getOptional
(ResourceLocation p_123007_) boolean
Holder.Direct.is
(ResourceLocation p_205727_) boolean
Holder.is
(ResourceLocation p_205713_) boolean
Holder.Reference.is
(ResourceLocation p_205779_) static <V,
T extends V>
TRegistry.register
(Registry<V> p_122966_, ResourceLocation p_122967_, T p_122968_) static <T> Holder.Reference<T>
Registry.registerForHolder
(Registry<T> p_263351_, ResourceLocation p_263363_, T p_263423_) ModifierConstructorDescription(package private)
BuildState
(RegistrySetBuilder.CompositeOwner owner, RegistrySetBuilder.UniversalLookup lookup, Map<ResourceLocation, HolderGetter<?>> registries, Map<ResourceKey<?>, RegistrySetBuilder.RegisteredValue<?>> registeredValues, List<RuntimeException> errors) Creates an instance of aBuildState
record class. -
Uses of ResourceLocation in net.minecraft.core.registries
Modifier and TypeFieldDescriptionstatic final ResourceLocation
BuiltInRegistries.ROOT_REGISTRY_NAME
Modifier and TypeFieldDescriptionstatic final Registry<ResourceLocation>
BuiltInRegistries.CUSTOM_STAT
static final ResourceKey<Registry<ResourceLocation>>
Registries.CUSTOM_STAT
private static final Map<ResourceLocation,
Supplier<?>> BuiltInRegistries.LOADERS
-
Uses of ResourceLocation in net.minecraft.data
Modifier and TypeMethodDescriptionPackOutput.PathProvider.file
(ResourceLocation p_250940_, String p_251208_) PackOutput.PathProvider.json
(ResourceLocation p_251634_) -
Uses of ResourceLocation in net.minecraft.data.info
Modifier and TypeMethodDescriptionprivate Path
BiomeParametersDumpReport.createPath
(ResourceLocation p_236179_) -
Uses of ResourceLocation in net.minecraft.data.loot
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
LootTable.Builder> BlockLootSubProvider.map
private final Map<EntityType<?>,
Map<ResourceLocation, LootTable.Builder>> EntityLootSubProvider.map
private final Set<ResourceLocation>
LootTableProvider.requiredTables
Modifier and TypeMethodDescriptionprotected void
EntityLootSubProvider.add
(EntityType<?> p_252130_, ResourceLocation p_251706_, LootTable.Builder p_249357_) Modifier and TypeMethodDescriptionvoid
BlockLootSubProvider.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_249322_) void
EntityLootSubProvider.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_251751_) void
LootTableSubProvider.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_249643_) protected void
LootTableProvider.validate
(Map<ResourceLocation, LootTable> map, ValidationContext validationcontext) ModifierConstructorDescriptionLootTableProvider
(PackOutput p_254123_, Set<ResourceLocation> p_254481_, List<LootTableProvider.SubProviderEntry> p_253798_) -
Uses of ResourceLocation in net.minecraft.data.loot.packs
Modifier and TypeMethodDescriptionvoid
VanillaChestLoot.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_250931_) void
VanillaFishingLoot.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_249559_) void
VanillaGiftLoot.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_250831_) void
VanillaPiglinBarterLoot.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_250176_) -
Uses of ResourceLocation in net.minecraft.data.models
Modifier and TypeFieldDescriptionprivate final ResourceLocation
BlockModelGenerators.BlockEntityModelGenerator.baseModel
private ResourceLocation
BlockModelGenerators.BlockFamilyProvider.fullBlock
Modifier and TypeFieldDescriptionprivate static final Map<BlockModelGenerators.BookSlotModelCacheKey,
ResourceLocation> BlockModelGenerators.CHISELED_BOOKSHELF_SLOT_MODEL_CACHE
(package private) final BiConsumer<ResourceLocation,
Supplier<com.google.gson.JsonElement>> BlockModelGenerators.modelOutput
private final Map<ModelTemplate,
ResourceLocation> BlockModelGenerators.BlockFamilyProvider.models
static final List<com.mojang.datafixers.util.Pair<BooleanProperty,
Function<ResourceLocation, Variant>>> BlockModelGenerators.MULTIFACE_GENERATOR
private final BiConsumer<ResourceLocation,
Supplier<com.google.gson.JsonElement>> ItemModelGenerators.output
Modifier and TypeMethodDescriptionprivate ResourceLocation
BlockModelGenerators.createSuffixedVariant
(Block p_124579_, String p_124580_, ModelTemplate p_124581_, Function<ResourceLocation, TextureMapping> p_124582_) private ResourceLocation
BlockModelGenerators.createTurtleEggModel
(int p_124514_, String p_124515_, TextureMapping p_124516_) private ResourceLocation
BlockModelGenerators.createTurtleEggModel
(Integer p_124677_, Integer p_124678_) private ResourceLocation
BlockModelGenerators.BlockFamilyProvider.getOrCreateModel
(ModelTemplate p_176262_, Block p_176263_) Modifier and TypeMethodDescriptionprivate List<ResourceLocation>
BlockModelGenerators.createFloorFireModels
(Block p_124996_) private List<ResourceLocation>
BlockModelGenerators.createSideFireModels
(Block p_124999_) private List<ResourceLocation>
BlockModelGenerators.createTopFireModels
(Block p_125002_) Modifier and TypeMethodDescriptionBlockModelGenerators.blockEntityModels
(ResourceLocation p_124691_, Block p_124692_) private static PropertyDispatch.C4<Direction,
DoubleBlockHalf, DoorHingeSide, Boolean> BlockModelGenerators.configureDoorHalf
(PropertyDispatch.C4<Direction, DoubleBlockHalf, DoorHingeSide, Boolean> p_236305_, DoubleBlockHalf p_236306_, ResourceLocation p_236307_, ResourceLocation p_236308_, ResourceLocation p_236309_, ResourceLocation p_236310_) BlockModelGenerators.BlockStateGeneratorSupplier.create
(Block p_176278_, ResourceLocation p_176279_, TextureMapping p_176280_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_176281_) private void
BlockModelGenerators.createAirLikeBlock
(Block p_124922_, ResourceLocation p_124923_) (package private) static BlockStateGenerator
BlockModelGenerators.createAxisAlignedPillarBlock
(Block p_124882_, ResourceLocation p_124883_) private void
BlockModelGenerators.createAxisAlignedPillarBlockCustomModel
(Block p_124902_, ResourceLocation p_124903_) private static PropertyDispatch
BlockModelGenerators.createBooleanModelDispatch
(BooleanProperty p_124623_, ResourceLocation p_124624_, ResourceLocation p_124625_) (package private) static BlockStateGenerator
BlockModelGenerators.createButton
(Block p_124885_, ResourceLocation p_124886_, ResourceLocation p_124887_) (package private) static BlockStateGenerator
BlockModelGenerators.createCustomFence
(Block p_248625_, ResourceLocation p_248654_, ResourceLocation p_249827_, ResourceLocation p_248819_, ResourceLocation p_251062_, ResourceLocation p_249076_) private static BlockStateGenerator
BlockModelGenerators.createDoor
(Block p_236284_, ResourceLocation p_236285_, ResourceLocation p_236286_, ResourceLocation p_236287_, ResourceLocation p_236288_, ResourceLocation p_236289_, ResourceLocation p_236290_, ResourceLocation p_236291_, ResourceLocation p_236292_) private void
BlockModelGenerators.createDoubleBlock
(Block p_124954_, ResourceLocation p_124955_, ResourceLocation p_124956_) private static <T extends Comparable<T>>
PropertyDispatchBlockModelGenerators.createEmptyOrFullDispatch
(Property<T> p_124627_, T p_124628_, ResourceLocation p_124629_, ResourceLocation p_124630_) (package private) static BlockStateGenerator
BlockModelGenerators.createFence
(Block p_124905_, ResourceLocation p_124906_, ResourceLocation p_124907_) (package private) static BlockStateGenerator
BlockModelGenerators.createFenceGate
(Block p_124810_, ResourceLocation p_124811_, ResourceLocation p_124812_, ResourceLocation p_124813_, ResourceLocation p_124814_, boolean p_251730_) private void
BlockModelGenerators.createGrassLikeBlock
(Block p_124600_, ResourceLocation p_124601_, Variant p_124602_) private static BlockStateGenerator
BlockModelGenerators.createMirroredColumnGenerator
(Block p_176180_, ResourceLocation p_176181_, TextureMapping p_176182_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_176183_) private static BlockStateGenerator
BlockModelGenerators.createMirroredCubeGenerator
(Block p_176110_, ResourceLocation p_176111_, TextureMapping p_176112_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_176113_) private static BlockStateGenerator
BlockModelGenerators.createNorthWestMirroredCubeGenerator
(Block p_236317_, ResourceLocation p_236318_, TextureMapping p_236319_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_236320_) private static BlockStateGenerator
BlockModelGenerators.createOrientableTrapdoor
(Block p_124889_, ResourceLocation p_124890_, ResourceLocation p_124891_, ResourceLocation p_124892_) private void
BlockModelGenerators.createPistonVariant
(Block p_124604_, ResourceLocation p_124605_, TextureMapping p_124606_) (package private) static BlockStateGenerator
BlockModelGenerators.createPressurePlate
(Block p_124942_, ResourceLocation p_124943_, ResourceLocation p_124944_) (package private) static BlockStateGenerator
BlockModelGenerators.createRotatedPillarWithHorizontalVariant
(Block p_124925_, ResourceLocation p_124926_, ResourceLocation p_124927_) private static MultiVariantGenerator
BlockModelGenerators.createRotatedVariant
(Block p_124832_, ResourceLocation p_124833_) private static MultiVariantGenerator
BlockModelGenerators.createRotatedVariant
(Block p_124863_, ResourceLocation p_124864_, ResourceLocation p_124865_) private static Variant[]
BlockModelGenerators.createRotatedVariants
(ResourceLocation p_124689_) (package private) static MultiVariantGenerator
BlockModelGenerators.createSimpleBlock
(Block p_124860_, ResourceLocation p_124861_) (package private) static BlockStateGenerator
BlockModelGenerators.createSlab
(Block p_124929_, ResourceLocation p_124930_, ResourceLocation p_124931_, ResourceLocation p_124932_) (package private) static BlockStateGenerator
BlockModelGenerators.createStairs
(Block p_124867_, ResourceLocation p_124868_, ResourceLocation p_124869_, ResourceLocation p_124870_) private static BlockStateGenerator
BlockModelGenerators.createTrapdoor
(Block p_124909_, ResourceLocation p_124910_, ResourceLocation p_124911_, ResourceLocation p_124912_) (package private) static BlockStateGenerator
BlockModelGenerators.createWall
(Block p_124839_, ResourceLocation p_124840_, ResourceLocation p_124841_, ResourceLocation p_124842_) private void
BlockModelGenerators.delegateItemModel
(Item p_124520_, ResourceLocation p_124521_) (package private) void
BlockModelGenerators.delegateItemModel
(Block p_124798_, ResourceLocation p_124799_) Modifier and TypeMethodDescriptionBlockModelGenerators.BlockStateGeneratorSupplier.create
(Block p_176278_, ResourceLocation p_176279_, TextureMapping p_176280_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_176281_) private static BlockStateGenerator
BlockModelGenerators.createMirroredColumnGenerator
(Block p_176180_, ResourceLocation p_176181_, TextureMapping p_176182_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_176183_) private static BlockStateGenerator
BlockModelGenerators.createMirroredCubeGenerator
(Block p_176110_, ResourceLocation p_176111_, TextureMapping p_176112_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_176113_) private static BlockStateGenerator
BlockModelGenerators.createNorthWestMirroredCubeGenerator
(Block p_236317_, ResourceLocation p_236318_, TextureMapping p_236319_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_236320_) (package private) static BlockStateGenerator
BlockModelGenerators.createPillarBlockUVLocked
(Block p_259670_, TextureMapping p_259852_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_259181_) private ResourceLocation
BlockModelGenerators.createSuffixedVariant
(Block p_124579_, String p_124580_, ModelTemplate p_124581_, Function<ResourceLocation, TextureMapping> p_124582_) BlockModelGenerators.wrapModels
(List<ResourceLocation> p_124683_, UnaryOperator<Variant> p_124684_) ModifierConstructorDescriptionBlockEntityModelGenerator
(ResourceLocation p_125020_, Block p_125021_) ModifierConstructorDescriptionBlockModelGenerators
(Consumer<BlockStateGenerator> p_124481_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_124482_, Consumer<Item> p_124483_) ItemModelGenerators
(BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125082_) -
Uses of ResourceLocation in net.minecraft.data.models.blockstates
Modifier and TypeFieldDescriptionstatic final VariantProperty<ResourceLocation>
VariantProperties.MODEL
-
Uses of ResourceLocation in net.minecraft.data.models.model
Modifier and TypeFieldDescriptionprivate final Optional<ResourceLocation>
ModelTemplate.model
private final Map<TextureSlot,
ResourceLocation> TextureMapping.slots
Modifier and TypeMethodDescriptionModelTemplate.create
(ResourceLocation p_125613_, TextureMapping p_125614_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125615_) ModelTemplate.create
(Block p_125593_, TextureMapping p_125594_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125595_) TexturedModel.create
(Block p_125938_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125939_) default ResourceLocation
TexturedModel.Provider.create
(Block p_125957_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125958_) ModelTemplate.createWithOverride
(Block p_125617_, String p_125618_, TextureMapping p_125619_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125620_) ModelTemplate.createWithSuffix
(Block p_125597_, String p_125598_, TextureMapping p_125599_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125600_) TexturedModel.createWithSuffix
(Block p_125934_, String p_125935_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125936_) default ResourceLocation
TexturedModel.Provider.createWithSuffix
(Block p_125953_, String p_125954_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125955_) static ResourceLocation
ModelLocationUtils.decorateBlockModelLocation
(String p_125582_) Deprecated.static ResourceLocation
ModelLocationUtils.decorateItemModelLocation
(String p_125584_) TextureMapping.get
(TextureSlot p_125757_) static ResourceLocation
TextureMapping.getBlockTexture
(Block p_125741_) static ResourceLocation
TextureMapping.getBlockTexture
(Block p_125754_, String p_125755_) static ResourceLocation
TextureMapping.getItemTexture
(Item p_125779_) static ResourceLocation
TextureMapping.getItemTexture
(Item p_125746_, String p_125747_) static ResourceLocation
ModelLocationUtils.getModelLocation
(Item p_125572_) static ResourceLocation
ModelLocationUtils.getModelLocation
(Item p_125574_, String p_125575_) static ResourceLocation
ModelLocationUtils.getModelLocation
(Block p_125577_) static ResourceLocation
ModelLocationUtils.getModelLocation
(Block p_125579_, String p_125580_) Modifier and TypeMethodDescriptionprivate Map<TextureSlot,
ResourceLocation> ModelTemplate.createMap
(TextureMapping p_125609_) Modifier and TypeMethodDescriptionstatic TextureMapping
TextureMapping.cauldron
(ResourceLocation p_176489_) static TextureMapping
TextureMapping.column
(ResourceLocation p_125764_, ResourceLocation p_125765_) TextureMapping.copyAndUpdate
(TextureSlot p_125786_, ResourceLocation p_125787_) ModelTemplate.create
(ResourceLocation p_125613_, TextureMapping p_125614_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125615_) static TexturedModel
TexturedModel.createAllSame
(ResourceLocation p_125950_) static TextureMapping
TextureMapping.crop
(ResourceLocation p_125809_) static TextureMapping
TextureMapping.cross
(ResourceLocation p_125789_) static TextureMapping
TextureMapping.cube
(ResourceLocation p_125777_) static TextureMapping
TextureMapping.defaultTexture
(ResourceLocation p_125762_) static TextureMapping
TextureMapping.door
(ResourceLocation p_176484_, ResourceLocation p_176485_) static TextureMapping
TextureMapping.layer0
(ResourceLocation p_125821_) static TextureMapping
TextureMapping.particle
(ResourceLocation p_125813_) static TextureMapping
TextureMapping.plant
(ResourceLocation p_125799_) TextureMapping.put
(TextureSlot p_125759_, ResourceLocation p_125760_) TextureMapping.putForced
(TextureSlot p_176481_, ResourceLocation p_176482_) static TextureMapping
TextureMapping.rail
(ResourceLocation p_125803_) static TextureMapping
TextureMapping.singleSlot
(TextureSlot p_125796_, ResourceLocation p_125797_) static TextureMapping
TextureMapping.torch
(ResourceLocation p_125817_) static TextureMapping
TextureMapping.wool
(ResourceLocation p_176487_) Modifier and TypeMethodDescriptionModelTemplate.create
(ResourceLocation p_125613_, TextureMapping p_125614_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125615_) ModelTemplate.create
(Block p_125593_, TextureMapping p_125594_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125595_) TexturedModel.create
(Block p_125938_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125939_) default ResourceLocation
TexturedModel.Provider.create
(Block p_125957_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125958_) ModelTemplate.createWithOverride
(Block p_125617_, String p_125618_, TextureMapping p_125619_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125620_) ModelTemplate.createWithSuffix
(Block p_125597_, String p_125598_, TextureMapping p_125599_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125600_) TexturedModel.createWithSuffix
(Block p_125934_, String p_125935_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125936_) default ResourceLocation
TexturedModel.Provider.createWithSuffix
(Block p_125953_, String p_125954_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_125955_) ModifierConstructorDescriptionModelTemplate
(Optional<ResourceLocation> p_125589_, Optional<String> p_125590_, TextureSlot... p_125591_) -
Uses of ResourceLocation in net.minecraft.data.recipes
Modifier and TypeFieldDescriptionprivate final ResourceLocation
ShapedRecipeBuilder.Result.advancementId
private final ResourceLocation
ShapelessRecipeBuilder.Result.advancementId
private final ResourceLocation
SimpleCookingRecipeBuilder.Result.advancementId
private final ResourceLocation
SingleItemRecipeBuilder.Result.advancementId
private final ResourceLocation
UpgradeRecipeBuilder.Result.advancementId
private final ResourceLocation
ShapedRecipeBuilder.Result.id
private final ResourceLocation
ShapelessRecipeBuilder.Result.id
private final ResourceLocation
SimpleCookingRecipeBuilder.Result.id
private final ResourceLocation
SingleItemRecipeBuilder.Result.id
private final ResourceLocation
UpgradeRecipeBuilder.Result.id
static final ResourceLocation
RecipeBuilder.ROOT_RECIPE_ADVANCEMENT
Modifier and TypeMethodDescriptionFinishedRecipe.getAdvancementId()
ShapedRecipeBuilder.Result.getAdvancementId()
ShapelessRecipeBuilder.Result.getAdvancementId()
SimpleCookingRecipeBuilder.Result.getAdvancementId()
SingleItemRecipeBuilder.Result.getAdvancementId()
UpgradeRecipeBuilder.Result.getAdvancementId()
static ResourceLocation
RecipeBuilder.getDefaultRecipeId
(ItemLike p_176494_) FinishedRecipe.getId()
ShapedRecipeBuilder.Result.getId()
ShapelessRecipeBuilder.Result.getId()
SimpleCookingRecipeBuilder.Result.getId()
SingleItemRecipeBuilder.Result.getId()
UpgradeRecipeBuilder.Result.getId()
Modifier and TypeMethodDescriptionprotected CompletableFuture<?>
RecipeProvider.buildAdvancement
(CachedOutput p_253674_, ResourceLocation p_254102_, Advancement.Builder p_253712_) private void
ShapedRecipeBuilder.ensureValid
(ResourceLocation p_126144_) private void
ShapelessRecipeBuilder.ensureValid
(ResourceLocation p_126208_) private void
SimpleCookingRecipeBuilder.ensureValid
(ResourceLocation p_126266_) private void
SingleItemRecipeBuilder.ensureValid
(ResourceLocation p_126330_) private void
UpgradeRecipeBuilder.ensureValid
(ResourceLocation p_126399_) void
RecipeBuilder.save
(Consumer<FinishedRecipe> p_176503_, ResourceLocation p_176504_) void
ShapedRecipeBuilder.save
(Consumer<FinishedRecipe> p_126141_, ResourceLocation p_126142_) void
ShapelessRecipeBuilder.save
(Consumer<FinishedRecipe> p_126205_, ResourceLocation p_126206_) void
SimpleCookingRecipeBuilder.save
(Consumer<FinishedRecipe> p_126263_, ResourceLocation p_126264_) void
SingleItemRecipeBuilder.save
(Consumer<FinishedRecipe> p_126327_, ResourceLocation p_126328_) void
UpgradeRecipeBuilder.save
(Consumer<FinishedRecipe> p_126396_, ResourceLocation p_126397_) ModifierConstructorDescriptionResult
(ResourceLocation p_249291_, Item p_250067_, int p_249914_, String p_250777_, CraftingBookCategory p_251016_, List<String> p_251191_, Map<Character, Ingredient> p_249552_, Advancement.Builder p_250121_, ResourceLocation p_250246_) Result
(ResourceLocation p_249007_, Item p_248667_, int p_249014_, String p_248592_, CraftingBookCategory p_249485_, List<Ingredient> p_252312_, Advancement.Builder p_249909_, ResourceLocation p_249109_) Result
(ResourceLocation p_252275_, String p_248665_, CookingBookCategory p_251944_, Ingredient p_249473_, Item p_252028_, float p_249206_, int p_251002_, Advancement.Builder p_249151_, ResourceLocation p_252090_, RecipeSerializer<? extends AbstractCookingRecipe> p_249537_) Result
(ResourceLocation p_126340_, RecipeSerializer<?> p_126341_, String p_126342_, Ingredient p_126343_, Item p_126344_, int p_126345_, Advancement.Builder p_126346_, ResourceLocation p_126347_) Result
(ResourceLocation p_126408_, RecipeSerializer<?> p_126409_, Ingredient p_126410_, Ingredient p_126411_, Item p_126412_, Advancement.Builder p_126413_, ResourceLocation p_126414_) -
Uses of ResourceLocation in net.minecraft.data.tags
Modifier and TypeFieldDescriptionprotected final Map<ResourceLocation,
TagBuilder> TagsProvider.builders
Modifier and TypeMethodDescriptionTagsProvider.TagAppender.addOptional
(ResourceLocation p_176840_) TagsProvider.TagAppender.addOptionalTag
(ResourceLocation p_176842_) protected @Nullable Path
TagsProvider.getPath
(ResourceLocation id) -
Uses of ResourceLocation in net.minecraft.network
Modifier and TypeMethodDescriptionFriendlyByteBuf.writeResourceLocation
(ResourceLocation p_130086_) -
Uses of ResourceLocation in net.minecraft.network.chat
Modifier and TypeFieldDescriptionstatic final ResourceLocation
Style.DEFAULT_FONT
(package private) final ResourceLocation
Style.font
Modifier and TypeMethodDescriptionStyle.getFont()
private static ResourceLocation
Style.Serializer.getFont
(com.google.gson.JsonObject p_131204_) ModifierConstructorDescription(package private)
Style
(TextColor p_131113_, Boolean p_131114_, Boolean p_131115_, Boolean p_131116_, Boolean p_131117_, Boolean p_131118_, ClickEvent p_131119_, HoverEvent p_131120_, String p_131121_, ResourceLocation p_131122_) -
Uses of ResourceLocation in net.minecraft.network.chat.contents
Modifier and TypeFieldDescriptionprivate final ResourceLocation
StorageDataSource.id
The field for theid
record component.Modifier and TypeMethodDescriptionStorageDataSource.id()
Returns the value of theid
record component.ModifierConstructorDescriptionCreates an instance of aStorageDataSource
record class. -
Uses of ResourceLocation in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionstatic final ResourceLocation
ClientboundCustomPayloadPacket.BRAND
static final ResourceLocation
ServerboundCustomPayloadPacket.BRAND
static final ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_BEE
static final ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_BRAIN
static final ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_GAME_EVENT
static final ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_GAME_EVENT_LISTENER
static final ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_GAME_TEST_ADD_MARKER
static final ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_GAME_TEST_CLEAR
static final ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_GOAL_SELECTOR
static final ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_HIVE
static final ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_NEIGHBORSUPDATE_PACKET
static final ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_PATHFINDING_PACKET
static final ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_POI_ADDED_PACKET
static final ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_POI_REMOVED_PACKET
static final ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_POI_TICKET_COUNT_PACKET
static final ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_RAIDS
static final ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_STRUCTURES_PACKET
static final ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_VILLAGE_SECTIONS
static final ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_WORLDGENATTEMPT_PACKET
private final ResourceLocation
ClientboundCustomPayloadPacket.identifier
private final ResourceLocation
ServerboundCustomPayloadPacket.identifier
private final ResourceLocation
ClientboundStopSoundPacket.name
private final ResourceLocation
ServerboundSetJigsawBlockPacket.name
private final ResourceLocation
ServerboundSetJigsawBlockPacket.pool
private final ResourceLocation
ClientboundPlaceGhostRecipePacket.recipe
private final ResourceLocation
ServerboundPlaceRecipePacket.recipe
private final ResourceLocation
ServerboundRecipeBookSeenRecipePacket.recipe
private final ResourceLocation
ClientboundCommandsPacket.ArgumentNodeStub.suggestionId
private final ResourceLocation
ClientboundSelectAdvancementsTabPacket.tab
private final ResourceLocation
ServerboundSeenAdvancementsPacket.tab
private final ResourceLocation
ServerboundSetJigsawBlockPacket.target
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
Advancement.Builder> ClientboundUpdateAdvancementsPacket.added
private final Set<ResourceLocation>
ClientboundUpdateEnabledFeaturesPacket.features
The field for thefeatures
record component.private final Map<ResourceLocation,
AdvancementProgress> ClientboundUpdateAdvancementsPacket.progress
private final List<ResourceLocation>
ClientboundRecipePacket.recipes
private final Set<ResourceLocation>
ClientboundUpdateAdvancementsPacket.removed
private final List<ResourceLocation>
ClientboundRecipePacket.toHighlight
Modifier and TypeMethodDescriptionClientboundCustomPayloadPacket.getIdentifier()
ServerboundCustomPayloadPacket.getIdentifier()
ClientboundCustomPayloadPacket.getName()
ClientboundStopSoundPacket.getName()
ServerboundCustomPayloadPacket.getName()
ServerboundSetJigsawBlockPacket.getName()
ServerboundSetJigsawBlockPacket.getPool()
ClientboundPlaceGhostRecipePacket.getRecipe()
ServerboundPlaceRecipePacket.getRecipe()
ServerboundRecipeBookSeenRecipePacket.getRecipe()
private static ResourceLocation
ClientboundCommandsPacket.ArgumentNodeStub.getSuggestionId
(com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> p_237654_) ClientboundSelectAdvancementsTabPacket.getTab()
ServerboundSeenAdvancementsPacket.getTab()
ServerboundSetJigsawBlockPacket.getTarget()
Modifier and TypeMethodDescriptionClientboundUpdateEnabledFeaturesPacket.features()
Returns the value of thefeatures
record component.ClientboundUpdateAdvancementsPacket.getAdded()
ClientboundRecipePacket.getHighlights()
ClientboundUpdateAdvancementsPacket.getProgress()
ClientboundRecipePacket.getRecipes()
ClientboundUpdateAdvancementsPacket.getRemoved()
Modifier and TypeMethodDescriptionprivate static void
DebugPackets.sendPacketToAllPlayers
(ServerLevel p_133692_, FriendlyByteBuf p_133693_, ResourceLocation p_133694_) ModifierConstructorDescription(package private)
ArgumentNodeStub
(String p_237650_, ArgumentTypeInfo.Template<?> p_237651_, ResourceLocation p_237652_) ClientboundCustomPayloadPacket
(ResourceLocation p_132034_, FriendlyByteBuf p_132035_) ClientboundStopSoundPacket
(ResourceLocation p_133468_, SoundSource p_133469_) ServerboundCustomPayloadPacket
(ResourceLocation p_133985_, FriendlyByteBuf p_133986_) ServerboundSeenAdvancementsPacket
(ServerboundSeenAdvancementsPacket.Action p_134434_, ResourceLocation p_134435_) ServerboundSetJigsawBlockPacket
(BlockPos p_134573_, ResourceLocation p_134574_, ResourceLocation p_134575_, ResourceLocation p_134576_, String p_134577_, JigsawBlockEntity.JointType p_134578_) ModifierConstructorDescriptionClientboundRecipePacket
(ClientboundRecipePacket.State p_132855_, Collection<ResourceLocation> p_132856_, Collection<ResourceLocation> p_132857_, RecipeBookSettings p_132858_) ClientboundUpdateAdvancementsPacket
(boolean p_133560_, Collection<Advancement> p_133561_, Set<ResourceLocation> p_133562_, Map<ResourceLocation, AdvancementProgress> p_133563_) ClientboundUpdateAdvancementsPacket
(boolean p_133560_, Collection<Advancement> p_133561_, Set<ResourceLocation> p_133562_, Map<ResourceLocation, AdvancementProgress> p_133563_) Creates an instance of aClientboundUpdateEnabledFeaturesPacket
record class. -
Uses of ResourceLocation in net.minecraft.network.protocol.login
Modifier and TypeFieldDescriptionprivate final ResourceLocation
ClientboundCustomQueryPacket.identifier
Modifier and TypeMethodDescriptionClientboundCustomQueryPacket.getIdentifier()
ClientboundCustomQueryPacket.getName()
ServerboundCustomQueryPacket.getName()
ModifierConstructorDescriptionClientboundCustomQueryPacket
(int p_179806_, ResourceLocation p_179807_, FriendlyByteBuf p_179808_) -
Uses of ResourceLocation in net.minecraft.resources
Modifier and TypeFieldDescriptionprivate final ResourceLocation
ResourceKey.InternKey.location
The field for thelocation
record component.private final ResourceLocation
ResourceKey.location
private final ResourceLocation
ResourceKey.InternKey.registry
The field for theregistry
record component.private final ResourceLocation
ResourceKey.registryName
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ResourceLocation>
ResourceLocation.CODEC
Modifier and TypeMethodDescriptionResourceLocation.Serializer.deserialize
(com.google.gson.JsonElement p_135851_, Type p_135852_, com.google.gson.JsonDeserializationContext p_135853_) FileToIdConverter.fileToId
(ResourceLocation p_249595_) FileToIdConverter.idToFile
(ResourceLocation p_251878_) ResourceKey.InternKey.location()
Returns the value of thelocation
record component.ResourceKey.location()
static ResourceLocation
static ResourceLocation
ResourceLocation.read
(com.mojang.brigadier.StringReader p_135819_) ResourceKey.InternKey.registry()
Returns the value of theregistry
record component.ResourceKey.registry()
static ResourceLocation
static ResourceLocation
ResourceLocation.withPath
(UnaryOperator<String> p_250342_) ResourceLocation.withPrefix
(String p_250620_) Modifier and TypeMethodDescriptionFileToIdConverter.listMatchingResources
(ResourceManager p_252045_) FileToIdConverter.listMatchingResourceStacks
(ResourceManager p_249881_) static com.mojang.serialization.DataResult<ResourceLocation>
Modifier and TypeMethodDescriptionint
ResourceLocation.compareNamespaced
(ResourceLocation o) int
ResourceLocation.compareTo
(ResourceLocation p_135826_) static <T> ResourceKey<T>
ResourceKey.create
(ResourceKey<? extends Registry<T>> p_135786_, ResourceLocation p_135787_) private static <T> ResourceKey<T>
ResourceKey.create
(ResourceLocation p_135791_, ResourceLocation p_135792_) static <T> ResourceKey<Registry<T>>
ResourceKey.createRegistryKey
(ResourceLocation p_135789_) FileToIdConverter.fileToId
(ResourceLocation p_249595_) FileToIdConverter.idToFile
(ResourceLocation p_251878_) private static String
RegistryDataLoader.registryDirPath
(ResourceLocation p_252033_) com.google.gson.JsonElement
ResourceLocation.Serializer.serialize
(ResourceLocation p_135855_, Type p_135856_, com.google.gson.JsonSerializationContext p_135857_) ModifierConstructorDescription(package private)
InternKey
(ResourceLocation registry, ResourceLocation location) Creates an instance of aInternKey
record class.private
ResourceKey
(ResourceLocation p_135780_, ResourceLocation p_135781_) -
Uses of ResourceLocation in net.minecraft.server
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
ServerFunctionManager.LOAD_FUNCTION_TAG
private static final ResourceLocation
ServerFunctionManager.TICK_FUNCTION_TAG
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,
CommandFunction> ServerFunctionLibrary.functions
private Map<ResourceLocation,
Collection<CommandFunction>> ServerFunctionLibrary.tags
private static final com.google.gson.reflect.TypeToken<Map<ResourceLocation,
AdvancementProgress>> PlayerAdvancements.TYPE_TOKEN
Modifier and TypeMethodDescriptionServerFunctionLibrary.getAvailableTags()
ServerFunctionManager.getFunctionNames()
ServerFunctionLibrary.getFunctions()
ServerFunctionManager.getTagNames()
Modifier and TypeMethodDescriptionprivate void
ServerFunctionManager.executeTagFunctions
(Collection<CommandFunction> p_136116_, ResourceLocation p_136117_) ServerFunctionManager.get
(ResourceLocation p_136119_) ServerAdvancementManager.getAdvancement
(ResourceLocation p_136042_) ServerFunctionLibrary.getFunction
(ResourceLocation p_136090_) ServerFunctionLibrary.getTag
(ResourceLocation p_214328_) ServerFunctionManager.getTag
(ResourceLocation p_214332_) void
ServerFunctionManager.TraceCallbacks.onCall
(int p_179995_, ResourceLocation p_179996_, int p_179997_) Modifier and TypeMethodDescriptionprotected void
ServerAdvancementManager.apply
(Map<ResourceLocation, com.google.gson.JsonElement> p_136034_, ResourceManager p_136035_, ProfilerFiller p_136036_) -
Uses of ResourceLocation in net.minecraft.server.bossevents
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
CustomBossEvent> CustomBossEvents.events
Modifier and TypeMethodDescriptionCustomBossEvents.create
(ResourceLocation p_136300_, Component p_136301_) CustomBossEvents.get
(ResourceLocation p_136298_) static CustomBossEvent
CustomBossEvent.load
(CompoundTag p_136273_, ResourceLocation p_136274_) -
Uses of ResourceLocation in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static void
LootCommand.callback
(CommandSourceStack p_137969_, List<ItemStack> p_137970_, ResourceLocation p_137971_) private static int
BossBarCommands.createBar
(CommandSourceStack p_136592_, ResourceLocation p_136593_, Component p_136594_) private static int
LootCommand.drop
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137922_, ResourceLocation p_137923_, LootContext p_137924_, LootCommand.DropConsumer p_137925_) private static int
LootCommand.dropChestLoot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137933_, ResourceLocation p_137934_, LootCommand.DropConsumer p_137935_) private static int
LootCommand.dropFishingLoot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137927_, ResourceLocation p_137928_, BlockPos p_137929_, ItemStack p_137930_, LootCommand.DropConsumer p_137931_) void
DebugCommand.Tracer.onCall
(int p_180091_, ResourceLocation p_180092_, int p_180093_) static int
PlaceCommand.placeJigsaw
(CommandSourceStack p_214570_, Holder<StructureTemplatePool> p_214571_, ResourceLocation p_214572_, int p_214573_, BlockPos p_214574_) static int
PlaceCommand.placeTemplate
(CommandSourceStack p_214562_, ResourceLocation p_214563_, BlockPos p_214564_, Rotation p_214565_, Mirror p_214566_, float p_214567_, int p_214568_) private static int
PlaySoundCommand.playSound
(CommandSourceStack p_138161_, Collection<ServerPlayer> p_138162_, ResourceLocation p_138163_, SoundSource p_138164_, Vec3 p_138165_, float p_138166_, float p_138167_, float p_138168_) private static int
StopSoundCommand.stopSound
(CommandSourceStack p_138801_, Collection<ServerPlayer> p_138802_, SoundSource p_138803_, ResourceLocation p_138804_) Modifier and TypeMethodDescriptionprivate static int
ScheduleCommand.schedule
(CommandSourceStack p_138429_, com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction, Collection<CommandFunction>>> p_138430_, int p_138431_, boolean p_138432_) -
Uses of ResourceLocation in net.minecraft.server.commands.data
ModifierConstructorDescription(package private)
StorageDataAccessor
(CommandStorage p_139537_, ResourceLocation p_139538_) -
Uses of ResourceLocation in net.minecraft.server.level
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
WorldGenRegion.WORLDGEN_REGION_RANDOM
Modifier and TypeMethodDescriptionvoid
ServerPlayer.awardRecipesByKey
(ResourceLocation[] p_9168_) -
Uses of ResourceLocation in net.minecraft.server.packs
Modifier and TypeMethodDescriptionprivate static String
FilePackResources.getPathFromLocation
(PackType p_250585_, ResourceLocation p_251470_) FilePackResources.getResource
(PackType p_249605_, ResourceLocation p_252147_) PackResources.getResource
(PackType p_215339_, ResourceLocation p_249034_) static IoSupplier<InputStream>
PathPackResources.getResource
(ResourceLocation p_250145_, Path p_251046_) PathPackResources.getResource
(PackType p_249352_, ResourceLocation p_251715_) VanillaPackResources.getResource
(PackType p_250512_, ResourceLocation p_251554_) void
VanillaPackResources.listRawPaths
(PackType p_252103_, ResourceLocation p_250441_, Consumer<Path> p_251968_) -
Uses of ResourceLocation in net.minecraft.server.packs.repository
Modifier and TypeFieldDescriptionprivate final ResourceLocation
BuiltInPackSource.packDir
private static final ResourceLocation
ServerPacksSource.PACKS_DIR
ModifierConstructorDescriptionBuiltInPackSource
(PackType p_249137_, VanillaPackResources p_250453_, ResourceLocation p_251151_) -
Uses of ResourceLocation in net.minecraft.server.packs.resources
Modifier and TypeFieldDescriptionprivate final ResourceLocation
FallbackResourceManager.EntryStack.fileLocation
The field for thefileLocation
record component.private final ResourceLocation
FallbackResourceManager.EntryStack.metadataLocation
The field for themetadataLocation
record component.Modifier and TypeFieldDescriptionprivate final Predicate<ResourceLocation>
FallbackResourceManager.PackEntry.filter
The field for thefilter
record component.Modifier and TypeMethodDescriptionFallbackResourceManager.EntryStack.fileLocation()
Returns the value of thefileLocation
record component.(package private) static ResourceLocation
FallbackResourceManager.getMetadataLocation
(ResourceLocation p_10625_) protected ResourceLocation
SimpleJsonResourceReloadListener.getPreparedPath
(ResourceLocation rl) private static ResourceLocation
FallbackResourceManager.getResourceLocationFromMetadata
(ResourceLocation p_249669_) FallbackResourceManager.EntryStack.metadataLocation()
Returns the value of themetadataLocation
record component.Modifier and TypeMethodDescriptionFallbackResourceManager.PackEntry.filter()
Returns the value of thefilter
record component.FallbackResourceManager.listResources
(String p_215413_, Predicate<ResourceLocation> p_215414_) MultiPackResourceManager.listResources
(String p_215476_, Predicate<ResourceLocation> p_215477_) ReloadableResourceManager.listResources
(String p_215488_, Predicate<ResourceLocation> p_215489_) ResourceManager.Empty.listResources
(String p_215570_, Predicate<ResourceLocation> p_215571_) ResourceManager.listResources
(String p_215563_, Predicate<ResourceLocation> p_215564_) FallbackResourceManager.listResourceStacks
(String p_215416_, Predicate<ResourceLocation> p_215417_) MultiPackResourceManager.listResourceStacks
(String p_215479_, Predicate<ResourceLocation> p_215480_) ReloadableResourceManager.listResourceStacks
(String p_215491_, Predicate<ResourceLocation> p_215492_) ResourceManager.Empty.listResourceStacks
(String p_215573_, Predicate<ResourceLocation> p_215574_) ResourceManager.listResourceStacks
(String p_215565_, Predicate<ResourceLocation> p_215566_) protected Map<ResourceLocation,
com.google.gson.JsonElement> SimpleJsonResourceReloadListener.prepare
(ResourceManager p_10771_, ProfilerFiller p_10772_) Modifier and TypeMethodDescriptionprivate static Resource
FallbackResourceManager.createResource
(PackResources p_249946_, ResourceLocation p_250632_, IoSupplier<InputStream> p_250514_, IoSupplier<ResourceMetadata> p_251676_) private IoSupplier<ResourceMetadata>
FallbackResourceManager.createStackMetadataFinder
(ResourceLocation p_215369_, int p_215370_) (package private) static ResourceLocation
FallbackResourceManager.getMetadataLocation
(ResourceLocation p_10625_) protected ResourceLocation
SimpleJsonResourceReloadListener.getPreparedPath
(ResourceLocation rl) FallbackResourceManager.getResource
(ResourceLocation p_215419_) MultiPackResourceManager.getResource
(ResourceLocation p_215482_) ReloadableResourceManager.getResource
(ResourceLocation p_215494_) ResourceManager.Empty.getResource
(ResourceLocation p_215576_) ResourceProvider.getResource
(ResourceLocation p_215592_) private static ResourceLocation
FallbackResourceManager.getResourceLocationFromMetadata
(ResourceLocation p_249669_) default Resource
ResourceProvider.getResourceOrThrow
(ResourceLocation p_215594_) FallbackResourceManager.getResourceStack
(ResourceLocation p_215367_) MultiPackResourceManager.getResourceStack
(ResourceLocation p_215466_) ReloadableResourceManager.getResourceStack
(ResourceLocation p_215486_) ResourceManager.Empty.getResourceStack
(ResourceLocation p_215568_) ResourceManager.getResourceStack
(ResourceLocation p_215562_) boolean
FallbackResourceManager.PackEntry.isFiltered
(ResourceLocation p_215441_) private static boolean
FallbackResourceManager.isMetadata
(ResourceLocation p_249381_) default InputStream
ResourceProvider.open
(ResourceLocation p_215596_) default BufferedReader
ResourceProvider.openAsReader
(ResourceLocation p_215598_) private static IoSupplier<InputStream>
FallbackResourceManager.wrapForDebug
(ResourceLocation p_248639_, PackResources p_251740_, IoSupplier<InputStream> p_249116_) Modifier and TypeMethodDescriptionprivate static void
FallbackResourceManager.applyPackFiltersToExistingResources
(FallbackResourceManager.PackEntry p_215393_, Map<ResourceLocation, FallbackResourceManager.EntryStack> p_215394_) void
FallbackResourceManager.PackEntry.filterAll
(Collection<ResourceLocation> p_215443_) static ResourceProvider
ResourceProvider.fromMap
(Map<ResourceLocation, Resource> p_251819_) private void
FallbackResourceManager.listPackResources
(FallbackResourceManager.PackEntry p_215388_, String p_215389_, Predicate<ResourceLocation> p_215390_, Map<ResourceLocation, FallbackResourceManager.EntryStack> p_215391_) private void
FallbackResourceManager.listPackResources
(FallbackResourceManager.PackEntry p_215388_, String p_215389_, Predicate<ResourceLocation> p_215390_, Map<ResourceLocation, FallbackResourceManager.EntryStack> p_215391_) FallbackResourceManager.listResources
(String p_215413_, Predicate<ResourceLocation> p_215414_) MultiPackResourceManager.listResources
(String p_215476_, Predicate<ResourceLocation> p_215477_) ReloadableResourceManager.listResources
(String p_215488_, Predicate<ResourceLocation> p_215489_) ResourceManager.Empty.listResources
(String p_215570_, Predicate<ResourceLocation> p_215571_) ResourceManager.listResources
(String p_215563_, Predicate<ResourceLocation> p_215564_) FallbackResourceManager.listResourceStacks
(String p_215416_, Predicate<ResourceLocation> p_215417_) MultiPackResourceManager.listResourceStacks
(String p_215479_, Predicate<ResourceLocation> p_215480_) ReloadableResourceManager.listResourceStacks
(String p_215491_, Predicate<ResourceLocation> p_215492_) ResourceManager.Empty.listResourceStacks
(String p_215573_, Predicate<ResourceLocation> p_215574_) ResourceManager.listResourceStacks
(String p_215565_, Predicate<ResourceLocation> p_215566_) void
FallbackResourceManager.push
(PackResources p_215383_, Predicate<ResourceLocation> p_215384_) void
FallbackResourceManager.pushFilterOnly
(String p_215400_, Predicate<ResourceLocation> p_215401_) private void
FallbackResourceManager.pushInternal
(String p_215396_, PackResources p_215397_, Predicate<ResourceLocation> p_215398_) ModifierConstructorDescription(package private)
EntryStack
(ResourceLocation p_251350_) (package private)
EntryStack
(ResourceLocation fileLocation, ResourceLocation metadataLocation, List<FallbackResourceManager.ResourceWithSource> fileSources, Map<PackResources, IoSupplier<InputStream>> metaSources) Creates an instance of aEntryStack
record class.LeakedResourceWarningInputStream
(InputStream p_10633_, ResourceLocation p_10634_, String p_10635_) ModifierConstructorDescription(package private)
PackEntry
(String name, PackResources resources, Predicate<ResourceLocation> filter) Creates an instance of aPackEntry
record class. -
Uses of ResourceLocation in net.minecraft.sounds
Modifier and TypeMethodDescriptionprivate static SoundEvent
SoundEvent.create
(ResourceLocation p_263406_, Optional<Float> p_263346_) static SoundEvent
SoundEvent.createFixedRangeEvent
(ResourceLocation p_263003_, float p_263029_) static SoundEvent
SoundEvent.createVariableRangeEvent
(ResourceLocation p_262973_) private static SoundEvent
SoundEvents.register
(ResourceLocation p_263332_) private static SoundEvent
SoundEvents.register
(ResourceLocation p_263388_, ResourceLocation p_263340_) private static Holder<SoundEvent>
SoundEvents.register
(ResourceLocation p_263323_, ResourceLocation p_263411_, float p_263385_) private static Holder.Reference<SoundEvent>
SoundEvents.registerForHolder
(ResourceLocation p_263361_) private static Holder.Reference<SoundEvent>
SoundEvents.registerForHolder
(ResourceLocation p_263362_, ResourceLocation p_263424_) ModifierConstructorDescriptionprivate
SoundEvent
(ResourceLocation p_215665_, float p_215666_, boolean p_215667_) -
Uses of ResourceLocation in net.minecraft.stats
Modifier and TypeFieldDescriptionstatic final ResourceLocation
Stats.ANIMALS_BRED
static final ResourceLocation
Stats.AVIATE_ONE_CM
static final ResourceLocation
Stats.BELL_RING
static final ResourceLocation
Stats.BOAT_ONE_CM
static final ResourceLocation
Stats.CLEAN_ARMOR
static final ResourceLocation
Stats.CLEAN_BANNER
static final ResourceLocation
Stats.CLEAN_SHULKER_BOX
static final ResourceLocation
Stats.CLIMB_ONE_CM
static final ResourceLocation
Stats.CROUCH_ONE_CM
static final ResourceLocation
Stats.CROUCH_TIME
static final ResourceLocation
Stats.DAMAGE_ABSORBED
static final ResourceLocation
Stats.DAMAGE_BLOCKED_BY_SHIELD
static final ResourceLocation
Stats.DAMAGE_DEALT
static final ResourceLocation
Stats.DAMAGE_DEALT_ABSORBED
static final ResourceLocation
Stats.DAMAGE_DEALT_RESISTED
static final ResourceLocation
Stats.DAMAGE_RESISTED
static final ResourceLocation
Stats.DAMAGE_TAKEN
static final ResourceLocation
Stats.DEATHS
static final ResourceLocation
Stats.DROP
static final ResourceLocation
Stats.EAT_CAKE_SLICE
static final ResourceLocation
Stats.ENCHANT_ITEM
static final ResourceLocation
Stats.FALL_ONE_CM
static final ResourceLocation
Stats.FILL_CAULDRON
static final ResourceLocation
Stats.FISH_CAUGHT
static final ResourceLocation
Stats.FLY_ONE_CM
static final ResourceLocation
Stats.HORSE_ONE_CM
static final ResourceLocation
Stats.INSPECT_DISPENSER
static final ResourceLocation
Stats.INSPECT_DROPPER
static final ResourceLocation
Stats.INSPECT_HOPPER
static final ResourceLocation
Stats.INTERACT_WITH_ANVIL
static final ResourceLocation
Stats.INTERACT_WITH_BEACON
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
Stats.INTERACT_WITH_CAMPFIRE
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
Stats.INTERACT_WITH_FURNACE
static final ResourceLocation
Stats.INTERACT_WITH_GRINDSTONE
static final ResourceLocation
Stats.INTERACT_WITH_LECTERN
static final ResourceLocation
Stats.INTERACT_WITH_LOOM
static final ResourceLocation
static final ResourceLocation
Stats.INTERACT_WITH_SMOKER
static final ResourceLocation
static final ResourceLocation
Stats.JUMP
static final ResourceLocation
Stats.LEAVE_GAME
static final ResourceLocation
Stats.MINECART_ONE_CM
static final ResourceLocation
Stats.MOB_KILLS
static final ResourceLocation
Stats.OPEN_BARREL
static final ResourceLocation
Stats.OPEN_CHEST
static final ResourceLocation
Stats.OPEN_ENDERCHEST
static final ResourceLocation
Stats.OPEN_SHULKER_BOX
static final ResourceLocation
Stats.PIG_ONE_CM
static final ResourceLocation
Stats.PLAY_NOTEBLOCK
static final ResourceLocation
Stats.PLAY_RECORD
static final ResourceLocation
Stats.PLAY_TIME
static final ResourceLocation
Stats.PLAYER_KILLS
static final ResourceLocation
Stats.POT_FLOWER
static final ResourceLocation
Stats.RAID_TRIGGER
static final ResourceLocation
Stats.RAID_WIN
static final ResourceLocation
Stats.SLEEP_IN_BED
static final ResourceLocation
Stats.SPRINT_ONE_CM
static final ResourceLocation
Stats.STRIDER_ONE_CM
static final ResourceLocation
Stats.SWIM_ONE_CM
static final ResourceLocation
Stats.TALKED_TO_VILLAGER
static final ResourceLocation
Stats.TARGET_HIT
static final ResourceLocation
Stats.TIME_SINCE_DEATH
static final ResourceLocation
Stats.TIME_SINCE_REST
static final ResourceLocation
Stats.TOTAL_WORLD_TIME
static final ResourceLocation
Stats.TRADED_WITH_VILLAGER
static final ResourceLocation
Stats.TRIGGER_TRAPPED_CHEST
static final ResourceLocation
Stats.TUNE_NOTEBLOCK
static final ResourceLocation
Stats.USE_CAULDRON
static final ResourceLocation
Stats.WALK_ON_WATER_ONE_CM
static final ResourceLocation
Stats.WALK_ONE_CM
static final ResourceLocation
Stats.WALK_UNDER_WATER_ONE_CM
Modifier and TypeFieldDescriptionstatic final StatType<ResourceLocation>
Stats.CUSTOM
protected final Set<ResourceLocation>
RecipeBook.highlight
protected final Set<ResourceLocation>
RecipeBook.known
Modifier and TypeMethodDescriptionprivate static <T> ResourceLocation
private static ResourceLocation
Stats.makeCustomStat
(String p_13008_, StatFormatter p_13009_) Modifier and TypeMethodDescriptionprotected void
RecipeBook.add
(ResourceLocation p_12703_) protected void
RecipeBook.addHighlight
(ResourceLocation p_12720_) boolean
RecipeBook.contains
(ResourceLocation p_12712_) private static <T> String
Stat.locationToKey
(ResourceLocation p_12866_) protected void
RecipeBook.remove
(ResourceLocation p_12716_) Modifier and TypeMethodDescriptionprivate void
ServerRecipeBook.sendRecipes
(ClientboundRecipePacket.State p_12802_, ServerPlayer p_12803_, List<ResourceLocation> p_12804_) -
Uses of ResourceLocation in net.minecraft.tags
Modifier and TypeFieldDescriptionprivate final ResourceLocation
TagEntry.id
private final ResourceLocation
TagKey.location
The field for thelocation
record component.Modifier and TypeFieldDescription(package private) final Function<ResourceLocation,
Optional<? extends T>> TagLoader.idToValue
private final Map<ResourceLocation,
Collection<Holder<T>>> TagManager.LoadResult.tags
The field for thetags
record component.(package private) final Map<ResourceLocation,
it.unimi.dsi.fastutil.ints.IntList> TagNetworkSerialization.NetworkPayload.tags
Modifier and TypeMethodDescriptionTagEntry.getId()
TagKey.location()
Returns the value of thelocation
record component.Modifier and TypeMethodDescriptionTagLoader.build
(Map<ResourceLocation, List<TagLoader.EntryWithSource>> p_203899_) TagLoader.load
(ResourceManager p_144496_) TagLoader.loadAndBuild
(ResourceManager p_203901_) TagManager.LoadResult.tags()
Returns the value of thetags
record component.Modifier and TypeMethodDescriptionprivate static void
TagLoader.addDependencyIfNotCyclic
(com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> p_144551_, ResourceLocation p_144552_, ResourceLocation p_144553_) TagBuilder.addElement
(ResourceLocation p_215901_) TagBuilder.addOptionalElement
(ResourceLocation p_215906_) TagBuilder.addOptionalTag
(ResourceLocation p_215910_) TagBuilder.addTag
(ResourceLocation p_215908_) BlockTags.create
(ResourceLocation name) FluidTags.create
(ResourceLocation name) ItemTags.create
(ResourceLocation name) static <T> TagKey<T>
TagKey.create
(ResourceKey<? extends Registry<T>> p_203883_, ResourceLocation p_203884_) static TagEntry
TagEntry.element
(ResourceLocation p_215926_) TagEntry.Lookup.element
(ResourceLocation p_215956_) private static boolean
TagLoader.isCyclic
(com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> p_144502_, ResourceLocation p_144503_, ResourceLocation p_144504_) static TagEntry
TagEntry.optionalElement
(ResourceLocation p_215944_) static TagEntry
TagEntry.optionalTag
(ResourceLocation p_215954_) TagEntry.Lookup.tag
(ResourceLocation p_215957_) static TagEntry
TagEntry.tag
(ResourceLocation p_215950_) private static void
TagLoader.visitDependenciesAndElement
(Map<ResourceLocation, List<TagLoader.EntryWithSource>> p_144524_, com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> p_144525_, Set<ResourceLocation> p_144526_, ResourceLocation p_144527_, BiConsumer<ResourceLocation, List<TagLoader.EntryWithSource>> p_144528_) Modifier and TypeMethodDescriptionprivate static void
TagLoader.addDependencyIfNotCyclic
(com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> p_144551_, ResourceLocation p_144552_, ResourceLocation p_144553_) private static void
TagLoader.addDependencyIfNotCyclic
(com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> p_144551_, ResourceLocation p_144552_, ResourceLocation p_144553_) TagLoader.build
(Map<ResourceLocation, List<TagLoader.EntryWithSource>> p_203899_) private static boolean
TagLoader.isCyclic
(com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> p_144502_, ResourceLocation p_144503_, ResourceLocation p_144504_) private static boolean
TagLoader.isCyclic
(com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> p_144502_, ResourceLocation p_144503_, ResourceLocation p_144504_) boolean
TagEntry.verifyIfPresent
(Predicate<ResourceLocation> p_215941_, Predicate<ResourceLocation> p_215942_) private static void
TagLoader.visitDependenciesAndElement
(Map<ResourceLocation, List<TagLoader.EntryWithSource>> p_144524_, com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> p_144525_, Set<ResourceLocation> p_144526_, ResourceLocation p_144527_, BiConsumer<ResourceLocation, List<TagLoader.EntryWithSource>> p_144528_) private static void
TagLoader.visitDependenciesAndElement
(Map<ResourceLocation, List<TagLoader.EntryWithSource>> p_144524_, com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> p_144525_, Set<ResourceLocation> p_144526_, ResourceLocation p_144527_, BiConsumer<ResourceLocation, List<TagLoader.EntryWithSource>> p_144528_) private static void
TagLoader.visitDependenciesAndElement
(Map<ResourceLocation, List<TagLoader.EntryWithSource>> p_144524_, com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> p_144525_, Set<ResourceLocation> p_144526_, ResourceLocation p_144527_, BiConsumer<ResourceLocation, List<TagLoader.EntryWithSource>> p_144528_) private static void
TagLoader.visitDependenciesAndElement
(Map<ResourceLocation, List<TagLoader.EntryWithSource>> p_144524_, com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> p_144525_, Set<ResourceLocation> p_144526_, ResourceLocation p_144527_, BiConsumer<ResourceLocation, List<TagLoader.EntryWithSource>> p_144528_) private static void
TagLoader.visitDependenciesAndElement
(Map<ResourceLocation, List<TagLoader.EntryWithSource>> p_144524_, com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> p_144525_, Set<ResourceLocation> p_144526_, ResourceLocation p_144527_, BiConsumer<ResourceLocation, List<TagLoader.EntryWithSource>> p_144528_) void
TagEntry.visitOptionalDependencies
(Consumer<ResourceLocation> p_215948_) void
TagEntry.visitRequiredDependencies
(Consumer<ResourceLocation> p_215939_) ModifierConstructorDescriptionprivate
TagEntry
(ResourceLocation p_215918_, boolean p_215919_, boolean p_215920_) TagKey
(ResourceKey<? extends Registry<T>> registry, ResourceLocation location) Creates an instance of aTagKey
record class.ModifierConstructorDescriptionLoadResult
(ResourceKey<? extends Registry<T>> key, Map<ResourceLocation, Collection<Holder<T>>> tags) Creates an instance of aLoadResult
record class.(package private)
NetworkPayload
(Map<ResourceLocation, it.unimi.dsi.fastutil.ints.IntList> p_203965_) -
Uses of ResourceLocation in net.minecraft.util
Modifier and TypeFieldDescriptionprivate final ResourceLocation
ExtraCodecs.TagOrElementLocation.id
The field for theid
record component.Modifier and TypeFieldDescriptionprivate final Predicate<ResourceLocation>
ResourceLocationPattern.locationPredicate
Modifier and TypeMethodDescriptionExtraCodecs.TagOrElementLocation.id()
Returns the value of theid
record component.ModifierConstructorDescriptionTagOrElementLocation
(ResourceLocation id, boolean tag) Creates an instance of aTagOrElementLocation
record class. -
Uses of ResourceLocation in net.minecraft.world.entity
Modifier and TypeFieldDescriptionprivate ResourceLocation
EntityType.lootTable
private ResourceLocation
Mob.lootTable
Modifier and TypeMethodDescriptionEntityType.getDefaultLootTable()
protected ResourceLocation
Mob.getDefaultLootTable()
static ResourceLocation
EntityType.getKey
(EntityType<?> p_20614_) LivingEntity.getLootTable()
final ResourceLocation
Mob.getLootTable()
-
Uses of ResourceLocation in net.minecraft.world.entity.ai.behavior
Modifier and TypeFieldDescriptionprivate static final Map<VillagerProfession,
ResourceLocation> GiveGiftToHero.GIFTS
-
Uses of ResourceLocation in net.minecraft.world.entity.animal
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
Rabbit.KILLER_BUNNY
private final ResourceLocation
CatVariant.texture
The field for thetexture
record component.private final ResourceLocation
FrogVariant.texture
The field for thetexture
record component.Modifier and TypeMethodDescriptionSheep.getDefaultLootTable()
Cat.getResourceLocation()
CatVariant.texture()
Returns the value of thetexture
record component.FrogVariant.texture()
Returns the value of thetexture
record component.ModifierConstructorDescriptionCatVariant
(ResourceLocation texture) Creates an instance of aCatVariant
record class.FrogVariant
(ResourceLocation texture) Creates an instance of aFrogVariant
record class. -
Uses of ResourceLocation in net.minecraft.world.entity.player
Modifier and TypeMethodDescriptionvoid
Player.awardRecipesByKey
(ResourceLocation[] p_36228_) void
Player.awardStat
(ResourceLocation p_36221_) void
Player.awardStat
(ResourceLocation p_36223_, int p_36224_) -
Uses of ResourceLocation in net.minecraft.world.entity.vehicle
Modifier and TypeFieldDescriptionprivate ResourceLocation
AbstractMinecartContainer.lootTable
private ResourceLocation
ChestBoat.lootTable
Modifier and TypeMethodDescriptionAbstractMinecartContainer.getLootTable()
ChestBoat.getLootTable()
ContainerEntity.getLootTable()
Modifier and TypeMethodDescriptionvoid
AbstractMinecartContainer.setLootTable
(ResourceLocation p_219859_) void
AbstractMinecartContainer.setLootTable
(ResourceLocation p_38237_, long p_38238_) void
ChestBoat.setLootTable
(ResourceLocation p_219890_) void
ContainerEntity.setLootTable
(ResourceLocation p_219926_) -
Uses of ResourceLocation in net.minecraft.world.flag
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
FeatureFlag> FeatureFlagRegistry.Builder.flags
private final Map<ResourceLocation,
FeatureFlag> FeatureFlagRegistry.names
Modifier and TypeMethodDescriptionFeatureFlagRegistry.fromNames
(Iterable<ResourceLocation> p_250759_) FeatureFlagRegistry.fromNames
(Iterable<ResourceLocation> p_251769_, Consumer<ResourceLocation> p_251521_) FeatureFlagRegistry.fromNames
(Iterable<ResourceLocation> p_251769_, Consumer<ResourceLocation> p_251521_) ModifierConstructorDescription(package private)
FeatureFlagRegistry
(FeatureFlagUniverse p_249715_, FeatureFlagSet p_249277_, Map<ResourceLocation, FeatureFlag> p_249557_) -
Uses of ResourceLocation in net.minecraft.world.inventory
Modifier and TypeFieldDescriptionstatic final ResourceLocation
InventoryMenu.BLOCK_ATLAS
static final ResourceLocation
InventoryMenu.EMPTY_ARMOR_SLOT_BOOTS
static final ResourceLocation
InventoryMenu.EMPTY_ARMOR_SLOT_CHESTPLATE
static final ResourceLocation
InventoryMenu.EMPTY_ARMOR_SLOT_HELMET
static final ResourceLocation
InventoryMenu.EMPTY_ARMOR_SLOT_LEGGINGS
static final ResourceLocation
InventoryMenu.EMPTY_ARMOR_SLOT_SHIELD
(package private) static final ResourceLocation[]
InventoryMenu.TEXTURE_EMPTY_SLOTS
Modifier and TypeFieldDescriptionprivate com.mojang.datafixers.util.Pair<ResourceLocation,
ResourceLocation> Slot.backgroundPair
private com.mojang.datafixers.util.Pair<ResourceLocation,
ResourceLocation> Slot.backgroundPair
Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<ResourceLocation,
ResourceLocation> Slot.getNoItemIcon()
com.mojang.datafixers.util.Pair<ResourceLocation,
ResourceLocation> Slot.getNoItemIcon()
Modifier and TypeMethodDescriptionSlot.setBackground
(ResourceLocation atlas, ResourceLocation sprite) Sets the background atlas and sprite location. -
Uses of ResourceLocation in net.minecraft.world.item
Modifier and TypeFieldDescriptionprivate ResourceLocation
CreativeModeTab.backgroundLocation
private ResourceLocation
CreativeModeTab.Builder.backgroundLocation
private static final ResourceLocation
CreativeModeTab.Builder.CREATIVE_INVENTORY_TABS_IMAGE
private ResourceLocation
CreativeModeTab.Builder.tabsImage
private final ResourceLocation
CreativeModeTab.tabsImage
private final ResourceLocation
HorseArmorItem.texture
Modifier and TypeMethodDescriptionCreativeModeTab.getBackgroundLocation()
CreativeModeTab.getTabsImage()
HorseArmorItem.getTexture()
Modifier and TypeMethodDescriptionprivate static Item
Items.registerItem
(ResourceLocation p_42817_, Item p_42818_) CreativeModeTab.Builder.withBackgroundLocation
(ResourceLocation background) CreativeModeTab.Builder.withTabsImage
(ResourceLocation tabsImage) ModifierConstructorDescription(package private)
CreativeModeTab
(CreativeModeTab.Row p_260217_, int p_259557_, CreativeModeTab.Type p_260176_, Component p_260100_, Supplier<ItemStack> p_259543_, CreativeModeTab.DisplayItemsGenerator p_259085_, ResourceLocation backgroundLocation, boolean hasSearchBar, int searchBarWidth, ResourceLocation tabsImage, int labelColor, int slotColor) DyeableHorseArmorItem
(int p_41110_, ResourceLocation p_41111_, Item.Properties p_41112_) HorseArmorItem
(int p_41364_, ResourceLocation p_41365_, Item.Properties p_41366_) -
Uses of ResourceLocation in net.minecraft.world.item.crafting
Modifier and TypeFieldDescriptionprotected final ResourceLocation
AbstractCookingRecipe.id
private final ResourceLocation
CustomRecipe.id
private final ResourceLocation
ShapedRecipe.id
private final ResourceLocation
ShapelessRecipe.id
protected final ResourceLocation
SingleItemRecipe.id
private final ResourceLocation
UpgradeRecipe.id
private static final ResourceLocation
ShapedRecipe.Serializer.NAME
private static final ResourceLocation
ShapelessRecipe.Serializer.NAME
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,
Recipe<?>> RecipeManager.byName
private Map<RecipeType<?>,
Map<ResourceLocation, Recipe<?>>> RecipeManager.recipes
Modifier and TypeMethodDescriptionAbstractCookingRecipe.getId()
CustomRecipe.getId()
Recipe.getId()
ShapedRecipe.getId()
ShapelessRecipe.getId()
SingleItemRecipe.getId()
UpgradeRecipe.getId()
Modifier and TypeMethodDescriptionprivate <C extends Container,
T extends Recipe<C>>
Map<ResourceLocation,T> RecipeManager.byType
(RecipeType<T> p_44055_) <C extends Container,
T extends Recipe<C>>
Optional<com.mojang.datafixers.util.Pair<ResourceLocation,T>> RecipeManager.getRecipeFor
(RecipeType<T> p_220249_, C p_220250_, Level p_220251_, ResourceLocation p_220252_) RecipeManager.getRecipeIds()
Modifier and TypeMethodDescriptionRecipeManager.byKey
(ResourceLocation p_44044_) SimpleCookingSerializer.CookieBaker.create
(ResourceLocation p_44353_, String p_44354_, CookingBookCategory p_249487_, Ingredient p_44355_, ItemStack p_44356_, float p_44357_, int p_44358_) SimpleCraftingRecipeSerializer.Factory.create
(ResourceLocation p_250892_, CraftingBookCategory p_249920_) SingleItemRecipe.Serializer.SingleItemMaker.create
(ResourceLocation p_44455_, String p_44456_, Ingredient p_44457_, ItemStack p_44458_) static Recipe<?>
RecipeManager.fromJson
(ResourceLocation p_44046_, com.google.gson.JsonObject p_44047_) Deprecated.Forge: use overload with context.static Recipe<?>
RecipeManager.fromJson
(ResourceLocation p_44046_, com.google.gson.JsonObject p_44047_, ICondition.IContext context) RecipeSerializer.fromJson
(ResourceLocation p_44103_, com.google.gson.JsonObject p_44104_) ShapedRecipe.Serializer.fromJson
(ResourceLocation p_44236_, com.google.gson.JsonObject p_44237_) ShapelessRecipe.Serializer.fromJson
(ResourceLocation p_44290_, com.google.gson.JsonObject p_44291_) SimpleCookingSerializer.fromJson
(ResourceLocation p_44347_, com.google.gson.JsonObject p_44348_) SimpleCraftingRecipeSerializer.fromJson
(ResourceLocation p_249786_, com.google.gson.JsonObject p_252161_) SingleItemRecipe.Serializer.fromJson
(ResourceLocation p_44449_, com.google.gson.JsonObject p_44450_) UpgradeRecipe.Serializer.fromJson
(ResourceLocation p_44562_, com.google.gson.JsonObject p_44563_) RecipeSerializer.fromNetwork
(ResourceLocation p_44105_, FriendlyByteBuf p_44106_) ShapedRecipe.Serializer.fromNetwork
(ResourceLocation p_44239_, FriendlyByteBuf p_44240_) ShapelessRecipe.Serializer.fromNetwork
(ResourceLocation p_44293_, FriendlyByteBuf p_44294_) SimpleCookingSerializer.fromNetwork
(ResourceLocation p_44350_, FriendlyByteBuf p_44351_) SimpleCraftingRecipeSerializer.fromNetwork
(ResourceLocation p_251508_, FriendlyByteBuf p_251882_) SingleItemRecipe.Serializer.fromNetwork
(ResourceLocation p_44452_, FriendlyByteBuf p_44453_) UpgradeRecipe.Serializer.fromNetwork
(ResourceLocation p_44565_, FriendlyByteBuf p_44566_) <C extends Container,
T extends Recipe<C>>
Optional<com.mojang.datafixers.util.Pair<ResourceLocation,T>> RecipeManager.getRecipeFor
(RecipeType<T> p_220249_, C p_220250_, Level p_220251_, ResourceLocation p_220252_) static <T extends Recipe<?>>
RecipeType<T>RecipeType.simple
(ResourceLocation name) Modifier and TypeMethodDescriptionprotected void
RecipeManager.apply
(Map<ResourceLocation, com.google.gson.JsonElement> p_44037_, ResourceManager p_44038_, ProfilerFiller p_44039_) ModifierConstructorDescriptionAbstractCookingRecipe
(RecipeType<?> p_250197_, ResourceLocation p_249379_, String p_249518_, CookingBookCategory p_250891_, Ingredient p_251354_, ItemStack p_252185_, float p_252165_, int p_250256_) ArmorDyeRecipe
(ResourceLocation p_250281_, CraftingBookCategory p_251949_) BannerDuplicateRecipe
(ResourceLocation p_249594_, CraftingBookCategory p_250373_) BlastingRecipe
(ResourceLocation p_249728_, String p_251053_, CookingBookCategory p_249936_, Ingredient p_251550_, ItemStack p_251027_, float p_250843_, int p_249841_) BookCloningRecipe
(ResourceLocation p_252235_, CraftingBookCategory p_251090_) CampfireCookingRecipe
(ResourceLocation p_249468_, String p_250140_, CookingBookCategory p_251808_, Ingredient p_249826_, ItemStack p_251839_, float p_251432_, int p_251471_) CustomRecipe
(ResourceLocation p_252125_, CraftingBookCategory p_249010_) FireworkRocketRecipe
(ResourceLocation p_250923_, CraftingBookCategory p_250134_) FireworkStarFadeRecipe
(ResourceLocation p_249812_, CraftingBookCategory p_251846_) FireworkStarRecipe
(ResourceLocation p_250809_, CraftingBookCategory p_251577_) MapCloningRecipe
(ResourceLocation p_250551_, CraftingBookCategory p_251985_) MapExtendingRecipe
(ResourceLocation p_250265_, CraftingBookCategory p_250154_) RepairItemRecipe
(ResourceLocation p_250543_, CraftingBookCategory p_248679_) ShapedRecipe
(ResourceLocation p_250963_, String p_250221_, CraftingBookCategory p_250716_, int p_251480_, int p_251980_, NonNullList<Ingredient> p_252150_, ItemStack p_248581_) ShapelessRecipe
(ResourceLocation p_251840_, String p_249640_, CraftingBookCategory p_249390_, ItemStack p_252071_, NonNullList<Ingredient> p_250689_) ShieldDecorationRecipe
(ResourceLocation p_251738_, CraftingBookCategory p_251065_) ShulkerBoxColoring
(ResourceLocation p_248647_, CraftingBookCategory p_250756_) SingleItemRecipe
(RecipeType<?> p_44416_, RecipeSerializer<?> p_44417_, ResourceLocation p_44418_, String p_44419_, Ingredient p_44420_, ItemStack p_44421_) SmeltingRecipe
(ResourceLocation p_249157_, String p_250200_, CookingBookCategory p_251114_, Ingredient p_250340_, ItemStack p_250306_, float p_249577_, int p_250030_) SmokingRecipe
(ResourceLocation p_249711_, String p_249312_, CookingBookCategory p_251017_, Ingredient p_252345_, ItemStack p_250002_, float p_250535_, int p_251222_) StonecutterRecipe
(ResourceLocation p_44478_, String p_44479_, Ingredient p_44480_, ItemStack p_44481_) SuspiciousStewRecipe
(ResourceLocation p_248870_, CraftingBookCategory p_250392_) TippedArrowRecipe
(ResourceLocation p_250995_, CraftingBookCategory p_252163_) UpgradeRecipe
(ResourceLocation p_44523_, Ingredient p_44524_, Ingredient p_44525_, ItemStack p_44526_) -
Uses of ResourceLocation in net.minecraft.world.item.enchantment
Modifier and TypeMethodDescriptionstatic ResourceLocation
EnchantmentHelper.getEnchantmentId
(CompoundTag p_182447_) static ResourceLocation
EnchantmentHelper.getEnchantmentId
(Enchantment p_182433_) Modifier and TypeMethodDescriptionstatic CompoundTag
EnchantmentHelper.storeEnchantment
(ResourceLocation p_182444_, int p_182445_) -
Uses of ResourceLocation in net.minecraft.world.level.biome
Modifier and TypeFieldDescription(package private) final ResourceLocation
MultiNoiseBiomeSource.Preset.name
Modifier and TypeFieldDescription(package private) static final Map<ResourceLocation,
MultiNoiseBiomeSource.Preset> MultiNoiseBiomeSource.Preset.BY_NAME
Modifier and TypeMethodDescriptionstatic Stream<com.mojang.datafixers.util.Pair<ResourceLocation,
MultiNoiseBiomeSource.Preset>> MultiNoiseBiomeSource.Preset.getPresets()
ModifierConstructorDescriptionPreset
(ResourceLocation p_187090_, Function<HolderGetter<Biome>, Climate.ParameterList<Holder<Biome>>> p_187091_) -
Uses of ResourceLocation in net.minecraft.world.level.block
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
Supplier<? extends Block>> FlowerPotBlock.fullPots
Modifier and TypeMethodDescriptionprivate ResourceLocation
NoteBlock.getCustomSoundId
(Level p_263070_, BlockPos p_262999_) Modifier and TypeMethodDescriptionMap<ResourceLocation,
Supplier<? extends Block>> FlowerPotBlock.getFullPotsView()
protected Stat<ResourceLocation>
ChestBlock.getOpenChestStat()
protected Stat<ResourceLocation>
TrappedChestBlock.getOpenChestStat()
Modifier and TypeMethodDescriptionvoid
FlowerPotBlock.addPlant
(ResourceLocation flower, Supplier<? extends Block> fullPot) -
Uses of ResourceLocation in net.minecraft.world.level.block.entity
Modifier and TypeFieldDescriptionprotected ResourceLocation
RandomizableContainerBlockEntity.lootTable
private ResourceLocation
JigsawBlockEntity.name
private ResourceLocation
SkullBlockEntity.noteBlockSound
private ResourceLocation
StructureBlockEntity.structureName
private ResourceLocation
JigsawBlockEntity.target
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<ResourceLocation>
AbstractFurnaceBlockEntity.recipesUsed
Modifier and TypeMethodDescriptionstatic ResourceLocation
BlockEntityType.getKey
(BlockEntityType<?> p_58955_) JigsawBlockEntity.getName()
SkullBlockEntity.getNoteBlockSound()
JigsawBlockEntity.getTarget()
static ResourceLocation
BannerPattern.location
(ResourceKey<BannerPattern> p_222698_, boolean p_222699_) Modifier and TypeMethodDescriptionvoid
RandomizableContainerBlockEntity.setLootTable
(ResourceLocation p_59627_, long p_59628_) static void
RandomizableContainerBlockEntity.setLootTable
(BlockGetter p_222767_, RandomSource p_222768_, BlockPos p_222769_, ResourceLocation p_222770_) void
JigsawBlockEntity.setName
(ResourceLocation p_59436_) void
StructureBlockEntity.setStructureName
(ResourceLocation p_59875_) void
JigsawBlockEntity.setTarget
(ResourceLocation p_59439_) -
Uses of ResourceLocation in net.minecraft.world.level.block.state
Modifier and TypeFieldDescriptionprotected ResourceLocation
BlockBehaviour.drops
(package private) ResourceLocation
BlockBehaviour.Properties.drops
Modifier and TypeFieldDescriptionprivate final Supplier<ResourceLocation>
BlockBehaviour.lootTableSupplier
private Supplier<ResourceLocation>
BlockBehaviour.Properties.lootTableSupplier
-
Uses of ResourceLocation in net.minecraft.world.level.dimension
Modifier and TypeFieldDescriptionprivate final ResourceLocation
DimensionType.effectsLocation
The field for theeffectsLocation
record component.static final ResourceLocation
BuiltinDimensionTypes.END_EFFECTS
static final ResourceLocation
BuiltinDimensionTypes.NETHER_EFFECTS
static final ResourceLocation
BuiltinDimensionTypes.OVERWORLD_EFFECTS
Modifier and TypeMethodDescriptionDimensionType.effectsLocation()
Returns the value of theeffectsLocation
record component.ModifierConstructorDescriptionDimensionType
(OptionalLong fixedTime, boolean hasSkyLight, boolean hasCeiling, boolean ultraWarm, boolean natural, double coordinateScale, boolean bedWorks, boolean respawnAnchorWorks, int minY, int height, int logicalHeight, TagKey<Block> infiniburn, ResourceLocation effectsLocation, float ambientLight, DimensionType.MonsterSettings monsterSettings) Creates an instance of aDimensionType
record class. -
Uses of ResourceLocation in net.minecraft.world.level.levelgen
Modifier and TypeFieldDescriptionprivate final ResourceLocation
SurfaceRules.VerticalGradientConditionSource.randomName
The field for therandomName
record component.Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
PositionalRandomFactory> RandomState.positionalRandoms
Modifier and TypeMethodDescriptionSurfaceRules.VerticalGradientConditionSource.randomName()
Returns the value of therandomName
record component.Modifier and TypeMethodDescriptiondefault RandomSource
PositionalRandomFactory.fromHashOf
(ResourceLocation p_224541_) RandomState.getOrCreateRandomFactory
(ResourceLocation p_224566_) ModifierConstructorDescription(package private)
VerticalGradientConditionSource
(ResourceLocation randomName, VerticalAnchor trueAtAndBelow, VerticalAnchor falseAtAndAbove) Creates an instance of aVerticalGradientConditionSource
record class. -
Uses of ResourceLocation in net.minecraft.world.level.levelgen.feature
Modifier and TypeFieldDescriptionfinal List<ResourceLocation>
FossilFeatureConfiguration.fossilStructures
final List<ResourceLocation>
FossilFeatureConfiguration.overlayStructures
ModifierConstructorDescriptionFossilFeatureConfiguration
(List<ResourceLocation> p_204751_, List<ResourceLocation> p_204752_, Holder<StructureProcessorList> p_204753_, Holder<StructureProcessorList> p_204754_, int p_204755_) -
Uses of ResourceLocation in net.minecraft.world.level.levelgen.structure
Modifier and TypeMethodDescriptionprotected ResourceLocation
TemplateStructurePiece.makeTemplateLocation()
Modifier and TypeMethodDescriptionprotected boolean
StructurePiece.createChest
(ServerLevelAccessor p_226763_, BoundingBox p_226764_, RandomSource p_226765_, BlockPos p_226766_, ResourceLocation p_226767_, BlockState p_226768_) protected boolean
StructurePiece.createChest
(WorldGenLevel p_226812_, BoundingBox p_226813_, RandomSource p_226814_, int p_226815_, int p_226816_, int p_226817_, ResourceLocation p_226818_) protected boolean
StructurePiece.createDispenser
(WorldGenLevel p_226820_, BoundingBox p_226821_, RandomSource p_226822_, int p_226823_, int p_226824_, int p_226825_, Direction p_226826_, ResourceLocation p_226827_) ModifierConstructorDescriptionTemplateStructurePiece
(StructurePieceType p_226886_, int p_226887_, StructureTemplateManager p_226888_, ResourceLocation p_226889_, String p_226890_, StructurePlaceSettings p_226891_, BlockPos p_226892_) ModifierConstructorDescriptionTemplateStructurePiece
(StructurePieceType p_226894_, CompoundTag p_226895_, StructureTemplateManager p_226896_, Function<ResourceLocation, StructurePlaceSettings> p_226897_) -
Uses of ResourceLocation in net.minecraft.world.level.levelgen.structure.pieces
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
PiecesContainer.JIGSAW_RENAME
Modifier and TypeFieldDescriptionprivate static final Map<ResourceLocation,
ResourceLocation> PiecesContainer.RENAMES
private static final Map<ResourceLocation,
ResourceLocation> PiecesContainer.RENAMES
-
Uses of ResourceLocation in net.minecraft.world.level.levelgen.structure.pools
Modifier and TypeFieldDescriptionprotected final com.mojang.datafixers.util.Either<ResourceLocation,
StructureTemplate> SinglePoolElement.template
private static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<ResourceLocation,
StructureTemplate>> SinglePoolElement.TEMPLATE_CODEC
Modifier and TypeMethodDescriptionprotected static <E extends SinglePoolElement>
com.mojang.serialization.codecs.RecordCodecBuilder<E,com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate>> SinglePoolElement.templateCodec()
Modifier and TypeMethodDescriptionstatic boolean
JigsawPlacement.generateJigsaw
(ServerLevel p_227204_, Holder<StructureTemplatePool> p_227205_, ResourceLocation p_227206_, int p_227207_, BlockPos p_227208_, boolean p_227209_) JigsawPlacement.getRandomNamedJigsaw
(StructurePoolElement p_227248_, ResourceLocation p_227249_, BlockPos p_227250_, Rotation p_227251_, StructureTemplateManager p_227252_, WorldgenRandom p_227253_) Modifier and TypeMethodDescriptionstatic Optional<Structure.GenerationStub>
JigsawPlacement.addPieces
(Structure.GenerationContext p_227239_, Holder<StructureTemplatePool> p_227240_, Optional<ResourceLocation> p_227241_, int p_227242_, BlockPos p_227243_, boolean p_227244_, Optional<Heightmap.Types> p_227245_, int p_227246_) private static <T> com.mojang.serialization.DataResult<T>
SinglePoolElement.encodeTemplate
(com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> p_210425_, com.mojang.serialization.DynamicOps<T> p_210426_, T p_210427_) ModifierConstructorDescriptionprotected
LegacySinglePoolElement
(com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> p_210348_, Holder<StructureProcessorList> p_210349_, StructureTemplatePool.Projection p_210350_) protected
SinglePoolElement
(com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> p_210415_, Holder<StructureProcessorList> p_210416_, StructureTemplatePool.Projection p_210417_) -
Uses of ResourceLocation in net.minecraft.world.level.levelgen.structure.structures
Modifier and TypeFieldDescriptionprivate static final ResourceLocation[]
OceanRuinPieces.BIG_RUINS_BRICK
private static final ResourceLocation[]
OceanRuinPieces.BIG_RUINS_CRACKED
private static final ResourceLocation[]
OceanRuinPieces.BIG_RUINS_MOSSY
private static final ResourceLocation[]
OceanRuinPieces.BIG_WARM_RUINS
private static final ResourceLocation[]
NetherFossilPieces.FOSSILS
private static final ResourceLocation[]
OceanRuinPieces.RUINS_BRICK
private static final ResourceLocation[]
OceanRuinPieces.RUINS_CRACKED
private static final ResourceLocation[]
OceanRuinPieces.RUINS_MOSSY
private static final ResourceLocation[]
ShipwreckPieces.STRUCTURE_LOCATION_BEACHED
(package private) static final ResourceLocation
IglooPieces.STRUCTURE_LOCATION_IGLOO
private static final ResourceLocation
IglooPieces.STRUCTURE_LOCATION_LABORATORY
private static final ResourceLocation
IglooPieces.STRUCTURE_LOCATION_LADDER
private static final ResourceLocation[]
ShipwreckPieces.STRUCTURE_LOCATION_OCEAN
private static final ResourceLocation[]
OceanRuinPieces.WARM_RUINS
Modifier and TypeFieldDescription(package private) static final Map<String,
ResourceLocation> ShipwreckPieces.MARKERS_TO_LOOT
(package private) static final Map<ResourceLocation,
BlockPos> IglooPieces.OFFSETS
(package private) static final Map<ResourceLocation,
BlockPos> IglooPieces.PIVOTS
private final Optional<ResourceLocation>
JigsawStructure.startJigsawName
Modifier and TypeMethodDescriptionprivate static ResourceLocation
OceanRuinPieces.getBigWarmRuin
(RandomSource p_229011_) private static ResourceLocation
OceanRuinPieces.getSmallWarmRuin
(RandomSource p_228983_) private static ResourceLocation
WoodlandMansionPieces.WoodlandMansionPiece.makeLocation
(String p_230211_) private static ResourceLocation
EndCityPieces.EndCityPiece.makeResourceLocation
(String p_227503_) protected ResourceLocation
EndCityPieces.EndCityPiece.makeTemplateLocation()
protected ResourceLocation
WoodlandMansionPieces.WoodlandMansionPiece.makeTemplateLocation()
Modifier and TypeMethodDescriptionprotected boolean
MineshaftPieces.MineShaftCorridor.createChest
(WorldGenLevel p_227787_, BoundingBox p_227788_, RandomSource p_227789_, int p_227790_, int p_227791_, int p_227792_, ResourceLocation p_227793_) private static BlockPos
IglooPieces.IglooPiece.makePosition
(ResourceLocation p_227564_, BlockPos p_227565_, int p_227566_) private static StructurePlaceSettings
IglooPieces.IglooPiece.makeSettings
(Rotation p_227576_, ResourceLocation p_227577_) private static StructurePlaceSettings
RuinedPortalPiece.makeSettings
(StructureTemplateManager p_229166_, CompoundTag p_229167_, ResourceLocation p_229168_) ModifierConstructorDescriptionIglooPiece
(StructureTemplateManager p_227555_, ResourceLocation p_227556_, BlockPos p_227557_, Rotation p_227558_, int p_227559_) NetherFossilPiece
(StructureTemplateManager p_228540_, ResourceLocation p_228541_, BlockPos p_228542_, Rotation p_228543_) OceanRuinPiece
(StructureTemplateManager p_229018_, ResourceLocation p_229019_, BlockPos p_229020_, Rotation p_229021_, float p_229022_, OceanRuinStructure.Type p_229023_, boolean p_229024_) RuinedPortalPiece
(StructureTemplateManager p_229105_, BlockPos p_229106_, RuinedPortalPiece.VerticalPlacement p_229107_, RuinedPortalPiece.Properties p_229108_, ResourceLocation p_229109_, StructureTemplate p_229110_, Rotation p_229111_, Mirror p_229112_, BlockPos p_229113_) ShipwreckPiece
(StructureTemplateManager p_229354_, ResourceLocation p_229355_, BlockPos p_229356_, Rotation p_229357_, boolean p_229358_) ModifierConstructorDescriptionJigsawStructure
(Structure.StructureSettings p_227627_, Holder<StructureTemplatePool> p_227628_, Optional<ResourceLocation> p_227629_, int p_227630_, HeightProvider p_227631_, boolean p_227632_, Optional<Heightmap.Types> p_227633_, int p_227634_) -
Uses of ResourceLocation in net.minecraft.world.level.levelgen.structure.templatesystem
Modifier and TypeFieldDescriptionprivate final Supplier<Stream<ResourceLocation>>
StructureTemplateManager.Source.lister
The field for thelister
record component.private final Function<ResourceLocation,
Optional<StructureTemplate>> StructureTemplateManager.Source.loader
The field for theloader
record component.private final Map<ResourceLocation,
Optional<StructureTemplate>> StructureTemplateManager.structureRepository
Modifier and TypeMethodDescriptionStructureTemplateManager.Source.lister()
Returns the value of thelister
record component.private Stream<ResourceLocation>
StructureTemplateManager.listFolderContents
(Path p_230395_, String p_230396_, String p_230397_) private Stream<ResourceLocation>
StructureTemplateManager.listGenerated()
private Stream<ResourceLocation>
StructureTemplateManager.listGeneratedInNamespace
(Path p_230389_) private Stream<ResourceLocation>
StructureTemplateManager.listResources()
StructureTemplateManager.listTemplates()
private Stream<ResourceLocation>
StructureTemplateManager.listTestStructures()
StructureTemplateManager.Source.loader()
Returns the value of theloader
record component.Modifier and TypeMethodDescriptionprivate static Path
StructureTemplateManager.createAndValidatePathToStructure
(Path p_230412_, ResourceLocation p_230413_, String p_230414_) static Path
StructureTemplateManager.createPathToStructure
(Path p_230391_, ResourceLocation p_230392_, String p_230393_) StructureTemplateManager.get
(ResourceLocation p_230408_) StructureTemplateManager.getOrCreate
(ResourceLocation p_230360_) StructureTemplateManager.getPathToGeneratedStructure
(ResourceLocation p_230362_, String p_230363_) private Optional<StructureTemplate>
StructureTemplateManager.loadFromGenerated
(ResourceLocation p_230432_) private Optional<StructureTemplate>
StructureTemplateManager.loadFromResource
(ResourceLocation p_230428_) private Optional<StructureTemplate>
StructureTemplateManager.loadFromSnbt
(ResourceLocation p_230368_, Path p_230369_) private Optional<StructureTemplate>
StructureTemplateManager.loadFromTestStructures
(ResourceLocation p_230430_) void
StructureTemplateManager.remove
(ResourceLocation p_230422_) boolean
StructureTemplateManager.save
(ResourceLocation p_230417_) private Optional<StructureTemplate>
StructureTemplateManager.tryLoad
(ResourceLocation p_230426_) ModifierConstructorDescription(package private)
Source
(Function<ResourceLocation, Optional<StructureTemplate>> loader, Supplier<Stream<ResourceLocation>> lister) Creates an instance of aSource
record class.(package private)
Source
(Function<ResourceLocation, Optional<StructureTemplate>> loader, Supplier<Stream<ResourceLocation>> lister) Creates an instance of aSource
record class. -
Uses of ResourceLocation in net.minecraft.world.level.storage
Modifier and TypeMethodDescriptionCommandStorage.get
(ResourceLocation p_78045_) void
CommandStorage.set
(ResourceLocation p_78047_, CompoundTag p_78048_) -
Uses of ResourceLocation in net.minecraft.world.level.storage.loot
Modifier and TypeFieldDescriptionstatic final ResourceLocation
BuiltInLootTables.ABANDONED_MINESHAFT
static final ResourceLocation
BuiltInLootTables.ANCIENT_CITY
static final ResourceLocation
BuiltInLootTables.ANCIENT_CITY_ICE_BOX
static final ResourceLocation
BuiltInLootTables.ARMORER_GIFT
static final ResourceLocation
BuiltInLootTables.BASTION_BRIDGE
static final ResourceLocation
BuiltInLootTables.BASTION_HOGLIN_STABLE
static final ResourceLocation
BuiltInLootTables.BASTION_OTHER
static final ResourceLocation
BuiltInLootTables.BASTION_TREASURE
static final ResourceLocation
BuiltInLootTables.BURIED_TREASURE
static final ResourceLocation
BuiltInLootTables.BUTCHER_GIFT
static final ResourceLocation
BuiltInLootTables.CARTOGRAPHER_GIFT
static final ResourceLocation
BuiltInLootTables.CAT_MORNING_GIFT
static final ResourceLocation
BuiltInLootTables.CLERIC_GIFT
static final ResourceLocation
BuiltInLootTables.DESERT_PYRAMID
static final ResourceLocation
BuiltInLootTables.EMPTY
static final ResourceLocation
BuiltInLootTables.END_CITY_TREASURE
static final ResourceLocation
BuiltInLootTables.FARMER_GIFT
static final ResourceLocation
BuiltInLootTables.FISHERMAN_GIFT
static final ResourceLocation
BuiltInLootTables.FISHING
static final ResourceLocation
BuiltInLootTables.FISHING_FISH
static final ResourceLocation
BuiltInLootTables.FISHING_JUNK
static final ResourceLocation
BuiltInLootTables.FISHING_TREASURE
static final ResourceLocation
BuiltInLootTables.FLETCHER_GIFT
static final ResourceLocation
BuiltInLootTables.IGLOO_CHEST
static final ResourceLocation
BuiltInLootTables.JUNGLE_TEMPLE
static final ResourceLocation
BuiltInLootTables.JUNGLE_TEMPLE_DISPENSER
static final ResourceLocation
BuiltInLootTables.LEATHERWORKER_GIFT
static final ResourceLocation
BuiltInLootTables.LIBRARIAN_GIFT
private ResourceLocation
LootTable.lootTableId
static final ResourceLocation
BuiltInLootTables.MASON_GIFT
static final ResourceLocation
BuiltInLootTables.NETHER_BRIDGE
static final ResourceLocation
BuiltInLootTables.PIGLIN_BARTERING
static final ResourceLocation
BuiltInLootTables.PILLAGER_OUTPOST
private ResourceLocation
LootContext.Builder.queriedLootTableId
private ResourceLocation
LootContext.queriedLootTableId
static final ResourceLocation
BuiltInLootTables.RUINED_PORTAL
static final ResourceLocation
BuiltInLootTables.SHEEP_BLACK
static final ResourceLocation
BuiltInLootTables.SHEEP_BLUE
static final ResourceLocation
BuiltInLootTables.SHEEP_BROWN
static final ResourceLocation
BuiltInLootTables.SHEEP_CYAN
static final ResourceLocation
BuiltInLootTables.SHEEP_GRAY
static final ResourceLocation
BuiltInLootTables.SHEEP_GREEN
static final ResourceLocation
BuiltInLootTables.SHEEP_LIGHT_BLUE
static final ResourceLocation
BuiltInLootTables.SHEEP_LIGHT_GRAY
static final ResourceLocation
BuiltInLootTables.SHEEP_LIME
static final ResourceLocation
BuiltInLootTables.SHEEP_MAGENTA
static final ResourceLocation
BuiltInLootTables.SHEEP_ORANGE
static final ResourceLocation
BuiltInLootTables.SHEEP_PINK
static final ResourceLocation
BuiltInLootTables.SHEEP_PURPLE
static final ResourceLocation
BuiltInLootTables.SHEEP_RED
static final ResourceLocation
BuiltInLootTables.SHEEP_WHITE
static final ResourceLocation
BuiltInLootTables.SHEEP_YELLOW
static final ResourceLocation
BuiltInLootTables.SHEPHERD_GIFT
static final ResourceLocation
BuiltInLootTables.SHIPWRECK_MAP
static final ResourceLocation
BuiltInLootTables.SHIPWRECK_SUPPLY
static final ResourceLocation
BuiltInLootTables.SHIPWRECK_TREASURE
static final ResourceLocation
BuiltInLootTables.SIMPLE_DUNGEON
static final ResourceLocation
BuiltInLootTables.SPAWN_BONUS_CHEST
static final ResourceLocation
BuiltInLootTables.STRONGHOLD_CORRIDOR
static final ResourceLocation
BuiltInLootTables.STRONGHOLD_CROSSING
static final ResourceLocation
BuiltInLootTables.STRONGHOLD_LIBRARY
static final ResourceLocation
BuiltInLootTables.TOOLSMITH_GIFT
static final ResourceLocation
BuiltInLootTables.UNDERWATER_RUIN_BIG
static final ResourceLocation
BuiltInLootTables.UNDERWATER_RUIN_SMALL
static final ResourceLocation
BuiltInLootTables.VILLAGE_ARMORER
static final ResourceLocation
BuiltInLootTables.VILLAGE_BUTCHER
static final ResourceLocation
BuiltInLootTables.VILLAGE_CARTOGRAPHER
static final ResourceLocation
BuiltInLootTables.VILLAGE_DESERT_HOUSE
static final ResourceLocation
BuiltInLootTables.VILLAGE_FISHER
static final ResourceLocation
BuiltInLootTables.VILLAGE_FLETCHER
static final ResourceLocation
BuiltInLootTables.VILLAGE_MASON
static final ResourceLocation
BuiltInLootTables.VILLAGE_PLAINS_HOUSE
static final ResourceLocation
BuiltInLootTables.VILLAGE_SAVANNA_HOUSE
static final ResourceLocation
BuiltInLootTables.VILLAGE_SHEPHERD
static final ResourceLocation
BuiltInLootTables.VILLAGE_SNOWY_HOUSE
static final ResourceLocation
BuiltInLootTables.VILLAGE_TAIGA_HOUSE
static final ResourceLocation
BuiltInLootTables.VILLAGE_TANNERY
static final ResourceLocation
BuiltInLootTables.VILLAGE_TEMPLE
static final ResourceLocation
BuiltInLootTables.VILLAGE_TOOLSMITH
static final ResourceLocation
BuiltInLootTables.VILLAGE_WEAPONSMITH
static final ResourceLocation
BuiltInLootTables.WEAPONSMITH_GIFT
static final ResourceLocation
BuiltInLootTables.WOODLAND_MANSION
Modifier and TypeFieldDescriptionprivate final Function<ResourceLocation,
LootItemCondition> ValidationContext.conditionResolver
private final Function<ResourceLocation,
LootItemCondition> LootContext.conditions
private Map<ResourceLocation,
LootItemCondition> PredicateManager.conditions
private final Map<ResourceLocation,
LootContext.DynamicDrop> LootContext.Builder.dynamicDrops
private final Map<ResourceLocation,
LootContext.DynamicDrop> LootContext.dynamicDrops
private Map<ResourceLocation,
LootItemFunction> ItemModifierManager.functions
private static final Set<ResourceLocation>
BuiltInLootTables.IMMUTABLE_LOCATIONS
private static final Set<ResourceLocation>
BuiltInLootTables.LOCATIONS
private final Function<ResourceLocation,
LootTable> LootContext.lootTables
private final Function<ResourceLocation,
LootTable> ValidationContext.tableResolver
private Map<ResourceLocation,
LootTable> LootTables.tables
private final Set<ResourceLocation>
ValidationContext.visitedConditions
private final Set<ResourceLocation>
ValidationContext.visitedTables
Modifier and TypeMethodDescriptionLootTable.getLootTableId()
LootContext.getQueriedLootTableId()
private static ResourceLocation
private static ResourceLocation
BuiltInLootTables.register
(ResourceLocation p_78770_) Modifier and TypeMethodDescriptionstatic Set<ResourceLocation>
BuiltInLootTables.all()
LootTables.getIds()
ItemModifierManager.getKeys()
PredicateManager.getKeys()
Modifier and TypeMethodDescriptionvoid
LootContext.addDynamicDrops
(ResourceLocation p_78943_, Consumer<ItemStack> p_78944_) ValidationContext.enterCondition
(String p_79368_, ResourceLocation p_79369_) ValidationContext.enterTable
(String p_79360_, ResourceLocation p_79361_) ItemModifierManager.get
(ResourceLocation p_165109_) ItemModifierManager.get
(ResourceLocation p_165111_, LootItemFunction p_165112_) LootTables.get
(ResourceLocation p_79218_) PredicateManager.get
(ResourceLocation p_79253_) LootContext.getCondition
(ResourceLocation p_78951_) LootContext.getLootTable
(ResourceLocation p_78941_) boolean
ValidationContext.hasVisitedCondition
(ResourceLocation p_79371_) boolean
ValidationContext.hasVisitedTable
(ResourceLocation p_79363_) private static ResourceLocation
BuiltInLootTables.register
(ResourceLocation p_78770_) ValidationContext.resolveCondition
(ResourceLocation p_79380_) ValidationContext.resolveLootTable
(ResourceLocation p_79376_) void
LootTable.setLootTableId
(ResourceLocation id) void
LootContext.setQueriedLootTableId
(ResourceLocation queriedLootTableId) static void
LootTables.validate
(ValidationContext p_79203_, ResourceLocation p_79204_, LootTable p_79205_) LootContext.Builder.withDynamicDrop
(ResourceLocation p_78980_, LootContext.DynamicDrop p_78981_) LootContext.Builder.withQueriedLootTableId
(ResourceLocation queriedLootTableId) Modifier and TypeMethodDescriptionprotected void
ItemModifierManager.apply
(Map<ResourceLocation, com.google.gson.JsonElement> p_165105_, ResourceManager p_165106_, ProfilerFiller p_165107_) protected void
LootTables.apply
(Map<ResourceLocation, com.google.gson.JsonElement> p_79214_, ResourceManager p_79215_, ProfilerFiller p_79216_) protected void
PredicateManager.apply
(Map<ResourceLocation, com.google.gson.JsonElement> p_79249_, ResourceManager p_79250_, ProfilerFiller p_79251_) ModifierConstructorDescriptionprivate
LootContext
(RandomSource rand, float luckIn, ServerLevel worldIn, Function<ResourceLocation, LootTable> lootTableManagerIn, Function<ResourceLocation, LootItemCondition> p_i225885_5_, Map<LootContextParam<?>, Object> parametersIn, Map<ResourceLocation, LootContext.DynamicDrop> conditionsIn, ResourceLocation queriedLootTableId) ModifierConstructorDescription(package private)
LootContext
(RandomSource p_230900_, float p_230901_, ServerLevel p_230902_, Function<ResourceLocation, LootTable> p_230903_, Function<ResourceLocation, LootItemCondition> p_230904_, Map<LootContextParam<?>, Object> p_230905_, Map<ResourceLocation, LootContext.DynamicDrop> p_230906_) private
LootContext
(RandomSource rand, float luckIn, ServerLevel worldIn, Function<ResourceLocation, LootTable> lootTableManagerIn, Function<ResourceLocation, LootItemCondition> p_i225885_5_, Map<LootContextParam<?>, Object> parametersIn, Map<ResourceLocation, LootContext.DynamicDrop> conditionsIn, ResourceLocation queriedLootTableId) ValidationContext
(com.google.common.collect.Multimap<String, String> p_79341_, Supplier<String> p_79342_, LootContextParamSet p_79343_, Function<ResourceLocation, LootItemCondition> p_79344_, Set<ResourceLocation> p_79345_, Function<ResourceLocation, LootTable> p_79346_, Set<ResourceLocation> p_79347_) ValidationContext
(com.google.common.collect.Multimap<String, String> p_79341_, Supplier<String> p_79342_, LootContextParamSet p_79343_, Function<ResourceLocation, LootItemCondition> p_79344_, Set<ResourceLocation> p_79345_, Function<ResourceLocation, LootTable> p_79346_, Set<ResourceLocation> p_79347_) ValidationContext
(LootContextParamSet p_79349_, Function<ResourceLocation, LootItemCondition> p_79350_, Function<ResourceLocation, LootTable> p_79351_) -
Uses of ResourceLocation in net.minecraft.world.level.storage.loot.entries
Modifier and TypeFieldDescription(package private) final ResourceLocation
DynamicLoot.name
(package private) final ResourceLocation
LootTableReference.name
Modifier and TypeMethodDescriptionstatic LootPoolSingletonContainer.Builder<?>
DynamicLoot.dynamicEntry
(ResourceLocation p_79484_) static LootPoolSingletonContainer.Builder<?>
LootTableReference.lootTableReference
(ResourceLocation p_79777_) ModifierConstructorDescription(package private)
DynamicLoot
(ResourceLocation p_79465_, int p_79466_, int p_79467_, LootItemCondition[] p_79468_, LootItemFunction[] p_79469_) (package private)
LootTableReference
(ResourceLocation p_79756_, int p_79757_, int p_79758_, LootItemCondition[] p_79759_, LootItemFunction[] p_79760_) -
Uses of ResourceLocation in net.minecraft.world.level.storage.loot.functions
Modifier and TypeFieldDescription(package private) final ResourceLocation
SetContainerLootTable.name
static final ResourceLocation
ApplyBonusCount.BinomialWithBonusCount.TYPE
static final ResourceLocation
ApplyBonusCount.OreDrops.TYPE
static final ResourceLocation
ApplyBonusCount.UniformBonusCount.TYPE
Modifier and TypeFieldDescription(package private) static final Map<ResourceLocation,
ApplyBonusCount.FormulaDeserializer> ApplyBonusCount.FORMULAS
Modifier and TypeMethodDescriptionApplyBonusCount.BinomialWithBonusCount.getType()
ApplyBonusCount.Formula.getType()
ApplyBonusCount.OreDrops.getType()
ApplyBonusCount.UniformBonusCount.getType()
Modifier and TypeMethodDescriptionstatic LootItemConditionalFunction.Builder<?>
SetContainerLootTable.withLootTable
(BlockEntityType<?> p_193050_, ResourceLocation p_193051_) static LootItemConditionalFunction.Builder<?>
SetContainerLootTable.withLootTable
(BlockEntityType<?> p_193053_, ResourceLocation p_193054_, long p_193055_) ModifierConstructorDescription(package private)
SetContainerLootTable
(LootItemCondition[] p_193045_, ResourceLocation p_193046_, long p_193047_, BlockEntityType<?> p_193048_) -
Uses of ResourceLocation in net.minecraft.world.level.storage.loot.parameters
Modifier and TypeFieldDescriptionprivate static final com.google.common.collect.BiMap<ResourceLocation,
LootContextParamSet> LootContextParamSets.REGISTRY
Modifier and TypeMethodDescriptionstatic ResourceLocation
LootContextParamSets.getKey
(LootContextParamSet p_81427_) LootContextParam.getName()
Modifier and TypeMethodDescriptionstatic LootContextParamSet
LootContextParamSets.get
(ResourceLocation p_81432_) -
Uses of ResourceLocation in net.minecraft.world.level.storage.loot.predicates
Modifier and TypeFieldDescription(package private) final ResourceLocation
ConditionReference.name
Modifier and TypeMethodDescriptionstatic LootItemCondition.Builder
ConditionReference.conditionReference
(ResourceLocation p_165481_) -
Uses of ResourceLocation in net.minecraft.world.level.storage.loot.providers.nbt
-
Uses of ResourceLocation in net.minecraft.world.level.timers
Modifier and TypeFieldDescription(package private) final ResourceLocation
FunctionCallback.functionId
private final ResourceLocation
TimerCallback.Serializer.id
(package private) final ResourceLocation
FunctionTagCallback.tagId
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
TimerCallback.Serializer<C, ?>> TimerCallbacks.idToSerializer
ModifierConstructorDescriptionFunctionCallback
(ResourceLocation p_82164_) FunctionTagCallback
(ResourceLocation p_82191_) Serializer
(ResourceLocation p_82219_, Class<?> p_82220_) -
Uses of ResourceLocation in net.minecraft.world.scores.criteria
Modifier and TypeMethodDescriptionprivate static <T> Optional<ObjectiveCriteria>
ObjectiveCriteria.getStat
(StatType<T> p_83612_, ResourceLocation p_83613_) -
Uses of ResourceLocation in net.minecraftforge.client
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
ForgeHooksClient.ICON_SHEET
Modifier and TypeFieldDescriptionprivate static com.google.common.collect.ImmutableMap<ResourceLocation,
DimensionSpecialEffects> DimensionSpecialEffectsManager.EFFECTS
private static final BiFunction<ResourceLocation,
Boolean, RenderType> ForgeRenderTypes.Internal.ENTITY_TRANSLUCENT
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.LAYERED_ITEM_CUTOUT
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.LAYERED_ITEM_CUTOUT_MIPPED
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.LAYERED_ITEM_SOLID
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.LAYERED_ITEM_TRANSLUCENT
private static com.google.common.collect.ImmutableMap<ResourceLocation,
RenderTypeGroup> NamedRenderTypeManager.RENDER_TYPES
private static Map<EntityType<?>,
ResourceLocation> EntitySpectatorShaderManager.SHADERS
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.TEXT
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.TEXT_INTENSITY
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.TEXT_INTENSITY_POLYGON_OFFSET
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.TEXT_INTENSITY_SEETHROUGH
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.TEXT_POLYGON_OFFSET
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.TEXT_SEETHROUGH
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.TRANSLUCENT_PARTICLES_TARGET
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.UNLIT_TRANSLUCENT_SORTED
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.UNLIT_TRANSLUCENT_UNSORTED
static Function<ResourceLocation,
RenderType> ForgeRenderTypes.Internal.UNSORTED_TRANSLUCENT
Modifier and TypeMethodDescriptionstatic @Nullable ResourceLocation
EntitySpectatorShaderManager.get
(EntityType<?> entityType) Finds the path to the spectator mode shader used for the specified entity type, or null if none is registered.static ResourceLocation
ForgeHooksClient.getShaderImportLocation
(String basePath, boolean isRelative, String importPath) Modifier and TypeMethodDescriptionClientCommandSourceStack.getRecipeNames()
Returns aStream
of recipe ids that are available on the client.Modifier and TypeMethodDescriptionstatic RenderTypeGroup
NamedRenderTypeManager.get
(ResourceLocation name) Finds theRenderTypeGroup
for a given name, or theempty group
if not found.ClientCommandSourceStack.getAdvancement
(ResourceLocation id) Returns the advancement from the id from the client side where the advancement needs to be visible to the player.static Material
ForgeHooksClient.getBlockMaterial
(ResourceLocation loc) static RenderType
ForgeRenderTypes.getEntityCutoutMipped
(ResourceLocation textureLocation) static DimensionSpecialEffects
DimensionSpecialEffectsManager.getForType
(ResourceLocation type) Finds theDimensionSpecialEffects
for a given dimension type, or the default if none is registered.static RenderType
ForgeRenderTypes.getItemLayeredCutout
(ResourceLocation textureLocation) static RenderType
ForgeRenderTypes.getItemLayeredCutoutMipped
(ResourceLocation textureLocation) static RenderType
ForgeRenderTypes.getItemLayeredSolid
(ResourceLocation textureLocation) static RenderType
ForgeRenderTypes.getItemLayeredTranslucent
(ResourceLocation textureLocation) static RenderType
ForgeRenderTypes.getText
(ResourceLocation locationIn) private static RenderType
ForgeRenderTypes.Internal.getText
(ResourceLocation locationIn) static RenderType
ForgeRenderTypes.getTextIntensity
(ResourceLocation locationIn) private static RenderType
ForgeRenderTypes.Internal.getTextIntensity
(ResourceLocation locationIn) static RenderType
ForgeRenderTypes.getTextIntensityPolygonOffset
(ResourceLocation locationIn) private static RenderType
ForgeRenderTypes.Internal.getTextIntensityPolygonOffset
(ResourceLocation locationIn) static RenderType
ForgeRenderTypes.getTextIntensitySeeThrough
(ResourceLocation locationIn) private static RenderType
ForgeRenderTypes.Internal.getTextIntensitySeeThrough
(ResourceLocation locationIn) static RenderType
ForgeRenderTypes.getTextPolygonOffset
(ResourceLocation locationIn) private static RenderType
ForgeRenderTypes.Internal.getTextPolygonOffset
(ResourceLocation locationIn) static RenderType
ForgeRenderTypes.getTextSeeThrough
(ResourceLocation locationIn) private static RenderType
ForgeRenderTypes.Internal.getTextSeeThrough
(ResourceLocation locationIn) static RenderType
ForgeRenderTypes.getTranslucentParticlesTarget
(ResourceLocation locationIn) private static RenderType
ForgeRenderTypes.Internal.getTranslucentParticlesTarget
(ResourceLocation locationIn) static RenderType
ForgeRenderTypes.getUnlitTranslucent
(ResourceLocation textureLocation) static RenderType
ForgeRenderTypes.getUnlitTranslucent
(ResourceLocation textureLocation, boolean sortingEnabled) static RenderType
ForgeRenderTypes.getUnsortedTranslucent
(ResourceLocation textureLocation) private static RenderType
ForgeRenderTypes.Internal.layeredItemCutout
(ResourceLocation locationIn) private static RenderType
ForgeRenderTypes.Internal.layeredItemCutoutMipped
(ResourceLocation locationIn) private static RenderType
ForgeRenderTypes.Internal.layeredItemSolid
(ResourceLocation locationIn) private static RenderType
ForgeRenderTypes.Internal.layeredItemTranslucent
(ResourceLocation locationIn) static @Nullable SpriteContents
ForgeHooksClient.loadSpriteContents
(ResourceLocation name, Resource resource, FrameSize frameSize, NativeImage image, AnimationMetadataSection animationMeta) static @Nullable TextureAtlasSprite
ForgeHooksClient.loadTextureAtlasSprite
(ResourceLocation atlasName, SpriteContents contents, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel) private static RenderType
ForgeRenderTypes.Internal.unlitTranslucent
(ResourceLocation textureLocation, boolean sortingEnabled) private static RenderType
ForgeRenderTypes.Internal.unsortedTranslucent
(ResourceLocation textureLocation) Modifier and TypeMethodDescriptionstatic void
ForgeHooksClient.onModelBake
(ModelManager modelManager, Map<ResourceLocation, BakedModel> models, ModelBakery modelBakery) static void
ForgeHooksClient.onModifyBakingResult
(Map<ResourceLocation, BakedModel> models, ModelBakery modelBakery) static void
ForgeHooksClient.onRegisterAdditionalModels
(Set<ResourceLocation> additionalModels) private static DimensionSpecialEffects
DimensionSpecialEffectsManager.preRegisterVanillaEffects
(Map<ResourceLocation, DimensionSpecialEffects> effects) Pre-registers vanilla dimension effects and returns the default fallback effects instance.private static void
NamedRenderTypeManager.preRegisterVanillaRenderTypes
(Map<ResourceLocation, RenderTypeGroup> blockRenderTypes) Pre-registers vanilla render types.ModifierConstructorDescriptionprivate
CustomizableTextureState
(ResourceLocation resLoc, Supplier<Boolean> blur, Supplier<Boolean> mipmap) -
Uses of ResourceLocation in net.minecraftforge.client.event
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
DimensionSpecialEffects> RegisterDimensionSpecialEffectsEvent.effects
private final Map<ResourceLocation,
IGeometryLoader<?>> ModelEvent.RegisterGeometryLoaders.loaders
private final Map<ResourceLocation,
ITextureAtlasSpriteLoader> RegisterTextureAtlasSpriteLoadersEvent.loaders
private final Map<ResourceLocation,
BakedModel> ModelEvent.BakingCompleted.models
private final Map<ResourceLocation,
BakedModel> ModelEvent.ModifyBakingResult.models
private final Set<ResourceLocation>
ModelEvent.RegisterAdditional.models
private final List<ResourceLocation>
RegisterGuiOverlaysEvent.orderedOverlays
private final Map<ResourceLocation,
IGuiOverlay> RegisterGuiOverlaysEvent.overlays
private final Map<ResourceLocation,
RenderTypeGroup> RegisterNamedRenderTypesEvent.renderTypes
private final Map<EntityType<?>,
ResourceLocation> RegisterEntitySpectatorShadersEvent.shaders
Modifier and TypeMethodDescriptionModelEvent.BakingCompleted.getModels()
ModelEvent.ModifyBakingResult.getModels()
Modifier and TypeMethodDescriptionvoid
ModelEvent.RegisterAdditional.register
(ResourceLocation model) Registers a model to be loaded, along with its dependencies.void
RegisterDimensionSpecialEffectsEvent.register
(ResourceLocation dimensionType, DimensionSpecialEffects effects) Registers the effects for a given dimension type.void
RegisterEntitySpectatorShadersEvent.register
(EntityType<?> entityType, ResourceLocation shader) Registers a spectator shader for a given entity type.private void
RegisterGuiOverlaysEvent.register
(@NotNull RegisterGuiOverlaysEvent.Ordering ordering, @Nullable ResourceLocation other, @NotNull String id, @NotNull IGuiOverlay overlay) RenderLevelStageEvent.RegisterStageEvent.register
(ResourceLocation name, RenderType renderType) private static RenderLevelStageEvent.Stage
RenderLevelStageEvent.Stage.register
(ResourceLocation name, RenderType renderType) void
RegisterGuiOverlaysEvent.registerAbove
(@NotNull ResourceLocation other, @NotNull String id, @NotNull IGuiOverlay overlay) Registers an overlay that renders above another.void
RegisterGuiOverlaysEvent.registerBelow
(@NotNull ResourceLocation other, @NotNull String id, @NotNull IGuiOverlay overlay) Registers an overlay that renders below another.ModifierConstructorDescriptionBakingCompleted
(ModelManager modelManager, Map<ResourceLocation, BakedModel> models, ModelBakery modelBakery) ModifyBakingResult
(Map<ResourceLocation, BakedModel> models, ModelBakery modelBakery) RegisterAdditional
(Set<ResourceLocation> models) RegisterEntitySpectatorShadersEvent
(Map<EntityType<?>, ResourceLocation> shaders) RegisterGeometryLoaders
(Map<ResourceLocation, IGeometryLoader<?>> loaders) RegisterGuiOverlaysEvent
(Map<ResourceLocation, IGuiOverlay> overlays, List<ResourceLocation> orderedOverlays) RegisterGuiOverlaysEvent
(Map<ResourceLocation, IGuiOverlay> overlays, List<ResourceLocation> orderedOverlays) RegisterNamedRenderTypesEvent
(Map<ResourceLocation, RenderTypeGroup> renderTypes) -
Uses of ResourceLocation in net.minecraftforge.client.extensions
Modifier and TypeMethodDescription@Nullable BakedModel
IForgeModelBaker.bake
(ResourceLocation location, ModelState state, Function<Material, TextureAtlasSprite> sprites) -
Uses of ResourceLocation in net.minecraftforge.client.extensions.common
Modifier and TypeMethodDescriptiondefault ResourceLocation
IClientFluidTypeExtensions.getFlowingTexture()
Returns the reference of the texture to apply to a flowing fluid.default ResourceLocation
IClientFluidTypeExtensions.getFlowingTexture
(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the reference of the texture to apply to a flowing fluid.default ResourceLocation
IClientFluidTypeExtensions.getFlowingTexture
(FluidStack stack) Returns the reference of the texture to apply to a flowing fluid.default @Nullable ResourceLocation
IClientFluidTypeExtensions.getOverlayTexture()
Returns the reference of the texture to apply to a fluid directly touching a non-opaque block other than air.default ResourceLocation
IClientFluidTypeExtensions.getOverlayTexture
(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the reference of the texture to apply to a fluid directly touching a non-opaque block other than air.default ResourceLocation
IClientFluidTypeExtensions.getOverlayTexture
(FluidStack stack) Returns the reference of the texture to apply to a fluid directly touching a non-opaque block other than air.default @Nullable ResourceLocation
IClientFluidTypeExtensions.getRenderOverlayTexture
(Minecraft mc) Returns the location of the texture to apply to the camera when it is within the fluid.default ResourceLocation
IClientFluidTypeExtensions.getStillTexture()
Returns the reference of the texture to apply to a source fluid.default ResourceLocation
IClientFluidTypeExtensions.getStillTexture
(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the reference of the texture to apply to a source fluid.default ResourceLocation
IClientFluidTypeExtensions.getStillTexture
(FluidStack stack) Returns the reference of the texture to apply to a source fluid. -
Uses of ResourceLocation in net.minecraftforge.client.gui
Modifier and TypeFieldDescriptionprivate ResourceLocation
ModListScreen.InfoPanel.logoPath
private static final ResourceLocation
TitleScreenModUpdateIndicator.VERSION_CHECK_ICONS
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
String> ModMismatchDisconnectedScreen.mismatchedModData
private final List<ResourceLocation>
ModMismatchDisconnectedScreen.missingModData
private final Map<ResourceLocation,
org.apache.commons.lang3.tuple.Pair<String, String>> ModMismatchDisconnectedScreen.presentModData
Modifier and TypeMethodDescriptionstatic void
ScreenUtils.blitWithBorder
(PoseStack poseStack, ResourceLocation res, int x, int y, int u, int v, int width, int height, int textureWidth, int textureHeight, int borderSize, float zLevel) Draws a textured box of any size (smallest size is borderSize * 2 square) based on a fixed size textured box with continuous borders and filler.static void
ScreenUtils.blitWithBorder
(PoseStack poseStack, ResourceLocation res, int x, int y, int u, int v, int width, int height, int textureWidth, int textureHeight, int topBorder, int bottomBorder, int leftBorder, int rightBorder, float zLevel) Draws a textured box of any size (smallest size is borderSize * 2 square) based on a fixed size textured box with continuous borders and filler.(package private) void
ModListScreen.InfoPanel.setInfo
(List<String> lines, ResourceLocation logoPath, Size2i logoDims) private MutableComponent
ModMismatchDisconnectedScreen.MismatchInfoPanel.toModNameComponent
(ResourceLocation id, String modName, int color) Adds a style information to the given mod name string. -
Uses of ResourceLocation in net.minecraftforge.client.gui.overlay
Modifier and TypeFieldDescriptionprivate final ResourceLocation
NamedGuiOverlay.id
The field for theid
record component.private final ResourceLocation
VanillaGuiOverlay.id
Modifier and TypeFieldDescriptionprivate static com.google.common.collect.ImmutableMap<ResourceLocation,
NamedGuiOverlay> GuiOverlayManager.OVERLAYS_BY_NAME
Modifier and TypeMethodDescriptionNamedGuiOverlay.id()
Returns the value of theid
record component.@NotNull ResourceLocation
VanillaGuiOverlay.id()
Modifier and TypeMethodDescriptionprivate void
ForgeGui.bind
(ResourceLocation res) static @Nullable NamedGuiOverlay
GuiOverlayManager.findOverlay
(ResourceLocation id) Finds the overlay corresponding to a given ID.void
ForgeGui.setupOverlayRenderState
(boolean blend, boolean depthTest, @Nullable ResourceLocation texture) Modifier and TypeMethodDescriptionprivate static void
GuiOverlayManager.preRegisterVanillaOverlays
(HashMap<ResourceLocation, IGuiOverlay> overlays, ArrayList<ResourceLocation> orderedOverlays) Pre-registers vanilla overlays so they are available for ordering.private static void
GuiOverlayManager.preRegisterVanillaOverlays
(HashMap<ResourceLocation, IGuiOverlay> overlays, ArrayList<ResourceLocation> orderedOverlays) Pre-registers vanilla overlays so they are available for ordering.ModifierConstructorDescriptionNamedGuiOverlay
(ResourceLocation id, IGuiOverlay overlay) Creates an instance of aNamedGuiOverlay
record class. -
Uses of ResourceLocation in net.minecraftforge.client.gui.widget
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
ModListWidget.VERSION_CHECK_ICONS
-
Uses of ResourceLocation in net.minecraftforge.client.model
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceLocation>
ItemLayerModel.renderTypeNames
Modifier and TypeMethodDescriptionprotected void
ElementsModel.addQuads
(IGeometryBakingContext context, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ResourceLocation modelLocation) protected void
EmptyModel.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) CompositeModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) DynamicFluidContainerModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) EmptyModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) ItemLayerModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) SeparateTransformsModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) Modifier and TypeMethodDescriptionprotected void
ItemLayerModel.Loader.readLayerData
(com.google.gson.JsonObject jsonObject, String name, it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap<ResourceLocation> renderTypeNames, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ForgeFaceData> layerData, boolean logWarning) void
CompositeModel.resolveParents
(Function<ResourceLocation, UnbakedModel> modelGetter, IGeometryBakingContext context) void
SeparateTransformsModel.resolveParents
(Function<ResourceLocation, UnbakedModel> modelGetter, IGeometryBakingContext context) -
Uses of ResourceLocation in net.minecraftforge.client.model.generators
Modifier and TypeFieldDescriptionprotected final ResourceLocation
CustomLoaderBuilder.loaderId
protected ResourceLocation
ModelFile.location
Modifier and TypeFieldDescriptionprotected final Function<ResourceLocation,
T> ModelProvider.factory
final Map<ResourceLocation,
T> ModelProvider.generatedModels
private final Map<ResourceLocation,
Float> ItemModelBuilder.OverrideBuilder.predicates
Modifier and TypeMethodDescriptionBlockStateProvider.blockTexture
(Block block) private ResourceLocation
BlockStateProvider.extend
(ResourceLocation rl, String suffix) private ResourceLocation
ModelProvider.extendWithFolder
(ResourceLocation rl) ModelFile.getLocation()
ModelFile.getUncheckedLocation()
private ResourceLocation
Modifier and TypeMethodDescriptionvoid
BlockStateProvider.axisBlock
(RotatedPillarBlock block, ResourceLocation baseName) void
BlockStateProvider.axisBlock
(RotatedPillarBlock block, ResourceLocation side, ResourceLocation end) void
BlockStateProvider.axisBlockWithRenderType
(RotatedPillarBlock block, ResourceLocation renderType) void
BlockStateProvider.axisBlockWithRenderType
(RotatedPillarBlock block, ResourceLocation baseName, String renderType) void
BlockStateProvider.axisBlockWithRenderType
(RotatedPillarBlock block, ResourceLocation baseName, ResourceLocation renderType) void
BlockStateProvider.axisBlockWithRenderType
(RotatedPillarBlock block, ResourceLocation side, ResourceLocation end, String renderType) void
BlockStateProvider.axisBlockWithRenderType
(RotatedPillarBlock block, ResourceLocation side, ResourceLocation end, ResourceLocation renderType) ItemModelProvider.basicItem
(ResourceLocation item) ModelProvider.button
(String name, ResourceLocation texture) void
BlockStateProvider.buttonBlock
(ButtonBlock block, ResourceLocation texture) ModelProvider.buttonInventory
(String name, ResourceLocation texture) ModelProvider.buttonPressed
(String name, ResourceLocation texture) ModelProvider.carpet
(String name, ResourceLocation wool) ModelProvider.crop
(String name, ResourceLocation crop) ModelProvider.cross
(String name, ResourceLocation cross) ModelProvider.cube
(String name, ResourceLocation down, ResourceLocation up, ResourceLocation north, ResourceLocation south, ResourceLocation east, ResourceLocation west) ModelProvider.cubeAll
(String name, ResourceLocation texture) ModelProvider.cubeBottomTop
(String name, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) ModelProvider.cubeColumn
(String name, ResourceLocation side, ResourceLocation end) ModelProvider.cubeColumnHorizontal
(String name, ResourceLocation side, ResourceLocation end) ModelProvider.cubeTop
(String name, ResourceLocation side, ResourceLocation top) private T
ModelProvider.door
(String name, String model, ResourceLocation bottom, ResourceLocation top) void
BlockStateProvider.doorBlock
(DoorBlock block, String name, ResourceLocation bottom, ResourceLocation top) void
BlockStateProvider.doorBlock
(DoorBlock block, ResourceLocation bottom, ResourceLocation top) private void
BlockStateProvider.doorBlockInternal
(DoorBlock block, String baseName, ResourceLocation bottom, ResourceLocation top) private void
BlockStateProvider.doorBlockInternalWithRenderType
(DoorBlock block, String baseName, ResourceLocation bottom, ResourceLocation top, ResourceLocation renderType) void
BlockStateProvider.doorBlockWithRenderType
(DoorBlock block, String name, ResourceLocation bottom, ResourceLocation top, String renderType) void
BlockStateProvider.doorBlockWithRenderType
(DoorBlock block, String name, ResourceLocation bottom, ResourceLocation top, ResourceLocation renderType) void
BlockStateProvider.doorBlockWithRenderType
(DoorBlock block, ResourceLocation bottom, ResourceLocation top, String renderType) void
BlockStateProvider.doorBlockWithRenderType
(DoorBlock block, ResourceLocation bottom, ResourceLocation top, ResourceLocation renderType) ModelProvider.doorBottomLeft
(String name, ResourceLocation bottom, ResourceLocation top) ModelProvider.doorBottomLeftOpen
(String name, ResourceLocation bottom, ResourceLocation top) ModelProvider.doorBottomRight
(String name, ResourceLocation bottom, ResourceLocation top) ModelProvider.doorBottomRightOpen
(String name, ResourceLocation bottom, ResourceLocation top) ModelProvider.doorTopLeft
(String name, ResourceLocation bottom, ResourceLocation top) ModelProvider.doorTopLeftOpen
(String name, ResourceLocation bottom, ResourceLocation top) ModelProvider.doorTopRight
(String name, ResourceLocation bottom, ResourceLocation top) ModelProvider.doorTopRightOpen
(String name, ResourceLocation bottom, ResourceLocation top) private ResourceLocation
BlockStateProvider.extend
(ResourceLocation rl, String suffix) private ResourceLocation
ModelProvider.extendWithFolder
(ResourceLocation rl) void
BlockStateProvider.fenceBlock
(FenceBlock block, String name, ResourceLocation texture) void
BlockStateProvider.fenceBlock
(FenceBlock block, ResourceLocation texture) void
BlockStateProvider.fenceBlockWithRenderType
(FenceBlock block, String name, ResourceLocation texture, String renderType) void
BlockStateProvider.fenceBlockWithRenderType
(FenceBlock block, String name, ResourceLocation texture, ResourceLocation renderType) void
BlockStateProvider.fenceBlockWithRenderType
(FenceBlock block, ResourceLocation texture, String renderType) void
BlockStateProvider.fenceBlockWithRenderType
(FenceBlock block, ResourceLocation texture, ResourceLocation renderType) ModelProvider.fenceGate
(String name, ResourceLocation texture) void
BlockStateProvider.fenceGateBlock
(FenceGateBlock block, String name, ResourceLocation texture) void
BlockStateProvider.fenceGateBlock
(FenceGateBlock block, ResourceLocation texture) private void
BlockStateProvider.fenceGateBlockInternal
(FenceGateBlock block, String baseName, ResourceLocation texture) private void
BlockStateProvider.fenceGateBlockInternalWithRenderType
(FenceGateBlock block, String baseName, ResourceLocation texture, ResourceLocation renderType) void
BlockStateProvider.fenceGateBlockWithRenderType
(FenceGateBlock block, String name, ResourceLocation texture, String renderType) void
BlockStateProvider.fenceGateBlockWithRenderType
(FenceGateBlock block, String name, ResourceLocation texture, ResourceLocation renderType) void
BlockStateProvider.fenceGateBlockWithRenderType
(FenceGateBlock block, ResourceLocation texture, String renderType) void
BlockStateProvider.fenceGateBlockWithRenderType
(FenceGateBlock block, ResourceLocation texture, ResourceLocation renderType) ModelProvider.fenceGateOpen
(String name, ResourceLocation texture) ModelProvider.fenceGateWall
(String name, ResourceLocation texture) ModelProvider.fenceGateWallOpen
(String name, ResourceLocation texture) ModelProvider.fenceInventory
(String name, ResourceLocation texture) ModelProvider.fencePost
(String name, ResourceLocation texture) ModelProvider.fenceSide
(String name, ResourceLocation texture) ModelProvider.getExistingFile
(ResourceLocation path) void
BlockStateProvider.horizontalBlock
(Block block, ResourceLocation side, ResourceLocation front, ResourceLocation top) void
BlockStateProvider.logBlockWithRenderType
(RotatedPillarBlock block, ResourceLocation renderType) ModelProvider.orientable
(String name, ResourceLocation side, ResourceLocation front, ResourceLocation top) ModelProvider.orientableVertical
(String name, ResourceLocation side, ResourceLocation front) ModelProvider.orientableWithBottom
(String name, ResourceLocation side, ResourceLocation front, ResourceLocation bottom, ResourceLocation top) private T
ModelProvider.pane
(String name, String parent, ResourceLocation pane, ResourceLocation edge) void
BlockStateProvider.paneBlock
(IronBarsBlock block, String name, ResourceLocation pane, ResourceLocation edge) void
BlockStateProvider.paneBlock
(IronBarsBlock block, ResourceLocation pane, ResourceLocation edge) private void
BlockStateProvider.paneBlockInternal
(IronBarsBlock block, String baseName, ResourceLocation pane, ResourceLocation edge) private void
BlockStateProvider.paneBlockInternalWithRenderType
(IronBarsBlock block, String baseName, ResourceLocation pane, ResourceLocation edge, ResourceLocation renderType) void
BlockStateProvider.paneBlockWithRenderType
(IronBarsBlock block, String name, ResourceLocation pane, ResourceLocation edge, String renderType) void
BlockStateProvider.paneBlockWithRenderType
(IronBarsBlock block, String name, ResourceLocation pane, ResourceLocation edge, ResourceLocation renderType) void
BlockStateProvider.paneBlockWithRenderType
(IronBarsBlock block, ResourceLocation pane, ResourceLocation edge, String renderType) void
BlockStateProvider.paneBlockWithRenderType
(IronBarsBlock block, ResourceLocation pane, ResourceLocation edge, ResourceLocation renderType) ModelProvider.paneNoSide
(String name, ResourceLocation pane) ModelProvider.paneNoSideAlt
(String name, ResourceLocation pane) ModelProvider.panePost
(String name, ResourceLocation pane, ResourceLocation edge) ModelProvider.paneSide
(String name, ResourceLocation pane, ResourceLocation edge) ModelProvider.paneSideAlt
(String name, ResourceLocation pane, ResourceLocation edge) ItemModelBuilder.OverrideBuilder.predicate
(ResourceLocation key, float value) ModelProvider.pressurePlate
(String name, ResourceLocation texture) void
BlockStateProvider.pressurePlateBlock
(PressurePlateBlock block, ResourceLocation texture) ModelProvider.pressurePlateDown
(String name, ResourceLocation texture) ModelBuilder.renderType
(ResourceLocation renderType) Set the render type for this model.private T
ModelProvider.sideBottomTop
(String name, String parent, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) ModelProvider.sign
(String name, ResourceLocation texture) void
BlockStateProvider.signBlock
(StandingSignBlock signBlock, WallSignBlock wallSignBlock, ResourceLocation texture) private T
ModelProvider.singleTexture
(String name, String parent, String textureKey, ResourceLocation texture) private T
ModelProvider.singleTexture
(String name, String parent, ResourceLocation texture) ModelProvider.singleTexture
(String name, ResourceLocation parent, String textureKey, ResourceLocation texture) ModelProvider.singleTexture
(String name, ResourceLocation parent, ResourceLocation texture) ModelProvider.slab
(String name, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) void
BlockStateProvider.slabBlock
(SlabBlock block, ResourceLocation doubleslab, ResourceLocation texture) void
BlockStateProvider.slabBlock
(SlabBlock block, ResourceLocation doubleslab, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) ModelProvider.slabTop
(String name, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) ModelProvider.stairs
(String name, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) void
BlockStateProvider.stairsBlock
(StairBlock block, String name, ResourceLocation texture) void
BlockStateProvider.stairsBlock
(StairBlock block, String name, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) void
BlockStateProvider.stairsBlock
(StairBlock block, ResourceLocation texture) void
BlockStateProvider.stairsBlock
(StairBlock block, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) private void
BlockStateProvider.stairsBlockInternal
(StairBlock block, String baseName, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) private void
BlockStateProvider.stairsBlockInternalWithRenderType
(StairBlock block, String baseName, ResourceLocation side, ResourceLocation bottom, ResourceLocation top, ResourceLocation renderType) void
BlockStateProvider.stairsBlockWithRenderType
(StairBlock block, String name, ResourceLocation texture, String renderType) void
BlockStateProvider.stairsBlockWithRenderType
(StairBlock block, String name, ResourceLocation texture, ResourceLocation renderType) void
BlockStateProvider.stairsBlockWithRenderType
(StairBlock block, String name, ResourceLocation side, ResourceLocation bottom, ResourceLocation top, String renderType) void
BlockStateProvider.stairsBlockWithRenderType
(StairBlock block, String name, ResourceLocation side, ResourceLocation bottom, ResourceLocation top, ResourceLocation renderType) void
BlockStateProvider.stairsBlockWithRenderType
(StairBlock block, ResourceLocation texture, String renderType) void
BlockStateProvider.stairsBlockWithRenderType
(StairBlock block, ResourceLocation texture, ResourceLocation renderType) void
BlockStateProvider.stairsBlockWithRenderType
(StairBlock block, ResourceLocation side, ResourceLocation bottom, ResourceLocation top, String renderType) void
BlockStateProvider.stairsBlockWithRenderType
(StairBlock block, ResourceLocation side, ResourceLocation bottom, ResourceLocation top, ResourceLocation renderType) ModelProvider.stairsInner
(String name, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) ModelProvider.stairsOuter
(String name, ResourceLocation side, ResourceLocation bottom, ResourceLocation top) ModelBuilder.texture
(String key, ResourceLocation texture) Set the texture for a given dictionary key.ModelProvider.torch
(String name, ResourceLocation torch) ModelProvider.torchWall
(String name, ResourceLocation torch) void
BlockStateProvider.trapdoorBlock
(TrapDoorBlock block, String name, ResourceLocation texture, boolean orientable) void
BlockStateProvider.trapdoorBlock
(TrapDoorBlock block, ResourceLocation texture, boolean orientable) private void
BlockStateProvider.trapdoorBlockInternal
(TrapDoorBlock block, String baseName, ResourceLocation texture, boolean orientable) private void
BlockStateProvider.trapdoorBlockInternalWithRenderType
(TrapDoorBlock block, String baseName, ResourceLocation texture, boolean orientable, ResourceLocation renderType) void
BlockStateProvider.trapdoorBlockWithRenderType
(TrapDoorBlock block, String name, ResourceLocation texture, boolean orientable, String renderType) void
BlockStateProvider.trapdoorBlockWithRenderType
(TrapDoorBlock block, String name, ResourceLocation texture, boolean orientable, ResourceLocation renderType) void
BlockStateProvider.trapdoorBlockWithRenderType
(TrapDoorBlock block, ResourceLocation texture, boolean orientable, String renderType) void
BlockStateProvider.trapdoorBlockWithRenderType
(TrapDoorBlock block, ResourceLocation texture, boolean orientable, ResourceLocation renderType) ModelProvider.trapdoorBottom
(String name, ResourceLocation texture) ModelProvider.trapdoorOpen
(String name, ResourceLocation texture) ModelProvider.trapdoorOrientableBottom
(String name, ResourceLocation texture) ModelProvider.trapdoorOrientableOpen
(String name, ResourceLocation texture) ModelProvider.trapdoorOrientableTop
(String name, ResourceLocation texture) ModelProvider.trapdoorTop
(String name, ResourceLocation texture) void
BlockStateProvider.wallBlock
(WallBlock block, String name, ResourceLocation texture) void
BlockStateProvider.wallBlock
(WallBlock block, ResourceLocation texture) private void
BlockStateProvider.wallBlockInternal
(WallBlock block, String baseName, ResourceLocation texture) private void
BlockStateProvider.wallBlockInternalWithRenderType
(WallBlock block, String baseName, ResourceLocation texture, ResourceLocation renderType) void
BlockStateProvider.wallBlockWithRenderType
(WallBlock block, String name, ResourceLocation texture, String renderType) void
BlockStateProvider.wallBlockWithRenderType
(WallBlock block, String name, ResourceLocation texture, ResourceLocation renderType) void
BlockStateProvider.wallBlockWithRenderType
(WallBlock block, ResourceLocation texture, String renderType) void
BlockStateProvider.wallBlockWithRenderType
(WallBlock block, ResourceLocation texture, ResourceLocation renderType) ModelProvider.wallInventory
(String name, ResourceLocation wall) ModelProvider.wallPost
(String name, ResourceLocation wall) ModelProvider.wallSide
(String name, ResourceLocation wall) ModelProvider.wallSideTall
(String name, ResourceLocation wall) ModelProvider.withExistingParent
(String name, ResourceLocation parent) ModifierConstructorDescriptionBlockModelBuilder
(ResourceLocation outputLocation, ExistingFileHelper existingFileHelper) protected
CustomLoaderBuilder
(ResourceLocation loaderId, T parent, ExistingFileHelper existingFileHelper) ExistingModelFile
(ResourceLocation location, ExistingFileHelper existingHelper) ItemModelBuilder
(ResourceLocation outputLocation, ExistingFileHelper existingFileHelper) protected
ModelBuilder
(ResourceLocation outputLocation, ExistingFileHelper existingFileHelper) protected
ModelFile
(ResourceLocation location) UncheckedModelFile
(ResourceLocation location) ModifierConstructorDescriptionModelProvider
(PackOutput output, String modid, String folder, BiFunction<ResourceLocation, ExistingFileHelper, T> builderFromModId, ExistingFileHelper existingFileHelper) ModelProvider
(PackOutput output, String modid, String folder, Function<ResourceLocation, T> factory, ExistingFileHelper existingFileHelper) -
Uses of ResourceLocation in net.minecraftforge.client.model.generators.loaders
Modifier and TypeFieldDescriptionprivate ResourceLocation
DynamicFluidContainerModelBuilder.fluid
private ResourceLocation
ObjModelBuilder.modelLocation
private ResourceLocation
ObjModelBuilder.mtlOverride
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
it.unimi.dsi.fastutil.ints.IntSet> ItemLayerModelBuilder.renderTypes
Modifier and TypeMethodDescriptionObjModelBuilder.modelLocation
(ResourceLocation modelLocation) ObjModelBuilder.overrideMaterialLibrary
(ResourceLocation mtlOverride) ItemLayerModelBuilder.renderType
(ResourceLocation renderType, int... layers) Set the render type for a set of layers. -
Uses of ResourceLocation in net.minecraftforge.client.model.geometry
Modifier and TypeFieldDescriptionstatic final ResourceLocation
StandaloneGeometryBakingContext.LOCATION
private final ResourceLocation
StandaloneGeometryBakingContext.modelName
private @Nullable ResourceLocation
BlockGeometryBakingContext.renderTypeHint
private @Nullable ResourceLocation
StandaloneGeometryBakingContext.Builder.renderTypeHint
private final @Nullable ResourceLocation
StandaloneGeometryBakingContext.renderTypeHint
Modifier and TypeFieldDescriptionprivate static com.google.common.collect.ImmutableMap<ResourceLocation,
IGeometryLoader<?>> GeometryLoaderManager.LOADERS
Modifier and TypeMethodDescription@Nullable ResourceLocation
BlockGeometryBakingContext.getRenderTypeHint()
@Nullable ResourceLocation
IGeometryBakingContext.getRenderTypeHint()
Returns a hint of the render type this model should use. Custom loaders may ignore this..@Nullable ResourceLocation
StandaloneGeometryBakingContext.getRenderTypeHint()
Modifier and TypeMethodDescriptionprotected abstract void
SimpleUnbakedGeometry.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) BlockGeometryBakingContext.bake
(ModelBaker baker, Function<Material, TextureAtlasSprite> bakedTextureGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) IUnbakedGeometry.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) SimpleUnbakedGeometry.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) static BakedModel
UnbakedGeometryHelper.bake
(BlockModel blockModel, ModelBaker modelBaker, BlockModel owner, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ResourceLocation modelLocation, boolean guiLight3d) Helper for bakingBlockModel
instances.static BakedQuad
UnbakedGeometryHelper.bakeElementFace
(BlockElement element, BlockElementFace face, TextureAtlasSprite sprite, Direction direction, ModelState state, ResourceLocation modelLocation) Turns a singleBlockElementFace
into aBakedQuad
.UnbakedGeometryHelper.bakeElements
(List<BlockElement> elements, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ResourceLocation modelLocation) Bakes a list of block elements and returns the list of baked quads.static void
UnbakedGeometryHelper.bakeElements
(IModelBuilder<?> builder, List<BlockElement> elements, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ResourceLocation modelLocation) Bakes a list of block elements and feeds the baked quads to a model builder.static BakedModel
UnbakedGeometryHelper.bakeVanilla
(BlockModel blockModel, ModelBaker modelBaker, BlockModel owner, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ResourceLocation modelLocation) Deprecated, for removal: This API element is subject to removal in a future version.Merge into the method above in 1.20 once the call fromBlockModel
is gone.StandaloneGeometryBakingContext.Builder.build
(ResourceLocation modelName) StandaloneGeometryBakingContext.create
(ResourceLocation modelName) StandaloneGeometryBakingContext.create
(ResourceLocation modelName, Map<String, ResourceLocation> textures) static @Nullable IGeometryLoader<?>
GeometryLoaderManager.get
(ResourceLocation name) Finds theIGeometryLoader
for a given name, or null if not found.default RenderTypeGroup
IGeometryBakingContext.getRenderType
(ResourceLocation name) Returns aRenderTypeGroup
with the given name, or the empty group if not found..void
BlockGeometryBakingContext.setRenderTypeHint
(ResourceLocation renderTypeHint) StandaloneGeometryBakingContext.Builder.withRenderTypeHint
(ResourceLocation renderTypeHint) StandaloneGeometryBakingContext.Builder.withTextures
(Map<String, ResourceLocation> textures, ResourceLocation defaultTexture) StandaloneGeometryBakingContext.Builder.withTextures
(ResourceLocation atlasLocation, Map<String, ResourceLocation> textures, ResourceLocation defaultTexture) Modifier and TypeMethodDescriptionStandaloneGeometryBakingContext.create
(Map<String, ResourceLocation> textures) StandaloneGeometryBakingContext.create
(ResourceLocation modelName, Map<String, ResourceLocation> textures) default void
IUnbakedGeometry.resolveParents
(Function<ResourceLocation, UnbakedModel> modelGetter, IGeometryBakingContext context) Resolve parents of nestedBlockModel
s which are later used inIUnbakedGeometry.bake(IGeometryBakingContext, ModelBaker, Function, ModelState, ItemOverrides, ResourceLocation)
viaBlockModel.resolveParents(Function)
StandaloneGeometryBakingContext.Builder.withTextures
(Map<String, ResourceLocation> textures, ResourceLocation defaultTexture) StandaloneGeometryBakingContext.Builder.withTextures
(ResourceLocation atlasLocation, Map<String, ResourceLocation> textures, ResourceLocation defaultTexture) ModifierConstructorDescriptionprivate
StandaloneGeometryBakingContext
(ResourceLocation modelName, Predicate<String> materialCheck, Function<String, Material> materialLookup, boolean isGui3d, boolean useBlockLight, boolean useAmbientOcclusion, ItemTransforms transforms, Transformation rootTransform, @Nullable ResourceLocation renderTypeHint, BiPredicate<String, Boolean> visibilityTest) -
Uses of ResourceLocation in net.minecraftforge.client.model.obj
Modifier and TypeFieldDescriptionfinal ResourceLocation
ObjModel.modelLocation
private final @NotNull ResourceLocation
ObjModel.ModelSettings.modelLocation
The field for themodelLocation
record component.Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
ObjMaterialLibrary> ObjLoader.materialCache
Modifier and TypeMethodDescription@NotNull ResourceLocation
ObjModel.ModelSettings.modelLocation()
Returns the value of themodelLocation
record component.Modifier and TypeMethodDescriptionprotected void
ObjModel.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) void
ObjModel.ModelGroup.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) void
ObjModel.ModelObject.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) ObjLoader.loadMaterialLibrary
(ResourceLocation materialLocation) Modifier and TypeMethodDescriptionObjModel.ModelGroup.getTextures
(IGeometryBakingContext owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) ObjModel.ModelObject.getTextures
(IGeometryBakingContext owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) ModifierConstructorDescriptionModelSettings
(@NotNull ResourceLocation modelLocation, boolean automaticCulling, boolean shadeQuads, boolean flipV, boolean emissiveAmbient, @Nullable String mtlOverride) Creates an instance of aModelSettings
record class. -
Uses of ResourceLocation in net.minecraftforge.client.model.renderable
Modifier and TypeMethodDescriptionCompositeRenderable.PartBuilder.addMesh
(ResourceLocation texture, List<BakedQuad> quads) ITextureRenderTypeLookup.get
(ResourceLocation name) static BakedModelRenderable
BakedModelRenderable.of
(ResourceLocation model) Constructs aBakedModelRenderable
from the given model location. -
Uses of ResourceLocation in net.minecraftforge.client.textures
Modifier and TypeFieldDescriptionprivate static com.google.common.collect.ImmutableMap<ResourceLocation,
ITextureAtlasSpriteLoader> TextureAtlasSpriteLoaderManager.LOADERS
Modifier and TypeMethodDescriptionstatic @Nullable ITextureAtlasSpriteLoader
TextureAtlasSpriteLoaderManager.get
(ResourceLocation name) Finds the loader with the given name, or null if none is registered.ITextureAtlasSpriteLoader.loadContents
(ResourceLocation name, Resource resource, FrameSize frameSize, NativeImage image, AnimationMetadataSection animationMeta, ForgeTextureMetadata forgeMeta) @NotNull TextureAtlasSprite
ITextureAtlasSpriteLoader.makeSprite
(ResourceLocation atlasName, SpriteContents contents, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel) Creates aTextureAtlasSprite
from the givenSpriteContents
. -
Uses of ResourceLocation in net.minecraftforge.common
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
TierSortingRegistry.CHANNEL_NAME
private static final ResourceLocation
CreativeModeTabRegistry.CREATIVE_MODE_TAB_ORDERING_JSON
private static final ResourceLocation
TierSortingRegistry.ITEM_TIER_ORDERING_JSON
final ResourceLocation
ForgeHooks.LootTableContext.name
Modifier and TypeFieldDescriptionprivate static final com.google.common.collect.BiMap<ResourceLocation,
CreativeModeTab> CreativeModeTabRegistry.creativeModeTabs
private static final com.google.common.collect.Multimap<ResourceLocation,
ResourceLocation> CreativeModeTabRegistry.edges
private static final com.google.common.collect.Multimap<ResourceLocation,
ResourceLocation> CreativeModeTabRegistry.edges
private static final com.google.common.collect.Multimap<ResourceLocation,
ResourceLocation> TierSortingRegistry.edges
private static final com.google.common.collect.Multimap<ResourceLocation,
ResourceLocation> TierSortingRegistry.edges
private final List<ResourceLocation>
TierSortingRegistry.SyncPacket.tiers
The field for thetiers
record component.private static final com.google.common.collect.BiMap<ResourceLocation,
Tier> TierSortingRegistry.tiers
private static final com.google.common.collect.BiMap<ResourceLocation,
CreativeModeTab> CreativeModeTabRegistry.vanillaCreativeModeTabs
private static final com.google.common.collect.Multimap<ResourceLocation,
ResourceLocation> CreativeModeTabRegistry.vanillaEdges
private static final com.google.common.collect.Multimap<ResourceLocation,
ResourceLocation> CreativeModeTabRegistry.vanillaEdges
private static final com.google.common.collect.Multimap<ResourceLocation,
ResourceLocation> TierSortingRegistry.vanillaEdges
private static final com.google.common.collect.Multimap<ResourceLocation,
ResourceLocation> TierSortingRegistry.vanillaEdges
Modifier and TypeMethodDescriptionprivate static ResourceLocation
CreativeModeTabRegistry.getCreativeModeTabName
(Object entry) static @Nullable ResourceLocation
CreativeModeTabRegistry.getName
(CreativeModeTab tab) Returns the name of the given CreativeModeTab, or null.static @Nullable ResourceLocation
Returns the name associated with a tier, if the tier is registered into the sorting system.private static ResourceLocation
TierSortingRegistry.getTierName
(Object entry) Modifier and TypeMethodDescriptionTierSortingRegistry.SyncPacket.tiers()
Returns the value of thetiers
record component.Modifier and TypeMethodDescriptionstatic @Nullable Tier
TierSortingRegistry.byName
(ResourceLocation name) Returns the tier associated with a name, if registered into the sorting system.static @Nullable CreativeModeTab
CreativeModeTabRegistry.getTab
(ResourceLocation name) Returns the CreativeModeTab with the given name, or null.static @Nullable LootTable
ForgeHooks.loadLootTable
(com.google.gson.Gson gson, ResourceLocation name, com.google.gson.JsonElement data, boolean custom, LootTables lootTableManager) static it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>
ForgeHooks.modifyLoot
(ResourceLocation lootTableId, it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> generatedLoot, LootContext context) Handles the modification of loot table drops via the registered Global Loot Modifiers, so that custom effects can be processed.static String
ForgeHooks.prefixNamespace
(ResourceLocation registryKey) This method is used to prefix the path, where elements of the associated registry are stored, with their namespace, if it is not minecraftprivate static void
CreativeModeTabRegistry.processCreativeModeTab
(CreativeModeTab creativeModeTab, ResourceLocation name, List<Object> afterEntries, List<Object> beforeEntries) private static void
TierSortingRegistry.processTier
(Tier tier, ResourceLocation name, List<Object> afters, List<Object> befores) private static CreativeModeTab
CreativeModeTabRegistry.registerCreativeModeTab
(Consumer<CreativeModeTab.Builder> configurator, ResourceLocation name, List<Object> afterEntries, List<Object> beforeEntries) static Tier
TierSortingRegistry.registerTier
(Tier tier, ResourceLocation name, List<Object> after, List<Object> before) Registers a tier into the tier sorting registry.ModifierConstructorDescriptionprivate
SyncPacket
(List<ResourceLocation> tiers) Creates an instance of aSyncPacket
record class. -
Uses of ResourceLocation in net.minecraftforge.common.capabilities
ModifierConstructorDescriptionCapabilityDispatcher
(Map<ResourceLocation, ICapabilityProvider> list, List<Runnable> listeners) CapabilityDispatcher
(Map<ResourceLocation, ICapabilityProvider> list, List<Runnable> listeners, @Nullable ICapabilityProvider parent) -
Uses of ResourceLocation in net.minecraftforge.common.crafting
Modifier and TypeFieldDescriptionprivate ResourceLocation
ConditionalRecipe.Builder.advId
private final ResourceLocation
ConditionalRecipe.Finished.advId
private final ResourceLocation
ConditionalRecipe.Finished.id
Modifier and TypeFieldDescriptionprivate static final Map<ResourceLocation,
IConditionSerializer<?>> CraftingHelper.conditions
private static final com.google.common.collect.BiMap<ResourceLocation,
IIngredientSerializer<?>> CraftingHelper.ingredients
Modifier and TypeMethodDescriptionConditionalRecipe.Finished.getAdvancementId()
ConditionalRecipe.Finished.getId()
static @Nullable ResourceLocation
CraftingHelper.getID
(IIngredientSerializer<?> serializer) Modifier and TypeMethodDescriptionvoid
ConditionalRecipe.Builder.build
(Consumer<FinishedRecipe> consumer, ResourceLocation id) ConditionalRecipe.Serializer.fromJson
(ResourceLocation recipeId, com.google.gson.JsonObject json) ConditionalRecipe.Serializer.fromJson
(ResourceLocation recipeId, com.google.gson.JsonObject json, ICondition.IContext context) ConditionalRecipe.Serializer.fromNetwork
(ResourceLocation recipeId, FriendlyByteBuf buffer) ConditionalRecipe.Builder.generateAdvancement
(@Nullable ResourceLocation id) static Ingredient
CraftingHelper.getIngredient
(ResourceLocation type, FriendlyByteBuf buffer) static <T extends Ingredient>
IIngredientSerializer<T>CraftingHelper.register
(ResourceLocation key, IIngredientSerializer<T> serializer) ConditionalRecipe.Builder.setAdvancement
(@Nullable ResourceLocation id, ConditionalAdvancement.Builder advancement) ModifierConstructorDescriptionprivate
Finished
(ResourceLocation id, List<ICondition[]> conditions, List<FinishedRecipe> recipes, @Nullable ResourceLocation advId, ConditionalAdvancement.Builder adv) -
Uses of ResourceLocation in net.minecraftforge.common.crafting.conditions
Modifier and TypeFieldDescriptionprivate final ResourceLocation
ItemExistsCondition.item
private static final ResourceLocation
AndCondition.NAME
private static final ResourceLocation
FalseCondition.NAME
private static final ResourceLocation
ItemExistsCondition.NAME
private static final ResourceLocation
ModLoadedCondition.NAME
private static final ResourceLocation
NotCondition.NAME
private static final ResourceLocation
OrCondition.NAME
private static final ResourceLocation
TagEmptyCondition.NAME
private static final ResourceLocation
TrueCondition.NAME
Modifier and TypeFieldDescriptionprivate Map<ResourceKey<?>,
Map<ResourceLocation, Collection<Holder<?>>>> ConditionContext.loadedTags
Modifier and TypeMethodDescriptionAndCondition.getID()
AndCondition.Serializer.getID()
FalseCondition.getID()
FalseCondition.Serializer.getID()
ICondition.getID()
IConditionSerializer.getID()
ItemExistsCondition.getID()
ItemExistsCondition.Serializer.getID()
ModLoadedCondition.getID()
ModLoadedCondition.Serializer.getID()
NotCondition.getID()
NotCondition.Serializer.getID()
OrCondition.getID()
OrCondition.Serializer.getID()
TagEmptyCondition.getID()
TagEmptyCondition.Serializer.getID()
TrueCondition.getID()
TrueCondition.Serializer.getID()
Modifier and TypeMethodDescription<T> Map<ResourceLocation,
Collection<Holder<T>>> ConditionContext.getAllTags
(ResourceKey<? extends Registry<T>> registry) <T> Map<ResourceLocation,
Collection<Holder<T>>> ICondition.IContext.getAllTags
(ResourceKey<? extends Registry<T>> registry) Return all the loaded tags for the passed registry, or an empty map if none is available.ModifierConstructorDescription -
Uses of ResourceLocation in net.minecraftforge.common.data
Modifier and TypeFieldDescriptionprotected static final ResourceLocation
SpriteSourceProvider.BANNER_PATTERNS_ATLAS
protected static final ResourceLocation
SpriteSourceProvider.BEDS_ATLAS
protected static final ResourceLocation
SpriteSourceProvider.BLOCKS_ATLAS
protected static final ResourceLocation
SpriteSourceProvider.CHESTS_ATLAS
protected static final ResourceLocation
SpriteSourceProvider.MOB_EFFECTS_ATLAS
private final ResourceLocation
SoundDefinition.Sound.name
protected static final ResourceLocation
SpriteSourceProvider.PAINTINGS_ATLAS
protected static final ResourceLocation
SpriteSourceProvider.PARTICLES_ATLAS
protected static final ResourceLocation
SpriteSourceProvider.SHIELD_PATTERNS_ATLAS
protected static final ResourceLocation
SpriteSourceProvider.SHULKER_BOXES_ATLAS
protected static final ResourceLocation
SpriteSourceProvider.SIGNS_ATLAS
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
SpriteSourceProvider.SourceList> SpriteSourceProvider.atlases
protected Map<ResourceLocation,
ICondition[]> JsonCodecProvider.conditions
protected final Map<ResourceLocation,
T> JsonCodecProvider.entries
private final Set<ResourceLocation>
ForgeRecipeProvider.excludes
private final com.google.common.collect.Multimap<PackType,
ResourceLocation> ExistingFileHelper.generated
Modifier and TypeMethodDescriptionprivate ResourceLocation
ExistingFileHelper.getLocation
(ResourceLocation base, String suffix, String prefix) (package private) ResourceLocation
SoundDefinition.Sound.name()
Modifier and TypeMethodDescriptionprotected void
SoundDefinitionsProvider.add
(ResourceLocation soundEvent, SoundDefinition definition) protected final SpriteSourceProvider.SourceList
SpriteSourceProvider.atlas
(ResourceLocation atlas) Get or create aSpriteSourceProvider.SourceList
for the given atlasprotected CompletableFuture<?>
ForgeRecipeProvider.buildAdvancement
(CachedOutput p_253674_, ResourceLocation p_254102_, Advancement.Builder p_253712_) private @Nullable Ingredient
ForgeRecipeProvider.enhance
(ResourceLocation name, Ingredient vanilla) boolean
ExistingFileHelper.exists
(ResourceLocation loc, PackType packType) Check if a given resource exists in the known resource packs.boolean
ExistingFileHelper.exists
(ResourceLocation loc, PackType packType, String pathSuffix, String pathPrefix) Check if a given resource exists in the known resource packs.boolean
ExistingFileHelper.exists
(ResourceLocation loc, ExistingFileHelper.IResourceType type) Check if a given resource exists in the known resource packs.private ResourceLocation
ExistingFileHelper.getLocation
(ResourceLocation base, String suffix, String prefix) ExistingFileHelper.getResource
(ResourceLocation loc, PackType packType) ExistingFileHelper.getResource
(ResourceLocation loc, PackType packType, String pathSuffix, String pathPrefix) static SoundDefinition.Sound
SoundDefinition.Sound.sound
(ResourceLocation name, SoundDefinition.SoundType type) Creates a new sound with the given name and type.protected static SoundDefinition.Sound
SoundDefinitionsProvider.sound
(ResourceLocation name) Creates a new sound with the given name andSoundDefinition.SoundType.SOUND
as sound type.protected static SoundDefinition.Sound
SoundDefinitionsProvider.sound
(ResourceLocation name, SoundDefinition.SoundType type) Creates a new sound with the given name and type.private String
SoundDefinition.Sound.stripMcPrefix
(ResourceLocation name) void
ExistingFileHelper.trackGenerated
(ResourceLocation loc, PackType packType, String pathSuffix, String pathPrefix) Track the existence of a generated file.void
ExistingFileHelper.trackGenerated
(ResourceLocation loc, ExistingFileHelper.IResourceType type) Track the existence of a generated file.private boolean
SoundDefinitionsProvider.validateEvent
(String soundName, ResourceLocation name) private boolean
SoundDefinitionsProvider.validateSound
(String soundName, ResourceLocation name) Modifier and TypeMethodDescriptionprotected void
JsonCodecProvider.gather
(BiConsumer<ResourceLocation, T> consumer) protected final void
SpriteSourceProvider.gather
(BiConsumer<ResourceLocation, List<SpriteSource>> consumer) JsonCodecProvider.setConditions
(Map<ResourceLocation, ICondition[]> conditions) Applies a condition map to this provider.protected void
ForgeLootTableProvider.validate
(Map<ResourceLocation, LootTable> map, ValidationContext validationcontext) ModifierConstructorDescriptionprivate
Sound
(ResourceLocation name, SoundDefinition.SoundType type) ModifierConstructorDescriptionJsonCodecProvider
(PackOutput output, ExistingFileHelper existingFileHelper, String modid, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> dynamicOps, PackType packType, String directory, com.mojang.serialization.Codec<T> codec, Map<ResourceLocation, T> entries) -
Uses of ResourceLocation in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault T
IForgeRecipeSerializer.fromJson
(ResourceLocation recipeLoc, com.google.gson.JsonObject recipeJson, ICondition.IContext context) default Advancement
IForgeCommandSourceStack.getAdvancement
(ResourceLocation id) default TagsProvider.TagAppender<T>
IForgeTagAppender.remove
(ResourceLocation location) Adds a single element's ID to the tag json's remove list.default TagsProvider.TagAppender<T>
IForgeTagAppender.remove
(ResourceLocation first, ResourceLocation... locations) Adds multiple elements' IDs to the tag json's remove list.default TagBuilder
IForgeRawTagBuilder.removeElement
(ResourceLocation elementID, String source) Adds a single-element entry to the remove list.default TagBuilder
IForgeRawTagBuilder.removeTag
(ResourceLocation tagID, String source) Adds a tag to the remove list.default Advancement
IForgeAdvancementBuilder.save
(Consumer<Advancement> saver, ResourceLocation id, ExistingFileHelper fileHelper) Saves this builder with the given id using theExistingFileHelper
to check if the parent is already known.default void
IForgeFriendlyByteBuf.writeRegistryIdUnsafe
(@NotNull IForgeRegistry<?> registry, @NotNull ResourceLocation entryKey) Writes the given entries integer id to the buffer. -
Uses of ResourceLocation in net.minecraftforge.common.loot
Modifier and TypeFieldDescriptionprivate final ResourceLocation
LootTableIdCondition.Builder.targetLootTableId
private final ResourceLocation
LootTableIdCondition.targetLootTableId
static final ResourceLocation
LootTableIdCondition.UNKNOWN_LOOT_TABLE
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,
IGlobalLootModifier> LootModifierManager.registeredLootModifiers
Modifier and TypeMethodDescriptionstatic LootTableIdCondition.Builder
LootTableIdCondition.builder
(ResourceLocation targetLootTableId) Modifier and TypeMethodDescriptionprotected void
LootModifierManager.apply
(Map<ResourceLocation, com.google.gson.JsonElement> resourceList, ResourceManager resourceManagerIn, ProfilerFiller profilerIn) ModifierConstructorDescriptionBuilder
(ResourceLocation targetLootTableId) private
LootTableIdCondition
(ResourceLocation targetLootTableId) -
Uses of ResourceLocation in net.minecraftforge.debug
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
DuplicateOptionalTagTest.TAG_NAME
private static ResourceLocation
CapabilitiesTest.TEST_CAP_ID
Modifier and TypeFieldDescriptionprivate static final Set<ResourceLocation>
DataGeneratorTest.BlockStates.CUSTOM_MODELS
private static final Set<ResourceLocation>
DataGeneratorTest.BlockStates.IGNORED_MODELS
Modifier and TypeMethodDescriptionprivate static <T extends ModelBuilder<T>>
List<String>DataGeneratorTest.testModelResults
(Map<ResourceLocation, T> models, ExistingFileHelper existingFileHelper, Set<ResourceLocation> toIgnore) private static <T extends ModelBuilder<T>>
List<String>DataGeneratorTest.testModelResults
(Map<ResourceLocation, T> models, ExistingFileHelper existingFileHelper, Set<ResourceLocation> toIgnore) -
Uses of ResourceLocation in net.minecraftforge.debug.block
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
FullPotsAccessorDemo.ClientHandler.DioritePotModel.DIRT_TEXTURE
private static final ResourceLocation
FullPotsAccessorDemo.ClientHandler.DioritePotModel.POT_TEXTURE
Modifier and TypeMethodDescriptionFullPotsAccessorDemo.ClientHandler.DioritePotModelGeometry.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) Modifier and TypeMethodDescriptionvoid
FullPotsAccessorDemo.ClientHandler.DioritePotModelGeometry.resolveParents
(Function<ResourceLocation, UnbakedModel> modelGetter, IGeometryBakingContext context) -
Uses of ResourceLocation in net.minecraftforge.debug.client
Modifier and TypeMethodDescriptionCustomTASTest.TasLoader.loadContents
(ResourceLocation name, Resource resource, FrameSize frameSize, NativeImage image, AnimationMetadataSection animationMeta, ForgeTextureMetadata forgeMeta) @NotNull TextureAtlasSprite
CustomTASTest.TasLoader.makeSprite
(ResourceLocation atlasName, SpriteContents contents, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel) ModifierConstructorDescriptionprivate
TintedArmorModel
(Function<ResourceLocation, RenderType> renderTypeFunction) -
Uses of ResourceLocation in net.minecraftforge.debug.client.model
Modifier and TypeMethodDescriptionprotected void
NewModelLoaderTest.TestModel.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) -
Uses of ResourceLocation in net.minecraftforge.debug.client.rendering
Modifier and TypeFieldDescriptionprivate static ResourceLocation
RenderableTest.Client.MODEL_LOC
private static final ResourceLocation
EntityRendererEventsTest.MY_ENTITY
private static final ResourceLocation
EntityRendererEventsTest.EntityRenderEventsTestClientModStuff.MyEntityRenderer.TEXTURE
Modifier and TypeMethodDescriptionEntityRendererEventsTest.EntityRenderEventsTestClientModStuff.MyEntityRenderer.getTextureLocation
(EntityRendererEventsTest.MyEntity p_114482_) Modifier and TypeMethodDescriptionprivate static RenderType
RenderableTest.Client.getRenderType
(RenderLevelStageEvent.Stage stage, ResourceLocation texture) -
Uses of ResourceLocation in net.minecraftforge.debug.fluid
Modifier and TypeFieldDescriptionstatic final ResourceLocation
NewFluidTest.FLUID_FLOWING
static final ResourceLocation
NewFluidTest.FLUID_OVERLAY
static final ResourceLocation
NewFluidTest.FLUID_STILL
-
Uses of ResourceLocation in net.minecraftforge.debug.item
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
CustomElytraTest.CustomElytraLayer.TEXTURE_ELYTRA
Modifier and TypeMethodDescriptionCustomElytraTest.CustomElytraLayer.getElytraTexture
(ItemStack stack, AbstractClientPlayer entity) -
Uses of ResourceLocation in net.minecraftforge.debug.misc
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
DataPackRegistriesTest.TEST_RL
-
Uses of ResourceLocation in net.minecraftforge.debug.recipe.recipebook
Modifier and TypeFieldDescriptionfinal ResourceLocation
RecipeBookTestRecipe.id
private static final ResourceLocation
RecipeBookTestScreen.RECIPE_BUTTON_LOCATION
private static final ResourceLocation
RecipeBookTestScreen.TEXTURE
Modifier and TypeMethodDescriptionRecipeBookTestRecipeSerializer.fromJson
(ResourceLocation id, com.google.gson.JsonObject json) @Nullable RecipeBookTestRecipe
RecipeBookTestRecipeSerializer.fromNetwork
(ResourceLocation id, FriendlyByteBuf buf) ModifierConstructorDescriptionRecipeBookTestRecipe
(ResourceLocation id, RecipeBookTestRecipe.Ingredients ingredients) -
Uses of ResourceLocation in net.minecraftforge.debug.world
Modifier and TypeFieldDescriptionstatic final ResourceLocation
StructureModifierTest.ADD_SPAWNS_TO_STRUCTURE_RL
static final ResourceLocation
StructureModifierTest.MODIFY_STRONGHOLD_RL
Modifier and TypeMethodDescriptionprivate static @Nullable ResourceLocation
ChunkWatchEventTest.getDimensionName
(Level w) -
Uses of ResourceLocation in net.minecraftforge.event
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
ICapabilityProvider> AttachCapabilitiesEvent.caps
private final Map<ResourceLocation,
ICapabilityProvider> AttachCapabilitiesEvent.view
Modifier and TypeMethodDescriptionAttachCapabilitiesEvent.getCapabilities()
A unmodifiable view of the capabilities that will be attached to this object.Modifier and TypeMethodDescriptionvoid
AttachCapabilitiesEvent.addCapability
(ResourceLocation key, ICapabilityProvider cap) Adds a capability to be attached to this object.static LootTable
ForgeEventFactory.loadLootTable
(ResourceLocation name, LootTable table, LootTables lootTableManager) CreativeModeTabEvent.Register.registerCreativeModeTab
(ResourceLocation name, Consumer<CreativeModeTab.Builder> configurator) Registers and configures a creative mode tab with the given name and returns the built instance.CreativeModeTabEvent.Register.registerCreativeModeTab
(ResourceLocation name, List<Object> beforeEntries, List<Object> afterEntries, Consumer<CreativeModeTab.Builder> configurator) Registers and configures a creative mode tab with the given name and returns the built instance.@NotNull CreativeModeTab
CreativeModeTabEvent.Registrar.registerCreativeModeTab
(@NotNull Consumer<CreativeModeTab.Builder> configurator, @NotNull ResourceLocation name, @NotNull List<Object> afters, @NotNull List<Object> befores) Register a new tab.ModifierConstructorDescriptionLootTableLoadEvent
(ResourceLocation name, LootTable table, LootTables lootTableManager) -
Uses of ResourceLocation in net.minecraftforge.network
Modifier and TypeFieldDescriptionprivate final ResourceLocation
NetworkInstance.channelName
private ResourceLocation
NetworkRegistry.ChannelBuilder.channelName
private final ResourceLocation
NetworkRegistry.LoginPayload.channelName
A channel which will receive aNetworkEvent.LoginPayloadEvent
from theLoginWrapper
(package private) static final ResourceLocation
NetworkConstants.FML_HANDSHAKE_RESOURCE
(package private) static final ResourceLocation
NetworkConstants.FML_PLAY_RESOURCE
(package private) static final ResourceLocation
NetworkConstants.MC_REGISTER_RESOURCE
(package private) static final ResourceLocation
NetworkConstants.MC_UNREGISTER_RESOURCE
private ResourceLocation
HandshakeMessages.S2CRegistry.registryName
static final ResourceLocation
LoginWrapper.WRAPPER
Modifier and TypeFieldDescriptionprivate com.google.common.collect.ImmutableMap<ResourceLocation,
String> ConnectionData.channels
private Map<ResourceLocation,
String> HandshakeMessages.C2SModListReply.channels
private Map<ResourceLocation,
String> HandshakeMessages.S2CModList.channels
private final Map<ResourceLocation,
org.apache.commons.lang3.tuple.Pair<String, Boolean>> ServerStatusPing.channels
private final BiFunction<org.apache.commons.lang3.tuple.Pair<FriendlyByteBuf,
Integer>, ResourceLocation, ICustomPacket<?>> NetworkEvent.PacketDispatcher.NetworkManagerDispatcher.customPacketSupplier
private static Map<ResourceLocation,
NetworkInstance> NetworkRegistry.instances
private Set<ResourceLocation>
MCRegisterPacketHandler.ChannelList.locations
private final Map<ResourceLocation,
String> HandshakeMessages.S2CChannelMismatchData.mismatchedChannelData
private final Map<ResourceLocation,
String> ConnectionData.ModMismatchData.mismatchedModData
The field for themismatchedModData
record component.(package private) BiConsumer<ResourceLocation,
FriendlyByteBuf> NetworkEvent.PacketDispatcher.packetSink
private final Map<ResourceLocation,
org.apache.commons.lang3.tuple.Pair<String, String>> ConnectionData.ModMismatchData.presentModData
The field for thepresentModData
record component.private Map<ResourceLocation,
String> HandshakeMessages.C2SModListReply.registries
private List<ResourceLocation>
HandshakeMessages.S2CModList.registries
private Set<ResourceLocation>
HandshakeHandler.registriesToReceive
private Map<ResourceLocation,
String> HandshakeHandler.registryHashes
private Map<ResourceLocation,
ForgeRegistry.Snapshot> HandshakeHandler.registrySnapshots
private Set<ResourceLocation>
MCRegisterPacketHandler.ChannelList.remoteLocations
Modifier and TypeMethodDescriptionNetworkInstance.getChannelName()
NetworkRegistry.LoginPayload.getChannelName()
ICustomPacket.getName()
HandshakeMessages.S2CRegistry.getRegistryName()
Modifier and TypeMethodDescription(package private) static Map<ResourceLocation,
String> NetworkRegistry.buildChannelVersions()
Construct the Map representation of the channel list, for use during login handshaking(package private) static Map<ResourceLocation,
org.apache.commons.lang3.tuple.Pair<String, Boolean>> NetworkRegistry.buildChannelVersionsForListPing()
Construct the Map representation of the channel list, for the client to check against during list pingprivate Set<ResourceLocation>
MCRegisterPacketHandler.ChannelList.bytesToResLocation
(byte[] all) private static Map<ResourceLocation,
String> ConnectionData.ModMismatchData.enhanceWithModVersion
(Map<ResourceLocation, String> mismatchedChannels, ConnectionData connectionData, boolean mismatchedDataFromServer) Enhances a map of mismatched channels with the corresponding mod version.com.google.common.collect.ImmutableMap<ResourceLocation,
String> ConnectionData.getChannels()
Returns the list of impl channels present in the remote.HandshakeMessages.C2SModListReply.getChannels()
HandshakeMessages.S2CModList.getChannels()
private List<Map.Entry<ResourceLocation,
org.apache.commons.lang3.tuple.Pair<String, Boolean>>> ServerStatusPing.getChannelsForMod
(String modId) HandshakeMessages.S2CChannelMismatchData.getMismatchedChannelData()
private List<Map.Entry<ResourceLocation,
org.apache.commons.lang3.tuple.Pair<String, Boolean>>> ServerStatusPing.getNonModChannels()
private static Map<ResourceLocation,
org.apache.commons.lang3.tuple.Pair<String, String>> ConnectionData.ModMismatchData.getPresentChannelData
(Set<ResourceLocation> mismatchedChannelsFilter, ConnectionData connectionData, boolean mismatchedDataFromServer) Queries the channel data from the side the mismatched data isn't from, in order to provide a map of all the present channels for a proper comparison against the mismatched channel data.private static org.apache.commons.lang3.tuple.Pair<ResourceLocation,
org.apache.commons.lang3.tuple.Pair<String, String>> ConnectionData.ModMismatchData.getPresentModDataFromChannel
(ResourceLocation channel, ConnectionData connectionData, boolean mismatchedDataFromServer) Queries the mod data from a given channel id from the side the mismatched data isn't from.HandshakeMessages.C2SModListReply.getRegistries()
HandshakeMessages.S2CModList.getRegistries()
Map<ResourceLocation,
org.apache.commons.lang3.tuple.Pair<String, Boolean>> ServerStatusPing.getRemoteChannels()
MCRegisterPacketHandler.ChannelList.getRemoteLocations()
Returns the unmodifiable set of channel locations sent by the remote side.private static Map<ResourceLocation,
org.apache.commons.lang3.tuple.Pair<String, String>> ConnectionData.ModMismatchData.getServerSidePresentModData
(Set<ResourceLocation> mismatchedModsFilter, ConnectionData connectionData) Queries the mod data from the server side.ConnectionData.ModMismatchData.mismatchedModData()
Returns the value of themismatchedModData
record component.Map<ResourceLocation,
org.apache.commons.lang3.tuple.Pair<String, String>> ConnectionData.ModMismatchData.presentModData()
Returns the value of thepresentModData
record component.private static Map<ResourceLocation,
String> NetworkRegistry.validateChannels
(Map<ResourceLocation, String> incoming, String originName, BiFunction<NetworkInstance, String, Boolean> testFunction) Tests if the map matches with the supplied predicate tester(package private) static Map<ResourceLocation,
String> NetworkRegistry.validateClientChannels
(Map<ResourceLocation, String> channels) Validate the channels from the server on the client.(package private) static Map<ResourceLocation,
String> NetworkRegistry.validateServerChannels
(Map<ResourceLocation, String> channels) Validate the channels from the client on the server.Modifier and TypeMethodDescriptionvoid
NetworkEvent.GatherLoginPayloadsEvent.add
(FriendlyByteBuf buffer, ResourceLocation channelName, String context) void
NetworkEvent.GatherLoginPayloadsEvent.add
(FriendlyByteBuf buffer, ResourceLocation channelName, String context, boolean needsResponse) <T extends Packet<?>>
ICustomPacket<T>NetworkDirection.buildPacket
(org.apache.commons.lang3.tuple.Pair<FriendlyByteBuf, Integer> packetData, ResourceLocation channelName) NetworkDirection.Factory.create
(FriendlyByteBuf data, Integer index, ResourceLocation channelName) private static NetworkInstance
NetworkRegistry.createInstance
(ResourceLocation name, Supplier<String> networkProtocolVersion, Predicate<String> clientAcceptedVersions, Predicate<String> serverAcceptedVersions) Creates the internalNetworkInstance
that tracks the channel data.private void
NetworkEvent.PacketDispatcher.NetworkManagerDispatcher.dispatchPacket
(ResourceLocation resourceLocation, FriendlyByteBuf buffer) (package private) static Optional<NetworkInstance>
NetworkRegistry.findTarget
(ResourceLocation resourceLocation) Find theNetworkInstance
, if possibleprivate static org.apache.commons.lang3.tuple.Pair<ResourceLocation,
org.apache.commons.lang3.tuple.Pair<String, String>> ConnectionData.ModMismatchData.getPresentModDataFromChannel
(ResourceLocation channel, ConnectionData connectionData, boolean mismatchedDataFromServer) Queries the mod data from a given channel id from the side the mismatched data isn't from.NetworkRegistry.ChannelBuilder.named
(ResourceLocation channelName) The name of the channel.static EventNetworkChannel
NetworkRegistry.newEventChannel
(ResourceLocation name, Supplier<String> networkProtocolVersion, Predicate<String> clientAcceptedVersions, Predicate<String> serverAcceptedVersions) Create a newEventNetworkChannel
.static SimpleChannel
NetworkRegistry.newSimpleChannel
(ResourceLocation name, Supplier<String> networkProtocolVersion, Predicate<String> clientAcceptedVersions, Predicate<String> serverAcceptedVersions) Create a newSimpleChannel
.void
NetworkEvent.PacketDispatcher.sendPacket
(ResourceLocation resourceLocation, FriendlyByteBuf buffer) (package private) void
LoginWrapper.sendServerToClientLoginPacket
(ResourceLocation resourceLocation, FriendlyByteBuf buffer, int index, Connection manager) private FriendlyByteBuf
LoginWrapper.wrapPacket
(ResourceLocation rl, FriendlyByteBuf buf) Modifier and TypeMethodDescriptionvoid
MCRegisterPacketHandler.addChannels
(Set<ResourceLocation> locations, Connection manager) ConnectionData.ModMismatchData.channel
(Map<ResourceLocation, String> mismatchedChannels, ConnectionData connectionData, boolean mismatchedDataFromServer) Creates a ModMismatchData instance from given channel mismatch data, which is processed side-aware depending on the value of mismatchedDataFromServerstatic boolean
NetworkRegistry.checkListPingCompatibilityForClient
(Map<ResourceLocation, org.apache.commons.lang3.tuple.Pair<String, Boolean>> incoming) private static Map<ResourceLocation,
String> ConnectionData.ModMismatchData.enhanceWithModVersion
(Map<ResourceLocation, String> mismatchedChannels, ConnectionData connectionData, boolean mismatchedDataFromServer) Enhances a map of mismatched channels with the corresponding mod version.private static Map<ResourceLocation,
org.apache.commons.lang3.tuple.Pair<String, String>> ConnectionData.ModMismatchData.getPresentChannelData
(Set<ResourceLocation> mismatchedChannelsFilter, ConnectionData connectionData, boolean mismatchedDataFromServer) Queries the channel data from the side the mismatched data isn't from, in order to provide a map of all the present channels for a proper comparison against the mismatched channel data.private static Map<ResourceLocation,
org.apache.commons.lang3.tuple.Pair<String, String>> ConnectionData.ModMismatchData.getServerSidePresentModData
(Set<ResourceLocation> mismatchedModsFilter, ConnectionData connectionData) Queries the mod data from the server side.ConnectionData.ModMismatchData.registry
(com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> mismatchedRegistryData, ConnectionData connectionData) Creates a ModMismatchData instance from given mismatched registry entries.ConnectionData.ModMismatchData.registry
(com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> mismatchedRegistryData, ConnectionData connectionData) Creates a ModMismatchData instance from given mismatched registry entries.private static Map<ResourceLocation,
String> NetworkRegistry.validateChannels
(Map<ResourceLocation, String> incoming, String originName, BiFunction<NetworkInstance, String, Boolean> testFunction) Tests if the map matches with the supplied predicate tester(package private) static Map<ResourceLocation,
String> NetworkRegistry.validateClientChannels
(Map<ResourceLocation, String> channels) Validate the channels from the server on the client.(package private) static Map<ResourceLocation,
String> NetworkRegistry.validateServerChannels
(Map<ResourceLocation, String> channels) Validate the channels from the client on the server.ModifierConstructorDescriptionLoginPayload
(FriendlyByteBuf buffer, ResourceLocation channelName, String messageContext) LoginPayload
(FriendlyByteBuf buffer, ResourceLocation channelName, String messageContext, boolean needsResponse) (package private)
NetworkInstance
(ResourceLocation channelName, Supplier<String> networkProtocolVersion, Predicate<String> clientAcceptedVersions, Predicate<String> serverAcceptedVersions) S2CRegistry
(ResourceLocation name, ForgeRegistry.Snapshot snapshot) ModifierConstructorDescriptionprivate
C2SModListReply
(List<String> mods, Map<ResourceLocation, String> channels, Map<ResourceLocation, String> registries) (package private)
Context
(Connection networkManager, NetworkDirection networkDirection, BiConsumer<ResourceLocation, FriendlyByteBuf> packetSink) ModMismatchData
(Map<ResourceLocation, String> mismatchedModData, Map<ResourceLocation, org.apache.commons.lang3.tuple.Pair<String, String>> presentModData, boolean mismatchedDataFromServer) Creates an instance of aModMismatchData
record class.(package private)
NetworkManagerDispatcher
(Connection manager, int packetIndex, BiFunction<org.apache.commons.lang3.tuple.Pair<FriendlyByteBuf, Integer>, ResourceLocation, ICustomPacket<?>> customPacketSupplier) (package private)
PacketDispatcher
(BiConsumer<ResourceLocation, FriendlyByteBuf> packetSink) S2CChannelMismatchData
(Map<ResourceLocation, String> mismatchedChannelData) private
S2CModList
(List<String> mods, Map<ResourceLocation, String> channels, List<ResourceLocation> registries, List<ResourceKey<? extends Registry<?>>> dataPackRegistries) private
ServerStatusPing
(Map<ResourceLocation, org.apache.commons.lang3.tuple.Pair<String, Boolean>> deserialized, Map<String, String> modMarkers, int fmlNetVer, boolean truncated) -
Uses of ResourceLocation in net.minecraftforge.network.filters
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
VanillaPacketSplitter.CHANNEL
Modifier and TypeMethodDescriptionprivate static boolean
VanillaConnectionNetworkFilter.isVanillaRegistry
(ResourceLocation location) -
Uses of ResourceLocation in net.minecraftforge.registries
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
GameData.BLOCK_TO_ITEM
private static final ResourceLocation
GameData.BLOCKSTATE_TO_ID
private static final ResourceLocation
GameData.BLOCKSTATE_TO_POINT_OF_INTEREST_TYPE
private final ResourceLocation
ForgeRegistry.defaultKey
private final ResourceLocation
NamespacedDefaultedWrapper.defaultKey
static final ResourceLocation
NamespacedDefaultedWrapper.Factory.ID
static final ResourceLocation
NamespacedWrapper.Factory.ID
private final ResourceLocation
ObjectHolderRef.injectedObject
final ResourceLocation
IdMappingEvent.ModRemapping.key
(package private) final ResourceLocation
MissingMappingsEvent.Mapping.key
private final ResourceLocation
ForgeRegistry.name
private final @Nullable ResourceLocation
RegistryObject.name
private ResourceLocation
RegistryBuilder.optionalDefaultKey
final ResourceLocation
IdMappingEvent.ModRemapping.registry
private ResourceLocation
RegistryBuilder.registryName
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
ResourceLocation> ForgeRegistry.aliases
private final Map<ResourceLocation,
ResourceLocation> ForgeRegistry.aliases
final Map<ResourceLocation,
ResourceLocation> ForgeRegistry.Snapshot.aliases
final Map<ResourceLocation,
ResourceLocation> ForgeRegistry.Snapshot.aliases
private final Map<ResourceLocation,
Holder.Reference<V>> ForgeRegistry.delegatesByName
final Set<ResourceLocation>
ForgeRegistry.Snapshot.dummied
private final Set<ResourceLocation>
ForgeRegistry.dummies
private Map<ResourceLocation,
Holder.Reference<T>> NamespacedWrapper.holdersByName
final Map<ResourceLocation,
Integer> ForgeRegistry.Snapshot.ids
private final com.google.common.collect.ImmutableSet<ResourceLocation>
IdMappingEvent.keys
private Set<ResourceLocation>
RegistryBuilder.legacyNames
private Map<ResourceLocation,
ResourceLocation> RegistryManager.legacyNames
private Map<ResourceLocation,
ResourceLocation> RegistryManager.legacyNames
private static final BiConsumer<ResourceLocation,
ForgeRegistry<?>> GameData.LOCK_VANILLA
private final com.google.common.collect.BiMap<ResourceLocation,
V> ForgeRegistry.names
private static final Set<Consumer<Predicate<ResourceLocation>>>
ObjectHolderRegistry.objectHolders
private final com.google.common.collect.Multimap<ResourceLocation,
V> ForgeRegistry.overrides
final Map<ResourceLocation,
String> ForgeRegistry.Snapshot.overrides
private Set<ResourceLocation>
RegistryManager.persisted
(package private) com.google.common.collect.BiMap<ResourceLocation,
ForgeRegistry<?>> RegistryManager.registries
private final Map<ResourceLocation,
com.google.common.collect.ImmutableList<IdMappingEvent.ModRemapping>> IdMappingEvent.remaps
(package private) final Map<ResourceLocation,
?> ForgeRegistry.slaves
private static final Comparator<ResourceLocation>
ForgeRegistry.Snapshot.sorter
private Set<ResourceLocation>
RegistryManager.synced
private static Set<ResourceLocation>
RegistryManager.vanillaRegistryKeys
Modifier and TypeMethodDescriptionstatic ResourceLocation
GameData.checkPrefix
(String name, boolean warnOverrides) Check a name for a domain prefix, and if not present infer it from the current active mod container.@Nullable ResourceLocation
RegistryBuilder.getDefault()
@Nullable ResourceLocation
ForgeRegistry.getDefaultKey()
@Nullable ResourceLocation
IForgeRegistry.getDefaultKey()
NamespacedDefaultedWrapper.getDefaultKey()
RegistryObject.getId()
@Nullable ResourceLocation
MissingMappingsEvent.Mapping.getKey()
@Nullable ResourceLocation
<V> ResourceLocation
RegistryManager.getName
(IForgeRegistry<V> reg) @NotNull ResourceLocation
DeferredRegister.getRegistryName()
ForgeRegistry.getRegistryName()
IForgeRegistry.getRegistryName()
private static ResourceLocation
ObjectHolderRegistry.getRegistryName
(Map<org.objectweb.asm.Type, ResourceLocation> classRegistryNames, @Nullable String registryName, org.objectweb.asm.Type targetClass, Object declaration) <V> ResourceLocation
RegistryManager.updateLegacyName
(ResourceLocation legacyName) Modifier and TypeMethodDescription@NotNull Set<ResourceLocation>
ForgeRegistry.getKeys()
@NotNull Set<ResourceLocation>
IForgeRegistry.getKeys()
RegistryBuilder.getLegacyNames()
(package private) Map<ResourceLocation,
String> ForgeRegistry.getOverrideOwners()
com.google.common.collect.ImmutableSet<ResourceLocation>
IdMappingEvent.getRegistries()
static List<ResourceLocation>
RegistryManager.getRegistryNamesForSyncToClient()
static Set<ResourceLocation>
RegistryManager.getVanillaRegistryKeys()
static com.google.common.collect.Multimap<ResourceLocation,
ResourceLocation> GameData.injectSnapshot
(Map<ResourceLocation, ForgeRegistry.Snapshot> snapshot, boolean injectFrozenData, boolean isLocalWorld) static com.google.common.collect.Multimap<ResourceLocation,
ResourceLocation> GameData.injectSnapshot
(Map<ResourceLocation, ForgeRegistry.Snapshot> snapshot, boolean injectFrozenData, boolean isLocalWorld) NamespacedWrapper.keySet()
RegistryManager.takeSnapshot
(boolean savingToDisc) Modifier and TypeMethodDescription(package private) int
ForgeRegistry.add
(int id, ResourceLocation key, V value) (package private) int
ForgeRegistry.add
(int id, ResourceLocation key, V value, String owner) (package private) void
ForgeRegistry.addAlias
(ResourceLocation from, ResourceLocation to) (package private) void
ForgeRegistry.addDummy
(ResourceLocation key) private void
RegistryManager.addLegacyName
(ResourceLocation legacyName, ResourceLocation name) boolean
ForgeRegistry.containsKey
(ResourceLocation key) boolean
IForgeRegistry.containsKey
(ResourceLocation key) boolean
NamespacedWrapper.containsKey
(ResourceLocation key) static <B> DeferredRegister<B>
DeferredRegister.create
(ResourceLocation registryName, String modid) DeferredRegister factory for custom forge registries orvanilla registries
to lookup based on the provided registry name.(package private) static @Nullable ObjectHolderRef
ObjectHolderRef.create
(ResourceLocation registryName, Field field, String injectedObject, boolean extractFromExistingValues) static <T,
U extends T>
RegistryObject<U>RegistryObject.create
(ResourceLocation name, ResourceKey<? extends Registry<T>> registryKey, String modid) Factory for aRegistryObject
that stores the value of an object from a registry once it is ready based on a lookup of the provided registry key.static <T,
U extends T>
RegistryObject<U>RegistryObject.create
(ResourceLocation name, ResourceLocation registryName, String modid) Factory for aRegistryObject
that stores the value of an object from a registry once it is ready based on a lookup of the provided registry name.static <T,
U extends T>
RegistryObject<U>RegistryObject.create
(ResourceLocation name, IForgeRegistry<T> registry) Factory for aRegistryObject
that stores the value of an object from the provided forge registry once it is ready.private void
ForgeRegistry.createAndAddDummy
(ResourceLocation key, int id) GameData.BlockCallbacks.createDummy
(ResourceLocation key) IForgeRegistry.DummyFactory.createDummy
(ResourceLocation key) IForgeRegistry.MissingFactory.createMissing
(ResourceLocation key, boolean isNetwork) static <B> DeferredRegister<B>
DeferredRegister.createOptional
(ResourceLocation registryName, String modid) DeferredRegister factory for the optional existence of custom forge registries orvanilla registries
to lookup based on the provided registry name.static <T,
U extends T>
RegistryObject<U>RegistryObject.createOptional
(ResourceLocation name, ResourceKey<? extends Registry<T>> registryKey, String modid) Factory for aRegistryObject
that optionally stores the value of an object from a registry once it is ready if the registry exists based on a lookup of the provided registry key.static <T,
U extends T>
RegistryObject<U>RegistryObject.createOptional
(ResourceLocation name, ResourceLocation registryName, String modid) Factory for aRegistryObject
that optionally stores the value of an object from a registry once it is ready if the registry exists based on a lookup of the provided registry name.DeferredRegister.createOptionalTagKey
(@NotNull ResourceLocation location, @NotNull Set<? extends Supplier<T>> defaults) Creates a tag key with the provided location that will use the set of defaults if the tag is not loaded from any datapacks.ForgeRegistryTagManager.createOptionalTagKey
(@NotNull ResourceLocation location, @NotNull Set<? extends Supplier<V>> defaults) (package private) <V> ForgeRegistry<V>
RegistryManager.createRegistry
(ResourceLocation name, RegistryBuilder<V> builder) DeferredRegister.createTagKey
(@NotNull ResourceLocation location) Creates a tag key based on the provided resource location and the registry name linked to this DeferredRegister.ForgeRegistryTagManager.createTagKey
(@NotNull ResourceLocation location) (package private) void
ForgeRegistry.dump
(ResourceLocation name) NamespacedDefaultedWrapper.get
(@Nullable ResourceLocation name) NamespacedWrapper.get
(@Nullable ResourceLocation name) @NotNull Optional<Holder.Reference<V>>
ForgeRegistry.getDelegate
(ResourceLocation key) @NotNull Optional<Holder.Reference<V>>
IForgeRegistry.getDelegate
(ResourceLocation key) ForgeRegistry.getDelegateOrThrow
(ResourceLocation key) IForgeRegistry.getDelegateOrThrow
(ResourceLocation key) ForgeRegistry.getHolder
(ResourceLocation location) IForgeRegistry.getHolder
(ResourceLocation location) This method exists purely as a stopgap for vanilla compatibility.NamespacedWrapper.getHolder
(ResourceLocation location) int
ForgeRegistry.getID
(ResourceLocation name) private int
ForgeRegistry.getIDRaw
(ResourceLocation name) ForgeRegistry.getMissingEvent
(ResourceLocation name, Map<ResourceLocation, Integer> map) NamespacedWrapper.getOptional
(@Nullable ResourceLocation name) ForgeRegistry.getRaw
(ResourceLocation key) <V> ForgeRegistry<V>
RegistryManager.getRegistry
(ResourceLocation key) <V> ForgeRegistry<V>
RegistryManager.getRegistry
(ResourceLocation key, RegistryManager other) com.google.common.collect.ImmutableList<IdMappingEvent.ModRemapping>
IdMappingEvent.getRemaps
(ResourceLocation registry) <T> T
ForgeRegistry.getSlaveMap
(ResourceLocation name, Class<T> type) <T> T
IForgeRegistry.getSlaveMap
(ResourceLocation slaveMapName, Class<T> type) Retrieve the slave map of type T from the registry.ForgeRegistry.getValue
(ResourceLocation key) IForgeRegistry.getValue
(ResourceLocation key) (package private) boolean
ForgeRegistry.isDummied
(ResourceLocation key) RegistryBuilder.legacyName
(ResourceLocation name) private static <T> void
GameData.loadFrozenDataToStagingRegistry
(RegistryManager STAGING, ResourceLocation name, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps) void
ForgeRegistry.loadIds
(Map<ResourceLocation, Integer> ids, Map<ResourceLocation, String> overrides, Map<ResourceLocation, Integer> missing, Map<ResourceLocation, IdMappingEvent.IdRemapping> remapped, ForgeRegistry<V> old, ResourceLocation name) private static <T> void
GameData.loadPersistentDataToStagingRegistry
(RegistryManager pool, RegistryManager to, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps, Map<ResourceLocation, Integer> missing, ResourceLocation name, ForgeRegistry.Snapshot snap) private static <T> void
GameData.loadRegistry
(ResourceLocation registryName, RegistryManager from, RegistryManager to, boolean freeze) private Supplier<IForgeRegistry<T>>
DeferredRegister.makeRegistry
(ResourceLocation registryName, Supplier<RegistryBuilder<T>> sup) (package private) boolean
ForgeRegistry.markDummy
(ResourceLocation key, int id) void
GameData.AttributeCallbacks.onValidate
(IForgeRegistryInternal<Attribute> owner, RegistryManager stage, int id, ResourceLocation key, Attribute obj) void
IForgeRegistry.ValidateCallback.onValidate
(IForgeRegistryInternal<V> owner, RegistryManager stage, int id, ResourceLocation key, V obj) private static <T> void
GameData.processMissing
(ResourceLocation name, RegistryManager STAGING, MissingMappingsEvent e, Map<ResourceLocation, Integer> missing, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps, Collection<ResourceLocation> defaulted, Collection<ResourceLocation> failed, boolean injectNetworkDummies) (package private) void
ForgeRegistry.processMissingEvent
(ResourceLocation name, ForgeRegistry<V> pool, List<MissingMappingsEvent.Mapping<V>> mappings, Map<ResourceLocation, Integer> missing, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps, Collection<ResourceLocation> defaulted, Collection<ResourceLocation> failed, boolean injectNetworkDummies) void
ForgeRegistry.register
(ResourceLocation key, V value) void
IForgeRegistry.register
(ResourceLocation key, V value) <T> void
RegisterEvent.register
(ResourceKey<? extends Registry<T>> registryKey, ResourceLocation name, Supplier<T> valueSupplier) Registers the value with the given name to the stored registry if the provided registry key matches this event's registry key.void
RegisterEvent.RegisterHelper.register
(ResourceLocation name, T value) Registers the given value with the given name to the registry.private static boolean
RegistryObject.registryExists
(ResourceLocation registryName) ForgeRegistry.remove
(ResourceLocation key) IForgeRegistryModifiable.remove
(ResourceLocation key) static void
GameData.revert
(RegistryManager state, ResourceLocation registry, boolean lock) private static void
ObjectHolderRegistry.scanClassForFields
(Map<org.objectweb.asm.Type, String> classModIds, org.objectweb.asm.Type targetClass, ResourceLocation registryName, Class<?> registryClass, String value, Class<?> clazz, boolean extractFromExistingValues) RegistryBuilder.setDefaultKey
(ResourceLocation key) RegistryBuilder.setName
(ResourceLocation name) void
ForgeRegistry.setSlaveMap
(ResourceLocation name, Object obj) void
IForgeRegistryInternal.setSlaveMap
(ResourceLocation name, Object obj) (package private) void
ForgeRegistry.sync
(ResourceLocation name, ForgeRegistry<V> from) <V> ResourceLocation
RegistryManager.updateLegacyName
(ResourceLocation legacyName) (package private) void
RegistryObject.updateReference
(ResourceLocation registryName) (package private) void
ForgeRegistry.validateContent
(ResourceLocation registryName) Modifier and TypeMethodDescriptionvoid
ObjectHolderRef.accept
(Predicate<ResourceLocation> filter) static void
ObjectHolderRegistry.addHandler
(Consumer<Predicate<ResourceLocation>> ref) Exposed to allow modders to register their own notification handlers.static void
ObjectHolderRegistry.applyObjectHolders
(Predicate<ResourceLocation> filter) private static void
GameData.fireRemapEvent
(Map<ResourceLocation, Map<ResourceLocation, IdMappingEvent.IdRemapping>> remaps, boolean isFreezing) private static void
GameData.fireRemapEvent
(Map<ResourceLocation, Map<ResourceLocation, IdMappingEvent.IdRemapping>> remaps, boolean isFreezing) ForgeRegistry.getMissingEvent
(ResourceLocation name, Map<ResourceLocation, Integer> map) private static ResourceLocation
ObjectHolderRegistry.getRegistryName
(Map<org.objectweb.asm.Type, ResourceLocation> classRegistryNames, @Nullable String registryName, org.objectweb.asm.Type targetClass, Object declaration) static com.google.common.collect.Multimap<ResourceLocation,
ResourceLocation> GameData.injectSnapshot
(Map<ResourceLocation, ForgeRegistry.Snapshot> snapshot, boolean injectFrozenData, boolean isLocalWorld) private static <T> void
GameData.loadFrozenDataToStagingRegistry
(RegistryManager STAGING, ResourceLocation name, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps) void
ForgeRegistry.loadIds
(Map<ResourceLocation, Integer> ids, Map<ResourceLocation, String> overrides, Map<ResourceLocation, Integer> missing, Map<ResourceLocation, IdMappingEvent.IdRemapping> remapped, ForgeRegistry<V> old, ResourceLocation name) private static <T> void
GameData.loadPersistentDataToStagingRegistry
(RegistryManager pool, RegistryManager to, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps, Map<ResourceLocation, Integer> missing, ResourceLocation name, ForgeRegistry.Snapshot snap) private static <T> void
GameData.processMissing
(ResourceLocation name, RegistryManager STAGING, MissingMappingsEvent e, Map<ResourceLocation, Integer> missing, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps, Collection<ResourceLocation> defaulted, Collection<ResourceLocation> failed, boolean injectNetworkDummies) private static <T> void
GameData.processMissing
(ResourceLocation name, RegistryManager STAGING, MissingMappingsEvent e, Map<ResourceLocation, Integer> missing, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps, Collection<ResourceLocation> defaulted, Collection<ResourceLocation> failed, boolean injectNetworkDummies) (package private) void
ForgeRegistry.processMissingEvent
(ResourceLocation name, ForgeRegistry<V> pool, List<MissingMappingsEvent.Mapping<V>> mappings, Map<ResourceLocation, Integer> missing, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps, Collection<ResourceLocation> defaulted, Collection<ResourceLocation> failed, boolean injectNetworkDummies) (package private) void
ForgeRegistry.processMissingEvent
(ResourceLocation name, ForgeRegistry<V> pool, List<MissingMappingsEvent.Mapping<V>> mappings, Map<ResourceLocation, Integer> missing, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps, Collection<ResourceLocation> defaulted, Collection<ResourceLocation> failed, boolean injectNetworkDummies) static boolean
ObjectHolderRegistry.removeHandler
(Consumer<Predicate<ResourceLocation>> ref) Removed the specified handler from the notification list.ModifierConstructorDescription(package private)
ForgeRegistry
(RegistryManager stage, ResourceLocation name, RegistryBuilder<V> builder) Mapping
(IForgeRegistry<T> registry, IForgeRegistry<T> pool, ResourceLocation key, int id) private
ModRemapping
(ResourceLocation registry, ResourceLocation key, int oldId, int newId) private
ObjectHolderRef
(ForgeRegistry<?> registry, Field field, ResourceLocation injectedObject) private
RegistryObject
(ResourceLocation name, ResourceLocation registryName, String modid, boolean optionalRegistry) private
RegistryObject
(ResourceLocation name, IForgeRegistry<?> registry) ModifierConstructorDescriptionIdMappingEvent
(Map<ResourceLocation, Map<ResourceLocation, IdMappingEvent.IdRemapping>> remaps, boolean isFrozen) IdMappingEvent
(Map<ResourceLocation, Map<ResourceLocation, IdMappingEvent.IdRemapping>> remaps, boolean isFrozen) -
Uses of ResourceLocation in net.minecraftforge.registries.tags
Modifier and TypeMethodDescriptionITagManager.createOptionalTagKey
(@NotNull ResourceLocation location, @NotNull Set<? extends Supplier<V>> defaults) Creates a tag key that will use the set of defaults if the tag is not loaded from any datapacks.ITagManager.createTagKey
(@NotNull ResourceLocation location) Creates a tag key based on the location and the forge registry linked to this tag manager. -
Uses of ResourceLocation in net.minecraftforge.resource
Modifier and TypeMethodDescriptionprivate List<PackResources>
DelegatingPackResources.getCandidatePacks
(PackType type, ResourceLocation location) private static String[]
PathPackResources.getPathFromLocation
(PackType type, ResourceLocation location) @Nullable IoSupplier<InputStream>
DelegatingPackResources.getResource
(PackType type, ResourceLocation location) PathPackResources.getResource
(PackType type, ResourceLocation location) -
Uses of ResourceLocation in net.minecraftforge.server.command
Modifier and TypeMethodDescriptionprivate static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
TagsCommand.suggestFromRegistry
(Function<Registry<?>, Iterable<ResourceLocation>> namesFunction) -
Uses of ResourceLocation in net.minecraftforge.server.permission
Modifier and TypeMethodDescriptionstatic @Nullable ResourceLocation
PermissionAPI.getActivePermissionHandler()
-
Uses of ResourceLocation in net.minecraftforge.server.permission.events
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,
IPermissionHandlerFactory> PermissionGatherEvent.Handler.availableHandlers
Modifier and TypeMethodDescriptionPermissionGatherEvent.Handler.getAvailablePermissionHandlerFactories()
Modifier and TypeMethodDescriptionvoid
PermissionGatherEvent.Handler.addPermissionHandler
(ResourceLocation identifier, IPermissionHandlerFactory handlerFactory) -
Uses of ResourceLocation in net.minecraftforge.server.permission.handler
Modifier and TypeFieldDescriptionstatic final ResourceLocation
DefaultPermissionHandler.IDENTIFIER
Modifier and TypeMethodDescriptionDefaultPermissionHandler.getIdentifier()
IPermissionHandler.getIdentifier()
Returns an identifier for the PermissionHandler. -
Uses of ResourceLocation in net.minecraftforge.server.permission.nodes
ModifierConstructorDescriptionPermissionNode
(ResourceLocation nodeName, PermissionType<T> type, PermissionNode.PermissionResolver<T> defaultResolver, PermissionDynamicContextKey... dynamics) CallsPermissionNode(String, PermissionType, PermissionResolver, PermissionDynamicContextKey[])
with "namespace.path" as the first parameter
BlockModel.bake(ModelBaker, BlockModel, Function, ModelState, ResourceLocation, boolean)
.