Uses of Class
net.minecraft.resources.ResourceLocation
Package
Description
-
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.QUESTIONMARK_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.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 ResourceLocation
EntityPredicate.Builder.catType
private final ResourceLocation
EntityPredicate.catType
private final ResourceLocation
AbstractCriterionTriggerInstance.criterion
private final ResourceLocation
DeserializationContext.id
(package private) final ResourceLocation
DistanceTrigger.id
(package private) final ResourceLocation
KilledTrigger.id
(package private) final ResourceLocation
LocationTrigger.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
ItemPickedUpByEntityTrigger.ID
(package private) static final ResourceLocation
ItemUsedOnBlockTrigger.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
static final ResourceLocation
TickTrigger.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()
ItemPickedUpByEntityTrigger.getId()
ItemUsedOnBlockTrigger.getId()
KilledByCrossbowTrigger.getId()
KilledTrigger.getId()
LevitationTrigger.getId()
LightningStrikeTrigger.getId()
LocationTrigger.getId()
LootTableTrigger.getId()
PlacedBlockTrigger.getId()
PlayerHurtEntityTrigger.getId()
PlayerInteractTrigger.getId()
RecipeUnlockedTrigger.getId()
ShotCrossbowTrigger.getId()
SlideDownBlockTrigger.getId()
StartRidingTrigger.getId()
SummonedEntityTrigger.getId()
TameAnimalTrigger.getId()
TargetBlockTrigger.getId()
TickTrigger.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_) EntityPredicate.Builder.catType
(ResourceLocation p_36666_) 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_) EntityPredicate.Builder.of
(ResourceLocation p_36661_) 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_) private
EntityPredicate
(EntityTypePredicate p_150306_, DistancePredicate p_150307_, LocationPredicate p_150308_, LocationPredicate p_150309_, MobEffectsPredicate p_150310_, NbtPredicate p_150311_, EntityFlagsPredicate p_150312_, EntityEquipmentPredicate p_150313_, PlayerPredicate p_150314_, FishingHookPredicate p_150315_, LighthingBoltPredicate p_150316_, String p_150317_, ResourceLocation p_150318_) (package private)
EntityPredicate
(EntityTypePredicate p_150289_, DistancePredicate p_150290_, LocationPredicate p_150291_, LocationPredicate p_150292_, MobEffectsPredicate p_150293_, NbtPredicate p_150294_, EntityFlagsPredicate p_150295_, EntityEquipmentPredicate p_150296_, PlayerPredicate p_150297_, FishingHookPredicate p_150298_, LighthingBoltPredicate p_150299_, EntityPredicate p_150300_, EntityPredicate p_150301_, EntityPredicate p_150302_, String p_150303_, ResourceLocation p_150304_) KilledTrigger
(ResourceLocation p_48102_) LocationTrigger
(ResourceLocation p_53643_) TriggerInstance
(ResourceLocation p_186184_, EntityPredicate.Composite p_186185_, LocationPredicate p_186186_, DistancePredicate p_186187_) TriggerInstance
(ResourceLocation p_48126_, EntityPredicate.Composite p_48127_, EntityPredicate.Composite p_48128_, DamageSourcePredicate p_48129_) TriggerInstance
(ResourceLocation p_53662_, EntityPredicate.Composite p_53663_, LocationPredicate p_53664_) TriggerInstance
(EntityPredicate.Composite p_54614_, ResourceLocation p_54615_) 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
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_) -
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_94242_, int p_94243_, int p_94244_, int p_94245_, int p_94246_, int p_94247_, int p_94248_, ResourceLocation p_94249_, int p_94250_, int p_94251_, Button.OnPress p_94252_, Button.OnTooltip p_94253_, Component p_94254_) 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 TypeFieldDescriptionprivate final Map<ResourceLocation,
NativeImage> LegacyUnicodeBitmapsProvider.textures
Modifier and TypeMethodDescriptionprivate ResourceLocation
LegacyUnicodeBitmapsProvider.getSheetLocation
(int p_95443_) Modifier and TypeMethodDescriptionprivate NativeImage
LegacyUnicodeBitmapsProvider.loadTexture
(ResourceLocation p_95438_) 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 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.social
Modifier and TypeFieldDescriptionprotected static final ResourceLocation
SocialInteractionsScreen.SOCIAL_INTERACTIONS_LOCATION
ModifierConstructorDescriptionPlayerEntry
(Minecraft p_100552_, SocialInteractionsScreen p_100553_, UUID p_100554_, String p_100555_, Supplier<ResourceLocation> p_100556_) -
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.location
-
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.getAvailableSoundEvents()
ClientSuggestionProvider.getRecipeNames()
-
Uses of ResourceLocation in net.minecraft.client.particle
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 TypeMethodDescriptionprivate void
ParticleEngine.loadParticleDescription
(ResourceManager p_107317_, ResourceLocation p_107318_, Map<ResourceLocation, List<ResourceLocation>> p_107319_) Modifier and TypeMethodDescriptionprivate void
ParticleEngine.loadParticleDescription
(ResourceManager p_107317_, ResourceLocation p_107318_, Map<ResourceLocation, List<ResourceLocation>> p_107319_) private void
ParticleEngine.loadParticleDescription
(ResourceManager p_107317_, ResourceLocation p_107318_, Map<ResourceLocation, List<ResourceLocation>> p_107319_) -
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
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 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 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 TypeMethodDescriptionprotected 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.eyes
(ResourceLocation p_110489_) 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 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_) -
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
(ModelBakery p_111457_, Function<Material, TextureAtlasSprite> p_111458_, ModelState p_111459_, ResourceLocation p_111460_) Deprecated.BlockModel.bake
(ModelBakery p_111450_, BlockModel p_111451_, Function<Material, TextureAtlasSprite> p_111452_, ModelState p_111453_, ResourceLocation p_111454_, boolean p_111455_) MultiVariant.bake
(ModelBakery p_111850_, Function<Material, TextureAtlasSprite> p_111851_, ModelState p_111852_, ResourceLocation p_111853_) private static BakedQuad
BlockModel.bakeFace
(BlockElement p_111438_, BlockElementFace p_111439_, TextureAtlasSprite p_111440_, Direction p_111441_, ModelState p_111442_, ResourceLocation p_111443_) FaceBakery.bakeQuad
(Vector3f p_111601_, Vector3f p_111602_, BlockElementFace p_111603_, TextureAtlasSprite p_111604_, Direction p_111605_, ModelState p_111606_, BlockElementRotation p_111607_, boolean p_111608_, ResourceLocation p_111609_) BlockModel.bakeVanilla
(ModelBakery p_111450_, BlockModel p_111451_, Function<Material, TextureAtlasSprite> p_111452_, ModelState p_111453_, ResourceLocation p_111454_, boolean p_111455_) Deprecated.static ItemTransforms.TransformType
ItemTransforms.TransformType.create
(String keyName, ResourceLocation serializeName) static ItemTransforms.TransformType
ItemTransforms.TransformType.create
(String keyName, ResourceLocation serializeName, ItemTransforms.TransformType fallback) static BakedQuad
BlockModel.makeBakedQuad
(BlockElement p_111438_, BlockElementFace p_111439_, TextureAtlasSprite p_111440_, Direction p_111441_, ModelState p_111442_, ResourceLocation p_111443_) 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 TypeMethodDescriptionprivate BakedModel
ItemOverrides.bakeModel
(ModelBakery p_173471_, UnbakedModel p_173472_, Function<ResourceLocation, UnbakedModel> p_173473_, Function<Material, TextureAtlasSprite> textureGetter, ItemOverride p_173474_) BlockModel.getMaterials
(Function<ResourceLocation, UnbakedModel> p_111469_, Set<com.mojang.datafixers.util.Pair<String, String>> p_111470_) MultiVariant.getMaterials
(Function<ResourceLocation, UnbakedModel> p_111855_, Set<com.mojang.datafixers.util.Pair<String, String>> p_111856_) 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_) ModifierConstructorDescriptionItemOverrides
(ModelBakery p_111740_, BlockModel p_111741_, Function<ResourceLocation, UnbakedModel> p_111742_, List<ItemOverride> p_111743_) Deprecated.ItemOverrides
(ModelBakery p_111740_, UnbakedModel p_111741_, Function<ResourceLocation, UnbakedModel> p_111742_, Function<Material, TextureAtlasSprite> textureGetter, List<ItemOverride> p_111743_) -
Uses of ResourceLocation in net.minecraft.client.renderer.block.model.multipart
Modifier and TypeMethodDescriptionMultiPart.bake
(ModelBakery p_111971_, Function<Material, TextureAtlasSprite> p_111972_, ModelState p_111973_, ResourceLocation p_111974_) Modifier and TypeMethodDescriptionMultiPart.getMaterials
(Function<ResourceLocation, UnbakedModel> p_111976_, Set<com.mojang.datafixers.util.Pair<String, String>> p_111977_) -
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
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
BlazeRenderer.BLAZE_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
CreeperRenderer.CREEPER_LOCATION
static final ResourceLocation
EnderDragonRenderer.CRYSTAL_BEAM_LOCATION
private static final ResourceLocation
HumanoidMobRenderer.DEFAULT_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
GuardianRenderer.GUARDIAN_BEAM_LOCATION
static final ResourceLocation
ElderGuardianRenderer.GUARDIAN_ELDER_LOCATION
private static final ResourceLocation
GuardianRenderer.GUARDIAN_LOCATION
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[]
LlamaRenderer.LLAMA_LOCATIONS
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
BeeRenderer.NECTAR_BEE_TEXTURE
static final ResourceLocation
TippableArrowRenderer.NORMAL_ARROW_LOCATION
static final ResourceLocation[]
ParrotRenderer.PARROT_LOCATIONS
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
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
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
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
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
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, BoatModel>> 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_) 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.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_) 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_) HumanoidMobRenderer.getTextureLocation
(T p_114891_) 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_) 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_) 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_) Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<ResourceLocation,
BoatModel> 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
CatCollarLayer.CAT_COLLAR_LOCATION
private static final ResourceLocation
DrownedOuterLayer.DROWNED_OUTER_LAYER_LOCATION
private static final ResourceLocation
CreeperPowerLayer.POWER_LOCATION
private static final ResourceLocation
SheepFurLayer.SHEEP_FUR_LOCATION
private static final ResourceLocation
StrayClothingLayer.STRAY_CLOTHES_LOCATION
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_) -
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 TypeFieldDescriptionstatic final ResourceLocation
TextureManager.INTENTIONAL_MISSING_TEXTURE
protected final ResourceLocation
SimpleTexture.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
(package private) final ResourceLocation
TextureAtlasSprite.Info.name
private final ResourceLocation
TextureAtlasSprite.name
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
TextureAtlas> AtlasSet.atlases
private final Map<ResourceLocation,
AbstractTexture> TextureManager.byPath
(package private) final Set<ResourceLocation>
TextureAtlas.Preparations.sprites
private final Set<ResourceLocation>
TextureAtlas.sprites
private final Map<ResourceLocation,
TextureAtlasSprite> TextureAtlas.texturesByName
Modifier and TypeMethodDescriptionstatic ResourceLocation
MissingTextureAtlasSprite.getLocation()
TextureAtlasSprite.getName()
private ResourceLocation
TextureAtlas.getResourceLocation
(ResourceLocation p_118325_) TextureAtlas.location()
TextureAtlasSprite.Info.name()
TextureManager.register
(String p_118491_, DynamicTexture p_118492_) Modifier and TypeMethodDescriptionprivate void
TextureManager._bind
(ResourceLocation p_118520_) void
TextureManager.bindForSetup
(ResourceLocation p_174785_) AtlasSet.getAtlas
(ResourceLocation p_117974_) private ResourceLocation
TextureAtlas.getResourceLocation
(ResourceLocation p_118325_) 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_) 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 Collection<TextureAtlasSprite.Info>
TextureAtlas.getBasicSpriteInfos
(ResourceManager p_118305_, Set<ResourceLocation> p_118306_) TextureAtlas.prepareToStitch
(ResourceManager p_118308_, Stream<ResourceLocation> p_118309_, ProfilerFiller p_118310_, int p_118311_) ModifierConstructorDescriptionHttpTexture
(File p_118002_, String p_118003_, ResourceLocation p_118004_, boolean p_118005_, Runnable p_118006_) Info
(ResourceLocation p_118427_, int p_118428_, int p_118429_, AnimationMetadataSection p_118430_) PreloadedTexture
(ResourceManager p_118102_, ResourceLocation p_118103_, Executor p_118104_) SimpleTexture
(ResourceLocation p_118133_) TextureAtlas
(ResourceLocation p_118269_) ModifierConstructorDescriptionPreparations
(Set<ResourceLocation> p_118337_, int p_118338_, int p_118339_, int p_118340_, List<TextureAtlasSprite> p_118341_) -
Uses of ResourceLocation in net.minecraft.client.resources
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
DefaultPlayerSkin.ALEX_SKIN_LOCATION
private static final ResourceLocation
PaintingTextureManager.BACK_SPRITE_LOCATION
static final ResourceLocation
PackResourcesAdapterV4.BANNER_BASE
private static final ResourceLocation
FoliageColorReloadListener.LOCATION
private static final ResourceLocation
GrassColorReloadListener.LOCATION
static final ResourceLocation
PackResourcesAdapterV4.OLD_IRON_GOLEM_LOCATION
static final ResourceLocation
PackResourcesAdapterV4.SHIELD_BASE
private static final ResourceLocation
SplashManager.SPLASHES_LOCATION
private static final ResourceLocation
DefaultPlayerSkin.STEVE_SKIN_LOCATION
Modifier and TypeFieldDescriptionprivate static final Map<String,
com.mojang.datafixers.util.Pair<ChestType, ResourceLocation>> PackResourcesAdapterV4.CHESTS
private final Map<ResourceLocation,
File> AssetIndex.namespacedFiles
private final Map<ResourceLocation,
ResourceLocation> LegacyPackResourcesAdapter.patches
private final Map<ResourceLocation,
ResourceLocation> LegacyPackResourcesAdapter.patches
static final Map<ResourceLocation,
ResourceLocation> LegacyPackResourcesAdapter.V3
static final Map<ResourceLocation,
ResourceLocation> LegacyPackResourcesAdapter.V3
Modifier and TypeMethodDescriptionstatic ResourceLocation
DefaultPlayerSkin.getDefaultSkin()
static ResourceLocation
DefaultPlayerSkin.getDefaultSkin
(UUID p_118628_) private ResourceLocation
LegacyPackResourcesAdapter.map
(ResourceLocation p_118724_) 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_) private ResourceLocation
TextureAtlasHolder.resolveLocation
(ResourceLocation p_118907_) private static ResourceLocation
LegacyPackResourcesAdapter.toMetaLocation
(ResourceLocation p_118716_) Modifier and TypeMethodDescriptionDirectAssetIndex.getFiles
(String p_118639_, String p_118640_, int p_118641_, Predicate<String> p_118642_) DefaultClientPackResources.getResources
(PackType p_118610_, String p_118611_, String p_118612_, int p_118613_, Predicate<String> p_118614_) LegacyPackResourcesAdapter.getResources
(PackType p_118701_, String p_118702_, String p_118703_, int p_118704_, Predicate<String> p_118705_) PackResourcesAdapterV4.getResources
(PackType p_118749_, String p_118750_, String p_118751_, int p_118752_, Predicate<String> p_118753_) protected Stream<ResourceLocation>
MobEffectTextureManager.getResourcesToLoad()
protected Stream<ResourceLocation>
PaintingTextureManager.getResourcesToLoad()
protected abstract Stream<ResourceLocation>
TextureAtlasHolder.getResourcesToLoad()
Modifier and TypeMethodDescriptionAssetIndex.getFile
(ResourceLocation p_118542_) DirectAssetIndex.getFile
(ResourceLocation p_118653_) static int[]
LegacyStuffWrapper.getPixels
(ResourceManager p_118727_, ResourceLocation p_118728_) Deprecated.LegacyPackResourcesAdapter.getResource
(PackType p_118707_, ResourceLocation p_118708_) PackResourcesAdapterV4.getResource
(PackType p_118755_, ResourceLocation p_118756_) protected InputStream
DefaultClientPackResources.getResourceAsStream
(PackType p_118621_, ResourceLocation p_118622_) protected TextureAtlasSprite
TextureAtlasHolder.getSprite
(ResourceLocation p_118902_) boolean
DefaultClientPackResources.hasResource
(PackType p_118618_, ResourceLocation p_118619_) boolean
LegacyPackResourcesAdapter.hasResource
(PackType p_118719_, ResourceLocation p_118720_) boolean
PackResourcesAdapterV4.hasResource
(PackType p_118786_, ResourceLocation p_118787_) private ResourceLocation
LegacyPackResourcesAdapter.map
(ResourceLocation p_118724_) void
SkinManager.SkinTextureCallback.onSkinTextureAvailable
(com.mojang.authlib.minecraft.MinecraftProfileTexture.Type p_118857_, ResourceLocation p_118858_, com.mojang.authlib.minecraft.MinecraftProfileTexture p_118859_) private ResourceLocation
TextureAtlasHolder.resolveLocation
(ResourceLocation p_118907_) private static ResourceLocation
LegacyPackResourcesAdapter.toMetaLocation
(ResourceLocation p_118716_) ModifierConstructorDescriptionTextureAtlasHolder
(TextureManager p_118887_, ResourceLocation p_118888_, String p_118889_) ModifierConstructorDescriptionLegacyPackResourcesAdapter
(PackResources p_118695_, Map<ResourceLocation, ResourceLocation> p_118696_) LegacyPackResourcesAdapter
(PackResources p_118695_, Map<ResourceLocation, ResourceLocation> p_118696_) -
Uses of ResourceLocation in net.minecraft.client.resources.model
Modifier and TypeFieldDescriptionprivate final ResourceLocation
Material.atlasLocation
private final ResourceLocation
Material.texture
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,
com.mojang.datafixers.util.Pair<TextureAtlas, TextureAtlas.Preparations>> ModelBakery.atlasPreparations
private final Map<org.apache.commons.lang3.tuple.Triple<ResourceLocation,
Transformation, Boolean>, BakedModel> ModelBakery.bakedCache
private Map<ResourceLocation,
BakedModel> ModelManager.bakedRegistry
private final Map<ResourceLocation,
BakedModel> ModelBakery.bakedTopLevelModels
static final List<ResourceLocation>
ModelBakery.BREAKING_LOCATIONS
static final List<ResourceLocation>
ModelBakery.DESTROY_STAGES
private final Set<ResourceLocation>
ModelBakery.loadingStack
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
Modifier and TypeMethodDescriptionModelBakery.getBakedTopLevelModels()
UnbakedModel.getDependencies()
ModelBakery.getSpecialModels()
Modifier and TypeMethodDescriptionprivate void
ModelBakery.addModelToCache
(ResourceLocation p_217843_1_) ModelBakery.bake
(ResourceLocation p_119350_, ModelState p_119351_) Deprecated.ModelBakery.bake
(ResourceLocation p_119350_, ModelState p_119351_, Function<Material, TextureAtlasSprite> sprites) UnbakedModel.bake
(ModelBakery p_119534_, Function<Material, TextureAtlasSprite> p_119535_, ModelState p_119536_, ResourceLocation p_119537_) private void
ModelBakery.cacheAndQueueDependencies
(ResourceLocation p_119353_, UnbakedModel p_119354_) ModelManager.getAtlas
(ResourceLocation p_119429_) ModelBakery.getModel
(ResourceLocation p_119342_) ModelManager.getModel
(ResourceLocation modelLocation) protected BlockModel
ModelBakery.loadBlockModel
(ResourceLocation p_119365_) private void
ModelBakery.loadModel
(ResourceLocation p_119363_) Modifier and TypeMethodDescriptionMaterial.buffer
(MultiBufferSource p_119195_, Function<ResourceLocation, RenderType> p_119196_) Material.buffer
(MultiBufferSource p_119198_, Function<ResourceLocation, RenderType> p_119199_, boolean p_119200_) UnbakedModel.getMaterials
(Function<ResourceLocation, UnbakedModel> p_119538_, Set<com.mojang.datafixers.util.Pair<String, String>> p_119539_) Material.renderType
(Function<ResourceLocation, RenderType> p_119202_) ModifierConstructorDescriptionMaterial
(ResourceLocation p_119191_, ResourceLocation p_119192_) ModelResourceLocation
(ResourceLocation p_119442_, String p_119443_) -
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_119587_, SoundSource p_119588_) SimpleSoundInstance
(ResourceLocation p_119734_, SoundSource p_119735_, float p_119736_, float p_119737_, boolean p_119738_, int p_119739_, SoundInstance.Attenuation p_119740_, double p_119741_, double p_119742_, double p_119743_, boolean p_119744_) -
Uses of ResourceLocation in net.minecraft.client.searchtree
Modifier and TypeFieldDescriptionprivate final Function<T,
Stream<ResourceLocation>> ReloadableIdSearchTree.idGetter
ModifierConstructorDescriptionReloadableIdSearchTree
(Function<T, Stream<ResourceLocation>> p_119876_) -
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
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_120426_, SoundEventRegistration p_120427_, ResourceManager p_120428_) 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_120396_, ResourceLocation p_120397_, ResourceManager p_120398_) Modifier and TypeMethodDescriptionvoid
SoundManager.Preparations.apply
(Map<ResourceLocation, WeighedSoundEvents> p_120423_, SoundEngine p_120424_) -
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.getAvailableSoundEvents()
SharedSuggestionProvider.getAvailableSoundEvents()
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_) static ResourceLocation
EntitySummonArgument.getSummonableEntity
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_93339_, String p_93340_) DimensionArgument.parse
(com.mojang.brigadier.StringReader p_88807_) EntitySummonArgument.parse
(com.mojang.brigadier.StringReader p_93337_) ResourceLocationArgument.parse
(com.mojang.brigadier.StringReader p_106986_) private static ResourceLocation
EntitySummonArgument.verifyCanSummon
(ResourceLocation p_93344_) Modifier and TypeMethodDescriptionprivate static ResourceLocation
EntitySummonArgument.verifyCanSummon
(ResourceLocation p_93344_) -
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, Tag<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, Tag<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 Tag<CommandFunction>
FunctionArgument.getFunctionTag
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120932_, ResourceLocation p_120933_) -
Uses of ResourceLocation in net.minecraft.commands.synchronization
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
SuggestionProviders.DEFAULT_NAME
final ResourceLocation
ArgumentTypes.Entry.name
(package private) final ResourceLocation
SuggestionProviders.Wrapper.name
Modifier and TypeFieldDescriptionprivate static final Map<ResourceLocation,
ArgumentTypes.Entry<?>> ArgumentTypes.BY_NAME
private static final Map<ResourceLocation,
com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider>> SuggestionProviders.PROVIDERS_BY_NAME
Modifier and TypeMethodDescriptionstatic ResourceLocation
ArgumentTypes.getId
(com.mojang.brigadier.arguments.ArgumentType<?> type) static ResourceLocation
SuggestionProviders.getName
(com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> p_121655_) Modifier and TypeMethodDescriptionprivate static ArgumentTypes.Entry<?>
ArgumentTypes.get
(ResourceLocation p_121615_) static 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_) ModifierConstructorDescription(package private)
Entry
(ArgumentSerializer<T> p_211034_, ResourceLocation p_211035_) Wrapper
(ResourceLocation p_121678_, com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> p_121679_) -
Uses of ResourceLocation in net.minecraft.core
Modifier and TypeFieldDescriptionprivate final ResourceLocation
DefaultedRegistry.defaultKey
static final ResourceLocation
Registry.ROOT_REGISTRY_NAME
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
Holder.Reference<T>> MappedRegistry.byLocation
static final Registry<ResourceLocation>
Registry.CUSTOM_STAT
static final ResourceKey<Registry<ResourceLocation>>
Registry.CUSTOM_STAT_REGISTRY
private static final Map<ResourceLocation,
Supplier<?>> Registry.LOADERS
Modifier and TypeMethodDescriptionMappedRegistry.keySet()
abstract Set<ResourceLocation>
Registry.keySet()
Modifier and TypeMethodDescriptionboolean
MappedRegistry.containsKey
(ResourceLocation p_122761_) abstract boolean
Registry.containsKey
(ResourceLocation p_123011_) DefaultedRegistry.get
(ResourceLocation p_122328_) MappedRegistry.get
(ResourceLocation p_122739_) abstract T
Registry.get
(ResourceLocation p_123002_) DefaultedRegistry.getOptional
(ResourceLocation p_122332_) 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_) -
Uses of ResourceLocation in net.minecraft.data
Modifier and TypeFieldDescriptionprivate static final Map<ResourceLocation,
Supplier<? extends Holder<?>>> BuiltinRegistries.LOADERS
Modifier and TypeMethodDescriptionstatic <T> Holder<T>
BuiltinRegistries.register
(Registry<T> p_206389_, ResourceLocation p_206390_, T p_206391_) -
Uses of ResourceLocation in net.minecraft.data.info
Modifier and TypeMethodDescriptionprivate static Path
WorldgenRegistryDumpReport.createPath
(Path p_194705_, ResourceLocation p_194706_, ResourceLocation p_194707_) -
Uses of ResourceLocation in net.minecraft.data.loot
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
LootTable.Builder> BlockLoot.map
private final Map<ResourceLocation,
LootTable.Builder> EntityLoot.map
private final List<com.mojang.datafixers.util.Pair<Supplier<Consumer<BiConsumer<ResourceLocation,
LootTable.Builder>>>, LootContextParamSet>> LootTableProvider.subProviders
Modifier and TypeMethodDescriptionprotected List<com.mojang.datafixers.util.Pair<Supplier<Consumer<BiConsumer<ResourceLocation,
LootTable.Builder>>>, LootContextParamSet>> LootTableProvider.getTables()
Modifier and TypeMethodDescriptionprotected void
EntityLoot.add
(ResourceLocation p_124381_, LootTable.Builder p_124382_) private static Path
LootTableProvider.createPath
(Path p_124454_, ResourceLocation p_124455_) Modifier and TypeMethodDescriptionvoid
BlockLoot.accept
(BiConsumer<ResourceLocation, LootTable.Builder> p_124179_) void
ChestLoot.accept
(BiConsumer<ResourceLocation, LootTable.Builder> p_124363_) void
EntityLoot.accept
(BiConsumer<ResourceLocation, LootTable.Builder> p_124377_) void
FishingLoot.accept
(BiConsumer<ResourceLocation, LootTable.Builder> p_124395_) void
GiftLoot.accept
(BiConsumer<ResourceLocation, LootTable.Builder> p_124402_) void
PiglinBarterLoot.accept
(BiConsumer<ResourceLocation, LootTable.Builder> p_124468_) protected void
LootTableProvider.validate
(Map<ResourceLocation, LootTable> map, ValidationContext validationtracker) -
Uses of ResourceLocation in net.minecraft.data.models
Modifier and TypeFieldDescriptionprivate final ResourceLocation
BlockModelGenerators.BlockEntityModelGenerator.baseModel
private ResourceLocation
BlockModelGenerators.BlockFamilyProvider.fullBlock
Modifier and TypeFieldDescription(package private) final BiConsumer<ResourceLocation,
Supplier<com.google.gson.JsonElement>> BlockModelGenerators.modelOutput
private final Map<ModelTemplate,
ResourceLocation> BlockModelGenerators.BlockFamilyProvider.models
static final Map<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_124651_, DoubleBlockHalf p_124652_, ResourceLocation p_124653_, ResourceLocation p_124654_) BlockModelGenerators.BlockStateGeneratorSupplier.create
(Block p_176278_, ResourceLocation p_176279_, TextureMapping p_176280_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_176281_) private void
BlockModelGenerators.createAirLikeBlock
(Block p_124922_, ResourceLocation p_124923_) (package private) static BlockStateGenerator
BlockModelGenerators.createAxisAlignedPillarBlock
(Block p_124882_, ResourceLocation p_124883_) private void
BlockModelGenerators.createAxisAlignedPillarBlockCustomModel
(Block p_124902_, ResourceLocation p_124903_) private static PropertyDispatch
BlockModelGenerators.createBooleanModelDispatch
(BooleanProperty p_124623_, ResourceLocation p_124624_, ResourceLocation p_124625_) (package private) static BlockStateGenerator
BlockModelGenerators.createButton
(Block p_124885_, ResourceLocation p_124886_, ResourceLocation p_124887_) private static BlockStateGenerator
BlockModelGenerators.createDoor
(Block p_124760_, ResourceLocation p_124761_, ResourceLocation p_124762_, ResourceLocation p_124763_, ResourceLocation p_124764_) 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_) 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 Path
ModelProvider.createModelPath
(Path p_125113_, ResourceLocation p_125114_) 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 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
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 TypeMethodDescriptionprivate 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_176754_, Item p_176755_, int p_176756_, String p_176757_, List<String> p_176758_, Map<Character, Ingredient> p_176759_, Advancement.Builder p_176760_, ResourceLocation p_176761_) Result
(ResourceLocation p_126222_, Item p_126223_, int p_126224_, String p_126225_, List<Ingredient> p_126226_, Advancement.Builder p_126227_, ResourceLocation p_126228_) Result
(ResourceLocation p_126287_, String p_126288_, Ingredient p_126289_, Item p_126290_, float p_126291_, int p_126292_, Advancement.Builder p_126293_, ResourceLocation p_126294_, RecipeSerializer<? extends AbstractCookingRecipe> p_126295_) 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,
Tag.Builder> TagsProvider.builders
Modifier and TypeMethodDescriptionTagsProvider.TagAppender.addOptional
(ResourceLocation p_176840_) TagsProvider.TagAppender.addOptionalTag
(ResourceLocation p_176842_) protected Path
TagsProvider.getPath
(ResourceLocation p_126561_) -
Uses of ResourceLocation in net.minecraft.data.worldgen.features
Modifier and TypeFieldDescriptionprivate static final List<ResourceLocation>
CaveFeatures.FOSSIL_COAL_STRUCTURES
private static final List<ResourceLocation>
CaveFeatures.FOSSIL_STRUCTURES
-
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
private final ResourceLocation
NbtComponent.StorageNbtComponent.id
Modifier and TypeMethodDescriptionStyle.getFont()
private static ResourceLocation
Style.Serializer.getFont
(com.google.gson.JsonObject p_131204_) NbtComponent.StorageNbtComponent.getId()
ModifierConstructorDescriptionStorageNbtComponent
(String p_178505_, boolean p_178506_, ResourceLocation p_178507_, Optional<Component> p_178508_) StorageNbtComponent
(String p_178499_, NbtPathArgument.NbtPath p_178500_, boolean p_178501_, ResourceLocation p_178502_, Optional<Component> p_178503_) (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.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
ClientboundCustomSoundPacket.name
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
ClientboundSelectAdvancementsTabPacket.tab
private final ResourceLocation
ServerboundSeenAdvancementsPacket.tab
private final ResourceLocation
ServerboundSetJigsawBlockPacket.target
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
Advancement.Builder> ClientboundUpdateAdvancementsPacket.added
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()
ClientboundCustomSoundPacket.getName()
ClientboundStopSoundPacket.getName()
ServerboundSetJigsawBlockPacket.getName()
ServerboundSetJigsawBlockPacket.getPool()
ClientboundPlaceGhostRecipePacket.getRecipe()
ServerboundPlaceRecipePacket.getRecipe()
ServerboundRecipeBookSeenRecipePacket.getRecipe()
ClientboundSelectAdvancementsTabPacket.getTab()
ServerboundSeenAdvancementsPacket.getTab()
ServerboundSetJigsawBlockPacket.getTarget()
Modifier and TypeMethodDescriptionClientboundUpdateAdvancementsPacket.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_) ModifierConstructorDescriptionClientboundCustomPayloadPacket
(ResourceLocation p_132034_, FriendlyByteBuf p_132035_) ClientboundCustomSoundPacket
(ResourceLocation p_132055_, SoundSource p_132056_, Vec3 p_132057_, float p_132058_, float p_132059_) 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_) -
Uses of ResourceLocation in net.minecraft.network.protocol.login
Modifier and TypeFieldDescriptionprivate final ResourceLocation
ClientboundCustomQueryPacket.identifier
ModifierConstructorDescriptionClientboundCustomQueryPacket
(int p_179806_, ResourceLocation p_179807_, FriendlyByteBuf p_179808_) -
Uses of ResourceLocation in net.minecraft.resources
Modifier and TypeFieldDescriptionprivate final ResourceLocation
ResourceKey.location
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_) ResourceKey.getRegistryName()
ResourceKey.location()
static ResourceLocation
static ResourceLocation
ResourceLocation.read
(com.mojang.brigadier.StringReader p_135819_) ResourceKey.registry()
static ResourceLocation
Modifier and TypeMethodDescriptionstatic <T> Function<ResourceLocation,
ResourceKey<T>> ResourceKey.elementKey
(ResourceKey<? extends Registry<T>> p_135798_) 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_) com.google.gson.JsonElement
ResourceLocation.Serializer.serialize
(ResourceLocation p_135855_, Type p_135856_, com.google.gson.JsonSerializationContext p_135857_) ModifierConstructorDescriptionprivate
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,
Tag<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_136098_) ServerFunctionManager.getTag
(ResourceLocation p_136124_) void
ServerFunctionManager.TraceCallbacks.onCall
(int p_179995_, ResourceLocation p_179996_, int p_179997_) ServerFunctionLibrary.readLines
(ResourceManager p_136070_, ResourceLocation p_136071_) 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_) 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
SummonCommand.spawnEntity
(CommandSourceStack p_138821_, ResourceLocation p_138822_, Vec3 p_138823_, CompoundTag p_138824_, boolean p_138825_) 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, Tag<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 TypeMethodDescriptionvoid
ServerPlayer.awardRecipesByKey
(ResourceLocation[] p_9168_) -
Uses of ResourceLocation in net.minecraft.server.packs
Modifier and TypeMethodDescriptionFilePackResources.getResources
(PackType p_10240_, String p_10241_, String p_10242_, int p_10243_, Predicate<String> p_10244_) FolderPackResources.getResources
(PackType p_10261_, String p_10262_, String p_10263_, int p_10264_, Predicate<String> p_10265_) PackResources.getResources
(PackType p_10284_, String p_10285_, String p_10286_, int p_10287_, Predicate<String> p_10288_) VanillaPackResources.getResources
(PackType p_10324_, String p_10325_, String p_10326_, int p_10327_, Predicate<String> p_10328_) Modifier and TypeMethodDescriptionprivate static String
VanillaPackResources.createPath
(PackType p_10363_, ResourceLocation p_10364_) private static String
AbstractPackResources.getPathFromLocation
(PackType p_10227_, ResourceLocation p_10228_) AbstractPackResources.getResource
(PackType p_10210_, ResourceLocation p_10211_) PackResources.getResource
(PackType p_10289_, ResourceLocation p_10290_) VanillaPackResources.getResource
(ResourceLocation p_143764_) VanillaPackResources.getResource
(PackType p_10330_, ResourceLocation p_10331_) protected InputStream
VanillaPackResources.getResourceAsStream
(PackType p_10359_, ResourceLocation p_10360_) boolean
AbstractPackResources.hasResource
(PackType p_10222_, ResourceLocation p_10223_) boolean
PackResources.hasResource
(PackType p_10292_, ResourceLocation p_10293_) boolean
VanillaPackResources.hasResource
(PackType p_10355_, ResourceLocation p_10356_) Modifier and TypeMethodDescriptionprivate static void
VanillaPackResources.getResources
(Collection<ResourceLocation> p_10343_, int p_10344_, String p_10345_, Path p_10346_, String p_10347_, Predicate<String> p_10348_) private void
FolderPackResources.listResources
(File p_10267_, int p_10268_, String p_10269_, List<ResourceLocation> p_10270_, String p_10271_, Predicate<String> p_10272_) -
Uses of ResourceLocation in net.minecraft.server.packs.resources
Modifier and TypeMethodDescriptionResource.getLocation()
SimpleResource.getLocation()
(package private) static ResourceLocation
FallbackResourceManager.getMetadataLocation
(ResourceLocation p_10625_) protected ResourceLocation
SimpleJsonResourceReloadListener.getPreparedPath
(ResourceLocation rl) Modifier and TypeMethodDescriptionFallbackResourceManager.listResources
(String p_10611_, Predicate<String> p_10612_) MultiPackResourceManager.listResources
(String p_203804_, Predicate<String> p_203805_) ReloadableResourceManager.listResources
(String p_203823_, Predicate<String> p_203824_) ResourceManager.Empty.listResources
(String p_10739_, Predicate<String> p_10740_) ResourceManager.listResources
(String p_10726_, Predicate<String> p_10727_) protected Map<ResourceLocation,
com.google.gson.JsonElement> SimpleJsonResourceReloadListener.prepare
(ResourceManager p_10771_, ProfilerFiller p_10772_) Modifier and TypeMethodDescription(package private) static ResourceLocation
FallbackResourceManager.getMetadataLocation
(ResourceLocation p_10625_) protected ResourceLocation
SimpleJsonResourceReloadListener.getPreparedPath
(ResourceLocation rl) FallbackResourceManager.getResource
(ResourceLocation p_10614_) MultiPackResourceManager.getResource
(ResourceLocation p_203813_) ReloadableResourceManager.getResource
(ResourceLocation p_203833_) ResourceManager.Empty.getResource
(ResourceLocation p_10742_) ResourceProvider.getResource
(ResourceLocation p_143935_) FallbackResourceManager.getResources
(ResourceLocation p_10623_) MultiPackResourceManager.getResources
(ResourceLocation p_203810_) ReloadableResourceManager.getResources
(ResourceLocation p_203831_) ResourceManager.Empty.getResources
(ResourceLocation p_10747_) ResourceManager.getResources
(ResourceLocation p_10730_) protected InputStream
FallbackResourceManager.getWrappedResource
(ResourceLocation p_10616_, PackResources p_10617_) boolean
FallbackResourceManager.hasResource
(ResourceLocation p_10620_) boolean
MultiPackResourceManager.hasResource
(ResourceLocation p_203807_) boolean
ReloadableResourceManager.hasResource
(ResourceLocation p_203828_) boolean
ResourceManager.Empty.hasResource
(ResourceLocation p_10745_) boolean
ResourceManager.hasResource
(ResourceLocation p_10729_) private boolean
FallbackResourceManager.isValidLocation
(ResourceLocation p_10629_) private void
FallbackResourceManager.validateLocation
(ResourceLocation p_10627_) ModifierConstructorDescriptionLeakedResourceWarningInputStream
(InputStream p_10633_, ResourceLocation p_10634_, String p_10635_) SimpleResource
(String p_10929_, ResourceLocation p_10930_, InputStream p_10931_, InputStream p_10932_) -
Uses of ResourceLocation in net.minecraft.sounds
-
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
Tag.ElementEntry.id
private final ResourceLocation
Tag.OptionalElementEntry.id
private final ResourceLocation
Tag.OptionalTagEntry.id
private final ResourceLocation
Tag.TagEntry.id
private final ResourceLocation
TagKey.location
The field for thelocation
record component.Modifier and TypeFieldDescriptionprivate final Function<ResourceLocation,
Optional<T>> TagLoader.idToValue
private final Map<ResourceLocation,
Tag<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 TypeMethodDescriptionTag.TagEntry.getId()
TagKey.location()
Returns the value of thelocation
record component.Modifier and TypeMethodDescriptionTagLoader.build
(Map<ResourceLocation, Tag.Builder> 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_) Tag.Builder.addElement
(ResourceLocation p_13328_, String p_13329_) Tag.Builder.addOptionalElement
(ResourceLocation p_144380_, String p_144381_) Tag.Builder.addOptionalTag
(ResourceLocation p_144383_, String p_144384_) Tag.Builder.addTag
(ResourceLocation p_13336_, String p_13337_) 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_) private static boolean
TagLoader.isCyclic
(com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> p_144502_, ResourceLocation p_144503_, ResourceLocation p_144504_) private static void
TagLoader.visitDependenciesAndElement
(Map<ResourceLocation, Tag.Builder> p_144524_, com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> p_144525_, Set<ResourceLocation> p_144526_, ResourceLocation p_144527_, BiConsumer<ResourceLocation, Tag.Builder> 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_) <T> com.mojang.datafixers.util.Either<Collection<Tag.BuilderEntry>,
Tag<T>> Tag.Builder.build
(Function<ResourceLocation, Tag<T>> p_144372_, Function<ResourceLocation, T> p_144373_) <T> boolean
Tag.ElementEntry.build
(Function<ResourceLocation, Tag<T>> p_13355_, Function<ResourceLocation, T> p_13356_, Consumer<T> p_13357_) <T> boolean
Tag.Entry.build
(Function<ResourceLocation, Tag<T>> p_13360_, Function<ResourceLocation, T> p_13361_, Consumer<T> p_13362_) <T> boolean
Tag.OptionalElementEntry.build
(Function<ResourceLocation, Tag<T>> p_13369_, Function<ResourceLocation, T> p_13370_, Consumer<T> p_13371_) <T> boolean
Tag.OptionalTagEntry.build
(Function<ResourceLocation, Tag<T>> p_13379_, Function<ResourceLocation, T> p_13380_, Consumer<T> p_13381_) <T> boolean
Tag.TagEntry.build
(Function<ResourceLocation, Tag<T>> p_13389_, Function<ResourceLocation, T> p_13390_, Consumer<T> p_13391_) TagLoader.build
(Map<ResourceLocation, Tag.Builder> 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
Tag.ElementEntry.verifyIfPresent
(Predicate<ResourceLocation> p_144387_, Predicate<ResourceLocation> p_144388_) boolean
Tag.Entry.verifyIfPresent
(Predicate<ResourceLocation> p_144390_, Predicate<ResourceLocation> p_144391_) boolean
Tag.OptionalElementEntry.verifyIfPresent
(Predicate<ResourceLocation> p_144394_, Predicate<ResourceLocation> p_144395_) boolean
Tag.OptionalTagEntry.verifyIfPresent
(Predicate<ResourceLocation> p_144397_, Predicate<ResourceLocation> p_144398_) boolean
Tag.TagEntry.verifyIfPresent
(Predicate<ResourceLocation> p_144404_, Predicate<ResourceLocation> p_144405_) private static void
TagLoader.visitDependenciesAndElement
(Map<ResourceLocation, Tag.Builder> p_144524_, com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> p_144525_, Set<ResourceLocation> p_144526_, ResourceLocation p_144527_, BiConsumer<ResourceLocation, Tag.Builder> p_144528_) private static void
TagLoader.visitDependenciesAndElement
(Map<ResourceLocation, Tag.Builder> p_144524_, com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> p_144525_, Set<ResourceLocation> p_144526_, ResourceLocation p_144527_, BiConsumer<ResourceLocation, Tag.Builder> p_144528_) private static void
TagLoader.visitDependenciesAndElement
(Map<ResourceLocation, Tag.Builder> p_144524_, com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> p_144525_, Set<ResourceLocation> p_144526_, ResourceLocation p_144527_, BiConsumer<ResourceLocation, Tag.Builder> p_144528_) private static void
TagLoader.visitDependenciesAndElement
(Map<ResourceLocation, Tag.Builder> p_144524_, com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> p_144525_, Set<ResourceLocation> p_144526_, ResourceLocation p_144527_, BiConsumer<ResourceLocation, Tag.Builder> p_144528_) private static void
TagLoader.visitDependenciesAndElement
(Map<ResourceLocation, Tag.Builder> p_144524_, com.google.common.collect.Multimap<ResourceLocation, ResourceLocation> p_144525_, Set<ResourceLocation> p_144526_, ResourceLocation p_144527_, BiConsumer<ResourceLocation, Tag.Builder> p_144528_) void
Tag.Builder.visitOptionalDependencies
(Consumer<ResourceLocation> p_144375_) default void
Tag.Entry.visitOptionalDependencies
(Consumer<ResourceLocation> p_144392_) void
Tag.OptionalTagEntry.visitOptionalDependencies
(Consumer<ResourceLocation> p_144400_) void
Tag.Builder.visitRequiredDependencies
(Consumer<ResourceLocation> p_144367_) default void
Tag.Entry.visitRequiredDependencies
(Consumer<ResourceLocation> p_144389_) void
Tag.TagEntry.visitRequiredDependencies
(Consumer<ResourceLocation> p_144402_) ModifierConstructorDescriptionElementEntry
(ResourceLocation p_13351_) OptionalElementEntry
(ResourceLocation p_13365_) OptionalTagEntry
(ResourceLocation p_13375_) TagEntry
(ResourceLocation p_13385_) TagKey
(ResourceKey<? extends Registry<T>> registry, ResourceLocation location) Creates an instance of aTagKey
record class.ModifierConstructorDescriptionLoadResult
(ResourceKey<? extends Registry<T>> key, Map<ResourceLocation, Tag<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.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[]
TropicalFish.BASE_TEXTURE_LOCATIONS
private static final ResourceLocation
Rabbit.KILLER_BUNNY
private static final ResourceLocation[]
TropicalFish.PATTERN_A_TEXTURE_LOCATIONS
private static final ResourceLocation[]
TropicalFish.PATTERN_B_TEXTURE_LOCATIONS
Modifier and TypeMethodDescriptionTropicalFish.getBaseTextureLocation()
Sheep.getDefaultLootTable()
TropicalFish.getPatternTextureLocation()
Cat.getResourceLocation()
-
Uses of ResourceLocation in net.minecraft.world.entity.monster
Modifier and TypeMethodDescriptionprotected ResourceLocation
MagmaCube.getDefaultLootTable()
protected ResourceLocation
Slime.getDefaultLootTable()
-
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 TypeMethodDescriptionvoid
AbstractMinecartContainer.setLootTable
(ResourceLocation p_38237_, long p_38238_) -
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 static final ResourceLocation
CreativeModeTab.CREATIVE_INVENTORY_TABS
private final ResourceLocation
HorseArmorItem.texture
Modifier and TypeMethodDescriptionCreativeModeTab.getBackgroundImage()
CreativeModeTab.getTabsImage()
HorseArmorItem.getTexture()
Modifier and TypeMethodDescriptionprivate static Item
Items.registerItem
(ResourceLocation p_42817_, Item p_42818_) CreativeModeTab.setBackgroundImage
(ResourceLocation texture) ModifierConstructorDescriptionDyeableHorseArmorItem
(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 final Function<ResourceLocation,
T> SimpleRecipeSerializer.constructor
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,Recipe<C>> RecipeManager.byType
(RecipeType<T> p_44055_) RecipeManager.getRecipeIds()
Modifier and TypeMethodDescriptionRecipeManager.byKey
(ResourceLocation p_44044_) SimpleCookingSerializer.CookieBaker.create
(ResourceLocation p_44353_, String p_44354_, Ingredient p_44355_, ItemStack p_44356_, float p_44357_, int p_44358_) 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_) SimpleRecipeSerializer.fromJson
(ResourceLocation p_44404_, com.google.gson.JsonObject p_44405_) 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_) SimpleRecipeSerializer.fromNetwork
(ResourceLocation p_44407_, FriendlyByteBuf p_44408_) SingleItemRecipe.Serializer.fromNetwork
(ResourceLocation p_44452_, FriendlyByteBuf p_44453_) UpgradeRecipe.Serializer.fromNetwork
(ResourceLocation p_44565_, FriendlyByteBuf p_44566_) Modifier and TypeMethodDescriptionprotected void
RecipeManager.apply
(Map<ResourceLocation, com.google.gson.JsonElement> p_44037_, ResourceManager p_44038_, ProfilerFiller p_44039_) ModifierConstructorDescriptionAbstractCookingRecipe
(RecipeType<?> p_43734_, ResourceLocation p_43735_, String p_43736_, Ingredient p_43737_, ItemStack p_43738_, float p_43739_, int p_43740_) ArmorDyeRecipe
(ResourceLocation p_43757_) BannerDuplicateRecipe
(ResourceLocation p_43773_) BlastingRecipe
(ResourceLocation p_43793_, String p_43794_, Ingredient p_43795_, ItemStack p_43796_, float p_43797_, int p_43798_) BookCloningRecipe
(ResourceLocation p_43802_) CampfireCookingRecipe
(ResourceLocation p_43822_, String p_43823_, Ingredient p_43824_, ItemStack p_43825_, float p_43826_, int p_43827_) CustomRecipe
(ResourceLocation p_43833_) FireworkRocketRecipe
(ResourceLocation p_43842_) FireworkStarFadeRecipe
(ResourceLocation p_43861_) FireworkStarRecipe
(ResourceLocation p_43883_) MapCloningRecipe
(ResourceLocation p_43968_) MapExtendingRecipe
(ResourceLocation p_43984_) RepairItemRecipe
(ResourceLocation p_44126_) ShapedRecipe
(ResourceLocation p_44153_, String p_44154_, int p_44155_, int p_44156_, NonNullList<Ingredient> p_44157_, ItemStack p_44158_) ShapelessRecipe
(ResourceLocation p_44246_, String p_44247_, ItemStack p_44248_, NonNullList<Ingredient> p_44249_) ShieldDecorationRecipe
(ResourceLocation p_44296_) ShulkerBoxColoring
(ResourceLocation p_44312_) SingleItemRecipe
(RecipeType<?> p_44416_, RecipeSerializer<?> p_44417_, ResourceLocation p_44418_, String p_44419_, Ingredient p_44420_, ItemStack p_44421_) SmeltingRecipe
(ResourceLocation p_44460_, String p_44461_, Ingredient p_44462_, ItemStack p_44463_, float p_44464_, int p_44465_) SmokingRecipe
(ResourceLocation p_44469_, String p_44470_, Ingredient p_44471_, ItemStack p_44472_, float p_44473_, int p_44474_) StonecutterRecipe
(ResourceLocation p_44478_, String p_44479_, Ingredient p_44480_, ItemStack p_44481_) SuspiciousStewRecipe
(ResourceLocation p_44487_) TippedArrowRecipe
(ResourceLocation p_44503_) 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
ModifierConstructorDescriptionPreset
(ResourceLocation p_187090_, Function<Registry<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 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
JigsawBlockEntity.pool
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()
JigsawBlockEntity.getPool()
JigsawBlockEntity.getTarget()
BannerPattern.location
(boolean p_58578_) Modifier and TypeMethodDescriptionvoid
RandomizableContainerBlockEntity.setLootTable
(ResourceLocation p_59627_, long p_59628_) static void
RandomizableContainerBlockEntity.setLootTable
(BlockGetter p_59621_, Random p_59622_, BlockPos p_59623_, ResourceLocation p_59624_) void
JigsawBlockEntity.setName
(ResourceLocation p_59436_) void
JigsawBlockEntity.setPool
(ResourceLocation p_59441_) 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
static final ResourceLocation
DimensionType.END_EFFECTS
static final ResourceLocation
DimensionType.NETHER_EFFECTS
static final ResourceLocation
DimensionType.OVERWORLD_EFFECTS
Modifier and TypeMethodDescriptionstatic DimensionType
DimensionType.create
(OptionalLong p_204498_, boolean p_204499_, boolean p_204500_, boolean p_204501_, boolean p_204502_, double p_204503_, boolean p_204504_, boolean p_204505_, boolean p_204506_, boolean p_204507_, boolean p_204508_, int p_204509_, int p_204510_, int p_204511_, TagKey<Block> p_204512_, ResourceLocation p_204513_, float p_204514_) ModifierConstructorDescriptionprivate
DimensionType
(OptionalLong p_204471_, boolean p_204472_, boolean p_204473_, boolean p_204474_, boolean p_204475_, double p_204476_, boolean p_204477_, boolean p_204478_, boolean p_204479_, boolean p_204480_, boolean p_204481_, int p_204482_, int p_204483_, int p_204484_, TagKey<Block> p_204485_, ResourceLocation p_204486_, float p_204487_) Deprecated.private
DimensionType
(OptionalLong p_204454_, boolean p_204455_, boolean p_204456_, boolean p_204457_, boolean p_204458_, double p_204459_, boolean p_204460_, boolean p_204461_, boolean p_204462_, boolean p_204463_, int p_204464_, int p_204465_, int p_204466_, TagKey<Block> p_204467_, ResourceLocation p_204468_, float p_204469_) -
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> SurfaceSystem.positionalRandoms
Modifier and TypeMethodDescriptionSurfaceRules.VerticalGradientConditionSource.randomName()
Returns the value of therandomName
record component.Modifier and TypeMethodDescriptiondefault RandomSource
PositionalRandomFactory.fromHashOf
(ResourceLocation p_189319_) protected PositionalRandomFactory
SurfaceSystem.getOrCreateRandomFactory
(ResourceLocation p_189989_) 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 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
Modifier and TypeMethodDescriptionprivate static ResourceLocation
OceanRuinPieces.getBigWarmRuin
(Random p_72558_) private static ResourceLocation
OceanRuinPieces.getSmallWarmRuin
(Random p_72552_) private static ResourceLocation
WoodlandMansionPieces.WoodlandMansionPiece.makeLocation
(String p_163706_) private static ResourceLocation
EndCityPieces.EndCityPiece.makeResourceLocation
(String p_162425_) protected ResourceLocation
EndCityPieces.EndCityPiece.makeTemplateLocation()
protected ResourceLocation
TemplateStructurePiece.makeTemplateLocation()
protected ResourceLocation
WoodlandMansionPieces.WoodlandMansionPiece.makeTemplateLocation()
Modifier and TypeMethodDescriptionprotected boolean
MineShaftPieces.MineShaftCorridor.createChest
(WorldGenLevel p_71407_, BoundingBox p_71408_, Random p_71409_, int p_71410_, int p_71411_, int p_71412_, ResourceLocation p_71413_) protected boolean
StructurePiece.createChest
(ServerLevelAccessor p_73421_, BoundingBox p_73422_, Random p_73423_, BlockPos p_73424_, ResourceLocation p_73425_, BlockState p_73426_) protected boolean
StructurePiece.createChest
(WorldGenLevel p_73509_, BoundingBox p_73510_, Random p_73511_, int p_73512_, int p_73513_, int p_73514_, ResourceLocation p_73515_) protected boolean
StructurePiece.createDispenser
(WorldGenLevel p_73501_, BoundingBox p_73502_, Random p_73503_, int p_73504_, int p_73505_, int p_73506_, Direction p_73507_, ResourceLocation p_73508_) private static BlockPos
IglooPieces.IglooPiece.makePosition
(ResourceLocation p_162453_, BlockPos p_162454_, int p_162455_) private static StructurePlaceSettings
IglooPieces.IglooPiece.makeSettings
(Rotation p_162447_, ResourceLocation p_162448_) private static StructurePlaceSettings
RuinedPortalPiece.makeSettings
(StructureManager p_192460_, CompoundTag p_192461_, ResourceLocation p_192462_) ModifierConstructorDescriptionIglooPiece
(StructureManager p_71244_, ResourceLocation p_71245_, BlockPos p_71246_, Rotation p_71247_, int p_71248_) NetherFossilPiece
(StructureManager p_72069_, ResourceLocation p_72070_, BlockPos p_72071_, Rotation p_72072_) OceanRuinPiece
(StructureManager p_72568_, ResourceLocation p_72569_, BlockPos p_72570_, Rotation p_72571_, float p_72572_, OceanRuinFeature.Type p_72573_, boolean p_72574_) RuinedPortalPiece
(StructureManager p_163138_, BlockPos p_163139_, RuinedPortalPiece.VerticalPlacement p_163140_, RuinedPortalPiece.Properties p_163141_, ResourceLocation p_163142_, StructureTemplate p_163143_, Rotation p_163144_, Mirror p_163145_, BlockPos p_163146_) ShipwreckPiece
(StructureManager p_72828_, ResourceLocation p_72829_, BlockPos p_72830_, Rotation p_72831_, boolean p_72832_) TemplateStructurePiece
(StructurePieceType p_210083_, int p_210084_, StructureManager p_210085_, ResourceLocation p_210086_, String p_210087_, StructurePlaceSettings p_210088_, BlockPos p_210089_) ModifierConstructorDescriptionTemplateStructurePiece
(StructurePieceType p_210091_, CompoundTag p_210092_, StructureManager p_210093_, Function<ResourceLocation, StructurePlaceSettings> p_210094_) -
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 TypeFieldDescriptionprivate final ResourceLocation
StructureTemplatePool.fallback
private final ResourceLocation
StructureTemplatePool.name
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 TypeMethodDescriptionStructureTemplatePool.getFallback()
StructureTemplatePool.getName()
Modifier and TypeMethodDescriptionprotected static <E extends SinglePoolElement>
com.mojang.serialization.codecs.RecordCodecBuilder<E,com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate>> SinglePoolElement.templateCodec()
Modifier and TypeMethodDescriptionprivate 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_) ModifierConstructorDescriptionStructureTemplatePool
(ResourceLocation p_210569_, ResourceLocation p_210570_, List<com.mojang.datafixers.util.Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>> p_210571_, StructureTemplatePool.Projection p_210572_) StructureTemplatePool
(ResourceLocation p_210565_, ResourceLocation p_210566_, List<com.mojang.datafixers.util.Pair<StructurePoolElement, Integer>> p_210567_) 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.templatesystem
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
Optional<StructureTemplate>> StructureManager.structureRepository
Modifier and TypeMethodDescriptionprivate Path
StructureManager.createAndValidatePathToStructure
(ResourceLocation p_74349_, String p_74350_) StructureManager.createPathToStructure
(ResourceLocation p_74344_, String p_74345_) StructureManager.get
(ResourceLocation p_163775_) StructureManager.getOrCreate
(ResourceLocation p_74342_) private Optional<StructureTemplate>
StructureManager.loadFromGenerated
(ResourceLocation p_163779_) private Optional<StructureTemplate>
StructureManager.loadFromResource
(ResourceLocation p_163777_) void
StructureManager.remove
(ResourceLocation p_74354_) boolean
StructureManager.save
(ResourceLocation p_74352_) -
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.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_) 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
(Random 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
(Random p_78917_, float p_78918_, ServerLevel p_78919_, Function<ResourceLocation, LootTable> p_78920_, Function<ResourceLocation, LootItemCondition> p_78921_, Map<LootContextParam<?>, Object> p_78922_, Map<ResourceLocation, LootContext.DynamicDrop> p_78923_) private
LootContext
(Random 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 HashMap<ResourceLocation,
Supplier<NativeImage>> MinecraftForgeClient.bufferedImageSuppliers
private static final BiFunction<ResourceLocation,
Boolean, RenderType> ForgeRenderTypes.Internal.ENTITY_TRANSLUCENT
private static Map<Class<? extends Entity>,
ResourceLocation> ClientRegistry.entityShaderMap
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
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
private static final Map<ResourceLocation,
ITextureAtlasSpriteLoader> MinecraftForgeClient.textureAtlasSpriteLoaders
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 ResourceLocation
ClientRegistry.getEntityShader
(Class<? extends Entity> entityClass) Modifier and TypeMethodDescriptionClientCommandSourceStack.getRecipeNames()
Gets aStream
of recipe ids that are available on the clientModifier and TypeMethodDescriptionClientCommandSourceStack.getAdvancement
(ResourceLocation id) Gets the advancement from the id from the client side where the advancement needs to be visible to the playerstatic Material
ForgeHooksClient.getBlockMaterial
(ResourceLocation loc) static RenderType
ForgeRenderTypes.getEntityCutoutMipped
(ResourceLocation textureLocation) static NativeImage
MinecraftForgeClient.getImageLayer
(ResourceLocation resourceLocation, ResourceManager resourceManager) 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 ITextureAtlasSpriteLoader
MinecraftForgeClient.getTextureAtlasSpriteLoader
(ResourceLocation name) 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 void
ClientRegistry.registerEntityShader
(Class<? extends Entity> entityClass, ResourceLocation shader) Register a shader for an entity.static void
MinecraftForgeClient.registerImageLayerSupplier
(ResourceLocation resourceLocation, Supplier<NativeImage> supplier) static void
MinecraftForgeClient.registerTextureAtlasSpriteLoader
(ResourceLocation name, ITextureAtlasSpriteLoader loader) Register a custom ITextureAtlasSprite loader.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> modelRegistry, ForgeModelBakery modelLoader) static void
ForgeHooksClient.onTextureStitchedPre
(TextureAtlas map, Set<ResourceLocation> resourceLocations) ModifierConstructorDescriptionprivate
CustomizableTextureState
(ResourceLocation resLoc, Supplier<Boolean> blur, Supplier<Boolean> mipmap) -
Uses of ResourceLocation in net.minecraftforge.client.event
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
BakedModel> ModelBakeEvent.modelRegistry
private final Set<ResourceLocation>
TextureStitchEvent.Pre.sprites
Modifier and TypeMethodDescriptionboolean
TextureStitchEvent.Pre.addSprite
(ResourceLocation sprite) Add a sprite to be stitched into the Texture Atlas.RenderLevelStageEvent.RegisterStageEvent.register
(ResourceLocation name, RenderType renderType) private static RenderLevelStageEvent.Stage
RenderLevelStageEvent.Stage.register
(ResourceLocation name, RenderType renderType) ModifierConstructorDescriptionModelBakeEvent
(ModelManager modelManager, Map<ResourceLocation, BakedModel> modelRegistry, ForgeModelBakery modelLoader) Pre
(TextureAtlas map, Set<ResourceLocation> sprites) -
Uses of ResourceLocation in net.minecraftforge.client.gui
Modifier and TypeFieldDescriptionprivate ResourceLocation
ModListScreen.InfoPanel.logoPath
private static final ResourceLocation
NotificationModUpdateScreen.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 TypeMethodDescriptionprivate void
ForgeIngameGui.bind
(ResourceLocation res) static void
GuiUtils.drawContinuousTexturedBox
(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
GuiUtils.drawContinuousTexturedBox
(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) void
ForgeIngameGui.setupOverlayRenderState
(boolean blend, boolean depthTest, ResourceLocation texture) 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.widget
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
ModListWidget.VERSION_CHECK_ICONS
-
Uses of ResourceLocation in net.minecraftforge.client.model
Modifier and TypeFieldDescriptionstatic final ResourceLocation
ForgeModelBakery.White.LOCATION
static final ResourceLocation
StandaloneModelConfiguration.LOCATION
protected final ResourceLocation
FluidModel.BakedFluid.modelLocation
Modifier and TypeFieldDescriptionprivate static final Function<ResourceLocation,
UnbakedModel> ForgeModelBakery.DEFAULT_MODEL_GETTER
Helper method for registering all itemstacks for given item to map to universal bucket model.private static final Map<ResourceLocation,
IModelLoader<?>> ModelLoaderRegistry.loaders
private final Map<ResourceLocation,
Exception> ForgeModelBakery.loadingExceptions
private static Set<ResourceLocation>
ForgeModelBakery.specialModels
private final Map<String,
ResourceLocation> StandaloneModelConfiguration.textures
Modifier and TypeMethodDescriptionprotected ResourceLocation
ForgeModelBakery.getModelLocation
(ResourceLocation model) Modifier and TypeMethodDescriptionstatic Function<ResourceLocation,
UnbakedModel> ForgeModelBakery.defaultModelGetter()
ForgeModelBakery.getSpecialModels()
Modifier and TypeMethodDescriptionvoid
CompositeModel.Submodel.addQuads
(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) void
ModelLoaderRegistry.VanillaProxy.addQuads
(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) static void
ForgeModelBakery.addSpecialModel
(ResourceLocation rl) Indicate to vanilla that it should load and bake the given model, even if no blocks or items use it.BlockModelConfiguration.bake
(ModelBakery bakery, Function<Material, TextureAtlasSprite> bakedTextureGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) CompositeModel.Geometry.bake
(IModelConfiguration owner, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) DynamicBucketModel.bake
(IModelConfiguration owner, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) FluidModel.bake
(IModelConfiguration owner, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) ItemLayerModel.bake
(IModelConfiguration owner, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) MultiLayerModel.bake
(IModelConfiguration owner, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) SeparatePerspectiveModel.bake
(IModelConfiguration owner, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) static BakedModel
ModelLoaderRegistry.bakeHelper
(BlockModel blockModel, ModelBakery modelBakery, BlockModel otherModel, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation, boolean guiLight3d) CompositeModel.Submodel.bakeModel
(ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) static Material
ModelLoaderRegistry.blockMaterial
(ResourceLocation location) private static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<RenderType,
BakedModel>> MultiLayerModel.buildModels
(List<com.mojang.datafixers.util.Pair<RenderType, UnbakedModel>> models, ModelState modelTransform, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ResourceLocation modelLocation) static StandaloneModelConfiguration
StandaloneModelConfiguration.create
(ResourceLocation modelName) static StandaloneModelConfiguration
StandaloneModelConfiguration.create
(ResourceLocation modelName, Map<String, ResourceLocation> textures) static IModelGeometry<?>
ModelLoaderRegistry.getModel
(ResourceLocation loaderId, com.google.gson.JsonDeserializationContext deserializationContext, com.google.gson.JsonObject data) protected ResourceLocation
ForgeModelBakery.getModelLocation
(ResourceLocation model) ForgeModelBakery.getModelOrLogError
(ResourceLocation location, String error) Use this if you want the model, but need to log the error.ForgeModelBakery.getModelOrMissing
(ResourceLocation location) Use this if you don't care about the exception and want some model anyway.static void
ModelLoaderRegistry.registerLoader
(ResourceLocation id, IModelLoader<?> loader) Makes system aware of your loader.
Must be called from withinModelRegistryEvent
Note: This method currently registers the model loader as a resource reload listener automatically, if it is not already registered.Modifier and TypeMethodDescriptionstatic StandaloneModelConfiguration
StandaloneModelConfiguration.create
(Map<String, ResourceLocation> textures) static StandaloneModelConfiguration
StandaloneModelConfiguration.create
(ResourceLocation modelName, Map<String, ResourceLocation> textures) BlockModelConfiguration.getTextureDependencies
(Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) CompositeModel.Geometry.getTextures
(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) CompositeModel.Submodel.getTextures
(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) DynamicBucketModel.getTextures
(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) FluidModel.getTextures
(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) ItemLayerModel.getTextures
(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) ModelLoaderRegistry.VanillaProxy.getTextures
(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) MultiLayerModel.getTextures
(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) SeparatePerspectiveModel.getTextures
(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) void
ForgeModelBakery.onPostBakeEvent
(Map<ResourceLocation, BakedModel> modelRegistry) Internal, do not use.ModifierConstructorDescriptionBakedFluid
(Transformation transformation, com.google.common.collect.ImmutableMap<ItemTransforms.TransformType, Transformation> transforms, ResourceLocation modelLocation, int color, TextureAtlasSprite still, TextureAtlasSprite flowing, Optional<TextureAtlasSprite> overlay, boolean gas, boolean statePresent, int[] cornerRound, int flowRound, boolean[] sideOverlays) CachingBakedFluid
(Transformation transformation, com.google.common.collect.ImmutableMap<ItemTransforms.TransformType, Transformation> transforms, ResourceLocation modelLocation, int color, TextureAtlasSprite still, TextureAtlasSprite flowing, Optional<TextureAtlasSprite> overlay, boolean gas, Optional<IModelData> stateOption) StandaloneModelConfiguration
(ResourceLocation modelName, Map<String, ResourceLocation> textures) ModifierConstructorDescriptionStandaloneModelConfiguration
(ResourceLocation modelName, Map<String, ResourceLocation> textures) -
Uses of ResourceLocation in net.minecraftforge.client.model.b3d
Modifier and TypeFieldDescriptionprivate final ResourceLocation
B3DLoader.ModelWrapper.modelLocation
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
B3DModel> B3DLoader.cache
Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionB3DLoader.ModelWrapper.bake
(ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) B3DLoader.loadModel
(ResourceLocation modelLocation) Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionB3DLoader.ModelWrapper.getMaterials
(Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) ModifierConstructorDescriptionModelWrapper
(ResourceLocation modelLocation, B3DModel model, com.google.common.collect.ImmutableSet<String> meshes, boolean smooth, boolean gui3d, boolean isSideLit, int defaultKey) ModelWrapper
(ResourceLocation modelLocation, B3DModel model, com.google.common.collect.ImmutableSet<String> meshes, boolean smooth, boolean gui3d, boolean isSideLit, int defaultKey, com.google.common.collect.ImmutableMap<String, String> textures) -
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()
Modifier and TypeMethodDescriptionvoid
BlockStateProvider.axisBlock
(RotatedPillarBlock block, ResourceLocation baseName) void
BlockStateProvider.axisBlock
(RotatedPillarBlock block, ResourceLocation side, ResourceLocation end) 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) ModelProvider.doorBottomLeft
(String name, ResourceLocation bottom, ResourceLocation top) ModelProvider.doorBottomRight
(String name, ResourceLocation bottom, ResourceLocation top) ModelProvider.doorTopLeft
(String name, ResourceLocation bottom, ResourceLocation top) ModelProvider.doorTopRight
(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) 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) ModelProvider.fenceGateOpen
(String name, ResourceLocation texture) ModelProvider.fenceGateWall
(String name, ResourceLocation texture) ModelProvider.fenceGateWallOpen
(String name, ResourceLocation texture) ModelProvider.fenceInventory
(String name, ResourceLocation texture) ModelProvider.fencePost
(String name, ResourceLocation texture) ModelProvider.fenceSide
(String name, ResourceLocation texture) ModelProvider.getExistingFile
(ResourceLocation path) void
BlockStateProvider.horizontalBlock
(Block block, ResourceLocation side, ResourceLocation front, ResourceLocation top) ModelProvider.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) 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) 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) 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) 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) 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
(DataGenerator generator, String modid, String folder, BiFunction<ResourceLocation, ExistingFileHelper, T> builderFromModId, ExistingFileHelper existingFileHelper) ModelProvider
(DataGenerator generator, String modid, String folder, Function<ResourceLocation, T> factory, ExistingFileHelper existingFileHelper) -
Uses of ResourceLocation in net.minecraftforge.client.model.generators.loaders
Modifier and TypeFieldDescriptionprivate ResourceLocation
DynamicBucketModelBuilder.fluid
private ResourceLocation
OBJLoaderBuilder.materialLibraryOverrideLocation
private ResourceLocation
OBJLoaderBuilder.modelLocation
Modifier and TypeMethodDescriptionOBJLoaderBuilder.modelLocation
(ResourceLocation modelLocation) OBJLoaderBuilder.overrideMaterialLibrary
(ResourceLocation materialLibraryOverrideLocation) -
Uses of ResourceLocation in net.minecraftforge.client.model.geometry
Modifier and TypeMethodDescriptionvoid
IModelGeometryPart.addQuads
(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) default void
IMultipartModelGeometry.addQuads
(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) void
ISimpleModelGeometry.addQuads
(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) IModelGeometry.bake
(IModelConfiguration owner, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) default BakedModel
ISimpleModelGeometry.bake
(IModelConfiguration owner, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) Modifier and TypeMethodDescriptionIModelGeometry.getTextures
(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) default Collection<Material>
IModelGeometryPart.getTextures
(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) default Collection<Material>
IMultipartModelGeometry.getTextures
(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) ISimpleModelGeometry.getTextures
(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) -
Uses of ResourceLocation in net.minecraftforge.client.model.obj
Modifier and TypeFieldDescriptionfinal ResourceLocation
OBJModel.modelLocation
private final ResourceLocation
OBJModel.ModelSettings.modelLocation
The field for themodelLocation
record component.Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
MaterialLibrary> OBJLoader.materialCache
Modifier and TypeMethodDescriptionOBJModel.ModelSettings.modelLocation()
Returns the value of themodelLocation
record component.Modifier and TypeMethodDescriptionvoid
OBJModel.ModelGroup.addQuads
(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) void
OBJModel.ModelObject.addQuads
(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) OBJLoader.loadMaterialLibrary
(ResourceLocation materialLocation) Modifier and TypeMethodDescriptionOBJModel.ModelGroup.getTextures
(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) OBJModel.ModelObject.getTextures
(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) ModifierConstructorDescriptionModelSettings
(ResourceLocation modelLocation, boolean detectCullableFaces, boolean diffuseLighting, boolean flipV, boolean ambientToFullbright, String materialLibraryOverrideLocation) Creates an instance of aModelSettings
record class. -
Uses of ResourceLocation in net.minecraftforge.client.model.renderable
Modifier and TypeMethodDescriptionSimpleRenderable.PartBuilder.addMesh
(ResourceLocation texture, List<BakedQuad> quads) static BakedRenderable
BakedRenderable.of
(ResourceLocation model) Constructs a BakedRenderable from the given model location.Modifier and TypeMethodDescriptionvoid
BakedRenderable.render
(PoseStack poseStack, MultiBufferSource bufferSource, Function<ResourceLocation, RenderType> renderTypeFunction, int lightmapCoord, int overlayCoord, float partialTicks, IModelData renderValues) void
IRenderable.render
(PoseStack poseStack, MultiBufferSource bufferSource, Function<ResourceLocation, RenderType> renderTypeFunction, int lightmapCoord, int overlayCoord, float partialTicks, T renderValues) Draws the renderable by adding the geometry to the providedMultiBufferSource
void
SimpleRenderable.Mesh.render
(PoseStack poseStack, MultiBufferSource bufferSource, Function<ResourceLocation, RenderType> renderTypeFunction, int lightmapCoord, int overlayCoord, MultipartTransforms renderValues) void
SimpleRenderable.Part.render
(PoseStack poseStack, MultiBufferSource bufferSource, Function<ResourceLocation, RenderType> renderTypeFunction, int lightmapCoord, int overlayCoord, MultipartTransforms renderValues) void
SimpleRenderable.render
(PoseStack poseStack, MultiBufferSource bufferSource, Function<ResourceLocation, RenderType> renderTypeFunction, int lightmapCoord, int overlayCoord, float partialTicks, MultipartTransforms renderValues) -
Uses of ResourceLocation in net.minecraftforge.client.textures
-
Uses of ResourceLocation in net.minecraftforge.common
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
TierSortingRegistry.CHANNEL_NAME
private static final ResourceLocation
TierSortingRegistry.ITEM_TIER_ORDERING_JSON
final ResourceLocation
ForgeHooks.LootTableContext.name
Modifier and TypeFieldDescriptionprivate static final com.google.common.collect.Multimap<ResourceLocation,
ResourceLocation> TierSortingRegistry.edges
private static final com.google.common.collect.Multimap<ResourceLocation,
ResourceLocation> TierSortingRegistry.edges
private final List<ResourceLocation>
TierSortingRegistry.SyncPacket.tiers
The field for thetiers
record component.private static final com.google.common.collect.BiMap<ResourceLocation,
Tier> TierSortingRegistry.tiers
private static final com.google.common.collect.Multimap<ResourceLocation,
ResourceLocation> TierSortingRegistry.vanillaEdges
private static final com.google.common.collect.Multimap<ResourceLocation,
ResourceLocation> TierSortingRegistry.vanillaEdges
Modifier and TypeMethodDescriptionstatic 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 Tier
TierSortingRegistry.byName
(ResourceLocation name) Returns the tier associated with a name, if registered into the sorting system.static Biome
ForgeHooks.enhanceBiome
(ResourceLocation name, Biome.ClimateSettings climate, Biome.BiomeCategory category, BiomeSpecialEffects effects, BiomeGenerationSettings gen, MobSpawnSettings spawns, com.mojang.serialization.codecs.RecordCodecBuilder.Instance<Biome> codec, ForgeHooks.BiomeCallbackFunction callback) static LootTable
ForgeHooks.loadLootTable
(com.google.gson.Gson gson, ResourceLocation name, com.google.gson.JsonElement data, boolean custom, LootTables lootTableManager) ForgeHooks.modifyLoot
(ResourceLocation lootTableId, List<ItemStack> generatedLoot, LootContext context) Handles the modification of loot table drops via the registered Global Loot Modifiers, so that custom effects can be processed.private static void
TierSortingRegistry.processTier
(Tier tier, ResourceLocation name, List<Object> afters, List<Object> befores) static Tier
TierSortingRegistry.registerTier
(Tier tier, ResourceLocation name, List<Object> after, List<Object> before) Registers a tier into the tier sorting registry.ModifierConstructorDescriptionprivate
SyncPacket
(List<ResourceLocation> tiers) Creates an instance of aSyncPacket
record class. -
Uses of ResourceLocation in net.minecraftforge.common.capabilities
ModifierConstructorDescriptionCapabilityDispatcher
(Map<ResourceLocation, ICapabilityProvider> list, List<Runnable> listeners) CapabilityDispatcher
(Map<ResourceLocation, ICapabilityProvider> list, List<Runnable> listeners, 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
private ResourceLocation
ConditionalRecipe.Serializer.name
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 ResourceLocation
CraftingHelper.getID
(IIngredientSerializer<?> serializer) ConditionalRecipe.Serializer.getRegistryName()
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
(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
(ResourceLocation id, ConditionalAdvancement.Builder advancement) ConditionalRecipe.Serializer.setRegistryName
(ResourceLocation name) ModifierConstructorDescriptionprivate
Finished
(ResourceLocation id, List<ICondition[]> conditions, List<FinishedRecipe> recipes, 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, Tag<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,
Tag<Holder<T>>> ConditionContext.getAllTags
(ResourceKey<? extends Registry<T>> registry) <T> Map<ResourceLocation,
Tag<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 TypeFieldDescriptionprivate 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 List<com.mojang.datafixers.util.Pair<Supplier<Consumer<BiConsumer<ResourceLocation,
LootTable.Builder>>>, LootContextParamSet>> ForgeLootTableProvider.getTables()
private Consumer<BiConsumer<ResourceLocation,
LootTable.Builder>> ForgeLootTableProvider.replaceAndFilterChangesOnly
(Consumer<BiConsumer<ResourceLocation, LootTable.Builder>> consumer) Modifier and TypeMethodDescriptionprotected void
SoundDefinitionsProvider.add
(ResourceLocation soundEvent, SoundDefinition definition) private 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 TypeMethodDescriptionprivate Consumer<BiConsumer<ResourceLocation,
LootTable.Builder>> ForgeLootTableProvider.replaceAndFilterChangesOnly
(Consumer<BiConsumer<ResourceLocation, LootTable.Builder>> consumer) protected void
ForgeLootTableProvider.validate
(Map<ResourceLocation, LootTable> map, ValidationContext validationtracker) ModifierConstructorDescriptionprivate
Sound
(ResourceLocation name, SoundDefinition.SoundType type) -
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 Tag.Builder
IForgeRawTagBuilder.removeElement
(ResourceLocation elementID, String source) Adds a single-element entry to the remove list.default Tag.Builder
IForgeRawTagBuilder.removeTag
(ResourceLocation tagID, String source) Adds a tag to the remove list.default Advancement
IForgeAdvancementBuilder.save
(Consumer<Advancement> consumer, ResourceLocation id, ExistingFileHelper fileHelper) save function for theAdvancement.Builder
which uses theExistingFileHelper
to check if the parent is already knowndefault void
IForgeFriendlyByteBuf.writeRegistryIdUnsafe
(IForgeRegistry<?> registry, ResourceLocation entryKey) Writes the given entries integer id to the buffer. -
Uses of ResourceLocation in net.minecraftforge.common.loot
Modifier and TypeFieldDescriptionprivate ResourceLocation
GlobalLootModifierSerializer.registryName
private 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 TypeMethodDescriptionfinal ResourceLocation
GlobalLootModifierSerializer.getRegistryName()
Modifier and TypeMethodDescriptionstatic LootTableIdCondition.Builder
LootTableIdCondition.builder
(ResourceLocation targetLootTableId) private IGlobalLootModifier
LootModifierManager.deserializeModifier
(ResourceLocation location, com.google.gson.JsonElement element) static GlobalLootModifierSerializer<?>
LootModifierManager.getSerializerForName
(ResourceLocation resourcelocation) abstract T
GlobalLootModifierSerializer.read
(ResourceLocation location, com.google.gson.JsonObject object, LootItemCondition[] ailootcondition) Most mods will likely not need more than
return new MyModifier(conditionsIn)
but any additional properties that are needed will need to be deserialized here.final GlobalLootModifierSerializer<T>
GlobalLootModifierSerializer.setRegistryName
(ResourceLocation name) 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
(IModelConfiguration owner, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) Modifier and TypeMethodDescriptionFullPotsAccessorDemo.ClientHandler.DioritePotModelGeometry.getTextures
(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) -
Uses of ResourceLocation in net.minecraftforge.debug.client
ModifierConstructorDescriptionprivate
TintedArmorModel
(Function<ResourceLocation, RenderType> renderTypeFunction) -
Uses of ResourceLocation in net.minecraftforge.debug.client.model
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
MultiLayerModelTest.blockId
Modifier and TypeMethodDescriptionvoid
NewModelLoaderTest.TestModel.addQuads
(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) Modifier and TypeMethodDescriptionNewModelLoaderTest.TestModel.getTextures
(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) -
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.gameplay.loot
Modifier and TypeMethodDescriptionGlobalLootModifiersTest.DungeonLootEnhancerModifier.Serializer.read
(ResourceLocation location, com.google.gson.JsonObject object, LootItemCondition[] conditions) GlobalLootModifiersTest.SilkTouchTestModifier.Serializer.read
(ResourceLocation name, com.google.gson.JsonObject json, LootItemCondition[] conditionsIn) GlobalLootModifiersTest.SmeltingEnchantmentModifier.Serializer.read
(ResourceLocation name, com.google.gson.JsonObject json, LootItemCondition[] conditionsIn) GlobalLootModifiersTest.WheatSeedsConverterModifier.Serializer.read
(ResourceLocation name, com.google.gson.JsonObject object, LootItemCondition[] conditionsIn) -
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) RecipeBookTestRecipeSerializer.fromNetwork
(ResourceLocation id, FriendlyByteBuf buf) ModifierConstructorDescriptionRecipeBookTestRecipe
(ResourceLocation id, RecipeBookTestRecipe.Ingredients ingredients) -
Uses of ResourceLocation in net.minecraftforge.debug.world
Modifier and TypeMethodDescriptionprivate static ResourceLocation
ChunkWatchEventTest.getDimensionName
(Level w) -
Uses of ResourceLocation in net.minecraftforge.event
Modifier and TypeFieldDescriptionfinal ResourceLocation
RegistryEvent.IdMappingEvent.ModRemapping.key
final ResourceLocation
RegistryEvent.MissingMappings.Mapping.key
private final ResourceLocation
LootTableLoadEvent.name
private final ResourceLocation
RegistryEvent.MissingMappings.name
private final ResourceLocation
RegistryEvent.Register.name
final ResourceLocation
RegistryEvent.IdMappingEvent.ModRemapping.registry
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
ICapabilityProvider> AttachCapabilitiesEvent.caps
private final com.google.common.collect.ImmutableSet<ResourceLocation>
RegistryEvent.IdMappingEvent.keys
private final Map<ResourceLocation,
com.google.common.collect.ImmutableList<RegistryEvent.IdMappingEvent.ModRemapping>> RegistryEvent.IdMappingEvent.remaps
private final Map<ResourceLocation,
ICapabilityProvider> AttachCapabilitiesEvent.view
Modifier and TypeMethodDescriptionLootTableLoadEvent.getName()
RegistryEvent.MissingMappings.getName()
RegistryEvent.Register.getName()
Modifier and TypeMethodDescriptionAttachCapabilitiesEvent.getCapabilities()
A unmodifiable view of the capabilities that will be attached to this object.com.google.common.collect.ImmutableSet<ResourceLocation>
RegistryEvent.IdMappingEvent.getRegistries()
Modifier and TypeMethodDescriptionvoid
AttachCapabilitiesEvent.addCapability
(ResourceLocation key, ICapabilityProvider cap) Adds a capability to be attached to this object.com.google.common.collect.ImmutableList<RegistryEvent.IdMappingEvent.ModRemapping>
RegistryEvent.IdMappingEvent.getRemaps
(ResourceLocation registry) static LootTable
ForgeEventFactory.loadLootTable
(ResourceLocation name, LootTable table, LootTables lootTableManager) ModifierConstructorDescriptionLootTableLoadEvent
(ResourceLocation name, LootTable table, LootTables lootTableManager) Mapping
(IForgeRegistry<T> registry, IForgeRegistry<T> pool, ResourceLocation key, int id) MissingMappings
(ResourceLocation name, IForgeRegistry<T> registry, Collection<RegistryEvent.MissingMappings.Mapping<T>> missed) private
ModRemapping
(ResourceLocation registry, ResourceLocation key, int oldId, int newId) Register
(ResourceLocation name, IForgeRegistry<T> registry) ModifierConstructorDescriptionIdMappingEvent
(Map<ResourceLocation, Map<ResourceLocation, Integer[]>> remaps, boolean isFrozen) IdMappingEvent
(Map<ResourceLocation, Map<ResourceLocation, Integer[]>> remaps, boolean isFrozen) -
Uses of ResourceLocation in net.minecraftforge.event.world
Modifier and TypeMethodDescriptionBiomeLoadingEvent.getName()
This will get the registry name of the biome.ModifierConstructorDescriptionBiomeLoadingEvent
(ResourceLocation name, Biome.ClimateSettings climate, Biome.BiomeCategory category, BiomeSpecialEffects effects, BiomeGenerationSettingsBuilder gen, MobSpawnSettingsBuilder spawns) -
Uses of ResourceLocation in net.minecraftforge.fluids
Modifier and TypeFieldDescriptionprivate final ResourceLocation
FluidAttributes.Builder.flowingTexture
private final ResourceLocation
FluidAttributes.flowingTexture
private ResourceLocation
FluidAttributes.Builder.overlayTexture
private final ResourceLocation
FluidAttributes.overlayTexture
private final ResourceLocation
FluidAttributes.Builder.stillTexture
private final ResourceLocation
FluidAttributes.stillTexture
Modifier and TypeMethodDescriptionFluidAttributes.getFlowingTexture()
FluidAttributes.getFlowingTexture
(BlockAndTintGetter level, BlockPos pos) FluidAttributes.getFlowingTexture
(FluidStack stack) FluidAttributes.getOverlayTexture()
FluidAttributes.getStillTexture()
FluidAttributes.getStillTexture
(BlockAndTintGetter level, BlockPos pos) FluidAttributes.getStillTexture
(FluidStack stack) Modifier and TypeMethodDescriptionstatic FluidAttributes.Builder
FluidAttributes.builder
(ResourceLocation stillTexture, ResourceLocation flowingTexture) static FluidAttributes.Builder
FluidAttributes.Water.builder
(ResourceLocation stillTexture, ResourceLocation flowingTexture) final FluidAttributes.Builder
FluidAttributes.Builder.overlay
(ResourceLocation texture) ModifierConstructorDescriptionprotected
Builder
(ResourceLocation stillTexture, ResourceLocation flowingTexture, BiFunction<FluidAttributes.Builder, Fluid, FluidAttributes> factory) -
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
(package private) 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()
default ResourceLocation
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) 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) default void
ICustomPacket.setName
(ResourceLocation channelName) 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
NamespacedHolderHelper.defaultKey
static final ResourceLocation
NamespacedDefaultedWrapper.Factory.ID
static final ResourceLocation
NamespacedWrapper.Factory.ID
private ResourceLocation
ObjectHolderRef.injectedObject
private final ResourceLocation
ForgeRegistry.name
private ResourceLocation
RegistryDelegate.name
private final @Nullable ResourceLocation
RegistryObject.name
private ResourceLocation
RegistryBuilder.optionalDefaultKey
private ResourceLocation
ForgeRegistryEntry.registryName
private ResourceLocation
RegistryBuilder.registryName
private static final ResourceLocation
GameData.SERIALIZER_TO_ENTRY
private static final ResourceLocation
GameData.STRUCTURES
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
final Set<ResourceLocation>
ForgeRegistry.Snapshot.dummied
private final Set<ResourceLocation>
ForgeRegistry.dummies
private Map<ResourceLocation,
Holder.Reference<T>> NamespacedHolderHelper.holdersByName
final Map<ResourceLocation,
Integer> ForgeRegistry.Snapshot.ids
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<? extends IForgeRegistryEntry<?>>> RegistryManager.registries
(package private) final Map<ResourceLocation,
?> ForgeRegistry.slaves
private static final Comparator<ResourceLocation>
ForgeRegistry.Snapshot.sorter
private com.google.common.collect.BiMap<Class<? extends IForgeRegistryEntry<?>>,
ResourceLocation> RegistryManager.superTypes
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.(package private) ResourceLocation
ForgeRegistryEntry.checkRegistryName
(String name) This will assert that the registry name is valid and warn about potential registry overrides It is important as it detects cases where modders unintentionally register objects with the "minecraft" namespace, leading to dangerous errors later.(package private) ResourceLocation
ForgeRegistryEntry.UncheckedRegistryEntry.checkRegistryName
(String name) RegistryBuilder.getDefault()
@Nullable ResourceLocation
ForgeRegistry.getDefaultKey()
@Nullable ResourceLocation
IForgeRegistry.getDefaultKey()
NamespacedDefaultedWrapper.getDefaultKey()
RegistryObject.getId()
@Nullable ResourceLocation
<V extends IForgeRegistryEntry<V>>
ResourceLocationRegistryManager.getName
(IForgeRegistry<V> reg) @Nullable ResourceLocation
DeferredRegister.getRegistryName()
ForgeRegistry.getRegistryName()
final ResourceLocation
ForgeRegistryEntry.getRegistryName()
IForgeRegistry.getRegistryName()
IForgeRegistryEntry.getRegistryName()
A unique identifier for this entry, if this entry is registered already it will return it's official registry name.IRegistryDelegate.name()
Get the unique resource location for this delegate.RegistryDelegate.name()
<V extends IForgeRegistryEntry<V>>
ResourceLocationRegistryManager.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()
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) NamespacedDefaultedWrapper.keySet()
NamespacedWrapper.keySet()
RegistryManager.takeSnapshot
(boolean savingToDisc) Modifier and TypeMethodDescription(package private) void
ForgeRegistry.addAlias
(ResourceLocation from, ResourceLocation to) (package private) void
ForgeRegistry.addDummy
(ResourceLocation key) private void
RegistryManager.addLegacyName
(ResourceLocation legacyName, ResourceLocation name) private static void
GameData.applyHolderLookups
(ResourceLocation registryName) boolean
ForgeRegistry.containsKey
(ResourceLocation key) boolean
IForgeRegistry.containsKey
(ResourceLocation key) boolean
NamespacedDefaultedWrapper.containsKey
(ResourceLocation key) boolean
NamespacedWrapper.containsKey
(ResourceLocation key) static <B> DeferredRegister<B>
DeferredRegister.create
(ResourceLocation registryName, String modid) DeferredRegister factory for custom forge registries,vanilla registries
, orbuilt-in registries
to lookup based on the provided registry name.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 extends IForgeRegistryEntry<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,vanilla registries
, orbuilt-in 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 extends IForgeRegistryEntry<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) private static void
GameData.forceRegistryName
(IForgeRegistryEntry<?> entry, ResourceLocation name) NamespacedDefaultedWrapper.get
(ResourceLocation name) NamespacedWrapper.get
(ResourceLocation name) ForgeRegistry.getHolder
(ResourceLocation location) IForgeRegistry.getHolder
(ResourceLocation location) This method exists purely as a stopgap for vanilla compatibility.NamespacedHolderHelper.getHolder
(ResourceLocation location) int
ForgeRegistry.getID
(ResourceLocation name) private int
ForgeRegistry.getIDRaw
(ResourceLocation name) ForgeRegistry.getMissingEvent
(ResourceLocation name, Map<ResourceLocation, Integer> map) NamespacedDefaultedWrapper.getOptional
(ResourceLocation name) NamespacedWrapper.getOptional
(ResourceLocation name) ForgeRegistry.getRaw
(ResourceLocation key) (package private) RegistryEvent.Register<V>
ForgeRegistry.getRegisterEvent
(ResourceLocation name) <V extends IForgeRegistryEntry<V>>
ForgeRegistry<V>RegistryManager.getRegistry
(ResourceLocation key) <V extends IForgeRegistryEntry<V>>
ForgeRegistry<V>RegistryManager.getRegistry
(ResourceLocation key, RegistryManager other) <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.<V extends IForgeRegistryEntry<V>>
Class<V>RegistryManager.getSuperType
(ResourceLocation key) ForgeRegistry.getValue
(ResourceLocation key) IForgeRegistry.getValue
(ResourceLocation key) (package private) boolean
ForgeRegistry.isDummied
(ResourceLocation key) RegistryBuilder.legacyName
(ResourceLocation name) private static <T extends IForgeRegistryEntry<T>>
voidGameData.loadFrozenDataToStagingRegistry
(RegistryManager STAGING, ResourceLocation name, Map<ResourceLocation, Integer[]> remaps, Class<T> clazz) void
ForgeRegistry.loadIds
(Map<ResourceLocation, Integer> ids, Map<ResourceLocation, String> overrides, Map<ResourceLocation, Integer> missing, Map<ResourceLocation, Integer[]> remapped, ForgeRegistry<V> old, ResourceLocation name) private static <T extends IForgeRegistryEntry<T>>
voidGameData.loadPersistentDataToStagingRegistry
(RegistryManager pool, RegistryManager to, Map<ResourceLocation, Integer[]> remaps, Map<ResourceLocation, Integer> missing, ResourceLocation name, ForgeRegistry.Snapshot snap, Class<T> regType) private static <T extends IForgeRegistryEntry<T>>
voidGameData.loadRegistry
(ResourceLocation registryName, RegistryManager from, RegistryManager to, Class<T> regType, boolean freeze) private <E extends IForgeRegistryEntry<E>>
Supplier<IForgeRegistry<E>>DeferredRegister.makeRegistry
(ResourceLocation registryName, Class<E> superType, Supplier<RegistryBuilder<E>> sup) (package private) boolean
ForgeRegistry.markDummy
(ResourceLocation key, int id) static <T extends IForgeRegistryEntry<T>,
U extends T>
RegistryObject<U>RegistryObject.of
(ResourceLocation name, Class<T> baseType, String modid) Deprecated, for removal: This API element is subject to removal in a future version.The uniqueness of registry super types will not be guaranteed starting in 1.19.static <T extends IForgeRegistryEntry<T>,
U extends T>
RegistryObject<U>RegistryObject.of
(ResourceLocation name, Supplier<Class<? super T>> registryType) Deprecated, for removal: This API element is subject to removal in a future version.The uniqueness of registry super types will not be guaranteed starting in 1.19.static <T,
U extends T>
RegistryObject<U>RegistryObject.of
(ResourceLocation name, ResourceKey<? extends Registry<T>> registryKey, String modid) Deprecated, for removal: This API element is subject to removal in a future version.static <T,
U extends T>
RegistryObject<U>RegistryObject.of
(ResourceLocation name, ResourceLocation registryName, String modid) Deprecated, for removal: This API element is subject to removal in a future version.static <T extends IForgeRegistryEntry<T>,
U extends T>
RegistryObject<U>RegistryObject.of
(ResourceLocation name, IForgeRegistry<T> registry) Deprecated, for removal: This API element is subject to removal in a future version.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 extends IForgeRegistryEntry<T>>
voidGameData.processMissing
(Class<T> clazz, ResourceLocation name, RegistryManager STAGING, RegistryEvent.MissingMappings<?> e, Map<ResourceLocation, Integer> missing, Map<ResourceLocation, Integer[]> remaps, Collection<ResourceLocation> defaulted, Collection<ResourceLocation> failed, boolean injectNetworkDummies) (package private) void
ForgeRegistry.processMissingEvent
(ResourceLocation name, ForgeRegistry<V> pool, List<RegistryEvent.MissingMappings.Mapping<V>> mappings, Map<ResourceLocation, Integer> missing, Map<ResourceLocation, Integer[]> remaps, Collection<ResourceLocation> defaulted, Collection<ResourceLocation> failed, boolean injectNetworkDummies) 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) RegistryBuilder.setDefaultKey
(ResourceLocation key) RegistryBuilder.setName
(ResourceLocation name) void
RegistryDelegate.setName
(ResourceLocation name) final V
ForgeRegistryEntry.setRegistryName
(ResourceLocation name) IForgeRegistryEntry.setRegistryName
(ResourceLocation name) Sets a unique name for this Item.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 extends IForgeRegistryEntry<V>>
ResourceLocationRegistryManager.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, Integer[]>> remaps, boolean isFreezing) private static void
GameData.fireRemapEvent
(Map<ResourceLocation, Map<ResourceLocation, Integer[]>> remaps, boolean isFreezing) ForgeRegistry.getMissingEvent
(ResourceLocation name, Map<ResourceLocation, Integer> map) static com.google.common.collect.Multimap<ResourceLocation,
ResourceLocation> GameData.injectSnapshot
(Map<ResourceLocation, ForgeRegistry.Snapshot> snapshot, boolean injectFrozenData, boolean isLocalWorld) private static <T extends IForgeRegistryEntry<T>>
voidGameData.loadFrozenDataToStagingRegistry
(RegistryManager STAGING, ResourceLocation name, Map<ResourceLocation, Integer[]> remaps, Class<T> clazz) void
ForgeRegistry.loadIds
(Map<ResourceLocation, Integer> ids, Map<ResourceLocation, String> overrides, Map<ResourceLocation, Integer> missing, Map<ResourceLocation, Integer[]> remapped, ForgeRegistry<V> old, ResourceLocation name) private static <T extends IForgeRegistryEntry<T>>
voidGameData.loadPersistentDataToStagingRegistry
(RegistryManager pool, RegistryManager to, Map<ResourceLocation, Integer[]> remaps, Map<ResourceLocation, Integer> missing, ResourceLocation name, ForgeRegistry.Snapshot snap, Class<T> regType) private static <T extends IForgeRegistryEntry<T>>
voidGameData.processMissing
(Class<T> clazz, ResourceLocation name, RegistryManager STAGING, RegistryEvent.MissingMappings<?> e, Map<ResourceLocation, Integer> missing, Map<ResourceLocation, Integer[]> remaps, Collection<ResourceLocation> defaulted, Collection<ResourceLocation> failed, boolean injectNetworkDummies) private static <T extends IForgeRegistryEntry<T>>
voidGameData.processMissing
(Class<T> clazz, ResourceLocation name, RegistryManager STAGING, RegistryEvent.MissingMappings<?> e, Map<ResourceLocation, Integer> missing, Map<ResourceLocation, Integer[]> remaps, Collection<ResourceLocation> defaulted, Collection<ResourceLocation> failed, boolean injectNetworkDummies) (package private) void
ForgeRegistry.processMissingEvent
(ResourceLocation name, ForgeRegistry<V> pool, List<RegistryEvent.MissingMappings.Mapping<V>> mappings, Map<ResourceLocation, Integer> missing, Map<ResourceLocation, Integer[]> remaps, Collection<ResourceLocation> defaulted, Collection<ResourceLocation> failed, boolean injectNetworkDummies) (package private) void
ForgeRegistry.processMissingEvent
(ResourceLocation name, ForgeRegistry<V> pool, List<RegistryEvent.MissingMappings.Mapping<V>> mappings, Map<ResourceLocation, Integer> missing, Map<ResourceLocation, Integer[]> 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) (package private)
NamespacedHolderHelper
(ForgeRegistry<T> owner, Registry<T> self, ResourceLocation defaultKey, Function<T, Holder.Reference<T>> holderLookup) ObjectHolderRef
(Field field, ResourceLocation injectedObject) private
RegistryObject
(ResourceLocation name, Class<V> baseType, String modid) Deprecated, for removal: This API element is subject to removal in a future version.private
RegistryObject
(ResourceLocation name, Supplier<Class<? super V>> registryType) Deprecated, for removal: This API element is subject to removal in a future version.private
RegistryObject
(ResourceLocation name, ResourceLocation registryName, String modid, boolean optionalRegistry) private
RegistryObject
(ResourceLocation name, IForgeRegistry<V> registry) -
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 TypeMethodDescriptionDelegatingResourcePack.getResources
(PackType type, String pathIn, String pathIn2, int maxDepth, Predicate<String> filter) PathResourcePack.getResources
(PackType type, String resourceNamespace, String pathIn, int maxDepth, Predicate<String> filter) Modifier and TypeMethodDescriptionprivate List<PackResources>
DelegatingResourcePack.getCandidatePacks
(PackType type, ResourceLocation location) private static String
DelegatingResourcePack.getFullPath
(PackType type, ResourceLocation location) DelegatingResourcePack.getResource
(PackType type, ResourceLocation location) PathResourcePack.getResource
(PackType type, ResourceLocation location) boolean
DelegatingResourcePack.hasResource
(PackType type, ResourceLocation location) boolean
PathResourcePack.hasResource
(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 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