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 ResourceLocation
RealmsMainScreen.BUTTON_LOCATION
private static ResourceLocation
RealmsMainScreen.CONFIGURE_LOCATION
(package private) static ResourceLocation
RealmsMainScreen.CROSS_ICON_LOCATION
private static ResourceLocation
RealmsMainScreen.DARKEN_LOCATION
private static ResourceLocation
RealmsMainScreen.EXPIRED_ICON_LOCATION
private static ResourceLocation
RealmsMainScreen.EXPIRES_SOON_ICON_LOCATION
private static ResourceLocation
RealmsMainScreen.INVITATION_ICONS_LOCATION
private static ResourceLocation
RealmsMainScreen.INVITE_ICON_LOCATION
private static ResourceLocation
RealmsMainScreen.LEAVE_ICON_LOCATION
private static ResourceLocation
RealmsMainScreen.LOGO_LOCATION
private static ResourceLocation
RealmsMainScreen.NEWS_LOCATION
private static ResourceLocation
RealmsMainScreen.OFF_ICON_LOCATION
private static ResourceLocation
RealmsMainScreen.ON_ICON_LOCATION
private static ResourceLocation
RealmsMainScreen.POPUP_LOCATION
private static ResourceLocation
RealmsMainScreen.QUESTIONMARK_LOCATION
private static ResourceLocation
RealmsMainScreen.TRIAL_ICON_LOCATION
(package private) static ResourceLocation
RealmsMainScreen.WORLDICON_LOCATION
Modifier and TypeFieldDescriptionprivate static List<ResourceLocation>
RealmsMainScreen.teaserImages
-
Uses of ResourceLocation in com.mojang.realmsclient.gui
Modifier and TypeFieldDescriptionstatic ResourceLocation
RealmsWorldSlotButton.DEFAULT_WORLD_SLOT_1
static ResourceLocation
RealmsWorldSlotButton.DEFAULT_WORLD_SLOT_2
static ResourceLocation
RealmsWorldSlotButton.DEFAULT_WORLD_SLOT_3
static ResourceLocation
RealmsWorldSlotButton.EMPTY_SLOT_LOCATION
static ResourceLocation
RealmsWorldSlotButton.SLOT_FRAME_LOCATION
-
Uses of ResourceLocation in com.mojang.realmsclient.gui.screens
Modifier and TypeFieldDescription(package private) static ResourceLocation
RealmsPendingInvitesScreen.ACCEPT_ICON_LOCATION
private static ResourceLocation
RealmsResetWorldScreen.ADVENTURE_MAP_LOCATION
private static ResourceLocation
RealmsPlayerScreen.CROSS_ICON_LOCATION
private static ResourceLocation
RealmsResetWorldScreen.EXPERIENCE_LOCATION
private static ResourceLocation
RealmsConfigureWorldScreen.EXPIRED_ICON_LOCATION
private static ResourceLocation
RealmsConfigureWorldScreen.EXPIRES_SOON_ICON_LOCATION
private ResourceLocation
RealmsResetWorldScreen.FrameButton.image
private static ResourceLocation
RealmsResetWorldScreen.INSPIRATION_LOCATION
private static ResourceLocation
RealmsNotificationsScreen.INVITE_ICON_LOCATION
(package private) static ResourceLocation
RealmsSelectWorldTemplateScreen.LINK_ICON
private static ResourceLocation
RealmsResetWorldScreen.NEW_WORLD_LOCATION
private static ResourceLocation
RealmsNotificationsScreen.NEWS_ICON_LOCATION
private static ResourceLocation
RealmsConfigureWorldScreen.OFF_ICON_LOCATION
private static ResourceLocation
RealmsConfigureWorldScreen.ON_ICON_LOCATION
private static ResourceLocation
RealmsPlayerScreen.OP_ICON_LOCATION
private static ResourceLocation
RealmsPlayerScreen.OPTIONS_BACKGROUND
(package private) static ResourceLocation
RealmsBackupScreen.PLUS_ICON_LOCATION
(package private) static ResourceLocation
RealmsPendingInvitesScreen.REJECT_ICON_LOCATION
(package private) static ResourceLocation
RealmsBackupScreen.RESTORE_ICON_LOCATION
private static ResourceLocation
RealmsResetWorldScreen.SLOT_FRAME_LOCATION
(package private) static ResourceLocation
RealmsSelectWorldTemplateScreen.SLOT_FRAME_LOCATION
private static ResourceLocation
RealmsResetWorldScreen.SURVIVAL_SPAWN_LOCATION
(package private) static ResourceLocation
RealmsSelectWorldTemplateScreen.TRAILER_ICON
private static ResourceLocation
RealmsNotificationsScreen.TRIAL_ICON_LOCATION
private static ResourceLocation
RealmsResetWorldScreen.UPLOAD_LOCATION
private static 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 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 ResourceLocation
DisplayInfo.background
private ResourceLocation
AdvancementRewards.Builder.function
private ResourceLocation
Advancement.id
private ResourceLocation[]
AdvancementRewards.loot
private ResourceLocation
Advancement.Builder.parentId
private ResourceLocation[]
AdvancementRewards.recipes
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,Advancement>
AdvancementList.advancements
private static Map<ResourceLocation,CriterionTrigger<?>>
CriteriaTriggers.CRITERIA
private List<ResourceLocation>
AdvancementRewards.Builder.loot
private 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 ResourceLocation
EntityPredicate.catType
private ResourceLocation
AbstractCriterionTriggerInstance.criterion
private ResourceLocation
DeserializationContext.id
(package private) ResourceLocation
KilledTrigger.id
(package private) ResourceLocation
LocationTrigger.id
(package private) static ResourceLocation
BeeNestDestroyedTrigger.ID
(package private) static ResourceLocation
BredAnimalsTrigger.ID
(package private) static ResourceLocation
BrewedPotionTrigger.ID
(package private) static ResourceLocation
ChangeDimensionTrigger.ID
(package private) static ResourceLocation
ChanneledLightningTrigger.ID
(package private) static ResourceLocation
ConstructBeaconTrigger.ID
(package private) static ResourceLocation
ConsumeItemTrigger.ID
(package private) static ResourceLocation
CuredZombieVillagerTrigger.ID
(package private) static ResourceLocation
EffectsChangedTrigger.ID
(package private) static ResourceLocation
EnchantedItemTrigger.ID
(package private) static ResourceLocation
EnterBlockTrigger.ID
(package private) static ResourceLocation
EntityHurtPlayerTrigger.ID
(package private) static ResourceLocation
FilledBucketTrigger.ID
(package private) static ResourceLocation
FishingRodHookedTrigger.ID
(package private) static ResourceLocation
ImpossibleTrigger.ID
(package private) static ResourceLocation
InventoryChangeTrigger.ID
(package private) static ResourceLocation
ItemDurabilityTrigger.ID
(package private) static ResourceLocation
ItemPickedUpByEntityTrigger.ID
(package private) static ResourceLocation
ItemUsedOnBlockTrigger.ID
(package private) static ResourceLocation
KilledByCrossbowTrigger.ID
(package private) static ResourceLocation
LevitationTrigger.ID
(package private) static ResourceLocation
LightningStrikeTrigger.ID
(package private) static ResourceLocation
LootTableTrigger.ID
(package private) static ResourceLocation
NetherTravelTrigger.ID
(package private) static ResourceLocation
PlacedBlockTrigger.ID
(package private) static ResourceLocation
PlayerHurtEntityTrigger.ID
(package private) static ResourceLocation
PlayerInteractTrigger.ID
(package private) static ResourceLocation
RecipeUnlockedTrigger.ID
(package private) static ResourceLocation
ShotCrossbowTrigger.ID
(package private) static ResourceLocation
SlideDownBlockTrigger.ID
(package private) static ResourceLocation
StartRidingTrigger.ID
(package private) static ResourceLocation
SummonedEntityTrigger.ID
(package private) static ResourceLocation
TameAnimalTrigger.ID
(package private) static ResourceLocation
TargetBlockTrigger.ID
static ResourceLocation
TickTrigger.ID
(package private) static ResourceLocation
TradeTrigger.ID
(package private) static ResourceLocation
UsedEnderEyeTrigger.ID
(package private) static ResourceLocation
UsedTotemTrigger.ID
(package private) static ResourceLocation
UsingItemTrigger.ID
private ResourceLocation
LootTableTrigger.TriggerInstance.lootTable
private ResourceLocation
RecipeUnlockedTrigger.TriggerInstance.recipe
Modifier and TypeFieldDescriptionPlayerPredicate.advancements
PlayerPredicate.Builder.advancements
private static Map<ResourceLocation,Function<com.google.gson.JsonObject,ItemPredicate>>
ItemPredicate.custom_predicates
private it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceLocation>
PlayerPredicate.Builder.recipes
private it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceLocation>
PlayerPredicate.recipes
private static 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()
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()
NetherTravelTrigger.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_)
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_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 ResourceLocation
Minecraft.ALT_FONT
static ResourceLocation
Minecraft.DEFAULT_FONT
static ResourceLocation
Minecraft.UNIFORM_FONT
Modifier and TypeMethodDescriptionprivate void
KeyboardHandler.copyCreateEntityCommand(ResourceLocation p_90923_, Vec3 p_90924_, CompoundTag p_90925_)
Minecraft.getTextureAtlas(ResourceLocation p_91259_)
-
Uses of ResourceLocation in net.minecraft.client.gui
Modifier and TypeFieldDescriptionstatic ResourceLocation
GuiComponent.BACKGROUND_LOCATION
static ResourceLocation
GuiComponent.GUI_ICONS_LOCATION
private static ResourceLocation
MapRenderer.MAP_ICONS_LOCATION
protected static ResourceLocation
protected static ResourceLocation
protected static ResourceLocation
static ResourceLocation
GuiComponent.STATS_ICON_LOCATION
protected static ResourceLocation
protected static 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 ResourceLocation
BossHealthOverlay.GUI_BARS_LOCATION
private ResourceLocation
ImageButton.resourceLocation
protected ResourceLocation
StateSwitchingButton.resourceLocation
private static ResourceLocation
Checkbox.TEXTURE
static 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 ResourceLocation
SpectatorGui.SPECTATOR_LOCATION
private static 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 ResourceLocation
FontManager.MISSING_FONT
private ResourceLocation
FontSet.name
private ResourceLocation
FontTexture.name
Modifier and TypeFieldDescription(package private) 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 ResourceLocation
TrueTypeGlyphProviderBuilder.location
private ResourceLocation
LegacyUnicodeBitmapsProvider.Builder.metadata
private ResourceLocation
BitmapProvider.Builder.texture
Modifier and TypeFieldDescriptionprivate 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 ResourceLocation
TitleScreen.ACCESSIBILITY_TEXTURE
private static ResourceLocation
DemoIntroScreen.DEMO_BACKGROUND_LOCATION
private static ResourceLocation
WinScreen.EDITION_LOCATION
private static ResourceLocation
WinScreen.LOGO_LOCATION
private static ResourceLocation
TitleScreen.MINECRAFT_EDITION
private static ResourceLocation
TitleScreen.MINECRAFT_LOGO
(package private) static ResourceLocation
LoadingOverlay.MOJANG_STUDIOS_LOGO_LOCATION
private static ResourceLocation
TitleScreen.PANORAMA_OVERLAY
private static ResourceLocation
WinScreen.VIGNETTE_LOCATION
-
Uses of ResourceLocation in net.minecraft.client.gui.screens.achievement
Modifier and TypeFieldDescriptionprivate 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 ResourceLocation
AdvancementsScreen.TABS_LOCATION
private static ResourceLocation
AdvancementWidget.WIDGETS_LOCATION
private static ResourceLocation
AdvancementsScreen.WINDOW_LOCATION
-
Uses of ResourceLocation in net.minecraft.client.gui.screens.debug
Modifier and TypeFieldDescription(package private) static ResourceLocation
GameModeSwitcherScreen.GAMEMODE_SWITCHER_LOCATION
-
Uses of ResourceLocation in net.minecraft.client.gui.screens.inventory
Modifier and TypeFieldDescriptionprivate static ResourceLocation
EnchantmentNames.ALT_FONT
private static ResourceLocation
AnvilScreen.ANVIL_LOCATION
(package private) static ResourceLocation
BeaconScreen.BEACON_LOCATION
private static ResourceLocation
CartographyTableScreen.BG_LOCATION
private static ResourceLocation
LoomScreen.BG_LOCATION
private static ResourceLocation
StonecutterScreen.BG_LOCATION
static ResourceLocation
BookViewScreen.BOOK_LOCATION
private static ResourceLocation
BrewingStandScreen.BREWING_STAND_LOCATION
private static ResourceLocation
ContainerScreen.CONTAINER_BACKGROUND
private static ResourceLocation
DispenserScreen.CONTAINER_LOCATION
private static ResourceLocation
ShulkerBoxScreen.CONTAINER_TEXTURE
private static ResourceLocation
CraftingScreen.CRAFTING_TABLE_LOCATION
private static ResourceLocation
CreativeModeInventoryScreen.CREATIVE_TABS_LOCATION
private static ResourceLocation
EnchantmentScreen.ENCHANTING_BOOK_LOCATION
private static ResourceLocation
EnchantmentScreen.ENCHANTING_TABLE_LOCATION
private static ResourceLocation
GrindstoneScreen.GRINDSTONE_LOCATION
private static ResourceLocation
HopperScreen.HOPPER_LOCATION
private static ResourceLocation
HorseInventoryScreen.HORSE_INVENTORY_LOCATION
static ResourceLocation
AbstractContainerScreen.INVENTORY_LOCATION
private ResourceLocation
ItemCombinerScreen.menuResource
private static ResourceLocation
AbstractFurnaceScreen.RECIPE_BUTTON_LOCATION
private static ResourceLocation
CraftingScreen.RECIPE_BUTTON_LOCATION
private static ResourceLocation
InventoryScreen.RECIPE_BUTTON_LOCATION
private static ResourceLocation
SmithingScreen.SMITHING_LOCATION
private ResourceLocation
AbstractFurnaceScreen.texture
private static ResourceLocation
BlastFurnaceScreen.TEXTURE
private static ResourceLocation
FurnaceScreen.TEXTURE
private static ResourceLocation
SmokerScreen.TEXTURE
private static ResourceLocation
MerchantScreen.VILLAGER_LOCATION
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,Tag<Item>>
CreativeModeInventoryScreen.visibleTags
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
-
Uses of ResourceLocation in net.minecraft.client.gui.screens.multiplayer
Modifier and TypeFieldDescription(package private) static ResourceLocation
ServerSelectionList.ICON_MISSING
(package private) static ResourceLocation
ServerSelectionList.ICON_OVERLAY_LOCATION
private 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 ResourceLocation
PackSelectionScreen.DEFAULT_ICON
(package private) static ResourceLocation
TransferableSelectionList.ICON_OVERLAY_LOCATION
Modifier and TypeFieldDescription(package private) Function<Pack,ResourceLocation>
PackSelectionModel.iconGetter
private 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 ResourceLocation
OverlayRecipeComponent.RECIPE_BOOK_LOCATION
protected static ResourceLocation
RecipeBookComponent.RECIPE_BOOK_LOCATION
private static ResourceLocation
RecipeButton.RECIPE_BOOK_LOCATION
-
Uses of ResourceLocation in net.minecraft.client.gui.screens.social
Modifier and TypeFieldDescriptionprotected static 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 TypeFieldDescription(package private) static ResourceLocation
WorldSelectionList.ICON_MISSING
(package private) static ResourceLocation
WorldSelectionList.ICON_OVERLAY_LOCATION
private 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 ResourceLocation
TeleportToTeamMenuCategory.TeamSelectionItem.location
-
Uses of ResourceLocation in net.minecraft.client.model
Modifier and TypeFieldDescriptionprotected 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 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 Map<ResourceLocation,ParticleProvider<?>>
ParticleEngine.providers
ParticleEngine.spriteSets
private 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 ResourceLocation
Sheets.BANNER_SHEET
static ResourceLocation
Sheets.BED_SHEET
static ResourceLocation
Sheets.CHEST_SHEET
private static ResourceLocation
LevelRenderer.CLOUDS_LOCATION
private static ResourceLocation[]
GameRenderer.EFFECTS
private static ResourceLocation
LevelRenderer.END_SKY_LOCATION
private static ResourceLocation
LevelRenderer.FORCEFIELD_LOCATION
private static ResourceLocation
GpuWarnlistManager.GPU_WARNLIST_LOCATION
private ResourceLocation[]
CubeMap.images
private ResourceLocation
LightTexture.lightTextureLocation
private static ResourceLocation
LevelRenderer.MOON_LOCATION
private static ResourceLocation
GameRenderer.NAUSEA_LOCATION
private static ResourceLocation
LevelRenderer.RAIN_LOCATION
static ResourceLocation
Sheets.SHIELD_SHEET
static ResourceLocation
Sheets.SHULKER_SHEET
static ResourceLocation
Sheets.SIGN_SHEET
private static ResourceLocation
LevelRenderer.SNOW_LOCATION
private static ResourceLocation
LevelRenderer.SUN_LOCATION
private static ResourceLocation
ScreenEffectRenderer.UNDERWATER_LOCATION
Modifier and TypeFieldDescriptionprivate static Function<ResourceLocation,RenderType>
RenderType.ARMOR_CUTOUT_NO_CULL
private static BiFunction<ResourceLocation,Boolean,RenderType>
RenderType.BEACON_BEAM
private com.google.common.collect.ImmutableList.Builder<org.apache.commons.lang3.tuple.Triple<ResourceLocation,Boolean,Boolean>>
RenderStateShard.MultiTextureStateShard.Builder.builder
private static Function<ResourceLocation,RenderType>
RenderType.CRUMBLING
private Optional<ResourceLocation>
RenderStateShard.MultiTextureStateShard.cutoutTexture
private static Function<ResourceLocation,RenderType>
RenderType.DRAGON_EXPLOSION_ALPHA
private static it.unimi.dsi.fastutil.objects.Object2ObjectMap<ResourceLocation,DimensionSpecialEffects>
DimensionSpecialEffects.EFFECTS
private static Function<ResourceLocation,RenderType>
RenderType.ENTITY_CUTOUT
private static BiFunction<ResourceLocation,Boolean,RenderType>
RenderType.ENTITY_CUTOUT_NO_CULL
private static BiFunction<ResourceLocation,Boolean,RenderType>
RenderType.ENTITY_CUTOUT_NO_CULL_Z_OFFSET
private static Function<ResourceLocation,RenderType>
RenderType.ENTITY_DECAL
private static Function<ResourceLocation,RenderType>
RenderType.ENTITY_NO_OUTLINE
private static Function<ResourceLocation,RenderType>
RenderType.ENTITY_SHADOW
private static Function<ResourceLocation,RenderType>
RenderType.ENTITY_SMOOTH_CUTOUT
private static Function<ResourceLocation,RenderType>
RenderType.ENTITY_SOLID
private static BiFunction<ResourceLocation,Boolean,RenderType>
RenderType.ENTITY_TRANSLUCENT
private static Function<ResourceLocation,RenderType>
RenderType.ENTITY_TRANSLUCENT_CULL
private static Function<ResourceLocation,RenderType>
RenderType.EYES
private static Function<ResourceLocation,RenderType>
RenderType.ITEM_ENTITY_TRANSLUCENT_CULL
(package private) static BiFunction<ResourceLocation,RenderStateShard.CullStateShard,RenderType>
RenderType.CompositeRenderType.OUTLINE
private static Function<ResourceLocation,RenderType>
RenderType.TEXT
private static Function<ResourceLocation,RenderType>
RenderType.TEXT_INTENSITY
private static Function<ResourceLocation,RenderType>
RenderType.TEXT_INTENSITY_POLYGON_OFFSET
private static Function<ResourceLocation,RenderType>
RenderType.TEXT_INTENSITY_SEE_THROUGH
private static Function<ResourceLocation,RenderType>
RenderType.TEXT_POLYGON_OFFSET
private static Function<ResourceLocation,RenderType>
RenderType.TEXT_SEE_THROUGH
private 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 ResourceLocation
ItemOverride.model
private ResourceLocation
Variant.modelLocation
protected ResourceLocation
BlockModel.parentLocation
private ResourceLocation[]
ItemOverrides.properties
private 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 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_)
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 ResourceLocation
BeaconRenderer.BEAM_LOCATION
private static ResourceLocation
TheEndGatewayRenderer.BEAM_LOCATION
static ResourceLocation
TheEndPortalRenderer.END_PORTAL_LOCATION
static ResourceLocation
TheEndPortalRenderer.END_SKY_LOCATION
Modifier and TypeFieldDescriptionprivate static 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 ResourceLocation
BeeRenderer.ANGRY_BEE_TEXTURE
private static ResourceLocation
BeeRenderer.ANGRY_NECTAR_BEE_TEXTURE
private static ResourceLocation
BatRenderer.BAT_LOCATION
private static ResourceLocation
PolarBearRenderer.BEAR_LOCATION
private static ResourceLocation
BeeRenderer.BEE_TEXTURE
private static ResourceLocation
BlazeRenderer.BLAZE_LOCATION
private static ResourceLocation
OcelotRenderer.CAT_OCELOT_LOCATION
private static ResourceLocation
CaveSpiderRenderer.CAVE_SPIDER_LOCATION
private static ResourceLocation
ChickenRenderer.CHICKEN_LOCATION
private static ResourceLocation
CodRenderer.COD_LOCATION
private static ResourceLocation
StriderRenderer.COLD_LOCATION
private static ResourceLocation
CowRenderer.COW_LOCATION
private static ResourceLocation
CreeperRenderer.CREEPER_LOCATION
static ResourceLocation
EnderDragonRenderer.CRYSTAL_BEAM_LOCATION
private static ResourceLocation
HumanoidMobRenderer.DEFAULT_LOCATION
static ResourceLocation
ArmorStandRenderer.DEFAULT_SKIN_LOCATION
private static ResourceLocation
ShulkerRenderer.DEFAULT_TEXTURE_LOCATION
private static ResourceLocation
DolphinRenderer.DOLPHIN_LOCATION
private static ResourceLocation
EnderDragonRenderer.DRAGON_EXPLODING_LOCATION
private static ResourceLocation
EnderDragonRenderer.DRAGON_EYES_LOCATION
private static ResourceLocation
EnderDragonRenderer.DRAGON_LOCATION
private static ResourceLocation
DrownedRenderer.DROWNED_LOCATION
static ResourceLocation
ItemRenderer.ENCHANT_GLINT_LOCATION
private static ResourceLocation
EndCrystalRenderer.END_CRYSTAL_LOCATION
private static ResourceLocation
EndermanRenderer.ENDERMAN_LOCATION
private static ResourceLocation
EndermiteRenderer.ENDERMITE_LOCATION
private static ResourceLocation
EvokerRenderer.EVOKER_ILLAGER
private static ResourceLocation
ExperienceOrbRenderer.EXPERIENCE_ORB_LOCATION
private static ResourceLocation
GhastRenderer.GHAST_LOCATION
private static ResourceLocation
GhastRenderer.GHAST_SHOOTING_LOCATION
private static ResourceLocation
GlowSquidRenderer.GLOW_SQUID_LOCATION
private static ResourceLocation
GoatRenderer.GOAT_LOCATION
private static ResourceLocation
IronGolemRenderer.GOLEM_LOCATION
private static ResourceLocation
GuardianRenderer.GUARDIAN_BEAM_LOCATION
static ResourceLocation
ElderGuardianRenderer.GUARDIAN_ELDER_LOCATION
private static ResourceLocation
GuardianRenderer.GUARDIAN_LOCATION
private static ResourceLocation
HoglinRenderer.HOGLIN_LOCATION
private static ResourceLocation
HuskRenderer.HUSK_LOCATION
private static ResourceLocation
IllusionerRenderer.ILLUSIONER
private static ResourceLocation
LeashKnotRenderer.KNOT_LOCATION
private static ResourceLocation[]
LlamaRenderer.LLAMA_LOCATIONS
private static ResourceLocation
LlamaSpitRenderer.LLAMA_SPIT_LOCATION
private static ResourceLocation
MagmaCubeRenderer.MAGMACUBE_LOCATION
private static ResourceLocation
MinecartRenderer.MINECART_LOCATION
private static ResourceLocation
BeeRenderer.NECTAR_BEE_TEXTURE
static ResourceLocation
TippableArrowRenderer.NORMAL_ARROW_LOCATION
static ResourceLocation[]
ParrotRenderer.PARROT_LOCATIONS
private static ResourceLocation
PhantomRenderer.PHANTOM_LOCATION
private static ResourceLocation
PigRenderer.PIG_LOCATION
private static ResourceLocation
PillagerRenderer.PILLAGER
private static ResourceLocation
PufferfishRenderer.PUFFER_LOCATION
private static ResourceLocation
RabbitRenderer.RABBIT_BLACK_LOCATION
private static ResourceLocation
RabbitRenderer.RABBIT_BROWN_LOCATION
private static ResourceLocation
RabbitRenderer.RABBIT_EVIL_LOCATION
private static ResourceLocation
RabbitRenderer.RABBIT_GOLD_LOCATION
private static ResourceLocation
RabbitRenderer.RABBIT_SALT_LOCATION
private static ResourceLocation
RabbitRenderer.RABBIT_TOAST_LOCATION
private static ResourceLocation
RabbitRenderer.RABBIT_WHITE_LOCATION
private static ResourceLocation
RabbitRenderer.RABBIT_WHITE_SPLOTCHED_LOCATION
private static ResourceLocation
FoxRenderer.RED_FOX_SLEEP_TEXTURE
private static ResourceLocation
FoxRenderer.RED_FOX_TEXTURE
private static ResourceLocation
SalmonRenderer.SALMON_LOCATION
private static ResourceLocation
SheepRenderer.SHEEP_LOCATION
private static ResourceLocation
SilverfishRenderer.SILVERFISH_LOCATION
private static ResourceLocation
SkeletonRenderer.SKELETON_LOCATION
private static ResourceLocation
SlimeRenderer.SLIME_LOCATION
private static ResourceLocation
FoxRenderer.SNOW_FOX_SLEEP_TEXTURE
private static ResourceLocation
FoxRenderer.SNOW_FOX_TEXTURE
private static ResourceLocation
SnowGolemRenderer.SNOW_GOLEM_LOCATION
static ResourceLocation
SpectralArrowRenderer.SPECTRAL_ARROW_LOCATION
private static ResourceLocation
SpiderRenderer.SPIDER_LOCATION
private static ResourceLocation
SquidRenderer.SQUID_LOCATION
private static ResourceLocation
StrayRenderer.STRAY_SKELETON_LOCATION
private static ResourceLocation
StriderRenderer.STRIDER_LOCATION
private static ResourceLocation
DragonFireballRenderer.TEXTURE_LOCATION
private static ResourceLocation
EvokerFangsRenderer.TEXTURE_LOCATION
private static ResourceLocation
FishingHookRenderer.TEXTURE_LOCATION
private static ResourceLocation
RavagerRenderer.TEXTURE_LOCATION
private static ResourceLocation
ShulkerBulletRenderer.TEXTURE_LOCATION
private static ResourceLocation[]
ShulkerRenderer.TEXTURE_LOCATION
static ResourceLocation
TippableArrowRenderer.TIPPED_ARROW_LOCATION
static ResourceLocation
ThrownTridentRenderer.TRIDENT_LOCATION
private static ResourceLocation
TurtleRenderer.TURTLE_LOCATION
private static ResourceLocation
VexRenderer.VEX_CHARGING_LOCATION
private static ResourceLocation
VexRenderer.VEX_LOCATION
private static ResourceLocation
VillagerRenderer.VILLAGER_BASE_SKIN
private static ResourceLocation
WanderingTraderRenderer.VILLAGER_BASE_SKIN
private static ResourceLocation
VindicatorRenderer.VINDICATOR
private static ResourceLocation
WitchRenderer.WITCH_LOCATION
private static ResourceLocation
WitherBossRenderer.WITHER_INVULNERABLE_LOCATION
private static ResourceLocation
WitherSkullRenderer.WITHER_INVULNERABLE_LOCATION
private static ResourceLocation
WitherBossRenderer.WITHER_LOCATION
private static ResourceLocation
WitherSkullRenderer.WITHER_LOCATION
private static ResourceLocation
WitherSkeletonRenderer.WITHER_SKELETON_LOCATION
private static ResourceLocation
WolfRenderer.WOLF_ANGRY_LOCATION
private static ResourceLocation
WolfRenderer.WOLF_LOCATION
private static ResourceLocation
WolfRenderer.WOLF_TAME_LOCATION
private static ResourceLocation
ZoglinRenderer.ZOGLIN_LOCATION
private static ResourceLocation
AbstractZombieRenderer.ZOMBIE_LOCATION
private static ResourceLocation
GiantMobRenderer.ZOMBIE_LOCATION
private static ResourceLocation
ZombieVillagerRenderer.ZOMBIE_VILLAGER_LOCATION
Modifier and TypeFieldDescriptionprivate Map<Boat.Type,com.mojang.datafixers.util.Pair<ResourceLocation,BoatModel>>
BoatRenderer.boatResources
private static Map<Variant,ResourceLocation>
HorseRenderer.LOCATION_BY_VARIANT
private static Map<EntityType<?>,ResourceLocation>
ChestedHorseRenderer.MAP
private static Map<EntityType<?>,ResourceLocation>
UndeadHorseRenderer.MAP
private static Map<Axolotl.Variant,ResourceLocation>
AxolotlRenderer.TEXTURE_BY_TYPE
private static Map<MushroomCow.MushroomType,ResourceLocation>
MushroomCowRenderer.TEXTURES
private static Map<Panda.Gene,ResourceLocation>
PandaRenderer.TEXTURES
private static 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 ResourceLocation
BeeStingerLayer.BEE_STINGER_LOCATION
private static ResourceLocation
CatCollarLayer.CAT_COLLAR_LOCATION
private static ResourceLocation
DrownedOuterLayer.DROWNED_OUTER_LAYER_LOCATION
private static ResourceLocation
CreeperPowerLayer.POWER_LOCATION
private static ResourceLocation
SheepFurLayer.SHEEP_FUR_LOCATION
private static ResourceLocation
StrayClothingLayer.STRAY_CLOTHES_LOCATION
static ResourceLocation
SpinAttackEffectLayer.TEXTURE
private static ResourceLocation[]
LlamaDecorLayer.TEXTURE_LOCATION
private ResourceLocation
SaddleLayer.textureLocation
private static ResourceLocation
LlamaDecorLayer.TRADER_LLAMA
private static ResourceLocation
ElytraLayer.WINGS_LOCATION
private static ResourceLocation
WitherArmorLayer.WITHER_ARMOR_LOCATION
private static ResourceLocation
WolfCollarLayer.WOLF_COLLAR_LOCATION
Modifier and TypeFieldDescriptionprivate static Map<String,ResourceLocation>
HumanoidArmorLayer.ARMOR_LOCATION_CACHE
private static it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceLocation>
VillagerProfessionLayer.LEVEL_LOCATIONS
private static Map<Markings,ResourceLocation>
HorseMarkingLayer.LOCATION_BY_MARKINGS
private static 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_, A 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 ResourceLocation
ItemProperties.DAMAGE
private static ResourceLocation
ItemProperties.DAMAGED
Modifier and TypeFieldDescriptionprivate static Map<ResourceLocation,ItemPropertyFunction>
ItemProperties.GENERIC_PROPERTIES
private static 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 ResourceLocation
TextureManager.INTENTIONAL_MISSING_TEXTURE
protected ResourceLocation
SimpleTexture.location
private ResourceLocation
TextureAtlas.location
static ResourceLocation
TextureAtlas.LOCATION_BLOCKS
Deprecated.static ResourceLocation
TextureAtlas.LOCATION_PARTICLES
Deprecated.private static ResourceLocation
MissingTextureAtlasSprite.MISSING_TEXTURE_LOCATION
(package private) ResourceLocation
TextureAtlasSprite.Info.name
private ResourceLocation
TextureAtlasSprite.name
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,TextureAtlas>
AtlasSet.atlases
private Map<ResourceLocation,AbstractTexture>
TextureManager.byPath
(package private) Set<ResourceLocation>
TextureAtlas.Preparations.sprites
private Set<ResourceLocation>
TextureAtlas.sprites
private 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 ResourceLocation
DefaultPlayerSkin.ALEX_SKIN_LOCATION
private static ResourceLocation
PaintingTextureManager.BACK_SPRITE_LOCATION
static ResourceLocation
PackResourcesAdapterV4.BANNER_BASE
private static ResourceLocation
FoliageColorReloadListener.LOCATION
private static ResourceLocation
GrassColorReloadListener.LOCATION
static ResourceLocation
PackResourcesAdapterV4.OLD_IRON_GOLEM_LOCATION
static ResourceLocation
PackResourcesAdapterV4.SHIELD_BASE
private static ResourceLocation
SplashManager.SPLASHES_LOCATION
private static ResourceLocation
DefaultPlayerSkin.STEVE_SKIN_LOCATION
Modifier and TypeFieldDescriptionprivate static Map<String,com.mojang.datafixers.util.Pair<ChestType,ResourceLocation>>
PackResourcesAdapterV4.CHESTS
private Map<ResourceLocation,File>
AssetIndex.namespacedFiles
private Map<ResourceLocation,ResourceLocation>
LegacyPackResourcesAdapter.patches
private Map<ResourceLocation,ResourceLocation>
LegacyPackResourcesAdapter.patches
static Map<ResourceLocation,ResourceLocation>
LegacyPackResourcesAdapter.V3
static 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 TypeMethodDescriptionAssetIndex.getFiles(String p_118533_, String p_118534_, int p_118535_, Predicate<String> p_118536_)
DirectAssetIndex.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 ResourceLocation
Material.atlasLocation
private ResourceLocation
Material.texture
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,com.mojang.datafixers.util.Pair<TextureAtlas,TextureAtlas.Preparations>>
ModelBakery.atlasPreparations
private Map<org.apache.commons.lang3.tuple.Triple<ResourceLocation,Transformation,Boolean>,BakedModel>
ModelBakery.bakedCache
private Map<ResourceLocation,BakedModel>
ModelManager.bakedRegistry
private Map<ResourceLocation,BakedModel>
ModelBakery.bakedTopLevelModels
static List<ResourceLocation>
ModelBakery.BREAKING_LOCATIONS
static List<ResourceLocation>
ModelBakery.DESTROY_STAGES
private Set<ResourceLocation>
ModelBakery.loadingStack
private static Map<ResourceLocation,StateDefinition<Block,BlockState>>
ModelBakery.STATIC_DEFINITIONS
private Map<ResourceLocation,UnbakedModel>
ModelBakery.topLevelModels
private 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 ResourceLocation
AbstractSoundInstance.location
private 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 Function<T,Stream<ResourceLocation>>
ReloadableIdSearchTree.idGetter
ModifierConstructorDescriptionReloadableIdSearchTree(Function<T,Stream<ResourceLocation>> p_119876_)
-
Uses of ResourceLocation in net.minecraft.client.sounds
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,CompletableFuture<SoundBuffer>>
SoundBufferLibrary.cache
private static Set<ResourceLocation>
SoundEngine.ONLY_WARN_ONCE
(package private) Map<ResourceLocation,WeighedSoundEvents>
SoundManager.Preparations.registry
private 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 ResourceLocation
CommandFunction.CacheableFunction.id
(package private) 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 <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
Modifier and TypeFieldDescriptionprivate ResourceLocation
BlockStateParser.id
private ResourceLocation
BlockStateParser.tag
-
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 ResourceLocation
SuggestionProviders.DEFAULT_NAME
ArgumentTypes.Entry.name
(package private) ResourceLocation
SuggestionProviders.Wrapper.name
Modifier and TypeFieldDescriptionprivate static Map<ResourceLocation,ArgumentTypes.Entry<?>>
ArgumentTypes.BY_NAME
private static 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(Class<T> p_121622_, ArgumentSerializer<T> p_121623_, ResourceLocation p_121624_)
Wrapper(ResourceLocation p_121678_, com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> p_121679_)
-
Uses of ResourceLocation in net.minecraft.core
Modifier and TypeFieldDescriptionprivate ResourceLocation
DefaultedRegistry.defaultKey
static ResourceLocation
Registry.ROOT_REGISTRY_NAME
Modifier and TypeFieldDescriptionstatic Registry<ResourceLocation>
Registry.CUSTOM_STAT
static ResourceKey<Registry<ResourceLocation>>
Registry.CUSTOM_STAT_REGISTRY
private static Map<ResourceLocation,Supplier<?>>
Registry.LOADERS
private com.google.common.collect.BiMap<ResourceLocation,T>
MappedRegistry.storage
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_)
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 Map<ResourceLocation,Supplier<?>>
BuiltinRegistries.LOADERS
Modifier and TypeMethodDescriptionstatic <V, T extends V>
TBuiltinRegistries.register(Registry<V> p_123881_, ResourceLocation p_123882_, T p_123883_)
-
Uses of ResourceLocation in net.minecraft.data.loot
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,LootTable.Builder>
BlockLoot.map
private Map<ResourceLocation,LootTable.Builder>
EntityLoot.map
private 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 ResourceLocation
BlockModelGenerators.BlockEntityModelGenerator.baseModel
private ResourceLocation
BlockModelGenerators.BlockFamilyProvider.fullBlock
Modifier and TypeFieldDescription(package private) BiConsumer<ResourceLocation,Supplier<com.google.gson.JsonElement>>
BlockModelGenerators.modelOutput
private Map<ModelTemplate,ResourceLocation>
BlockModelGenerators.BlockFamilyProvider.models
static Map<BooleanProperty,Function<ResourceLocation,Variant>>
BlockModelGenerators.MULTIFACE_GENERATOR
private 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 VariantProperty<ResourceLocation>
VariantProperties.MODEL
-
Uses of ResourceLocation in net.minecraft.data.models.model
Modifier and TypeFieldDescriptionprivate Optional<ResourceLocation>
ModelTemplate.model
private 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 ResourceLocation
ShapedRecipeBuilder.Result.advancementId
private ResourceLocation
ShapelessRecipeBuilder.Result.advancementId
private ResourceLocation
SimpleCookingRecipeBuilder.Result.advancementId
private ResourceLocation
SingleItemRecipeBuilder.Result.advancementId
private ResourceLocation
UpgradeRecipeBuilder.Result.advancementId
private ResourceLocation
ShapedRecipeBuilder.Result.id
private ResourceLocation
ShapelessRecipeBuilder.Result.id
private ResourceLocation
SimpleCookingRecipeBuilder.Result.id
private ResourceLocation
SingleItemRecipeBuilder.Result.id
private 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 Map<ResourceLocation,Tag.Builder>
TagsProvider.builders
Modifier and TypeMethodDescriptionTagsProvider.TagAppender.addOptional(ResourceLocation p_176840_)
TagsProvider.TagAppender.addOptionalTag(ResourceLocation p_176842_)
protected Path
BlockTagsProvider.getPath(ResourceLocation p_126514_)
protected Path
EntityTypeTagsProvider.getPath(ResourceLocation p_126520_)
protected Path
FluidTagsProvider.getPath(ResourceLocation p_126526_)
protected Path
GameEventTagsProvider.getPath(ResourceLocation p_176829_)
protected Path
ItemTagsProvider.getPath(ResourceLocation p_126537_)
protected abstract Path
TagsProvider.getPath(ResourceLocation p_126561_)
-
Uses of ResourceLocation in net.minecraft.data.worldgen
Modifier and TypeFieldDescriptionprivate static com.google.common.collect.ImmutableList<ResourceLocation>
Features.FOSSIL_COAL_STRUCTURES
private static com.google.common.collect.ImmutableList<ResourceLocation>
Features.FOSSIL_STRUCTURES
-
Uses of ResourceLocation in net.minecraft.data.worldgen.biome
Modifier and TypeMethodDescriptionprivate static Path
BiomeReport.createPath(Path p_127319_, ResourceLocation p_127320_)
-
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 ResourceLocation
Style.DEFAULT_FONT
(package private) ResourceLocation
Style.font
private 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 ResourceLocation
ClientboundCustomPayloadPacket.BRAND
static ResourceLocation
ServerboundCustomPayloadPacket.BRAND
static ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_BEE
static ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_BRAIN
static ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_GAME_EVENT
static ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_GAME_EVENT_LISTENER
static ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_GAME_TEST_ADD_MARKER
static ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_GAME_TEST_CLEAR
static ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_GOAL_SELECTOR
static ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_HIVE
static ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_NEIGHBORSUPDATE_PACKET
static ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_PATHFINDING_PACKET
static ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_POI_ADDED_PACKET
static ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_POI_REMOVED_PACKET
static ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_POI_TICKET_COUNT_PACKET
static ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_RAIDS
static ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_STRUCTURES_PACKET
static ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_VILLAGE_SECTIONS
static ResourceLocation
ClientboundCustomPayloadPacket.DEBUG_WORLDGENATTEMPT_PACKET
private ResourceLocation
ClientboundCustomPayloadPacket.identifier
private ResourceLocation
ServerboundCustomPayloadPacket.identifier
private ResourceLocation
ClientboundCustomSoundPacket.name
private ResourceLocation
ClientboundStopSoundPacket.name
private ResourceLocation
ServerboundSetJigsawBlockPacket.name
private ResourceLocation
ServerboundSetJigsawBlockPacket.pool
private ResourceLocation
ClientboundPlaceGhostRecipePacket.recipe
private ResourceLocation
ServerboundPlaceRecipePacket.recipe
private ResourceLocation
ServerboundRecipeBookSeenRecipePacket.recipe
private ResourceLocation
ClientboundSelectAdvancementsTabPacket.tab
private ResourceLocation
ServerboundSeenAdvancementsPacket.tab
private ResourceLocation
ServerboundSetJigsawBlockPacket.target
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,Advancement.Builder>
ClientboundUpdateAdvancementsPacket.added
private Map<ResourceLocation,AdvancementProgress>
ClientboundUpdateAdvancementsPacket.progress
private List<ResourceLocation>
ClientboundRecipePacket.recipes
private Set<ResourceLocation>
ClientboundUpdateAdvancementsPacket.removed
private 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 ResourceLocation
ClientboundCustomQueryPacket.identifier
ModifierConstructorDescriptionClientboundCustomQueryPacket(int p_179806_, ResourceLocation p_179807_, FriendlyByteBuf p_179808_)
-
Uses of ResourceLocation in net.minecraft.resources
Modifier and TypeFieldDescriptionprivate ResourceLocation
ResourceKey.location
private ResourceLocation
ResourceKey.registryName
Modifier and TypeFieldDescriptionstatic 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_)
static ResourceLocation
Modifier and TypeMethodDescriptionstatic <T> Function<ResourceLocation,ResourceKey<T>>
ResourceKey.elementKey(ResourceKey<? extends Registry<T>> p_135798_)
RegistryReadOps.ResourceAccess.listResources(ResourceKey<? extends Registry<?>> p_135720_)
RegistryReadOps.ResourceAccess.MemoryMap.listResources(ResourceKey<? extends Registry<?>> p_135753_)
private 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_)
private <E> com.mojang.serialization.DataResult<Supplier<E>>
RegistryReadOps.readAndRegisterElement(ResourceKey<? extends Registry<E>> p_135690_, WritableRegistry<E> p_135691_, com.mojang.serialization.Codec<E> p_135692_, ResourceLocation p_135693_)
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 ResourceLocation
ServerFunctionManager.LOAD_FUNCTION_TAG
private static ResourceLocation
ServerFunctionManager.TICK_FUNCTION_TAG
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,CommandFunction>
ServerFunctionLibrary.functions
private static com.google.gson.reflect.TypeToken<Map<ResourceLocation,AdvancementProgress>>
PlayerAdvancements.TYPE_TOKEN
Modifier and TypeMethodDescriptionServerFunctionManager.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 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_)
private static int
LocateBiomeCommand.locateBiome(CommandSourceStack p_137843_, ResourceLocation p_137844_)
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_)
ResourceManager.Empty.listResources(String p_10739_, Predicate<String> p_10740_)
ResourceManager.listResources(String p_10726_, Predicate<String> p_10727_)
SimpleReloadableResourceManager.listResources(String p_10885_, Predicate<String> p_10886_)
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_)
ResourceManager.Empty.getResource(ResourceLocation p_10742_)
ResourceProvider.getResource(ResourceLocation p_143935_)
SimpleReloadableResourceManager.getResource(ResourceLocation p_10895_)
FallbackResourceManager.getResources(ResourceLocation p_10623_)
ResourceManager.Empty.getResources(ResourceLocation p_10747_)
ResourceManager.getResources(ResourceLocation p_10730_)
SimpleReloadableResourceManager.getResources(ResourceLocation p_10906_)
protected InputStream
FallbackResourceManager.getWrappedResource(ResourceLocation p_10616_, PackResources p_10617_)
boolean
FallbackResourceManager.hasResource(ResourceLocation p_10620_)
boolean
ResourceManager.Empty.hasResource(ResourceLocation p_10745_)
boolean
ResourceManager.hasResource(ResourceLocation p_10729_)
boolean
SimpleReloadableResourceManager.hasResource(ResourceLocation p_10903_)
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 ResourceLocation
Stats.ANIMALS_BRED
static ResourceLocation
Stats.AVIATE_ONE_CM
static ResourceLocation
Stats.BELL_RING
static ResourceLocation
Stats.BOAT_ONE_CM
static ResourceLocation
Stats.CLEAN_ARMOR
static ResourceLocation
Stats.CLEAN_BANNER
static ResourceLocation
Stats.CLEAN_SHULKER_BOX
static ResourceLocation
Stats.CLIMB_ONE_CM
static ResourceLocation
Stats.CROUCH_ONE_CM
static ResourceLocation
Stats.CROUCH_TIME
static ResourceLocation
Stats.DAMAGE_ABSORBED
static ResourceLocation
Stats.DAMAGE_BLOCKED_BY_SHIELD
static ResourceLocation
Stats.DAMAGE_DEALT
static ResourceLocation
Stats.DAMAGE_DEALT_ABSORBED
static ResourceLocation
Stats.DAMAGE_DEALT_RESISTED
static ResourceLocation
Stats.DAMAGE_RESISTED
static ResourceLocation
Stats.DAMAGE_TAKEN
static ResourceLocation
Stats.DEATHS
static ResourceLocation
Stats.DROP
static ResourceLocation
Stats.EAT_CAKE_SLICE
static ResourceLocation
Stats.ENCHANT_ITEM
static ResourceLocation
Stats.FALL_ONE_CM
static ResourceLocation
Stats.FILL_CAULDRON
static ResourceLocation
Stats.FISH_CAUGHT
static ResourceLocation
Stats.FLY_ONE_CM
static ResourceLocation
Stats.HORSE_ONE_CM
static ResourceLocation
Stats.INSPECT_DISPENSER
static ResourceLocation
Stats.INSPECT_DROPPER
static ResourceLocation
Stats.INSPECT_HOPPER
static ResourceLocation
Stats.INTERACT_WITH_ANVIL
static ResourceLocation
Stats.INTERACT_WITH_BEACON
static ResourceLocation
static ResourceLocation
static ResourceLocation
Stats.INTERACT_WITH_CAMPFIRE
static ResourceLocation
static ResourceLocation
static ResourceLocation
Stats.INTERACT_WITH_FURNACE
static ResourceLocation
Stats.INTERACT_WITH_GRINDSTONE
static ResourceLocation
Stats.INTERACT_WITH_LECTERN
static ResourceLocation
Stats.INTERACT_WITH_LOOM
static ResourceLocation
static ResourceLocation
Stats.INTERACT_WITH_SMOKER
static ResourceLocation
static ResourceLocation
Stats.JUMP
static ResourceLocation
Stats.LEAVE_GAME
static ResourceLocation
Stats.MINECART_ONE_CM
static ResourceLocation
Stats.MOB_KILLS
static ResourceLocation
Stats.OPEN_BARREL
static ResourceLocation
Stats.OPEN_CHEST
static ResourceLocation
Stats.OPEN_ENDERCHEST
static ResourceLocation
Stats.OPEN_SHULKER_BOX
static ResourceLocation
Stats.PIG_ONE_CM
static ResourceLocation
Stats.PLAY_NOTEBLOCK
static ResourceLocation
Stats.PLAY_RECORD
static ResourceLocation
Stats.PLAY_TIME
static ResourceLocation
Stats.PLAYER_KILLS
static ResourceLocation
Stats.POT_FLOWER
static ResourceLocation
Stats.RAID_TRIGGER
static ResourceLocation
Stats.RAID_WIN
static ResourceLocation
Stats.SLEEP_IN_BED
static ResourceLocation
Stats.SPRINT_ONE_CM
static ResourceLocation
Stats.STRIDER_ONE_CM
static ResourceLocation
Stats.SWIM_ONE_CM
static ResourceLocation
Stats.TALKED_TO_VILLAGER
static ResourceLocation
Stats.TARGET_HIT
static ResourceLocation
Stats.TIME_SINCE_DEATH
static ResourceLocation
Stats.TIME_SINCE_REST
static ResourceLocation
Stats.TOTAL_WORLD_TIME
static ResourceLocation
Stats.TRADED_WITH_VILLAGER
static ResourceLocation
Stats.TRIGGER_TRAPPED_CHEST
static ResourceLocation
Stats.TUNE_NOTEBLOCK
static ResourceLocation
Stats.USE_CAULDRON
static ResourceLocation
Stats.WALK_ON_WATER_ONE_CM
static ResourceLocation
Stats.WALK_ONE_CM
static ResourceLocation
Stats.WALK_UNDER_WATER_ONE_CM
Modifier and TypeFieldDescriptionstatic StatType<ResourceLocation>
Stats.CUSTOM
protected Set<ResourceLocation>
RecipeBook.highlight
protected 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 ResourceLocation
Tag.ElementEntry.id
private ResourceLocation
Tag.OptionalElementEntry.id
private ResourceLocation
Tag.OptionalTagEntry.id
private ResourceLocation
Tag.TagEntry.id
protected ResourceLocation
StaticTagHelper.Wrapper.name
Modifier and TypeFieldDescriptionprotected Map<ResourceLocation,TagLoader<?>>
TagManager.customTagTypeReaders
private Function<ResourceLocation,Optional<T>>
TagLoader.idToValue
(package private) Map<ResourceLocation,it.unimi.dsi.fastutil.ints.IntList>
TagCollection.NetworkPayload.tags
private static Map<ResourceLocation,List<StaticTagHelper.Wrapper<?>>>
StaticTagHelper.toAdd
Modifier and TypeMethodDescriptionTag.TagEntry.getId()
default ResourceLocation
<T, E extends Exception>
ResourceLocationTagContainer.getIdOrThrow(ResourceKey<? extends Registry<T>> p_144455_, Tag<T> p_144456_, Supplier<E> p_144457_)
StaticTagHelper.Wrapper.getName()
Tag.Named.getName()
Modifier and TypeMethodDescriptionstatic com.google.common.collect.Multimap<ResourceKey<? extends Registry<?>>,ResourceLocation>
StaticTags.getAllMissingTags(TagContainer p_13284_)
Map<ResourceLocation,Tag<T>>
TagCollection.getAllTags()
default Collection<ResourceLocation>
TagCollection.getAvailableTags()
default Collection<ResourceLocation>
TagCollection.getMatchingTags(T p_13395_)
StaticTagHelper.getMissingTags(TagContainer p_13248_)
TagLoader.load(ResourceManager p_144496_)
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_)
static <T> Tags.IOptionalNamedTag<T>
StaticTagHelper.createDelayedOptional(ResourceLocation tagRegistry, ResourceLocation key, Set<Supplier<T>> defaults)
Call via ForgeTagHandler#createOptionalTag to avoid any exceptions due to calling this after it is safe to callStaticTagHelper.createOptional(ResourceLocation, Set)
static <T> Tag.Named<T>
StaticTagHelper.createDelayedTag(ResourceLocation tagRegistry, ResourceLocation name)
Call via ForgeTagHandler#makeWrapperTag to avoid any exceptions due to calling this after it is safe to callStaticTagHelper.bind(String)
static Tags.IOptionalNamedTag<Block>
BlockTags.createOptional(ResourceLocation name)
static Tags.IOptionalNamedTag<Block>
BlockTags.createOptional(ResourceLocation name, Set<Supplier<Block>> defaults)
static Tags.IOptionalNamedTag<EntityType<?>>
EntityTypeTags.createOptional(ResourceLocation name)
static Tags.IOptionalNamedTag<EntityType<?>>
EntityTypeTags.createOptional(ResourceLocation name, Set<Supplier<EntityType<?>>> defaults)
static Tags.IOptionalNamedTag<Fluid>
FluidTags.createOptional(ResourceLocation name)
static Tags.IOptionalNamedTag<Fluid>
FluidTags.createOptional(ResourceLocation name, Set<Supplier<Fluid>> defaults)
static Tags.IOptionalNamedTag<GameEvent>
GameEventTags.createOptional(ResourceLocation name)
static Tags.IOptionalNamedTag<GameEvent>
GameEventTags.createOptional(ResourceLocation name, Set<Supplier<GameEvent>> defaults)
static Tags.IOptionalNamedTag<Item>
ItemTags.createOptional(ResourceLocation name)
static Tags.IOptionalNamedTag<Item>
ItemTags.createOptional(ResourceLocation name, Set<Supplier<Item>> defaults)
StaticTagHelper.createOptional(ResourceLocation key, Set<Supplier<T>> defaults)
private static <T, R extends StaticTagHelper.Wrapper<T>>
RStaticTagHelper.delayedAdd(ResourceLocation tagRegistry, R tag)
static StaticTagHelper<?>
StaticTags.get(ResourceLocation rl)
TagCollection.getTag(ResourceLocation p_13405_)
TagCollection.getTagOrEmpty(ResourceLocation p_13409_)
TagContainer.getTagOrThrow(ResourceKey<? extends Registry<T>> p_144459_, ResourceLocation p_144460_, Function<ResourceLocation,E> p_144461_)
default boolean
TagCollection.hasTag(ResourceLocation p_144424_)
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_144508_)
TagContainer.getTagOrThrow(ResourceKey<? extends Registry<T>> p_144459_, ResourceLocation p_144460_, Function<ResourceLocation,E> p_144461_)
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_)
static <T> TagCollection<T>
TagCollection.of(Map<ResourceLocation,Tag<T>> p_13397_)
(package private) void
StaticTagHelper.Wrapper.rebind(Function<ResourceLocation,Tag<T>> p_13261_)
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_)
private
OptionalNamedTag(ResourceLocation name, Set<Supplier<T>> defaults)
OptionalTagEntry(ResourceLocation p_13375_)
TagEntry(ResourceLocation p_13385_)
(package private)
Wrapper(ResourceLocation p_13253_)
ModifierConstructorDescription(package private)
NetworkPayload(Map<ResourceLocation,it.unimi.dsi.fastutil.ints.IntList> p_144427_)
-
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()
Mob.getLootTable()
Modifier and TypeMethodDescriptionEntityType.getTags()
Retrieves a list of tags names this is known to be associated with. -
Uses of ResourceLocation in net.minecraft.world.entity.ai.behavior
Modifier and TypeFieldDescriptionprivate static Map<VillagerProfession,ResourceLocation>
GiveGiftToHero.GIFTS
-
Uses of ResourceLocation in net.minecraft.world.entity.animal
Modifier and TypeFieldDescriptionprivate static ResourceLocation[]
TropicalFish.BASE_TEXTURE_LOCATIONS
private static ResourceLocation
Rabbit.KILLER_BUNNY
private static ResourceLocation[]
TropicalFish.PATTERN_A_TEXTURE_LOCATIONS
private static 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 ResourceLocation
InventoryMenu.BLOCK_ATLAS
static ResourceLocation
InventoryMenu.EMPTY_ARMOR_SLOT_BOOTS
static ResourceLocation
InventoryMenu.EMPTY_ARMOR_SLOT_CHESTPLATE
static ResourceLocation
InventoryMenu.EMPTY_ARMOR_SLOT_HELMET
static ResourceLocation
InventoryMenu.EMPTY_ARMOR_SLOT_LEGGINGS
static ResourceLocation
InventoryMenu.EMPTY_ARMOR_SLOT_SHIELD
(package private) static 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 ResourceLocation
CreativeModeTab.CREATIVE_INVENTORY_TABS
private 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_41111_, Item.Properties p_41366_)
-
Uses of ResourceLocation in net.minecraft.world.item.alchemy
-
Uses of ResourceLocation in net.minecraft.world.item.crafting
Modifier and TypeFieldDescriptionprotected ResourceLocation
AbstractCookingRecipe.id
private ResourceLocation
CustomRecipe.id
private ResourceLocation
ShapedRecipe.id
private ResourceLocation
ShapelessRecipe.id
protected ResourceLocation
SingleItemRecipe.id
private ResourceLocation
UpgradeRecipe.id
private static ResourceLocation
ShapedRecipe.Serializer.NAME
private static ResourceLocation
ShapelessRecipe.Serializer.NAME
Modifier and TypeFieldDescriptionprivate 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_)
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
Modifier and TypeFieldDescriptionprivate Function<T,ResourceLocation>
ChunkTickList.toId
private Function<T,ResourceLocation>
ServerTickList.toId
Modifier and TypeMethodDescriptionprivate ResourceLocation
BaseSpawner.getEntityId(Level p_151333_, BlockPos p_151334_)
Modifier and TypeMethodDescriptionstatic <T> ChunkTickList<T>
ChunkTickList.create(ListTag p_45657_, Function<T,ResourceLocation> p_45658_, Function<ResourceLocation,T> p_45659_)
private static <T> ListTag
ServerTickList.saveTickList(Function<T,ResourceLocation> p_47250_, Iterable<TickNextTickData<T>> p_47251_, long p_47252_)
ModifierConstructorDescriptionprivate
ChunkTickList(Function<T,ResourceLocation> p_45634_, List<ChunkTickList.ScheduledTick<T>> p_45635_)
ChunkTickList(Function<T,ResourceLocation> p_45637_, List<TickNextTickData<T>> p_45638_, long p_45639_)
ServerTickList(ServerLevel p_47216_, Predicate<T> p_47217_, Function<T,ResourceLocation> p_47218_, Consumer<TickNextTickData<T>> p_47219_)
-
Uses of ResourceLocation in net.minecraft.world.level.biome
Modifier and TypeFieldDescription(package private) ResourceLocation
MultiNoiseBiomeSource.Preset.name
Modifier and TypeFieldDescription(package private) static Map<ResourceLocation,MultiNoiseBiomeSource.Preset>
MultiNoiseBiomeSource.Preset.BY_NAME
ModifierConstructorDescriptionPreset(ResourceLocation p_48518_, com.mojang.datafixers.util.Function3<MultiNoiseBiomeSource.Preset,Registry<Biome>,Long,MultiNoiseBiomeSource> p_48519_)
-
Uses of ResourceLocation in net.minecraft.world.level.block
Modifier and TypeFieldDescriptionprivate 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()
Block.getTags()
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 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 Supplier<ResourceLocation>
BlockBehaviour.lootTableSupplier
private Supplier<ResourceLocation>
BlockBehaviour.Properties.lootTableSupplier
-
Uses of ResourceLocation in net.minecraft.world.level.dimension
Modifier and TypeFieldDescriptionprivate ResourceLocation
DimensionType.effectsLocation
static ResourceLocation
DimensionType.END_EFFECTS
private ResourceLocation
DimensionType.infiniburn
static ResourceLocation
DimensionType.NETHER_EFFECTS
static ResourceLocation
DimensionType.OVERWORLD_EFFECTS
Modifier and TypeMethodDescriptionstatic DimensionType
DimensionType.create(OptionalLong p_156700_, boolean p_156701_, boolean p_156702_, boolean p_156703_, boolean p_156704_, double p_156705_, boolean p_156706_, boolean p_156707_, boolean p_156708_, boolean p_156709_, boolean p_156710_, int p_156711_, int p_156712_, int p_156713_, BiomeZoomer p_156714_, ResourceLocation p_156715_, ResourceLocation p_156716_, float p_156717_)
ModifierConstructorDescriptionprivate
DimensionType(OptionalLong p_156673_, boolean p_156674_, boolean p_156675_, boolean p_156676_, boolean p_156677_, double p_156678_, boolean p_156679_, boolean p_156680_, boolean p_156681_, boolean p_156682_, boolean p_156683_, int p_156684_, int p_156685_, int p_156686_, BiomeZoomer p_156687_, ResourceLocation p_156688_, ResourceLocation p_156689_, float p_156690_)
Deprecated.private
DimensionType(OptionalLong p_156656_, boolean p_156657_, boolean p_156658_, boolean p_156659_, boolean p_156660_, double p_156661_, boolean p_156662_, boolean p_156663_, boolean p_156664_, boolean p_156665_, int p_156666_, int p_156667_, int p_156668_, ResourceLocation p_156669_, ResourceLocation p_156670_, float p_156671_)
-
Uses of ResourceLocation in net.minecraft.world.level.gameevent
-
Uses of ResourceLocation in net.minecraft.world.level.levelgen
Modifier and TypeFieldDescriptionGeodeBlockSettings.cannotReplace
GeodeBlockSettings.invalidBlocks
ModifierConstructorDescriptionGeodeBlockSettings(BlockStateProvider p_158298_, BlockStateProvider p_158299_, BlockStateProvider p_158300_, BlockStateProvider p_158301_, BlockStateProvider p_158302_, List<BlockState> p_158303_, ResourceLocation p_158304_, ResourceLocation p_158305_)
-
Uses of ResourceLocation in net.minecraft.world.level.levelgen.feature
Modifier and TypeFieldDescriptionFossilFeatureConfiguration.fossilStructures
FossilFeatureConfiguration.overlayStructures
private static Map<ResourceLocation,ResourceLocation>
StructureFeature.RENAMES
private static Map<ResourceLocation,ResourceLocation>
StructureFeature.RENAMES
Modifier and TypeMethodDescriptionstatic Predicate<BlockState>
Feature.isReplaceable(ResourceLocation p_159758_)
ModifierConstructorDescriptionFossilFeatureConfiguration(List<ResourceLocation> p_159810_, List<ResourceLocation> p_159811_, Supplier<StructureProcessorList> p_159812_, Supplier<StructureProcessorList> p_159813_, int p_159814_)
FossilFeatureConfiguration(List<ResourceLocation> p_159804_, List<ResourceLocation> p_159805_, StructureProcessorList p_159806_, StructureProcessorList p_159807_, int p_159808_)
-
Uses of ResourceLocation in net.minecraft.world.level.levelgen.feature.configurations
Modifier and TypeFieldDescriptionVegetationPatchConfiguration.replaceable
RootSystemConfiguration.rootReplaceable
ModifierConstructorDescriptionRootSystemConfiguration(Supplier<ConfiguredFeature<?,?>> p_161116_, int p_161117_, int p_161118_, ResourceLocation p_161119_, BlockStateProvider p_161120_, int p_161121_, int p_161122_, int p_161123_, int p_161124_, BlockStateProvider p_161125_, int p_161126_, int p_161127_)
VegetationPatchConfiguration(ResourceLocation p_161293_, BlockStateProvider p_161294_, Supplier<ConfiguredFeature<?,?>> p_161295_, CaveSurface p_161296_, IntProvider p_161297_, float p_161298_, int p_161299_, float p_161300_, IntProvider p_161301_, float p_161302_)
-
Uses of ResourceLocation in net.minecraft.world.level.levelgen.feature.structures
Modifier and TypeFieldDescriptionprivate ResourceLocation
StructureTemplatePool.fallback
private ResourceLocation
StructureTemplatePool.name
Modifier and TypeFieldDescriptionprotected com.mojang.datafixers.util.Either<ResourceLocation,StructureTemplate>
SinglePoolElement.template
private static 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_69114_, com.mojang.serialization.DynamicOps<T> p_69115_, T p_69116_)
ModifierConstructorDescriptionStructureTemplatePool(ResourceLocation p_69259_, ResourceLocation p_69260_, List<com.mojang.datafixers.util.Pair<Function<StructureTemplatePool.Projection,? extends StructurePoolElement>,Integer>> p_69261_, StructureTemplatePool.Projection p_69262_)
StructureTemplatePool(ResourceLocation p_69255_, ResourceLocation p_69256_, List<com.mojang.datafixers.util.Pair<StructurePoolElement,Integer>> p_69257_)
ModifierConstructorDescriptionprotected
LegacySinglePoolElement(com.mojang.datafixers.util.Either<ResourceLocation,StructureTemplate> p_69046_, Supplier<StructureProcessorList> p_69047_, StructureTemplatePool.Projection p_69048_)
protected
SinglePoolElement(com.mojang.datafixers.util.Either<ResourceLocation,StructureTemplate> p_69102_, Supplier<StructureProcessorList> p_69103_, StructureTemplatePool.Projection p_69104_)
-
Uses of ResourceLocation in net.minecraft.world.level.levelgen.structure
Modifier and TypeFieldDescriptionprivate static ResourceLocation[]
OceanRuinPieces.BIG_RUINS_BRICK
private static ResourceLocation[]
OceanRuinPieces.BIG_RUINS_CRACKED
private static ResourceLocation[]
OceanRuinPieces.BIG_RUINS_MOSSY
private static ResourceLocation[]
OceanRuinPieces.BIG_WARM_RUINS
private static ResourceLocation[]
NetherFossilPieces.FOSSILS
private static ResourceLocation[]
OceanRuinPieces.RUINS_BRICK
private static ResourceLocation[]
OceanRuinPieces.RUINS_CRACKED
private static ResourceLocation[]
OceanRuinPieces.RUINS_MOSSY
private static ResourceLocation[]
ShipwreckPieces.STRUCTURE_LOCATION_BEACHED
(package private) static ResourceLocation
IglooPieces.STRUCTURE_LOCATION_IGLOO
private static ResourceLocation
IglooPieces.STRUCTURE_LOCATION_LABORATORY
private static ResourceLocation
IglooPieces.STRUCTURE_LOCATION_LADDER
private static ResourceLocation[]
ShipwreckPieces.STRUCTURE_LOCATION_OCEAN
private static ResourceLocation[]
OceanRuinPieces.WARM_RUINS
Modifier and TypeFieldDescription(package private) static Map<ResourceLocation,BlockPos>
IglooPieces.OFFSETS
(package private) static 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(ServerLevel p_163151_, CompoundTag p_163152_, ResourceLocation p_163153_)
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_163660_, int p_163661_, StructureManager p_163662_, ResourceLocation p_163663_, String p_163664_, StructurePlaceSettings p_163665_, BlockPos p_163666_)
ModifierConstructorDescriptionTemplateStructurePiece(StructurePieceType p_163668_, CompoundTag p_163669_, ServerLevel p_163670_, Function<ResourceLocation,StructurePlaceSettings> p_163671_)
-
Uses of ResourceLocation in net.minecraft.world.level.levelgen.structure.templatesystem
Modifier and TypeFieldDescriptionprivate 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.material
-
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 ResourceLocation
BuiltInLootTables.ABANDONED_MINESHAFT
static ResourceLocation
BuiltInLootTables.ARMORER_GIFT
static ResourceLocation
BuiltInLootTables.BASTION_BRIDGE
static ResourceLocation
BuiltInLootTables.BASTION_HOGLIN_STABLE
static ResourceLocation
BuiltInLootTables.BASTION_OTHER
static ResourceLocation
BuiltInLootTables.BASTION_TREASURE
static ResourceLocation
BuiltInLootTables.BURIED_TREASURE
static ResourceLocation
BuiltInLootTables.BUTCHER_GIFT
static ResourceLocation
BuiltInLootTables.CARTOGRAPHER_GIFT
static ResourceLocation
BuiltInLootTables.CAT_MORNING_GIFT
static ResourceLocation
BuiltInLootTables.CLERIC_GIFT
static ResourceLocation
BuiltInLootTables.DESERT_PYRAMID
static ResourceLocation
BuiltInLootTables.EMPTY
static ResourceLocation
BuiltInLootTables.END_CITY_TREASURE
static ResourceLocation
BuiltInLootTables.FARMER_GIFT
static ResourceLocation
BuiltInLootTables.FISHERMAN_GIFT
static ResourceLocation
BuiltInLootTables.FISHING
static ResourceLocation
BuiltInLootTables.FISHING_FISH
static ResourceLocation
BuiltInLootTables.FISHING_JUNK
static ResourceLocation
BuiltInLootTables.FISHING_TREASURE
static ResourceLocation
BuiltInLootTables.FLETCHER_GIFT
static ResourceLocation
BuiltInLootTables.IGLOO_CHEST
static ResourceLocation
BuiltInLootTables.JUNGLE_TEMPLE
static ResourceLocation
BuiltInLootTables.JUNGLE_TEMPLE_DISPENSER
static ResourceLocation
BuiltInLootTables.LEATHERWORKER_GIFT
static ResourceLocation
BuiltInLootTables.LIBRARIAN_GIFT
private ResourceLocation
LootTable.lootTableId
static ResourceLocation
BuiltInLootTables.MASON_GIFT
static ResourceLocation
BuiltInLootTables.NETHER_BRIDGE
static ResourceLocation
BuiltInLootTables.PIGLIN_BARTERING
static ResourceLocation
BuiltInLootTables.PILLAGER_OUTPOST
private ResourceLocation
LootContext.Builder.queriedLootTableId
private ResourceLocation
LootContext.queriedLootTableId
static ResourceLocation
BuiltInLootTables.RUINED_PORTAL
static ResourceLocation
BuiltInLootTables.SHEEP_BLACK
static ResourceLocation
BuiltInLootTables.SHEEP_BLUE
static ResourceLocation
BuiltInLootTables.SHEEP_BROWN
static ResourceLocation
BuiltInLootTables.SHEEP_CYAN
static ResourceLocation
BuiltInLootTables.SHEEP_GRAY
static ResourceLocation
BuiltInLootTables.SHEEP_GREEN
static ResourceLocation
BuiltInLootTables.SHEEP_LIGHT_BLUE
static ResourceLocation
BuiltInLootTables.SHEEP_LIGHT_GRAY
static ResourceLocation
BuiltInLootTables.SHEEP_LIME
static ResourceLocation
BuiltInLootTables.SHEEP_MAGENTA
static ResourceLocation
BuiltInLootTables.SHEEP_ORANGE
static ResourceLocation
BuiltInLootTables.SHEEP_PINK
static ResourceLocation
BuiltInLootTables.SHEEP_PURPLE
static ResourceLocation
BuiltInLootTables.SHEEP_RED
static ResourceLocation
BuiltInLootTables.SHEEP_WHITE
static ResourceLocation
BuiltInLootTables.SHEEP_YELLOW
static ResourceLocation
BuiltInLootTables.SHEPHERD_GIFT
static ResourceLocation
BuiltInLootTables.SHIPWRECK_MAP
static ResourceLocation
BuiltInLootTables.SHIPWRECK_SUPPLY
static ResourceLocation
BuiltInLootTables.SHIPWRECK_TREASURE
static ResourceLocation
BuiltInLootTables.SIMPLE_DUNGEON
static ResourceLocation
BuiltInLootTables.SPAWN_BONUS_CHEST
static ResourceLocation
BuiltInLootTables.STRONGHOLD_CORRIDOR
static ResourceLocation
BuiltInLootTables.STRONGHOLD_CROSSING
static ResourceLocation
BuiltInLootTables.STRONGHOLD_LIBRARY
static ResourceLocation
BuiltInLootTables.TOOLSMITH_GIFT
static ResourceLocation
BuiltInLootTables.UNDERWATER_RUIN_BIG
static ResourceLocation
BuiltInLootTables.UNDERWATER_RUIN_SMALL
static ResourceLocation
BuiltInLootTables.VILLAGE_ARMORER
static ResourceLocation
BuiltInLootTables.VILLAGE_BUTCHER
static ResourceLocation
BuiltInLootTables.VILLAGE_CARTOGRAPHER
static ResourceLocation
BuiltInLootTables.VILLAGE_DESERT_HOUSE
static ResourceLocation
BuiltInLootTables.VILLAGE_FISHER
static ResourceLocation
BuiltInLootTables.VILLAGE_FLETCHER
static ResourceLocation
BuiltInLootTables.VILLAGE_MASON
static ResourceLocation
BuiltInLootTables.VILLAGE_PLAINS_HOUSE
static ResourceLocation
BuiltInLootTables.VILLAGE_SAVANNA_HOUSE
static ResourceLocation
BuiltInLootTables.VILLAGE_SHEPHERD
static ResourceLocation
BuiltInLootTables.VILLAGE_SNOWY_HOUSE
static ResourceLocation
BuiltInLootTables.VILLAGE_TAIGA_HOUSE
static ResourceLocation
BuiltInLootTables.VILLAGE_TANNERY
static ResourceLocation
BuiltInLootTables.VILLAGE_TEMPLE
static ResourceLocation
BuiltInLootTables.VILLAGE_TOOLSMITH
static ResourceLocation
BuiltInLootTables.VILLAGE_WEAPONSMITH
static ResourceLocation
BuiltInLootTables.WEAPONSMITH_GIFT
static ResourceLocation
BuiltInLootTables.WOODLAND_MANSION
Modifier and TypeFieldDescriptionprivate Function<ResourceLocation,LootItemCondition>
ValidationContext.conditionResolver
private Function<ResourceLocation,LootItemCondition>
LootContext.conditions
private Map<ResourceLocation,LootItemCondition>
PredicateManager.conditions
private Map<ResourceLocation,LootContext.DynamicDrop>
LootContext.Builder.dynamicDrops
private Map<ResourceLocation,LootContext.DynamicDrop>
LootContext.dynamicDrops
private Map<ResourceLocation,LootItemFunction>
ItemModifierManager.functions
private static Set<ResourceLocation>
BuiltInLootTables.IMMUTABLE_LOCATIONS
private static Set<ResourceLocation>
BuiltInLootTables.LOCATIONS
private Function<ResourceLocation,LootTable>
LootContext.lootTables
private Function<ResourceLocation,LootTable>
ValidationContext.tableResolver
private Map<ResourceLocation,LootTable>
LootTables.tables
private Set<ResourceLocation>
ValidationContext.visitedConditions
private 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) ResourceLocation
DynamicLoot.name
(package private) 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) ResourceLocation
SetContainerLootTable.name
static ResourceLocation
ApplyBonusCount.BinomialWithBonusCount.TYPE
static ResourceLocation
ApplyBonusCount.OreDrops.TYPE
static ResourceLocation
ApplyBonusCount.UniformBonusCount.TYPE
Modifier and TypeFieldDescription(package private) static 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(ResourceLocation p_165323_)
static LootItemConditionalFunction.Builder<?>
SetContainerLootTable.withLootTable(ResourceLocation p_165325_, long p_165326_)
ModifierConstructorDescription(package private)
SetContainerLootTable(LootItemCondition[] p_80958_, ResourceLocation p_80959_, long p_80960_)
-
Uses of ResourceLocation in net.minecraft.world.level.storage.loot.parameters
Modifier and TypeFieldDescriptionprivate static 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 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) ResourceLocation
FunctionCallback.functionId
private ResourceLocation
TimerCallback.Serializer.id
(package private) ResourceLocation
FunctionTagCallback.tagId
Modifier and TypeFieldDescriptionprivate 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 HashMap<ResourceLocation,Supplier<NativeImage>>
MinecraftForgeClient.bufferedImageSuppliers
private static BiFunction<ResourceLocation,Boolean,RenderType>
ForgeRenderTypes.Internal.ENTITY_TRANSLUCENT
static Function<ResourceLocation,RenderType>
ForgeRenderTypes.Internal.LAYERED_ITEM_CUTOUT
static Function<ResourceLocation,RenderType>
ForgeRenderTypes.Internal.LAYERED_ITEM_CUTOUT_MIPPED
static Function<ResourceLocation,RenderType>
ForgeRenderTypes.Internal.LAYERED_ITEM_SOLID
static Function<ResourceLocation,RenderType>
ForgeRenderTypes.Internal.LAYERED_ITEM_TRANSLUCENT
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 Map<ResourceLocation,ITextureAtlasSpriteLoader>
MinecraftForgeClient.textureAtlasSpriteLoaders
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 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.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
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, ModelLoader 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 Map<ResourceLocation,BakedModel>
ModelBakeEvent.modelRegistry
private Set<ResourceLocation>
TextureStitchEvent.Pre.sprites
Modifier and TypeMethodDescriptionboolean
TextureStitchEvent.Pre.addSprite(ResourceLocation sprite)
Add a sprite to be stitched into the Texture Atlas.ModifierConstructorDescriptionModelBakeEvent(ModelManager modelManager, Map<ResourceLocation,BakedModel> modelRegistry, ModelLoader modelLoader)
Pre(TextureAtlas map, Set<ResourceLocation> sprites)
-
Uses of ResourceLocation in net.minecraftforge.client.extensions
Modifier and TypeMethodDescriptiondefault Collection<ResourceLocation>
IForgeTextureAtlasSprite.getDependencies()
Deprecated.Modifier and TypeMethodDescriptiondefault boolean
IForgeTextureAtlasSprite.hasCustomLoader(ResourceManager manager, ResourceLocation location)
Deprecated.default boolean
IForgeTextureAtlasSprite.load(ResourceManager manager, ResourceLocation location, Function<ResourceLocation,TextureAtlasSprite> textureGetter)
Deprecated.Modifier and TypeMethodDescriptiondefault boolean
IForgeTextureAtlasSprite.load(ResourceManager manager, ResourceLocation location, Function<ResourceLocation,TextureAtlasSprite> textureGetter)
Deprecated. -
Uses of ResourceLocation in net.minecraftforge.client.gui
Modifier and TypeFieldDescriptionprivate static ResourceLocation
NotificationModUpdateScreen.VERSION_CHECK_ICONS
Modifier and TypeMethodDescriptionprivate void
ForgeIngameGui.bind(ResourceLocation res)
void
ForgeIngameGui.setupOverlayRenderState(boolean blend, boolean depthTest, ResourceLocation texture)
-
Uses of ResourceLocation in net.minecraftforge.client.model
Modifier and TypeFieldDescriptionstatic ResourceLocation
ModelLoader.White.LOCATION
protected ResourceLocation
FluidModel.BakedFluid.modelLocation
Modifier and TypeFieldDescriptionprivate static Function<ResourceLocation,UnbakedModel>
ModelLoader.DEFAULT_MODEL_GETTER
Helper method for registering all itemstacks for given item to map to universal bucket model.private static Map<ResourceLocation,IModelLoader<?>>
ModelLoaderRegistry.loaders
private Map<ResourceLocation,Exception>
ModelLoader.loadingExceptions
private static Set<ResourceLocation>
ModelLoader.specialModels
Modifier and TypeMethodDescriptionprotected ResourceLocation
ModelLoader.getModelLocation(ResourceLocation model)
Modifier and TypeMethodDescriptionstatic Function<ResourceLocation,UnbakedModel>
ModelLoader.defaultModelGetter()
ModelLoader.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
ModelLoader.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 IModelGeometry<?>
ModelLoaderRegistry.getModel(ResourceLocation loaderId, com.google.gson.JsonDeserializationContext deserializationContext, com.google.gson.JsonObject data)
protected ResourceLocation
ModelLoader.getModelLocation(ResourceLocation model)
ModelLoader.getModelOrLogError(ResourceLocation location, String error)
Use this if you want the model, but need to log the error.ModelLoader.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.Modifier and TypeMethodDescriptionBlockModelConfiguration.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
ModelLoader.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)
-
Uses of ResourceLocation in net.minecraftforge.client.model.animation
Modifier and TypeMethodDescriptionstatic ModelBlockAnimation
ModelBlockAnimation.loadVanillaAnimation(ResourceManager manager, ResourceLocation armatureLocation)
Load armature associated with a vanilla model.ModifierConstructorDescriptionAnimationItemOverrideList(ModelBakery bakery, UnbakedModel model, ResourceLocation modelLoc, ModelState state, Function<Material,TextureAtlasSprite> bakedTextureGetter, List<ItemOverride> overrides)
-
Uses of ResourceLocation in net.minecraftforge.client.model.b3d
Modifier and TypeMethodDescriptionB3DLoader.ModelWrapper.bake(ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
B3DLoader.loadModel(ResourceLocation modelLocation)
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 ResourceLocation
CustomLoaderBuilder.loaderId
protected ResourceLocation
ModelFile.location
Modifier and TypeFieldDescriptionprotected Function<ResourceLocation,T>
ModelProvider.factory
ModelProvider.generatedModels
private 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)
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 TypeFieldDescriptionprivate Map<ResourceLocation,MaterialLibrary>
OBJLoader.materialCache
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)
-
Uses of ResourceLocation in net.minecraftforge.common
Modifier and TypeFieldDescriptionprivate static ResourceLocation
TierSortingRegistry.CHANNEL_NAME
private static ResourceLocation
TierSortingRegistry.ITEM_TIER_ORDERING_JSON
ForgeHooks.LootTableContext.name
Modifier and TypeFieldDescriptionprivate static Set<ResourceLocation>
ForgeTagHandler.customTagTypeNames
private static com.google.common.collect.Multimap<ResourceLocation,ResourceLocation>
TierSortingRegistry.edges
private static com.google.common.collect.Multimap<ResourceLocation,ResourceLocation>
TierSortingRegistry.edges
private List<ResourceLocation>
TierSortingRegistry.SyncPacket.tiers
The field for thetiers
record component.private static com.google.common.collect.BiMap<ResourceLocation,Tier>
TierSortingRegistry.tiers
private static com.google.common.collect.Multimap<ResourceLocation,ResourceLocation>
TierSortingRegistry.vanillaEdges
private static 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 TypeMethodDescriptionstatic Map<ResourceLocation,TagLoader<?>>
ForgeTagHandler.createCustomTagTypeReaders()
Creates a map for custom tag type to tag readerstatic Set<ResourceLocation>
ForgeTagHandler.getCustomTagTypeNames()
Gets the all the registry names of registries that support custom tag types.TierSortingRegistry.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 <T extends IForgeRegistryEntry<T>>
Tags.IOptionalNamedTag<T>ForgeTagHandler.createOptionalTag(ResourceLocation registryName, ResourceLocation name)
Helper method for creating optional tags for custom forge registries.static <T extends IForgeRegistryEntry<T>>
Tags.IOptionalNamedTag<T>ForgeTagHandler.createOptionalTag(ResourceLocation registryName, ResourceLocation name, Set<Supplier<T>> defaults)
Helper method for creating optional tags for custom forge registries.static <T extends IForgeRegistryEntry<T>>
Tags.IOptionalNamedTag<T>ForgeTagHandler.createOptionalTag(IForgeRegistry<T> registry, ResourceLocation name)
Helper method that creates an optional tag for a forge registry, erroring if the registry doesn't support custom tag types.static <T extends IForgeRegistryEntry<T>>
Tags.IOptionalNamedTag<T>ForgeTagHandler.createOptionalTag(IForgeRegistry<T> registry, ResourceLocation name, Set<Supplier<T>> defaults)
Helper method that creates an optional tag for a forge registry, erroring if the registry doesn't support custom tag types.static Biome
ForgeHooks.enhanceBiome(ResourceLocation name, Biome.ClimateSettings climate, Biome.BiomeCategory category, Float depth, Float scale, 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)
static <T extends IForgeRegistryEntry<T>>
Tag.Named<T>ForgeTagHandler.makeWrapperTag(ResourceLocation registryName, ResourceLocation name)
Helper method for creating named tags for custom forge registries.static <T extends IForgeRegistryEntry<T>>
Tag.Named<T>ForgeTagHandler.makeWrapperTag(IForgeRegistry<T> registry, ResourceLocation name)
Helper method that creates a named tag for a forge registry, erroring if the registry doesn't support custom tag types.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.Modifier and TypeMethodDescriptionstatic void
ForgeTagHandler.setCustomTagTypes(Set<ResourceLocation> customTagTypesNames)
Sets the set containing the resource locations representing the registry name of each forge registry that supports custom tag types.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 ResourceLocation
ConditionalRecipe.Finished.advId
private ResourceLocation
ConditionalRecipe.Finished.id
private ResourceLocation
ConditionalRecipe.Serializer.name
Modifier and TypeFieldDescriptionprivate static Map<ResourceLocation,IConditionSerializer<?>>
CraftingHelper.conditions
private static 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.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 ResourceLocation
ItemExistsCondition.item
private static ResourceLocation
AndCondition.NAME
private static ResourceLocation
FalseCondition.NAME
private static ResourceLocation
ItemExistsCondition.NAME
private static ResourceLocation
ModLoadedCondition.NAME
private static ResourceLocation
NotCondition.NAME
private static ResourceLocation
OrCondition.NAME
private static ResourceLocation
TagEmptyCondition.NAME
private static ResourceLocation
TrueCondition.NAME
private ResourceLocation
TagEmptyCondition.tag_name
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()
ModifierConstructorDescription -
Uses of ResourceLocation in net.minecraftforge.common.data
Modifier and TypeFieldDescriptionprivate Set<ResourceLocation>
ForgeRecipeProvider.excludes
private 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)
protected Path
ForgeRegistryTagsProvider.getPath(ResourceLocation id)
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 TypeMethodDescriptionIForgeBlock.getTags()
Retrieves a list of tags names this is known to be associated with.IForgeFluid.getTags()
Retrieves a list of tags names this is known to be associated with.IForgeItem.getTags()
Retrieves a list of tags names this is known to be associated with.Modifier and TypeMethodDescriptiondefault TagsProvider.TagAppender<T>
IForgeTagAppender.addOptional(ResourceLocation location)
default TagsProvider.TagAppender<T>
IForgeTagAppender.addOptionalTag(ResourceLocation location)
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 ResourceLocation
LootTableIdCondition.Builder.targetLootTableId
private ResourceLocation
LootTableIdCondition.targetLootTableId
static ResourceLocation
LootTableIdCondition.UNKNOWN_LOOT_TABLE
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,IGlobalLootModifier>
LootModifierManager.registeredLootModifiers
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.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.common.model.animation
Modifier and TypeMethodDescriptionstatic IClip
Clips.getModelClipNode(ResourceLocation modelLocation, String clipName)
Retrieves the clip from the model.static IAnimationStateMachine
AnimationStateMachine.load(ResourceManager manager, ResourceLocation location, com.google.common.collect.ImmutableMap<String,ITimeValue> customParameters)
Load a new instance if AnimationStateMachine at specified location, with specified custom parameters.ModifierConstructorDescriptionModelClip(IClip childClip, ResourceLocation modelLocation, String clipName)
-
Uses of ResourceLocation in net.minecraftforge.common.util
Modifier and TypeFieldDescriptionprivate Set<ResourceLocation>
ReverseTagWrapper.cache
private Map<ResourceLocation,Tag<T>>
ReverseTagWrapper.colCache
-
Uses of ResourceLocation in net.minecraftforge.debug
Modifier and TypeFieldDescriptionprivate static Set<ResourceLocation>
DataGeneratorTest.BlockStates.CUSTOM_MODELS
private static 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 ResourceLocation
FullPotsAccessorDemo.ClientHandler.DioritePotModel.DIRT_TEXTURE
private static 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.model
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
EntityRendererEventsTest.MY_ENTITY
private static ResourceLocation
EntityRendererEventsTest.EntityRenderEventsTestClientModStuff.MyEntityRenderer.TEXTURE
Modifier and TypeMethodDescriptionEntityRendererEventsTest.EntityRenderEventsTestClientModStuff.MyEntityRenderer.getTextureLocation(EntityRendererEventsTest.MyEntity p_114482_)
-
Uses of ResourceLocation in net.minecraftforge.debug.fluid
Modifier and TypeFieldDescriptionstatic ResourceLocation
NewFluidTest.FLUID_FLOWING
static ResourceLocation
NewFluidTest.FLUID_OVERLAY
static 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 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 ResourceLocation
CustomTagTypesTest.customRegistryName
Modifier and TypeMethodDescriptionprivate void
CustomTagTypesTest.logTagsIfPresent(Set<ResourceLocation> tags)
-
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 TypeFieldDescriptionRegistryEvent.MissingMappings.Mapping.key
private ResourceLocation
LootTableLoadEvent.name
private ResourceLocation
RegistryEvent.MissingMappings.name
private ResourceLocation
RegistryEvent.Register.name
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,ICapabilityProvider>
AttachCapabilitiesEvent.caps
private 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.Modifier and TypeMethodDescriptionvoid
AttachCapabilitiesEvent.addCapability(ResourceLocation key, ICapabilityProvider cap)
Adds a capability to be attached to this object.static LootTable
ForgeEventFactory.loadLootTable(ResourceLocation name, LootTable table, LootTables lootTableManager)
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)
Register(ResourceLocation name, IForgeRegistry<T> registry)
-
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, float depth, float scale, BiomeSpecialEffects effects, BiomeGenerationSettingsBuilder gen, MobSpawnInfoBuilder spawns)
-
Uses of ResourceLocation in net.minecraftforge.fluids
Modifier and TypeFieldDescriptionprivate ResourceLocation
FluidAttributes.Builder.flowingTexture
private ResourceLocation
FluidAttributes.flowingTexture
private ResourceLocation
FluidAttributes.Builder.overlayTexture
private ResourceLocation
FluidAttributes.overlayTexture
private ResourceLocation
FluidAttributes.Builder.stillTexture
private ResourceLocation
FluidAttributes.stillTexture
Modifier and TypeMethodDescriptionFluidAttributes.getFlowingTexture()
FluidAttributes.getFlowingTexture(BlockAndTintGetter world, BlockPos pos)
FluidAttributes.getFlowingTexture(FluidStack stack)
FluidAttributes.getOverlayTexture()
FluidAttributes.getStillTexture()
FluidAttributes.getStillTexture(BlockAndTintGetter world, 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)
FluidAttributes.Builder.overlay(ResourceLocation texture)
ModifierConstructorDescriptionprotected
Builder(ResourceLocation stillTexture, ResourceLocation flowingTexture, BiFunction<FluidAttributes.Builder,Fluid,FluidAttributes> factory)
-
Uses of ResourceLocation in net.minecraftforge.fmlclient
Modifier and TypeMethodDescriptionstatic void
ClientHooks.trackBrokenTexture(ResourceLocation resourceLocation, String error)
Deprecated, for removal: This API element is subject to removal in a future version.static void
ClientHooks.trackMissingTexture(ResourceLocation resourceLocation)
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of ResourceLocation in net.minecraftforge.fmlclient.gui
Modifier and TypeMethodDescriptionstatic void
GuiUtils.drawContinuousTexturedBox(PoseStack matrixStack, 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 matrixStack, 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. -
Uses of ResourceLocation in net.minecraftforge.fmlclient.gui.screen
Modifier and TypeMethodDescription(package private) void
ModListScreen.InfoPanel.setInfo(List<String> lines, ResourceLocation logoPath, Size2i logoDims)
-
Uses of ResourceLocation in net.minecraftforge.fmlclient.gui.widget
Modifier and TypeFieldDescriptionprivate static ResourceLocation
ModListWidget.VERSION_CHECK_ICONS
-
Uses of ResourceLocation in net.minecraftforge.fmlclient.registry
Modifier and TypeFieldDescriptionprivate static Map<Class<? extends Entity>,ResourceLocation>
ClientRegistry.entityShaderMap
Modifier and TypeMethodDescriptionstatic ResourceLocation
ClientRegistry.getEntityShader(Class<? extends Entity> entityClass)
Modifier and TypeMethodDescriptionstatic void
ClientRegistry.registerEntityShader(Class<? extends Entity> entityClass, ResourceLocation shader)
Register a shader for an entity. -
Uses of ResourceLocation in net.minecraftforge.fmllegacy
Modifier and TypeMethodDescriptionstatic <T extends IForgeRegistryEntry<T>, U extends T>
RegistryObject<U>RegistryObject.of(ResourceLocation name, Class<T> baseType, String modid)
static <T extends IForgeRegistryEntry<T>, U extends T>
RegistryObject<U>RegistryObject.of(ResourceLocation name, Supplier<Class<? super T>> registryType)
static <T extends IForgeRegistryEntry<T>, U extends T>
RegistryObject<U>RegistryObject.of(ResourceLocation name, IForgeRegistry<T> registry)
ModifierConstructorDescriptionprivate
RegistryObject(ResourceLocation name, Class<V> baseType, String modid)
private
RegistryObject(ResourceLocation name, Supplier<Class<? super V>> registryType)
private
RegistryObject(ResourceLocation name, IForgeRegistry<V> registry)
-
Uses of ResourceLocation in net.minecraftforge.fmllegacy.event.lifecycle
Modifier and TypeFieldDescriptionFMLModIdMappingEvent.ModRemapping.key
FMLModIdMappingEvent.ModRemapping.registry
Modifier and TypeFieldDescriptionprivate com.google.common.collect.ImmutableSet<ResourceLocation>
FMLModIdMappingEvent.keys
private Map<ResourceLocation,com.google.common.collect.ImmutableList<FMLModIdMappingEvent.ModRemapping>>
FMLModIdMappingEvent.remaps
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableSet<ResourceLocation>
FMLModIdMappingEvent.getRegistries()
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableList<FMLModIdMappingEvent.ModRemapping>
FMLModIdMappingEvent.getRemaps(ResourceLocation registry)
ModifierConstructorDescriptionprivate
ModRemapping(ResourceLocation registry, ResourceLocation key, int oldId, int newId)
ModifierConstructorDescriptionFMLModIdMappingEvent(Map<ResourceLocation,Map<ResourceLocation,Integer[]>> remaps, boolean isFrozen)
FMLModIdMappingEvent(Map<ResourceLocation,Map<ResourceLocation,Integer[]>> remaps, boolean isFrozen)
-
Uses of ResourceLocation in net.minecraftforge.fmllegacy.network
Modifier and TypeFieldDescriptionprivate ResourceLocation
NetworkInstance.channelName
private ResourceLocation
NetworkRegistry.ChannelBuilder.channelName
private ResourceLocation
NetworkRegistry.LoginPayload.channelName
A channel which will receive aNetworkEvent.LoginPayloadEvent
from theFMLLoginWrapper
(package private) static ResourceLocation
FMLNetworkConstants.FML_HANDSHAKE_RESOURCE
(package private) static ResourceLocation
FMLNetworkConstants.FML_PLAY_RESOURCE
(package private) static ResourceLocation
FMLNetworkConstants.MC_REGISTER_RESOURCE
(package private) static ResourceLocation
FMLNetworkConstants.MC_UNREGISTER_RESOURCE
private ResourceLocation
FMLHandshakeMessages.S2CRegistry.registryName
(package private) static ResourceLocation
FMLLoginWrapper.WRAPPER
Modifier and TypeFieldDescriptionprivate com.google.common.collect.ImmutableMap<ResourceLocation,String>
FMLConnectionData.channels
private Map<ResourceLocation,String>
FMLHandshakeMessages.C2SModListReply.channels
private Map<ResourceLocation,String>
FMLHandshakeMessages.S2CModList.channels
private Map<ResourceLocation,org.apache.commons.lang3.tuple.Pair<String,Boolean>>
FMLStatusPing.channels
private BiFunction<org.apache.commons.lang3.tuple.Pair<FriendlyByteBuf,Integer>,ResourceLocation,ICustomPacket<?>>
PacketDispatcher.NetworkManagerDispatcher.customPacketSupplier
private static Map<ResourceLocation,NetworkInstance>
NetworkRegistry.instances
private Set<ResourceLocation>
FMLMCRegisterPacketHandler.ChannelList.locations
(package private) BiConsumer<ResourceLocation,FriendlyByteBuf>
PacketDispatcher.packetSink
private Map<ResourceLocation,String>
FMLHandshakeMessages.C2SModListReply.registries
private List<ResourceLocation>
FMLHandshakeMessages.S2CModList.registries
private Set<ResourceLocation>
FMLHandshakeHandler.registriesToReceive
private Map<ResourceLocation,String>
FMLHandshakeHandler.registryHashes
private Map<ResourceLocation,ForgeRegistry.Snapshot>
FMLHandshakeHandler.registrySnapshots
Modifier and TypeMethodDescriptionNetworkInstance.getChannelName()
NetworkRegistry.LoginPayload.getChannelName()
default ResourceLocation
ICustomPacket.getName()
FMLHandshakeMessages.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>
FMLMCRegisterPacketHandler.ChannelList.bytesToResLocation(byte[] all)
com.google.common.collect.ImmutableMap<ResourceLocation,String>
FMLConnectionData.getChannels()
Returns the list of network channels present in the remote.FMLHandshakeMessages.C2SModListReply.getChannels()
FMLHandshakeMessages.S2CModList.getChannels()
FMLHandshakeMessages.C2SModListReply.getRegistries()
FMLHandshakeMessages.S2CModList.getRegistries()
Map<ResourceLocation,org.apache.commons.lang3.tuple.Pair<String,Boolean>>
FMLStatusPing.getRemoteChannels()
Modifier and TypeMethodDescriptionvoid
NetworkEvent.GatherLoginPayloadsEvent.add(FriendlyByteBuf buffer, ResourceLocation channelName, String context)
<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
PacketDispatcher.NetworkManagerDispatcher.dispatchPacket(ResourceLocation resourceLocation, FriendlyByteBuf buffer)
(package private) static Optional<NetworkInstance>
NetworkRegistry.findTarget(ResourceLocation resourceLocation)
Find theNetworkInstance
, if possibleNetworkRegistry.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
PacketDispatcher.sendPacket(ResourceLocation resourceLocation, FriendlyByteBuf buffer)
(package private) void
FMLLoginWrapper.sendServerToClientLoginPacket(ResourceLocation resourceLocation, FriendlyByteBuf buffer, int index, Connection manager)
default void
ICustomPacket.setName(ResourceLocation channelName)
private FriendlyByteBuf
FMLLoginWrapper.wrapPacket(ResourceLocation rl, FriendlyByteBuf buf)
Modifier and TypeMethodDescriptionvoid
FMLMCRegisterPacketHandler.addChannels(Set<ResourceLocation> locations, Connection manager)
static boolean
NetworkRegistry.checkListPingCompatibilityForClient(Map<ResourceLocation,org.apache.commons.lang3.tuple.Pair<String,Boolean>> incoming)
private static boolean
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 boolean
NetworkRegistry.validateClientChannels(Map<ResourceLocation,String> channels)
Validate the channels from the server on the client.(package private) static boolean
NetworkRegistry.validateServerChannels(Map<ResourceLocation,String> channels)
Validate the channels from the client on the server.ModifierConstructorDescriptionLoginPayload(FriendlyByteBuf buffer, ResourceLocation channelName, String messageContext)
(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)
FMLConnectionData(List<String> modList, Map<ResourceLocation,String> channels)
private
FMLStatusPing(Map<ResourceLocation,org.apache.commons.lang3.tuple.Pair<String,Boolean>> deserialized, Map<String,String> modMarkers, int fmlNetVer, boolean truncated)
(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)
private
S2CModList(List<String> mods, Map<ResourceLocation,String> channels, List<ResourceLocation> registries)
-
Uses of ResourceLocation in net.minecraftforge.fmllegacy.packs
Modifier and TypeMethodDescriptionDelegatingResourcePack.getResources(PackType type, String pathIn, String pathIn2, 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)
boolean
DelegatingResourcePack.hasResource(PackType type, ResourceLocation location)
-
Uses of ResourceLocation in net.minecraftforge.network
-
Uses of ResourceLocation in net.minecraftforge.registries
Modifier and TypeFieldDescriptionprivate static ResourceLocation
GameData.BLOCK_TO_ITEM
private static ResourceLocation
GameData.BLOCKSTATE_TO_ID
private static ResourceLocation
GameData.BLOCKSTATE_TO_POINT_OF_INTEREST_TYPE
private ResourceLocation
ForgeRegistry.defaultKey
static ResourceLocation
NamespacedDefaultedWrapper.Factory.ID
static ResourceLocation
NamespacedWrapper.Factory.ID
private ResourceLocation
ObjectHolderRef.injectedObject
(package private) ResourceLocation
ForgeRegistry.OverrideOwner.key
private ResourceLocation
ForgeRegistry.name
private ResourceLocation
RegistryDelegate.name
private ResourceLocation
RegistryBuilder.optionalDefaultKey
private ResourceLocation
ForgeRegistryEntry.registryName
private ResourceLocation
RegistryBuilder.registryName
private static ResourceLocation
GameData.SERIALIZER_TO_ENTRY
private static ResourceLocation
GameData.STRUCTURES
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,ResourceLocation>
ForgeRegistry.aliases
private Map<ResourceLocation,ResourceLocation>
ForgeRegistry.aliases
ForgeRegistry.Snapshot.aliases
ForgeRegistry.Snapshot.aliases
ForgeRegistry.Snapshot.dummied
private Set<ResourceLocation>
ForgeRegistry.dummies
ForgeRegistry.Snapshot.ids
private Set<ResourceLocation>
RegistryBuilder.legacyNames
private Map<ResourceLocation,ResourceLocation>
RegistryManager.legacyNames
private Map<ResourceLocation,ResourceLocation>
RegistryManager.legacyNames
private static BiConsumer<ResourceLocation,ForgeRegistry<?>>
GameData.LOCK_VANILLA
private com.google.common.collect.BiMap<ResourceLocation,V>
ForgeRegistry.names
private static Set<Consumer<Predicate<ResourceLocation>>>
ObjectHolderRegistry.objectHolders
private com.google.common.collect.Multimap<ResourceLocation,V>
ForgeRegistry.overrides
ForgeRegistry.Snapshot.overrides
private Set<ResourceLocation>
RegistryManager.persisted
(package private) com.google.common.collect.BiMap<ResourceLocation,ForgeRegistry<? extends IForgeRegistryEntry<?>>>
RegistryManager.registries
(package private) Map<ResourceLocation,?>
ForgeRegistry.slaves
private static Comparator<ResourceLocation>
ForgeRegistry.Snapshot.sorter
private com.google.common.collect.BiMap<Class<? extends IForgeRegistryEntry<?>>,ResourceLocation>
RegistryManager.superTypes
private Set<ResourceLocation>
RegistryManager.synced
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()
ForgeRegistry.getDefaultKey()
IForgeRegistry.getDefaultKey()
NamespacedDefaultedWrapper.getDefaultKey()
<V extends IForgeRegistryEntry<V>>
ResourceLocationRegistryManager.getName(IForgeRegistry<V> reg)
ForgeRegistry.getRegistryName()
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 TypeMethodDescriptionForgeRegistry.getKeys()
IForgeRegistry.getKeys()
RegistryBuilder.getLegacyNames()
(package private) Map<ResourceLocation,String>
ForgeRegistry.getOverrideOwners()
static List<ResourceLocation>
RegistryManager.getRegistryNamesForSyncToClient()
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)
boolean
ForgeRegistry.containsKey(ResourceLocation key)
boolean
IForgeRegistry.containsKey(ResourceLocation key)
boolean
NamespacedDefaultedWrapper.containsKey(ResourceLocation key)
boolean
NamespacedWrapper.containsKey(ResourceLocation key)
GameData.BlockCallbacks.createDummy(ResourceLocation key)
IForgeRegistry.DummyFactory.createDummy(ResourceLocation key)
IForgeRegistry.MissingFactory.createMissing(ResourceLocation key, boolean isNetwork)
(package private) <V extends IForgeRegistryEntry<V>>
ForgeRegistry<V>RegistryManager.createRegistry(ResourceLocation name, RegistryBuilder<V> builder)
(package private) void
ForgeRegistry.dump(ResourceLocation name)
private static void
GameData.forceRegistryName(IForgeRegistryEntry<?> entry, ResourceLocation name)
NamespacedDefaultedWrapper.get(ResourceLocation name)
NamespacedWrapper.get(ResourceLocation name)
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)
(package private) boolean
ForgeRegistry.markDummy(ResourceLocation key, int id)
void
GameData.AttributeCallbacks.onValidate(IForgeRegistryInternal<Attribute> owner, RegistryManager stage, int id, ResourceLocation key, Attribute obj)
void
IForgeRegistry.ValidateCallback.onValidate(IForgeRegistryInternal<V> owner, RegistryManager stage, int id, ResourceLocation key, V obj)
private static <T 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)
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)
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
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)
ObjectHolderRef(Field field, ResourceLocation injectedObject)
private
OverrideOwner(String owner, ResourceLocation key)
-
Uses of ResourceLocation in net.minecraftforge.resource
Modifier and TypeMethodDescriptionPathResourcePack.getResources(PackType type, String resourceNamespace, String pathIn, int maxDepth, Predicate<String> filter)
Modifier and TypeMethodDescriptionPathResourcePack.getResource(PackType type, ResourceLocation location)
boolean
PathResourcePack.hasResource(PackType type, ResourceLocation location)
ITextureAtlasSpriteLoader