Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
DisplayInfo.background |
private ResourceLocation |
Advancement.id |
private ResourceLocation[] |
AdvancementRewards.loot |
private ResourceLocation |
Advancement.Builder.parentId |
private ResourceLocation[] |
AdvancementRewards.recipes |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ResourceLocation,Advancement> |
AdvancementList.advancements |
private java.util.Map<ResourceLocation,FunctionObject> |
FunctionManager.functions |
private static com.google.gson.reflect.TypeToken<java.util.Map<ResourceLocation,AdvancementProgress>> |
PlayerAdvancements.MAP_TOKEN |
private static java.util.Map<ResourceLocation,ICriterionTrigger<?>> |
CriteriaTriggers.REGISTRY |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
DisplayInfo.getBackground() |
ResourceLocation |
Advancement.getId() |
ResourceLocation |
ICriterionInstance.getId() |
ResourceLocation |
ICriterionTrigger.getId() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<ResourceLocation,FunctionObject> |
FunctionManager.getFunctions() |
private java.util.Map<ResourceLocation,Advancement.Builder> |
AdvancementManager.loadCustomAdvancements() |
Modifier and Type | Method and Description |
---|---|
Advancement |
Advancement.Builder.build(ResourceLocation id) |
static <T extends ICriterionInstance> |
CriteriaTriggers.get(ResourceLocation id) |
Advancement |
AdvancementManager.getAdvancement(ResourceLocation id) |
Advancement |
AdvancementList.getAdvancement(ResourceLocation id) |
FunctionObject |
FunctionManager.getFunction(ResourceLocation id) |
Modifier and Type | Method and Description |
---|---|
void |
AdvancementList.loadAdvancements(java.util.Map<ResourceLocation,Advancement.Builder> advancementsIn) |
private void |
AdvancementManager.loadBuiltInAdvancements(java.util.Map<ResourceLocation,Advancement.Builder> map) |
void |
AdvancementList.removeAll(java.util.Set<ResourceLocation> ids) |
boolean |
Advancement.Builder.resolveParent(java.util.function.Function<ResourceLocation,Advancement> lookup) |
Constructor and Description |
---|
Advancement(ResourceLocation id,
Advancement parentIn,
DisplayInfo displayIn,
AdvancementRewards rewardsIn,
java.util.Map<java.lang.String,Criterion> criteriaIn,
java.lang.String[][] requirementsIn) |
AdvancementRewards(int experience,
ResourceLocation[] loot,
ResourceLocation[] recipes,
FunctionObject.CacheableFunction function) |
AdvancementRewards(int experience,
ResourceLocation[] loot,
ResourceLocation[] recipes,
FunctionObject.CacheableFunction function) |
Builder(ResourceLocation p_i47414_1_,
DisplayInfo p_i47414_2_,
AdvancementRewards p_i47414_3_,
java.util.Map<java.lang.String,Criterion> p_i47414_4_,
java.lang.String[][] p_i47414_5_) |
DisplayInfo(ItemStack icon,
ITextComponent title,
ITextComponent description,
ResourceLocation background,
FrameType frame,
boolean showToast,
boolean announceToChat,
boolean hidden) |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
AbstractCriterionInstance.criterion |
private ResourceLocation |
KilledTrigger.id |
private ResourceLocation |
PositionTrigger.id |
private static ResourceLocation |
ChangeDimensionTrigger.ID |
private static ResourceLocation |
ConsumeItemTrigger.ID |
private static ResourceLocation |
BrewedPotionTrigger.ID |
static ResourceLocation |
TickTrigger.ID |
private static ResourceLocation |
InventoryChangeTrigger.ID |
private static ResourceLocation |
CuredZombieVillagerTrigger.ID |
private static ResourceLocation |
PlayerHurtEntityTrigger.ID |
private static ResourceLocation |
BredAnimalsTrigger.ID |
private static ResourceLocation |
EffectsChangedTrigger.ID |
private static ResourceLocation |
UsedEnderEyeTrigger.ID |
private static ResourceLocation |
NetherTravelTrigger.ID |
private static ResourceLocation |
TameAnimalTrigger.ID |
private static ResourceLocation |
ConstructBeaconTrigger.ID |
private static ResourceLocation |
ImpossibleTrigger.ID |
private static ResourceLocation |
PlacedBlockTrigger.ID |
private static ResourceLocation |
EntityHurtPlayerTrigger.ID |
private static ResourceLocation |
ItemDurabilityTrigger.ID |
private static ResourceLocation |
UsedTotemTrigger.ID |
private static ResourceLocation |
EnchantedItemTrigger.ID |
private static ResourceLocation |
EnterBlockTrigger.ID |
private static ResourceLocation |
LevitationTrigger.ID |
private static ResourceLocation |
VillagerTradeTrigger.ID |
private static ResourceLocation |
SummonedEntityTrigger.ID |
private static ResourceLocation |
RecipeUnlockedTrigger.ID |
private ResourceLocation |
EntityPredicate.type |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
ChangeDimensionTrigger.getId() |
ResourceLocation |
KilledTrigger.getId() |
ResourceLocation |
ConsumeItemTrigger.getId() |
ResourceLocation |
BrewedPotionTrigger.getId() |
ResourceLocation |
TickTrigger.getId() |
ResourceLocation |
InventoryChangeTrigger.getId() |
ResourceLocation |
CuredZombieVillagerTrigger.getId() |
ResourceLocation |
PlayerHurtEntityTrigger.getId() |
ResourceLocation |
BredAnimalsTrigger.getId() |
ResourceLocation |
AbstractCriterionInstance.getId() |
ResourceLocation |
EffectsChangedTrigger.getId() |
ResourceLocation |
UsedEnderEyeTrigger.getId() |
ResourceLocation |
NetherTravelTrigger.getId() |
ResourceLocation |
TameAnimalTrigger.getId() |
ResourceLocation |
ConstructBeaconTrigger.getId() |
ResourceLocation |
ImpossibleTrigger.getId() |
ResourceLocation |
PositionTrigger.getId() |
ResourceLocation |
PlacedBlockTrigger.getId() |
ResourceLocation |
EntityHurtPlayerTrigger.getId() |
ResourceLocation |
ItemDurabilityTrigger.getId() |
ResourceLocation |
UsedTotemTrigger.getId() |
ResourceLocation |
EnchantedItemTrigger.getId() |
ResourceLocation |
EnterBlockTrigger.getId() |
ResourceLocation |
LevitationTrigger.getId() |
ResourceLocation |
VillagerTradeTrigger.getId() |
ResourceLocation |
SummonedEntityTrigger.getId() |
ResourceLocation |
RecipeUnlockedTrigger.getId() |
Constructor and Description |
---|
AbstractCriterionInstance(ResourceLocation criterionIn) |
EntityPredicate(ResourceLocation type,
DistancePredicate distance,
LocationPredicate location,
MobEffectsPredicate effects,
NBTPredicate nbt) |
Instance(ResourceLocation criterionIn,
EntityPredicate entity,
DamageSourcePredicate killingBlow) |
Instance(ResourceLocation criterionIn,
LocationPredicate location) |
KilledTrigger(ResourceLocation id) |
PositionTrigger(ResourceLocation id) |
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
Block.AIR_ID |
Modifier and Type | Field and Description |
---|---|
static RegistryNamespacedDefaultedByKey<ResourceLocation,Block> |
Block.REGISTRY |
Modifier and Type | Method and Description |
---|---|
private static void |
Block.registerBlock(int id,
ResourceLocation textualID,
Block block_) |
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
Minecraft.LOCATION_MOJANG_PNG |
private ResourceLocation |
Minecraft.mojangLogo |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
SoundEventAccessor.location |
private ResourceLocation |
Sound.name |
protected ResourceLocation |
PositionedSound.positionedSoundLocation |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ResourceLocation,SoundEventAccessor> |
SoundRegistry.soundRegistry |
private static java.util.Set<ResourceLocation> |
SoundManager.UNABLE_TO_PLAY |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
SoundEventAccessor.getLocation() |
ResourceLocation |
Sound.getSoundAsOggLocation() |
ResourceLocation |
ISound.getSoundLocation() |
ResourceLocation |
PositionedSound.getSoundLocation() |
ResourceLocation |
Sound.getSoundLocation() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<ResourceLocation,SoundEventAccessor> |
SoundRegistry.createUnderlyingMap() |
Modifier and Type | Method and Description |
---|---|
SoundEventAccessor |
SoundHandler.getAccessor(ResourceLocation location) |
private static java.net.URL |
SoundManager.getURLForSoundResource(ResourceLocation p_148612_0_) |
private void |
SoundHandler.loadSoundResource(ResourceLocation location,
SoundList sounds) |
private boolean |
SoundHandler.validateSoundResource(Sound p_184401_1_,
ResourceLocation p_184401_2_) |
Constructor and Description |
---|
PositionedSound(ResourceLocation soundId,
SoundCategory categoryIn) |
PositionedSoundRecord(ResourceLocation soundId,
SoundCategory categoryIn,
float volumeIn,
float pitchIn,
boolean repeatIn,
int repeatDelayIn,
ISound.AttenuationType attenuationTypeIn,
float xIn,
float yIn,
float zIn) |
SoundEventAccessor(ResourceLocation locationIn,
java.lang.String subtitleIn) |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
AbstractClientPlayer.getLocationCape() |
ResourceLocation |
AbstractClientPlayer.getLocationElytra() |
ResourceLocation |
AbstractClientPlayer.getLocationSkin() |
static ResourceLocation |
AbstractClientPlayer.getLocationSkin(java.lang.String username) |
Modifier and Type | Method and Description |
---|---|
static ThreadDownloadImageData |
AbstractClientPlayer.getDownloadImageSkin(ResourceLocation resourceLocationIn,
java.lang.String username) |
Modifier and Type | Method and Description |
---|---|
private ResourceLocation |
FontRenderer.getUnicodePageLocation(int page) |
Modifier and Type | Method and Description |
---|---|
protected void |
FontRenderer.bindTexture(ResourceLocation location) |
private void |
GuiScreenCustomizePresets.ListPreset.blitIcon(int p_178051_1_,
int p_178051_2_,
ResourceLocation texture) |
protected void |
ServerListEntryNormal.drawTextureAt(int p_178012_1_,
int p_178012_2_,
ResourceLocation p_178012_3_) |
protected IResource |
FontRenderer.getResource(ResourceLocation location) |
void |
GuiButtonToggle.initTextureValues(int xTexStartIn,
int yTexStartIn,
int xDiffTexIn,
int yDiffTexIn,
ResourceLocation resourceLocationIn) |
Constructor and Description |
---|
FontRenderer(GameSettings gameSettingsIn,
ResourceLocation location,
TextureManager textureManagerIn,
boolean unicode) |
GuiButtonImage(int p_i47392_1_,
int p_i47392_2_,
int p_i47392_3_,
int p_i47392_4_,
int p_i47392_5_,
int p_i47392_6_,
int p_i47392_7_,
int p_i47392_8_,
ResourceLocation p_i47392_9_) |
Info(java.lang.String nameIn,
ResourceLocation textureIn,
ChunkGeneratorSettings.Factory settingsIn) |
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
GuiScreenAdvancements.TABS |
private static ResourceLocation |
GuiAdvancement.WIDGETS |
private static ResourceLocation |
GuiScreenAdvancements.WINDOW |
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
GuiBeacon.BEACON_GUI_TEXTURES |
private static ResourceLocation |
GuiBrewingStand.BREWING_STAND_GUI_TEXTURES |
private static ResourceLocation |
GuiChest.CHEST_GUI_TEXTURE |
private static ResourceLocation |
GuiCrafting.CRAFTING_TABLE_GUI_TEXTURES |
private static ResourceLocation |
GuiContainerCreative.CREATIVE_INVENTORY_TABS |
private static ResourceLocation |
GuiDispenser.DISPENSER_GUI_TEXTURES |
private static ResourceLocation |
GuiFurnace.FURNACE_GUI_TEXTURES |
private static ResourceLocation |
GuiShulkerBox.GUI_TEXTURE |
private static ResourceLocation |
GuiScreenHorseInventory.HORSE_GUI_TEXTURES |
private ResourceLocation |
GuiBeacon.Button.iconTexture |
static ResourceLocation |
GuiContainer.INVENTORY_BACKGROUND |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
GuiContainerCreative.CreativeSlot.getBackgroundLocation() |
Modifier and Type | Method and Description |
---|---|
void |
GuiContainerCreative.CreativeSlot.setBackgroundLocation(ResourceLocation texture) |
Constructor and Description |
---|
Button(int buttonId,
int x,
int y,
ResourceLocation iconTextureIn,
int iconXIn,
int iconYIn) |
Modifier and Type | Field and Description |
---|---|
protected static ResourceLocation |
GuiRecipeBook.RECIPE_BOOK |
private static ResourceLocation |
GuiButtonRecipe.RECIPE_BOOK |
private static ResourceLocation |
GuiRecipeOverlay.RECIPE_BOOK_TEXTURE |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
PlayerMenuObject.resourceLocation |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
TeleportToTeam.TeamSelectionObject.location |
Modifier and Type | Field and Description |
---|---|
static ResourceLocation |
IToast.TEXTURE_TOASTS |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,ResourceLocation> |
NetworkPlayerInfo.playerTextures |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
NetworkPlayerInfo.getLocationCape() |
ResourceLocation |
NetworkPlayerInfo.getLocationElytra() |
ResourceLocation |
NetworkPlayerInfo.getLocationSkin() |
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
ParticleExplosionLarge.EXPLOSION_TEXTURE |
private static ResourceLocation |
ParticleFootStep.FOOTPRINT_TEXTURE |
private static ResourceLocation |
ParticleManager.PARTICLE_TEXTURES |
private static ResourceLocation |
ParticleSweepAttack.SWEEP_TEXTURE |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
BannerTextures.Cache.getResourceLocation(java.lang.String id,
java.util.List<BannerPattern> patternList,
java.util.List<EnumDyeColor> colorList) |
Modifier and Type | Method and Description |
---|---|
void |
EntityRenderer.loadShader(ResourceLocation resourceLocationIn) |
Constructor and Description |
---|
Cache(java.lang.String id,
ResourceLocation baseResource,
java.lang.String resourcePath) |
ThreadDownloadImageData(java.io.File cacheFileIn,
java.lang.String imageUrlIn,
ResourceLocation textureResourceLocation,
IImageBuffer imageBufferIn) |
Modifier and Type | Class and Description |
---|---|
class |
ModelResourceLocation |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
ItemOverride.location |
private ResourceLocation |
Variant.modelLocation |
protected ResourceLocation |
ModelBlock.parentLocation |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ResourceLocation,ModelBlockDefinition> |
ModelBakery.blockDefinitions |
private java.util.Map<java.lang.String,ResourceLocation> |
ModelBakery.itemLocations |
protected static java.util.Set<ResourceLocation> |
ModelBakery.LOCATIONS_BUILTIN_TEXTURES |
private java.util.Map<ResourceLocation,java.lang.Float> |
ItemOverride.mapResourceValues |
private java.util.Map<ResourceLocation,ModelBlock> |
ModelBakery.models |
protected java.util.Map<ResourceLocation,TextureAtlasSprite> |
ModelBakery.sprites |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
ItemOverrideList.applyOverride(ItemStack stack,
World worldIn,
EntityLivingBase entityIn)
Deprecated.
|
private ResourceLocation |
ModelBakery.getBlockstateLocation(ResourceLocation location) |
protected ResourceLocation |
ModelBakery.getItemLocation(java.lang.String location) |
ResourceLocation |
ItemOverride.getLocation() |
ResourceLocation |
Variant.getModelLocation() |
protected ResourceLocation |
ModelBakery.getModelLocation(ResourceLocation location) |
ResourceLocation |
ModelBlock.getParentLocation() |
private ResourceLocation |
ModelBakery.getParentLocation(ResourceLocation p_177576_1_) |
private ResourceLocation |
Variant.Deserializer.getResourceLocationBlock(java.lang.String p_188041_1_) |
Modifier and Type | Method and Description |
---|---|
private java.util.Set<ResourceLocation> |
ModelBakery.getItemsTextureLocations() |
java.util.Collection<ResourceLocation> |
ModelBlock.getOverrideLocations() |
private java.util.List<ResourceLocation> |
ModelBakery.getParentPath(ResourceLocation p_177573_1_) |
protected java.util.Set<ResourceLocation> |
ModelBakery.getTextureLocations(ModelBlock p_177585_1_) |
private java.util.Set<ResourceLocation> |
ModelBakery.getVariantsTextureLocations() |
protected java.util.Map<ResourceLocation,java.lang.Float> |
ItemOverride.Deserializer.makeMapResourceValues(com.google.gson.JsonObject p_188025_1_) |
Modifier and Type | Method and Description |
---|---|
private void |
ModelBakery.addModelParentLocation(java.util.Deque<ResourceLocation> p_188633_1_,
java.util.Set<ResourceLocation> p_188633_2_,
ModelBlock p_188633_3_) |
private void |
ModelBakery.addModelParentLocation(java.util.Deque<ResourceLocation> p_188633_1_,
java.util.Set<ResourceLocation> p_188633_2_,
ModelBlock p_188633_3_) |
static void |
ModelBlock.checkModelHierarchy(java.util.Map<ResourceLocation,ModelBlock> p_178312_0_) |
void |
ModelBlock.getParentFromMap(java.util.Map<ResourceLocation,ModelBlock> p_178299_1_) |
Constructor and Description |
---|
ItemOverride(ResourceLocation locationIn,
java.util.Map<ResourceLocation,java.lang.Float> propertyValues) |
ModelBlock(ResourceLocation parentLocationIn,
java.util.List<BlockPart> elementsIn,
java.util.Map<java.lang.String,java.lang.String> texturesIn,
boolean ambientOcclusionIn,
boolean gui3dIn,
ItemCameraTransforms cameraTransformsIn,
java.util.List<ItemOverride> overridesIn) |
ModelResourceLocation(ResourceLocation location,
java.lang.String variantIn) |
Variant(ResourceLocation modelLocationIn,
ModelRotation rotationIn,
boolean uvLockIn,
int weightIn) |
Constructor and Description |
---|
ItemOverride(ResourceLocation locationIn,
java.util.Map<ResourceLocation,java.lang.Float> propertyValues) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<ResourceLocation> |
BlockStateMapper.getBlockstateLocations(Block blockIn) |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,ResourceLocation> |
RenderHorse.LAYERED_LOCATION_CACHE |
private static java.util.Map<java.lang.Class<?>,ResourceLocation> |
RenderAbstractHorse.MAP |
Modifier and Type | Method and Description |
---|---|
void |
Render.bindTexture(ResourceLocation location) |
Modifier and Type | Field and Description |
---|---|
protected static ResourceLocation |
LayerArmorBase.ENCHANTED_ITEM_GLINT_RES |
private ResourceLocation |
LayerEntityOnShoulder.leftResource |
private static ResourceLocation |
LayerCreeperCharge.LIGHTNING_TEXTURE |
private static ResourceLocation[] |
LayerLlamaDecor.LLAMA_DECOR_TEXTURES |
private static ResourceLocation |
LayerEndermanEyes.RES_ENDERMAN_EYES |
private ResourceLocation |
LayerEntityOnShoulder.rightResource |
private static ResourceLocation |
LayerSpiderEyes.SPIDER_EYES |
private static ResourceLocation |
LayerStrayClothing.STRAY_CLOTHES_TEXTURES |
private static ResourceLocation |
LayerSaddle.TEXTURE |
private static ResourceLocation |
LayerSheepWool.TEXTURE |
private static ResourceLocation |
LayerEnderDragonEyes.TEXTURE |
private static ResourceLocation |
LayerElytra.TEXTURE_ELYTRA |
ResourceLocation |
LayerEntityOnShoulder.DataHolder.textureLocation |
private static ResourceLocation |
LayerWitherAura.WITHER_ARMOR |
private static ResourceLocation |
LayerWolfCollar.WOLF_COLLAR |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,ResourceLocation> |
LayerArmorBase.ARMOR_TEXTURE_RES_MAP |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
LayerArmorBase.getArmorResource(Entity entity,
ItemStack stack,
EntityEquipmentSlot slot,
java.lang.String type)
More generic ForgeHook version of the above function, it allows for Items to have more control over what texture they provide.
|
private ResourceLocation |
LayerArmorBase.getArmorResource(ItemArmor armor,
boolean p_177181_2_)
Deprecated.
|
private ResourceLocation |
LayerArmorBase.getArmorResource(ItemArmor armor,
boolean p_177178_2_,
java.lang.String p_177178_3_)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
private LayerEntityOnShoulder.DataHolder |
LayerEntityOnShoulder.renderEntityOnShoulder(EntityPlayer p_192864_1_,
java.util.UUID p_192864_2_,
NBTTagCompound p_192864_3_,
RenderLivingBase<? extends EntityLivingBase> p_192864_4_,
ModelBase p_192864_5_,
ResourceLocation p_192864_6_,
java.lang.Class<?> p_192864_7_,
float p_192864_8_,
float p_192864_9_,
float p_192864_10_,
float p_192864_11_,
float p_192864_12_,
float p_192864_13_,
float p_192864_14_,
boolean p_192864_15_) |
Constructor and Description |
---|
DataHolder(java.util.UUID p_i47463_2_,
RenderLivingBase<? extends EntityLivingBase> p_i47463_3_,
ModelBase p_i47463_4_,
ResourceLocation p_i47463_5_,
java.lang.Class<?> p_i47463_6_) |
Modifier and Type | Field and Description |
---|---|
static ResourceLocation |
TextureMap.LOCATION_BLOCKS_TEXTURE |
static ResourceLocation |
TextureMap.LOCATION_MISSING_TEXTURE |
static ResourceLocation |
TextureManager.RESOURCE_LOCATION_EMPTY |
private ResourceLocation |
LayeredColorMaskTexture.textureLocation |
protected ResourceLocation |
SimpleTexture.textureLocation |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<ResourceLocation> |
TextureMap.loadedSprites |
private java.util.Deque<ResourceLocation> |
TextureMap.loadingSprites |
private java.util.Map<ResourceLocation,ITextureObject> |
TextureManager.mapTextureObjects |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
TextureManager.getDynamicTextureLocation(java.lang.String name,
DynamicTexture texture) |
private ResourceLocation |
TextureMap.getResourceLocation(TextureAtlasSprite p_184396_1_) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ResourceLocation> |
TextureAtlasSprite.getDependencies() |
Modifier and Type | Method and Description |
---|---|
void |
TextureManager.bindTexture(ResourceLocation resource) |
void |
TextureManager.deleteTexture(ResourceLocation textureLocation) |
ITextureObject |
TextureManager.getTexture(ResourceLocation textureLocation) |
boolean |
TextureAtlasSprite.hasCustomLoader(IResourceManager manager,
ResourceLocation location)
The result of this function determines is the below 'load' function is called, and the
default vanilla loading code is bypassed completely.
|
boolean |
TextureAtlasSprite.load(IResourceManager manager,
ResourceLocation location,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> textureGetter)
Load the specified resource as this sprite's data.
|
boolean |
TextureManager.loadTexture(ResourceLocation textureLocation,
ITextureObject textureObj) |
private int |
TextureMap.loadTexture(Stitcher stitcher,
IResourceManager resourceManager,
ResourceLocation location,
TextureAtlasSprite textureatlassprite,
ProgressManager.ProgressBar bar,
int j,
int k) |
boolean |
TextureManager.loadTickableTexture(ResourceLocation textureLocation,
ITickableTextureObject textureObj) |
protected static TextureAtlasSprite |
TextureAtlasSprite.makeAtlasSprite(ResourceLocation spriteResourceLocation) |
static int[] |
TextureUtil.readImageData(IResourceManager resourceManager,
ResourceLocation imageLocation) |
TextureAtlasSprite |
TextureMap.registerSprite(ResourceLocation location) |
Modifier and Type | Method and Description |
---|---|
boolean |
TextureAtlasSprite.load(IResourceManager manager,
ResourceLocation location,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> textureGetter)
Load the specified resource as this sprite's data.
|
Constructor and Description |
---|
LayeredColorMaskTexture(ResourceLocation textureLocationIn,
java.util.List<java.lang.String> p_i46101_2_,
java.util.List<EnumDyeColor> p_i46101_3_) |
SimpleTexture(ResourceLocation textureResourceLocation) |
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
TileEntitySkullRenderer.CREEPER_TEXTURES |
protected static ResourceLocation[] |
TileEntitySpecialRenderer.DESTROY_STAGES |
private static ResourceLocation |
TileEntitySkullRenderer.DRAGON_TEXTURES |
private static ResourceLocation |
TileEntityEndGatewayRenderer.END_GATEWAY_BEAM_TEXTURE |
private static ResourceLocation |
TileEntityEndPortalRenderer.END_PORTAL_TEXTURE |
private static ResourceLocation |
TileEntityEndPortalRenderer.END_SKY_TEXTURE |
private static ResourceLocation |
TileEntityEnderChestRenderer.ENDER_CHEST_TEXTURE |
private static ResourceLocation |
TileEntitySignRenderer.SIGN_TEXTURE |
private static ResourceLocation |
TileEntitySkullRenderer.SKELETON_TEXTURES |
static ResourceLocation |
TileEntityBeaconRenderer.TEXTURE_BEACON_BEAM |
private static ResourceLocation |
TileEntityEnchantmentTableRenderer.TEXTURE_BOOK |
private static ResourceLocation |
TileEntityChestRenderer.TEXTURE_CHRISTMAS |
private static ResourceLocation |
TileEntityChestRenderer.TEXTURE_CHRISTMAS_DOUBLE |
private static ResourceLocation |
TileEntityChestRenderer.TEXTURE_NORMAL |
private static ResourceLocation |
TileEntityChestRenderer.TEXTURE_NORMAL_DOUBLE |
private static ResourceLocation |
TileEntityChestRenderer.TEXTURE_TRAPPED |
private static ResourceLocation |
TileEntityChestRenderer.TEXTURE_TRAPPED_DOUBLE |
private static ResourceLocation[] |
TileEntityBedRenderer.TEXTURES |
private static ResourceLocation |
TileEntitySkullRenderer.WITHER_SKELETON_TEXTURES |
private static ResourceLocation |
TileEntitySkullRenderer.ZOMBIE_TEXTURES |
Modifier and Type | Method and Description |
---|---|
private ResourceLocation |
TileEntityBannerRenderer.getBannerResourceLocation(TileEntityBanner bannerObj) |
Modifier and Type | Method and Description |
---|---|
protected void |
TileEntitySpecialRenderer.bindTexture(ResourceLocation location) |
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
FoliageColorReloadListener.LOC_FOLIAGE_PNG |
private static ResourceLocation |
GrassColorReloadListener.LOC_GRASS_PNG |
private ResourceLocation |
ResourcePackRepository.Entry.locationTexturePackIcon |
private static ResourceLocation |
ResourcePackListEntry.RESOURCE_PACKS_TEXTURE |
private ResourceLocation |
ResourcePackListEntryServer.resourcePackIcon |
private ResourceLocation |
SimpleResource.srResourceLocation |
private static ResourceLocation |
DefaultPlayerSkin.TEXTURE_ALEX |
private static ResourceLocation |
DefaultPlayerSkin.TEXTURE_STEVE |
private static ResourceLocation |
ResourcePackRepository.UNKNOWN_PACK_TEXTURE |
Modifier and Type | Method and Description |
---|---|
private ResourceLocation |
LegacyV2Adapter.fudgePath(ResourceLocation p_191382_1_) |
static ResourceLocation |
DefaultPlayerSkin.getDefaultSkin(java.util.UUID playerUUID) |
static ResourceLocation |
DefaultPlayerSkin.getDefaultSkinLegacy() |
(package private) static ResourceLocation |
FallbackResourceManager.getLocationMcmeta(ResourceLocation location) |
ResourceLocation |
SimpleResource.getResourceLocation() |
ResourceLocation |
IResource.getResourceLocation() |
ResourceLocation |
SkinManager.loadSkin(com.mojang.authlib.minecraft.MinecraftProfileTexture profileTexture,
com.mojang.authlib.minecraft.MinecraftProfileTexture.Type textureType) |
ResourceLocation |
SkinManager.loadSkin(com.mojang.authlib.minecraft.MinecraftProfileTexture profileTexture,
com.mojang.authlib.minecraft.MinecraftProfileTexture.Type textureType,
SkinManager.SkinAvailableCallback skinAvailableCallback) |
Modifier and Type | Method and Description |
---|---|
private void |
FallbackResourceManager.checkResourcePath(ResourceLocation p_188552_1_) |
private ResourceLocation |
LegacyV2Adapter.fudgePath(ResourceLocation p_191382_1_) |
java.util.List<IResource> |
FallbackResourceManager.getAllResources(ResourceLocation location) |
java.util.List<IResource> |
SimpleReloadableResourceManager.getAllResources(ResourceLocation location) |
java.util.List<IResource> |
IResourceManager.getAllResources(ResourceLocation location) |
java.io.File |
ResourceIndex.getFile(ResourceLocation location) |
java.io.File |
ResourceIndexFolder.getFile(ResourceLocation location) |
java.io.InputStream |
LegacyV2Adapter.getInputStream(ResourceLocation location) |
java.io.InputStream |
AbstractResourcePack.getInputStream(ResourceLocation location) |
java.io.InputStream |
DefaultResourcePack.getInputStream(ResourceLocation location) |
java.io.InputStream |
IResourcePack.getInputStream(ResourceLocation location) |
protected java.io.InputStream |
FallbackResourceManager.getInputStream(ResourceLocation location,
IResourcePack resourcePack) |
java.io.InputStream |
DefaultResourcePack.getInputStreamAssets(ResourceLocation location) |
(package private) static ResourceLocation |
FallbackResourceManager.getLocationMcmeta(ResourceLocation location) |
IResource |
FallbackResourceManager.getResource(ResourceLocation location) |
IResource |
SimpleReloadableResourceManager.getResource(ResourceLocation location) |
IResource |
IResourceManager.getResource(ResourceLocation location) |
private java.io.InputStream |
DefaultResourcePack.getResourceStream(ResourceLocation location) |
boolean |
ResourceIndex.isFileExisting(ResourceLocation location) |
private static java.lang.String |
AbstractResourcePack.locationToName(ResourceLocation location) |
boolean |
LegacyV2Adapter.resourceExists(ResourceLocation location) |
boolean |
AbstractResourcePack.resourceExists(ResourceLocation location) |
boolean |
DefaultResourcePack.resourceExists(ResourceLocation location) |
boolean |
IResourcePack.resourceExists(ResourceLocation location) |
void |
SkinManager.SkinAvailableCallback.skinAvailable(com.mojang.authlib.minecraft.MinecraftProfileTexture.Type typeIn,
ResourceLocation location,
com.mojang.authlib.minecraft.MinecraftProfileTexture profileTexture) |
Constructor and Description |
---|
InputStreamLeakedResourceLogger(java.io.InputStream p_i46093_1_,
ResourceLocation location,
java.lang.String resourcePack) |
SimpleResource(java.lang.String resourcePackNameIn,
ResourceLocation srResourceLocationIn,
java.io.InputStream resourceInputStreamIn,
java.io.InputStream mcmetaInputStreamIn,
MetadataSerializer srMetadataSerializerIn) |
Modifier and Type | Method and Description |
---|---|
void |
ShaderGroup.parseGroup(TextureManager p_152765_1_,
ResourceLocation p_152765_2_) |
Constructor and Description |
---|
ShaderGroup(TextureManager p_i1050_1_,
IResourceManager resourceManagerIn,
Framebuffer mainFramebufferIn,
ResourceLocation p_i1050_4_) |
Modifier and Type | Field and Description |
---|---|
private java.util.function.Function<T,java.lang.Iterable<ResourceLocation>> |
SearchTree.idFunc |
Constructor and Description |
---|
SearchTree(java.util.function.Function<T,java.lang.Iterable<java.lang.String>> nameFuncIn,
java.util.function.Function<T,java.lang.Iterable<ResourceLocation>> idFuncIn) |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
FunctionObject.CacheableFunction.id |
Modifier and Type | Method and Description |
---|---|
private java.util.List<ResourceLocation> |
AdvancementCommand.getAdvancementNames(MinecraftServer server) |
Constructor and Description |
---|
CacheableFunction(ResourceLocation idIn) |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
CreativeTabs.getBackgroundImage() |
Modifier and Type | Field and Description |
---|---|
static RegistryNamespaced<ResourceLocation,Enchantment> |
Enchantment.REGISTRY |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
EntityLiving.deathLootTable |
static ResourceLocation |
EntityList.LIGHTNING_BOLT |
private static ResourceLocation |
EntityList.PLAYER |
ResourceLocation |
EntityList.EntityEggInfo.spawnedID |
Modifier and Type | Field and Description |
---|---|
static java.util.Map<ResourceLocation,EntityList.EntityEggInfo> |
EntityList.ENTITY_EGGS |
private static java.util.Set<ResourceLocation> |
EntityList.EXTRA_NAMES |
Modifier and Type | Method and Description |
---|---|
static ResourceLocation |
EntityList.getKey(java.lang.Class<? extends Entity> entityIn) |
static ResourceLocation |
EntityList.getKey(Entity entityIn) |
protected ResourceLocation |
EntityLiving.getLootTable() |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<ResourceLocation> |
EntityList.getEntityNameList() |
Modifier and Type | Method and Description |
---|---|
static Entity |
EntityList.createEntityByIDFromName(ResourceLocation name,
World worldIn) |
static java.lang.Class<? extends Entity> |
EntityList.getClass(ResourceLocation key) |
static java.lang.String |
EntityList.getTranslationName(ResourceLocation entityType) |
static boolean |
EntityList.isMatchingName(Entity entityIn,
ResourceLocation entityName) |
static boolean |
EntityList.isRegistered(ResourceLocation entityName) |
Constructor and Description |
---|
EntityEggInfo(ResourceLocation idIn,
int primaryColorIn,
int secondaryColorIn) |
EntityEggInfo(ResourceLocation id,
int primaryColor,
int secondaryColor,
StatBase killEntityStatistic,
StatBase entityKilledByStatistic) |
Modifier and Type | Method and Description |
---|---|
protected ResourceLocation |
EntityDragon.getLootTable() |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
EntityMinecartContainer.lootTable |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
EntityMinecartContainer.getLootTable() |
Modifier and Type | Method and Description |
---|---|
void |
EntityMinecartContainer.setLootTable(ResourceLocation lootTableIn,
long lootTableSeedIn) |
Modifier and Type | Method and Description |
---|---|
protected ResourceLocation |
EntitySpider.getLootTable() |
protected ResourceLocation |
EntityMagmaCube.getLootTable() |
protected ResourceLocation |
EntityGuardian.getLootTable() |
protected ResourceLocation |
EntityElderGuardian.getLootTable() |
protected ResourceLocation |
EntityHusk.getLootTable() |
protected ResourceLocation |
EntityEvoker.getLootTable() |
protected ResourceLocation |
EntityCreeper.getLootTable() |
protected ResourceLocation |
EntityZombieVillager.getLootTable() |
protected ResourceLocation |
EntityIllusionIllager.getLootTable() |
protected ResourceLocation |
EntityShulker.getLootTable() |
protected ResourceLocation |
EntitySkeleton.getLootTable() |
protected ResourceLocation |
EntityZombie.getLootTable() |
protected ResourceLocation |
EntityPolarBear.getLootTable() |
protected ResourceLocation |
EntityVindicator.getLootTable() |
protected ResourceLocation |
EntityWitch.getLootTable() |
protected ResourceLocation |
EntityVex.getLootTable() |
protected ResourceLocation |
EntityBlaze.getLootTable() |
protected ResourceLocation |
EntityGiantZombie.getLootTable() |
protected ResourceLocation |
EntityIronGolem.getLootTable() |
protected ResourceLocation |
EntityEnderman.getLootTable() |
protected ResourceLocation |
EntityGhast.getLootTable() |
protected ResourceLocation |
EntitySlime.getLootTable() |
protected ResourceLocation |
EntitySilverfish.getLootTable() |
protected ResourceLocation |
EntityCaveSpider.getLootTable() |
protected ResourceLocation |
EntityEndermite.getLootTable() |
protected ResourceLocation |
EntitySnowman.getLootTable() |
protected ResourceLocation |
EntityPigZombie.getLootTable() |
protected ResourceLocation |
EntityWitherSkeleton.getLootTable() |
protected ResourceLocation |
EntityStray.getLootTable() |
Modifier and Type | Method and Description |
---|---|
protected ResourceLocation |
EntityOcelot.getLootTable() |
protected ResourceLocation |
EntityPig.getLootTable() |
protected ResourceLocation |
EntityMooshroom.getLootTable() |
protected ResourceLocation |
EntityDonkey.getLootTable() |
protected ResourceLocation |
EntityZombieHorse.getLootTable() |
protected ResourceLocation |
EntitySquid.getLootTable() |
protected ResourceLocation |
EntityChicken.getLootTable() |
protected ResourceLocation |
EntityCow.getLootTable() |
protected ResourceLocation |
EntityRabbit.getLootTable() |
protected ResourceLocation |
EntityLlama.getLootTable() |
protected ResourceLocation |
EntityVillager.getLootTable() |
protected ResourceLocation |
EntityWolf.getLootTable() |
protected ResourceLocation |
EntitySheep.getLootTable() |
protected ResourceLocation |
EntityHorse.getLootTable() |
protected ResourceLocation |
EntityMule.getLootTable() |
protected ResourceLocation |
EntityBat.getLootTable() |
protected ResourceLocation |
EntitySkeletonHorse.getLootTable() |
protected ResourceLocation |
EntityParrot.getLootTable() |
Modifier and Type | Method and Description |
---|---|
void |
EntityPlayer.unlockRecipes(ResourceLocation[] p_193102_1_) |
void |
EntityPlayerMP.unlockRecipes(ResourceLocation[] p_193102_1_) |
Modifier and Type | Field and Description |
---|---|
protected ResourceLocation |
Slot.backgroundLocation |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
Slot.getBackgroundLocation()
Gets the path of the texture file to use for the background image of this slot when drawing the GUI.
|
Modifier and Type | Method and Description |
---|---|
void |
Slot.setBackgroundLocation(ResourceLocation texture)
Sets the texture file to use for the background image of the slot when it's empty.
|
Modifier and Type | Field and Description |
---|---|
private IRegistry<ResourceLocation,IItemPropertyGetter> |
Item.properties |
static RegistryNamespaced<ResourceLocation,Item> |
Item.REGISTRY |
Modifier and Type | Method and Description |
---|---|
static ResourceLocation |
ItemMonsterPlacer.getNamedIdFrom(ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
void |
Item.addPropertyOverride(ResourceLocation key,
IItemPropertyGetter getter) |
static void |
ItemMonsterPlacer.applyEntityIdToItemStack(ItemStack stack,
ResourceLocation entityId) |
IItemPropertyGetter |
Item.getPropertyGetter(ResourceLocation key) |
private static void |
Item.registerItem(int id,
ResourceLocation textualID,
Item itemIn) |
static Entity |
ItemMonsterPlacer.spawnCreature(World worldIn,
ResourceLocation entityID,
double x,
double y,
double z) |
Modifier and Type | Field and Description |
---|---|
static RegistryNamespaced<ResourceLocation,IRecipe> |
CraftingManager.REGISTRY |
Modifier and Type | Method and Description |
---|---|
static IRecipe |
CraftingManager.getRecipe(ResourceLocation name) |
private static void |
CraftingManager.register(ResourceLocation name,
IRecipe recipe) |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
PacketBuffer.readResourceLocation() |
Modifier and Type | Method and Description |
---|---|
PacketBuffer |
PacketBuffer.writeResourceLocation(ResourceLocation resourceLocationIn) |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
CPacketSeenAdvancements.tab |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
CPacketSeenAdvancements.getTab() |
Constructor and Description |
---|
CPacketSeenAdvancements(CPacketSeenAdvancements.Action p_i47595_1_,
ResourceLocation p_i47595_2_) |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
SPacketSelectAdvancementsTab.tab |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ResourceLocation,Advancement.Builder> |
SPacketAdvancementInfo.advancementsToAdd |
private java.util.Set<ResourceLocation> |
SPacketAdvancementInfo.advancementsToRemove |
private java.util.Map<ResourceLocation,AdvancementProgress> |
SPacketAdvancementInfo.progressUpdates |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
SPacketSelectAdvancementsTab.getTab() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<ResourceLocation,Advancement.Builder> |
SPacketAdvancementInfo.getAdvancementsToAdd() |
java.util.Set<ResourceLocation> |
SPacketAdvancementInfo.getAdvancementsToRemove() |
java.util.Map<ResourceLocation,AdvancementProgress> |
SPacketAdvancementInfo.getProgressUpdates() |
Constructor and Description |
---|
SPacketSelectAdvancementsTab(ResourceLocation p_i47596_1_) |
Constructor and Description |
---|
SPacketAdvancementInfo(boolean p_i47519_1_,
java.util.Collection<Advancement> p_i47519_2_,
java.util.Set<ResourceLocation> p_i47519_3_,
java.util.Map<ResourceLocation,AdvancementProgress> p_i47519_4_) |
SPacketAdvancementInfo(boolean p_i47519_1_,
java.util.Collection<Advancement> p_i47519_2_,
java.util.Set<ResourceLocation> p_i47519_3_,
java.util.Map<ResourceLocation,AdvancementProgress> p_i47519_4_) |
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
PotionType.EMPTY
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static RegistryNamespacedDefaultedByKey<ResourceLocation,PotionType> |
PotionType.REGISTRY |
static RegistryNamespaced<ResourceLocation,Potion> |
Potion.REGISTRY |
Modifier and Type | Field and Description |
---|---|
protected static ResourceLocation |
RealmsButton.WIDGETS_LOCATION |
Modifier and Type | Field and Description |
---|---|
protected ResourceLocation |
TileEntityLockableLoot.lootTable |
Modifier and Type | Field and Description |
---|---|
private static RegistryNamespaced<ResourceLocation,java.lang.Class<? extends TileEntity>> |
TileEntity.REGISTRY |
Modifier and Type | Method and Description |
---|---|
private ResourceLocation |
MobSpawnerBaseLogic.getEntityId() |
static ResourceLocation |
TileEntity.getKey(java.lang.Class<? extends TileEntity> clazz) |
ResourceLocation |
TileEntityLockableLoot.getLootTable() |
Modifier and Type | Method and Description |
---|---|
void |
MobSpawnerBaseLogic.setEntityId(ResourceLocation id) |
void |
TileEntityLockableLoot.setLootTable(ResourceLocation p_189404_1_,
long p_189404_2_) |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
SoundEvent.soundName |
Modifier and Type | Field and Description |
---|---|
static RegistryNamespaced<ResourceLocation,SoundEvent> |
SoundEvent.REGISTRY |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
ResourceLocation.Serializer.deserialize(com.google.gson.JsonElement p_deserialize_1_,
java.lang.reflect.Type p_deserialize_2_,
com.google.gson.JsonDeserializationContext p_deserialize_3_) |
ResourceLocation |
SoundEvent.getSoundName() |
Modifier and Type | Method and Description |
---|---|
int |
ResourceLocation.compareTo(ResourceLocation p_compareTo_1_) |
com.google.gson.JsonElement |
ResourceLocation.Serializer.serialize(ResourceLocation p_serialize_1_,
java.lang.reflect.Type p_serialize_2_,
com.google.gson.JsonSerializationContext p_serialize_3_) |
Constructor and Description |
---|
SoundEvent(ResourceLocation soundNameIn) |
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
CookedFishIDTypo.WRONG |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
Filtered.key |
Modifier and Type | Field and Description |
---|---|
static RegistryNamespaced<ResourceLocation,Biome> |
Biome.REGISTRY |
Modifier and Type | Method and Description |
---|---|
private ResourceLocation |
WorldGenDungeons.pickMobSpawner(java.util.Random rand) |
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
ComponentScatteredFeaturePieces.Igloo.IGLOO_BOTTOM_ID |
private static ResourceLocation |
ComponentScatteredFeaturePieces.Igloo.IGLOO_MIDDLE_ID |
private static ResourceLocation |
ComponentScatteredFeaturePieces.Igloo.IGLOO_TOP_ID |
Modifier and Type | Method and Description |
---|---|
protected boolean |
StructureComponent.createDispenser(World worldIn,
StructureBoundingBox sbb,
java.util.Random rand,
int x,
int y,
int z,
EnumFacing facing,
ResourceLocation lootTableIn) |
protected boolean |
StructureComponent.generateChest(World p_191080_1_,
StructureBoundingBox p_191080_2_,
java.util.Random p_191080_3_,
BlockPos p_191080_4_,
ResourceLocation p_191080_5_,
IBlockState p_191080_6_) |
protected boolean |
StructureComponent.generateChest(World worldIn,
StructureBoundingBox structurebb,
java.util.Random randomIn,
int x,
int y,
int z,
ResourceLocation loot) |
protected boolean |
StructureMineshaftPieces.Corridor.generateChest(World worldIn,
StructureBoundingBox structurebb,
java.util.Random randomIn,
int x,
int y,
int z,
ResourceLocation loot) |
Modifier and Type | Method and Description |
---|---|
Template |
TemplateManager.get(MinecraftServer server,
ResourceLocation templatePath) |
Template |
TemplateManager.getTemplate(MinecraftServer server,
ResourceLocation id) |
boolean |
TemplateManager.readTemplate(ResourceLocation server) |
private boolean |
TemplateManager.readTemplateFromJar(ResourceLocation id) |
void |
TemplateManager.remove(ResourceLocation templatePath) |
boolean |
TemplateManager.writeTemplate(MinecraftServer server,
ResourceLocation id) |
Modifier and Type | Field and Description |
---|---|
private static java.util.Set<ResourceLocation> |
LootTableList.LOOT_TABLES |
private static java.util.Set<ResourceLocation> |
LootTableList.READ_ONLY_LOOT_TABLES |
private com.google.common.cache.LoadingCache<ResourceLocation,LootTable> |
LootTableManager.registeredLootTables |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
ILootContainer.getLootTable() |
static ResourceLocation |
LootTableList.register(ResourceLocation id) |
private static ResourceLocation |
LootTableList.register(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<ResourceLocation> |
LootTableList.getAll() |
Modifier and Type | Method and Description |
---|---|
LootTable |
LootTableManager.getLootTableFromLocation(ResourceLocation ressources) |
LootTable |
LootTableManager.Loader.load(ResourceLocation p_load_1_) |
private LootTable |
LootTableManager.Loader.loadBuiltinLootTable(ResourceLocation resource) |
private LootTable |
LootTableManager.Loader.loadLootTable(ResourceLocation resource) |
static ResourceLocation |
LootTableList.register(ResourceLocation id) |
Constructor and Description |
---|
LootEntryTable(ResourceLocation tableIn,
int weightIn,
int qualityIn,
LootCondition[] conditionsIn,
java.lang.String entryName) |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
LootCondition.Serializer.lootTableLocation |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<ResourceLocation,LootCondition.Serializer<?>> |
LootConditionManager.NAME_TO_SERIALIZER_MAP |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
LootCondition.Serializer.getLootTableLocation() |
Modifier and Type | Method and Description |
---|---|
static LootCondition.Serializer<?> |
LootConditionManager.getSerializerForName(ResourceLocation location) |
Constructor and Description |
---|
Serializer(ResourceLocation location,
java.lang.Class<T> clazz) |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
LootFunction.Serializer.lootTableLocation |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<ResourceLocation,LootFunction.Serializer<?>> |
LootFunctionManager.NAME_TO_SERIALIZER_MAP |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
LootFunction.Serializer.getFunctionName() |
Modifier and Type | Method and Description |
---|---|
static LootFunction.Serializer<?> |
LootFunctionManager.getSerializerForName(ResourceLocation location) |
Constructor and Description |
---|
Serializer(ResourceLocation location,
java.lang.Class<T> clazz) |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
EntityProperty.Serializer.name |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<ResourceLocation,EntityProperty.Serializer<?>> |
EntityPropertyManager.NAME_TO_SERIALIZER_MAP |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
EntityProperty.Serializer.getName() |
Modifier and Type | Method and Description |
---|---|
static EntityProperty.Serializer<?> |
EntityPropertyManager.getSerializerForName(ResourceLocation name) |
Constructor and Description |
---|
Serializer(ResourceLocation nameIn,
java.lang.Class<T> propertyClassIn) |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<ResourceLocation,java.util.function.Function<com.google.gson.JsonObject,ItemPredicate>> |
ItemPredicates.predicates |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<ResourceLocation,java.util.function.Function<com.google.gson.JsonObject,ItemPredicate>> |
ItemPredicates.getPredicates() |
Modifier and Type | Method and Description |
---|---|
static void |
ItemPredicates.register(ResourceLocation rl,
java.util.function.Function<com.google.gson.JsonObject,ItemPredicate> jsonToPredicate) |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
CloudRenderer.texture |
Modifier and Type | Field and Description |
---|---|
private static java.util.HashMap<ResourceLocation,java.util.function.Supplier<java.awt.image.BufferedImage>> |
MinecraftForgeClient.bufferedImageSuppliers |
Modifier and Type | Method and Description |
---|---|
private void |
GuiIngameForge.bind(ResourceLocation res) |
static java.awt.image.BufferedImage |
MinecraftForgeClient.getImageLayer(ResourceLocation resourceLocation,
IResourceManager resourceManager) |
static void |
MinecraftForgeClient.registerImageLayerSupplier(ResourceLocation resourceLocation,
java.util.function.Supplier<java.awt.image.BufferedImage> supplier) |
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
NotificationModUpdateScreen.VERSION_CHECK_ICONS |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
ModelDynBucket.baseLocation |
private ResourceLocation |
BlockStateLoader.ForgeVariant.blockstateLocation |
private ResourceLocation |
ModelDynBucket.BucketBaseSprite.bucket |
private ResourceLocation |
ModelDynBucket.BucketCoverSprite.bucket |
private ResourceLocation |
ModelDynBucket.BucketCoverSprite.bucketCoverMask |
private ResourceLocation |
ModelDynBucket.coverLocation |
private static ResourceLocation |
FancyMissingModel.font |
private static ResourceLocation |
FancyMissingModel.font2 |
private ResourceLocation |
ModelDynBucket.liquidLocation |
private ResourceLocation |
ModelLoader.VanillaModelWrapper.location |
private ResourceLocation |
ModelLoader.MultipartModel.location |
private ResourceLocation |
MultiModel.location
Deprecated.
|
private ResourceLocation |
MultiModel.Baked.location |
static ResourceLocation |
ModelLoader.White.LOCATION |
private ResourceLocation |
ForgeBlockStateV1.Variant.model |
private ResourceLocation |
BlockStateLoader.SubModel.model |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<ResourceLocation,ResourceLocation> |
ModelLoaderRegistry.aliases |
private static java.util.Map<ResourceLocation,ResourceLocation> |
ModelLoaderRegistry.aliases |
private java.util.function.Function<ResourceLocation,TextureAtlasSprite> |
ModelLoader.BakedModelCacheKey.bakedTextureGetter |
private static java.util.Map<ResourceLocation,IModel> |
ModelLoaderRegistry.cache |
private com.google.common.collect.ImmutableList<ResourceLocation> |
ModelDynBucket.BucketBaseSprite.dependencies |
private com.google.common.collect.ImmutableList<ResourceLocation> |
ModelDynBucket.BucketCoverSprite.dependencies |
private java.util.Map<ResourceLocation,java.lang.Exception> |
ModelLoader.loadingExceptions |
private static java.util.Deque<ResourceLocation> |
ModelLoaderRegistry.loadingModels |
private java.util.List<ResourceLocation> |
ModelLoader.WeightedRandomModel.locations |
private com.google.common.collect.ImmutableList<ResourceLocation> |
ItemLayerModel.textures |
private static java.util.Set<ResourceLocation> |
ModelLoaderRegistry.textures |
private java.util.Set<ResourceLocation> |
ModelLoader.WeightedRandomModel.textures |
Modifier and Type | Method and Description |
---|---|
static ResourceLocation |
ModelLoaderRegistry.getActualLocation(ResourceLocation location) |
protected ResourceLocation |
ForgeBlockStateV1.Variant.Deserializer.getBlockLocation(java.lang.String location) |
ResourceLocation |
ForgeBlockStateV1.Variant.getModel() |
ResourceLocation |
BlockStateLoader.SubModel.getModelLocation() |
protected ResourceLocation |
ModelLoader.getModelLocation(ResourceLocation model) |
Modifier and Type | Method and Description |
---|---|
static java.util.function.Function<ResourceLocation,TextureAtlasSprite> |
ModelLoader.defaultTextureGetter()
Get the default texture getter the models will be baked with.
|
java.util.Collection<ResourceLocation> |
MultiLayerModel.getDependencies() |
java.util.Collection<ResourceLocation> |
ModelDynBucket.BucketBaseSprite.getDependencies() |
java.util.Collection<ResourceLocation> |
ModelDynBucket.BucketCoverSprite.getDependencies() |
java.util.Collection<ResourceLocation> |
ModelLoader.VanillaModelWrapper.getDependencies() |
java.util.Collection<ResourceLocation> |
ModelLoader.WeightedRandomModel.getDependencies() |
java.util.Collection<ResourceLocation> |
MultiModel.getDependencies()
Deprecated.
|
default java.util.Collection<ResourceLocation> |
IModel.getDependencies() |
java.util.Collection<ResourceLocation> |
FancyMissingModel.getTextures() |
java.util.Collection<ResourceLocation> |
ItemLayerModel.getTextures() |
java.util.Collection<ResourceLocation> |
ModelFluid.getTextures() |
java.util.Collection<ResourceLocation> |
ModelDynBucket.getTextures() |
(package private) static java.lang.Iterable<ResourceLocation> |
ModelLoaderRegistry.getTextures() |
java.util.Collection<ResourceLocation> |
ModelLoader.VanillaModelWrapper.getTextures() |
java.util.Collection<ResourceLocation> |
ModelLoader.WeightedRandomModel.getTextures() |
java.util.Collection<ResourceLocation> |
MultiModel.getTextures()
Deprecated.
|
default java.util.Collection<ResourceLocation> |
IModel.getTextures() |
private static com.google.common.collect.ImmutableList<ResourceLocation> |
ItemLayerModel.getTextures(ModelBlock model) |
Modifier and Type | Method and Description |
---|---|
boolean |
MultiLayerModel.Loader.accepts(ResourceLocation modelLocation) |
boolean |
ItemLayerModel.Loader.accepts(ResourceLocation modelLocation) |
boolean |
ModelFluid.FluidLoader.accepts(ResourceLocation modelLocation) |
boolean |
ModelDynBucket.LoaderDynBucket.accepts(ResourceLocation modelLocation) |
boolean |
ModelLoader.VanillaLoader.accepts(ResourceLocation modelLocation) |
boolean |
ModelLoader.VariantLoader.accepts(ResourceLocation modelLocation) |
boolean |
ICustomModelLoader.accepts(ResourceLocation modelLocation) |
(package private) static void |
ModelLoaderRegistry.addAlias(ResourceLocation from,
ResourceLocation to) |
TextureAtlasSprite |
ModelLoader.DefaultTextureGetter.apply(ResourceLocation location) |
protected void |
SimpleModelFontRenderer.bindTexture(ResourceLocation location) |
static ResourceLocation |
ModelLoaderRegistry.getActualLocation(ResourceLocation location) |
(package private) static IModel |
ModelLoaderRegistry.getMissingModel(ResourceLocation location,
java.lang.Throwable cause) |
static IModel |
ModelLoaderRegistry.getModel(ResourceLocation location)
Primary method to get IModel instances.
|
protected ModelBlockDefinition |
ModelLoader.getModelBlockDefinition(ResourceLocation location) |
protected ResourceLocation |
ModelLoader.getModelLocation(ResourceLocation model) |
static IModel |
ModelLoaderRegistry.getModelOrLogError(ResourceLocation location,
java.lang.String error)
Use this if you want the model, but need to log the error.
|
static IModel |
ModelLoaderRegistry.getModelOrMissing(ResourceLocation location)
Use this if you don't care about the exception and want some model anyway.
|
protected static IResource |
ModelDynBucket.LoaderDynBucket.getResource(ResourceLocation resourceLocation) |
boolean |
ModelDynBucket.BucketBaseSprite.hasCustomLoader(IResourceManager manager,
ResourceLocation location) |
boolean |
ModelDynBucket.BucketCoverSprite.hasCustomLoader(IResourceManager manager,
ResourceLocation location) |
boolean |
ModelLoader.White.hasCustomLoader(IResourceManager manager,
ResourceLocation location) |
boolean |
ModelDynBucket.BucketBaseSprite.load(IResourceManager manager,
ResourceLocation location,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> textureGetter) |
boolean |
ModelDynBucket.BucketCoverSprite.load(IResourceManager manager,
ResourceLocation location,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> textureGetter) |
boolean |
ModelLoader.White.load(IResourceManager manager,
ResourceLocation location,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> textureGetter) |
static ModelBlockDefinition |
BlockStateLoader.load(java.io.Reader reader,
ResourceLocation location,
com.google.gson.Gson vanillaGSON)
Loads a BlockStates json file.
|
static IAnimationStateMachine |
ModelLoaderRegistry.loadASM(ResourceLocation location,
com.google.common.collect.ImmutableMap<java.lang.String,ITimeValue> customParameters) |
static boolean |
ModelLoaderRegistry.loaded(ResourceLocation location) |
IModel |
MultiLayerModel.Loader.loadModel(ResourceLocation modelLocation) |
IModel |
ItemLayerModel.Loader.loadModel(ResourceLocation modelLocation) |
IModel |
ModelFluid.FluidLoader.loadModel(ResourceLocation modelLocation) |
IModel |
ModelDynBucket.LoaderDynBucket.loadModel(ResourceLocation modelLocation) |
IModel |
ModelLoader.VanillaLoader.loadModel(ResourceLocation modelLocation) |
IModel |
ModelLoader.VariantLoader.loadModel(ResourceLocation modelLocation) |
IModel |
ICustomModelLoader.loadModel(ResourceLocation modelLocation) |
private void |
ModelLoader.storeException(ResourceLocation location,
java.lang.Exception exception) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
FancyMissingModel.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
MultiLayerModel.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
ItemLayerModel.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
ModelFluid.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
ModelDynBucket.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
ModelLoader.VanillaModelWrapper.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
ModelLoader.WeightedRandomModel.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
ModelLoader.MultipartModel.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
MultiModel.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter)
Deprecated.
|
IBakedModel |
IModel.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
ModelLoader.VanillaModelWrapper.bakeImpl(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
private IBakedModel |
ModelLoader.VanillaModelWrapper.bakeNormal(ModelBlock model,
IModelState perState,
IModelState modelState,
java.util.List<TRSRTransformation> newTransforms,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter,
boolean uvLocked) |
private static com.google.common.collect.ImmutableMap<java.util.Optional<BlockRenderLayer>,IBakedModel> |
MultiLayerModel.buildModels(com.google.common.collect.ImmutableMap<java.util.Optional<BlockRenderLayer>,ModelResourceLocation> models,
IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
boolean |
ModelDynBucket.BucketBaseSprite.load(IResourceManager manager,
ResourceLocation location,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> textureGetter) |
boolean |
ModelDynBucket.BucketCoverSprite.load(IResourceManager manager,
ResourceLocation location,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> textureGetter) |
boolean |
ModelLoader.White.load(IResourceManager manager,
ResourceLocation location,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> textureGetter) |
Constructor and Description |
---|
Baked(ResourceLocation location,
boolean perspective,
IBakedModel base,
com.google.common.collect.ImmutableMap<java.lang.String,IBakedModel> parts) |
BucketBaseSprite(ResourceLocation resourceLocation) |
BucketCoverSprite(ResourceLocation resourceLocation) |
ForgeVariant(ResourceLocation blockstateLocation,
ResourceLocation model,
IModelState state,
boolean uvLock,
java.util.Optional<java.lang.Boolean> smooth,
java.util.Optional<java.lang.Boolean> gui3d,
int weight,
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> textures,
com.google.common.collect.ImmutableMap<java.lang.String,BlockStateLoader.SubModel> parts,
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> customData) |
ModelDynBucket(ResourceLocation baseLocation,
ResourceLocation liquidLocation,
ResourceLocation coverLocation,
Fluid fluid,
boolean flipGas)
|
ModelDynBucket(ResourceLocation baseLocation,
ResourceLocation liquidLocation,
ResourceLocation coverLocation,
Fluid fluid,
boolean flipGas,
boolean tint) |
MultiModel(ResourceLocation location,
IModel base,
com.google.common.collect.ImmutableMap<java.lang.String,org.apache.commons.lang3.tuple.Pair<IModel,IModelState>> parts)
Deprecated.
|
MultiModel(ResourceLocation location,
IModel base,
IModelState baseState,
com.google.common.collect.ImmutableMap<java.lang.String,org.apache.commons.lang3.tuple.Pair<IModel,IModelState>> parts)
Deprecated.
|
MultiModel(ResourceLocation location,
IModel base,
IModelState baseState,
java.util.Map<java.lang.String,org.apache.commons.lang3.tuple.Pair<IModel,IModelState>> parts)
Deprecated.
|
MultiModel(ResourceLocation location,
IModel base,
java.util.Map<java.lang.String,org.apache.commons.lang3.tuple.Pair<IModel,IModelState>> parts)
Deprecated.
|
MultipartModel(ResourceLocation location,
Multipart multipart) |
MultipartModel(ResourceLocation location,
Multipart multipart,
com.google.common.collect.ImmutableMap<Selector,IModel> partModels) |
SimpleModelFontRenderer(GameSettings settings,
ResourceLocation font,
TextureManager manager,
boolean isUnicode,
javax.vecmath.Matrix4f matrix,
VertexFormat format) |
SubModel(IModelState state,
boolean uvLock,
boolean smooth,
boolean gui3d,
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> textures,
ResourceLocation model,
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> customData) |
VanillaModelWrapper(ResourceLocation location,
ModelBlock model,
boolean uvlock,
ModelBlockAnimation animation) |
WeightedRandomModel(ResourceLocation parent,
VariantList variants) |
Constructor and Description |
---|
BakedModelCacheKey(ModelLoader.VanillaModelWrapper model,
IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
ItemLayerModel(com.google.common.collect.ImmutableList<ResourceLocation> textures) |
ItemLayerModel(com.google.common.collect.ImmutableList<ResourceLocation> textures,
ItemOverrideList overrides) |
WeightedRandomModel(java.util.List<Variant> variants,
java.util.List<ResourceLocation> locations,
java.util.Set<ResourceLocation> textures,
java.util.List<IModel> models,
IModelState defaultState) |
WeightedRandomModel(java.util.List<Variant> variants,
java.util.List<ResourceLocation> locations,
java.util.Set<ResourceLocation> textures,
java.util.List<IModel> models,
IModelState defaultState) |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
AnimationModelBase.modelLocation
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private java.util.function.Function<ResourceLocation,TextureAtlasSprite> |
AnimationItemOverrideList.bakedTextureGetter |
Modifier and Type | Method and Description |
---|---|
static ModelBlockAnimation |
ModelBlockAnimation.loadVanillaAnimation(IResourceManager manager,
ResourceLocation armatureLocation)
Load armature associated with a vanilla model.
|
Constructor and Description |
---|
AnimationModelBase(ResourceLocation modelLocation,
VertexLighterFlat lighter)
Deprecated.
|
Constructor and Description |
---|
AnimationItemOverrideList(IModel model,
IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter,
ItemOverrideList overrides) |
AnimationItemOverrideList(IModel model,
IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter,
java.util.List<ItemOverride> overrides) |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
B3DLoader.ModelWrapper.modelLocation |
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.ImmutableMap<java.lang.String,ResourceLocation> |
B3DLoader.ModelWrapper.textures |
Modifier and Type | Method and Description |
---|---|
private static com.google.common.collect.ImmutableMap<java.lang.String,ResourceLocation> |
B3DLoader.ModelWrapper.buildTextures(java.util.List<B3DModel.Texture> textures) |
java.util.Collection<ResourceLocation> |
B3DLoader.ModelWrapper.getTextures() |
Modifier and Type | Method and Description |
---|---|
boolean |
B3DLoader.accepts(ResourceLocation modelLocation) |
IModel |
B3DLoader.loadModel(ResourceLocation modelLocation) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
B3DLoader.ModelWrapper.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
Constructor and Description |
---|
ModelWrapper(ResourceLocation modelLocation,
B3DModel model,
com.google.common.collect.ImmutableSet<java.lang.String> meshes,
boolean smooth,
boolean gui3d,
int defaultKey) |
ModelWrapper(ResourceLocation modelLocation,
B3DModel model,
com.google.common.collect.ImmutableSet<java.lang.String> meshes,
boolean smooth,
boolean gui3d,
int defaultKey,
com.google.common.collect.ImmutableMap<java.lang.String,ResourceLocation> textures) |
Constructor and Description |
---|
ModelWrapper(ResourceLocation modelLocation,
B3DModel model,
com.google.common.collect.ImmutableSet<java.lang.String> meshes,
boolean smooth,
boolean gui3d,
int defaultKey,
com.google.common.collect.ImmutableMap<java.lang.String,ResourceLocation> textures) |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
OBJModel.modelLocation |
ResourceLocation |
OBJModel.UVsOutOfBoundsException.modelLocation |
private ResourceLocation |
OBJModel.Parser.objFrom |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
OBJModel.Texture.getTextureLocation() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ResourceLocation> |
OBJModel.getTextures() |
Modifier and Type | Method and Description |
---|---|
boolean |
OBJLoader.accepts(ResourceLocation modelLocation) |
IModel |
OBJLoader.loadModel(ResourceLocation modelLocation) |
void |
OBJModel.MaterialLibrary.parseMaterials(IResourceManager manager,
java.lang.String path,
ResourceLocation from) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
OBJModel.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
Constructor and Description |
---|
OBJModel(OBJModel.MaterialLibrary matLib,
ResourceLocation modelLocation) |
OBJModel(OBJModel.MaterialLibrary matLib,
ResourceLocation modelLocation,
OBJModel.CustomData customData) |
UVsOutOfBoundsException(ResourceLocation modelLocation) |
Modifier and Type | Field and Description |
---|---|
ResourceLocation |
ForgeHooks.LootTableContext.name |
ResourceLocation |
DungeonHooks.DungeonMob.type |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<ResourceLocation,BiomeDictionary.BiomeInfo> |
BiomeDictionary.biomeInfoMap |
Modifier and Type | Method and Description |
---|---|
static ResourceLocation |
DungeonHooks.getRandomDungeonMob(java.util.Random rand)
Gets a random mob name from the list.
|
Modifier and Type | Method and Description |
---|---|
static float |
DungeonHooks.addDungeonMob(ResourceLocation name,
int rarity)
Adds a mob to the possible list of creatures the spawner will create.
|
static LootTable |
ForgeHooks.loadLootTable(com.google.gson.Gson gson,
ResourceLocation name,
java.lang.String data,
boolean custom,
LootTableManager lootTableManager) |
static int |
DungeonHooks.removeDungeonMob(ResourceLocation name)
Will completely remove a Mob from the dungeon spawn list.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ForgeHooks.loadAdvancements(java.util.Map<ResourceLocation,Advancement.Builder> map) |
private static boolean |
ForgeHooks.loadAdvancements(java.util.Map<ResourceLocation,Advancement.Builder> map,
ModContainer mod) |
Constructor and Description |
---|
DungeonMob(int weight,
ResourceLocation type) |
LootTableContext(ResourceLocation name,
boolean custom) |
Constructor and Description |
---|
CapabilityDispatcher(java.util.Map<ResourceLocation,ICapabilityProvider> list) |
CapabilityDispatcher(java.util.Map<ResourceLocation,ICapabilityProvider> list,
ICapabilityProvider parent) |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<ResourceLocation,IConditionFactory> |
CraftingHelper.conditions |
(package private) java.util.function.BiConsumer<ResourceLocation,T> |
CraftingHelper.FactoryLoader.consumer |
private static java.util.Map<ResourceLocation,IIngredientFactory> |
CraftingHelper.ingredients |
private static java.util.Map<ResourceLocation,IRecipeFactory> |
CraftingHelper.recipes |
Modifier and Type | Method and Description |
---|---|
private static JsonContext |
CraftingHelper.loadContext(ModContainer mod,
JsonContext ctx,
ResourceLocation path) |
static JsonContext |
CraftingHelper.loadContext(ResourceLocation path) |
static JsonContext |
CraftingHelper.loadContext(ResourceLocation path,
ModContainer mod) |
static void |
CraftingHelper.register(ResourceLocation key,
IConditionFactory factory) |
static void |
CraftingHelper.register(ResourceLocation key,
IIngredientFactory factory) |
static void |
CraftingHelper.register(ResourceLocation key,
IRecipeFactory factory) |
Constructor and Description |
---|
FactoryLoader(java.lang.String name,
java.lang.Class<T> type,
java.util.function.BiConsumer<ResourceLocation,T> consumer) |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
Clips.ModelClip.modelLocation |
Modifier and Type | Method and Description |
---|---|
static IClip |
Clips.getModelClipNode(ResourceLocation modelLocation,
java.lang.String clipName)
Retrieves the clip from the model.
|
static IAnimationStateMachine |
AnimationStateMachine.load(IResourceManager manager,
ResourceLocation location,
com.google.common.collect.ImmutableMap<java.lang.String,ITimeValue> customParameters)
Load a new instance if AnimationStateMachine at specified location, with specified custom parameters.
|
Constructor and Description |
---|
ModelClip(IClip childClip,
ResourceLocation modelLocation,
java.lang.String clipName) |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
BlockSnapshot.registryName |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
BlockSnapshot.getRegistryName() |
Constructor and Description |
---|
BlockSnapshot(int dimension,
BlockPos pos,
ResourceLocation registryName,
int meta,
int flag,
NBTTagCompound nbt)
Raw constructor designed for serialization usages.
|
Modifier and Type | Field and Description |
---|---|
ResourceLocation |
RegistryEvent.MissingMappings.Mapping.key |
private ResourceLocation |
RegistryEvent.Register.name |
private ResourceLocation |
RegistryEvent.MissingMappings.name |
private ResourceLocation |
LootTableLoadEvent.name |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ResourceLocation,ICapabilityProvider> |
AttachCapabilitiesEvent.caps |
private java.util.Map<ResourceLocation,ICapabilityProvider> |
AttachCapabilitiesEvent.view |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
RegistryEvent.Register.getName() |
ResourceLocation |
RegistryEvent.MissingMappings.getName() |
ResourceLocation |
LootTableLoadEvent.getName() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<ResourceLocation,ICapabilityProvider> |
AttachCapabilitiesEvent.getCapabilities()
A unmodifiable view of the capabilities that will be attached to this object.
|
Modifier and Type | Method and Description |
---|---|
void |
AttachCapabilitiesEvent.addCapability(ResourceLocation key,
ICapabilityProvider cap)
Adds a capability to be attached to this object.
|
static LootTable |
ForgeEventFactory.loadLootTable(ResourceLocation name,
LootTable table,
LootTableManager lootTableManager) |
Constructor and Description |
---|
LootTableLoadEvent(ResourceLocation name,
LootTable table,
LootTableManager lootTableManager) |
Mapping(IForgeRegistry<T> registry,
IForgeRegistry<T> pool,
ResourceLocation key,
int id) |
MissingMappings(ResourceLocation name,
IForgeRegistry<T> registry,
java.util.Collection<RegistryEvent.MissingMappings.Mapping<T>> missed) |
Register(ResourceLocation name,
IForgeRegistry<T> registry) |
Modifier and Type | Field and Description |
---|---|
protected ResourceLocation |
Fluid.flowing |
protected ResourceLocation |
Fluid.overlay |
protected ResourceLocation |
Fluid.still |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
Fluid.getFlowing() |
ResourceLocation |
Fluid.getFlowing(FluidStack stack) |
ResourceLocation |
Fluid.getFlowing(World world,
BlockPos pos) |
ResourceLocation |
Fluid.getOverlay() |
ResourceLocation |
Fluid.getStill() |
ResourceLocation |
Fluid.getStill(FluidStack stack) |
ResourceLocation |
Fluid.getStill(World world,
BlockPos pos) |
ResourceLocation |
FluidRegistry.FluidDelegate.name() |
Constructor and Description |
---|
Fluid(java.lang.String fluidName,
ResourceLocation still,
ResourceLocation flowing) |
Fluid(java.lang.String fluidName,
ResourceLocation still,
ResourceLocation flowing,
java.awt.Color color) |
Fluid(java.lang.String fluidName,
ResourceLocation still,
ResourceLocation flowing,
int color) |
Fluid(java.lang.String fluidName,
ResourceLocation still,
ResourceLocation flowing,
ResourceLocation overlay) |
Fluid(java.lang.String fluidName,
ResourceLocation still,
ResourceLocation flowing,
ResourceLocation overlay,
java.awt.Color color) |
Fluid(java.lang.String fluidName,
ResourceLocation still,
ResourceLocation flowing,
ResourceLocation overlay,
int color) |
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
FMLClientHandler.iconSheet |
private ResourceLocation |
SplashProgress.Texture.location |
private ResourceLocation |
GuiModList.Info.logoPath |
private static ResourceLocation |
GuiSlotModList.VERSION_CHECK_ICONS |
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.Table<java.lang.String,java.lang.String,java.util.Set<ResourceLocation>> |
FMLClientHandler.brokenTextures |
private com.google.common.collect.SetMultimap<java.lang.String,ResourceLocation> |
FMLClientHandler.missingTextures |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
SplashProgress.Texture.getLocation() |
Modifier and Type | Method and Description |
---|---|
protected void |
SplashProgress.SplashFontRenderer.bindTexture(ResourceLocation location) |
static void |
SplashProgress.clearVanillaResources(TextureManager renderEngine,
ResourceLocation mojangLogo) |
protected IResource |
SplashProgress.SplashFontRenderer.getResource(ResourceLocation location) |
private static java.io.InputStream |
SplashProgress.open(ResourceLocation loc,
ResourceLocation fallback,
boolean allowResourcePack) |
void |
FMLClientHandler.trackBrokenTexture(ResourceLocation resourceLocation,
java.lang.String error) |
void |
FMLClientHandler.trackMissingTexture(ResourceLocation resourceLocation) |
Constructor and Description |
---|
Info(int width,
java.util.List<java.lang.String> lines,
ResourceLocation logoPath,
java.awt.Dimension logoDims) |
Texture(ResourceLocation location,
ResourceLocation fallback) |
Texture(ResourceLocation location,
ResourceLocation fallback,
boolean allowRP) |
Modifier and Type | Method and Description |
---|---|
static void |
GuiUtils.drawContinuousTexturedBox(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(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.
|
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.Class<? extends Entity>,ResourceLocation> |
ClientRegistry.entityShaderMap |
Modifier and Type | Method and Description |
---|---|
static ResourceLocation |
ClientRegistry.getEntityShader(java.lang.Class<? extends Entity> entityClass) |
Modifier and Type | Method and Description |
---|---|
static void |
ClientRegistry.registerEntityShader(java.lang.Class<? extends Entity> entityClass,
ResourceLocation shader)
Register a shader for an entity.
|
Modifier and Type | Method and Description |
---|---|
void |
Loader.fireRemapEvent(java.util.Map<ResourceLocation,java.util.Map<ResourceLocation,java.lang.Integer[]>> remaps,
boolean isFreezing) |
void |
Loader.fireRemapEvent(java.util.Map<ResourceLocation,java.util.Map<ResourceLocation,java.lang.Integer[]>> remaps,
boolean isFreezing) |
Modifier and Type | Field and Description |
---|---|
ResourceLocation |
FMLModIdMappingEvent.ModRemapping.key |
ResourceLocation |
FMLModIdMappingEvent.ModRemapping.registry |
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.ImmutableSet<ResourceLocation> |
FMLModIdMappingEvent.keys |
private java.util.Map<ResourceLocation,com.google.common.collect.ImmutableList<FMLModIdMappingEvent.ModRemapping>> |
FMLModIdMappingEvent.remaps |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
FMLInterModComms.IMCMessage.getResourceLocationValue()
Get the ResourceLocation value from this message.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableSet<ResourceLocation> |
FMLModIdMappingEvent.getRegistries() |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<FMLModIdMappingEvent.ModRemapping> |
FMLModIdMappingEvent.getRemaps(ResourceLocation registry) |
static boolean |
FMLInterModComms.sendMessage(java.lang.String modId,
java.lang.String key,
ResourceLocation value)
Send a startup time message
|
static void |
FMLInterModComms.sendRuntimeMessage(java.lang.Object sourceMod,
java.lang.String modId,
java.lang.String key,
ResourceLocation value)
Send a post-startup message
|
Constructor and Description |
---|
ModRemapping(ResourceLocation registry,
ResourceLocation key,
int oldId,
int newId) |
Constructor and Description |
---|
FMLModIdMappingEvent(java.util.Map<ResourceLocation,java.util.Map<ResourceLocation,java.lang.Integer[]>> remaps,
boolean isFrozen) |
FMLModIdMappingEvent(java.util.Map<ResourceLocation,java.util.Map<ResourceLocation,java.lang.Integer[]>> remaps,
boolean isFrozen) |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
FMLHandshakeMessage.RegistryData.name |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<ResourceLocation> |
FMLHandshakeMessage.RegistryData.dummied |
static io.netty.util.AttributeKey<java.util.Map<ResourceLocation,ForgeRegistry.Snapshot>> |
NetworkDispatcher.FML_GAMEDATA_SNAPSHOT |
private java.util.Map<ResourceLocation,java.lang.Integer> |
FMLHandshakeMessage.RegistryData.ids |
private java.util.Map<ResourceLocation,java.lang.String> |
FMLHandshakeMessage.RegistryData.overrides |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
FMLHandshakeMessage.RegistryData.getName() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<ResourceLocation> |
FMLHandshakeMessage.RegistryData.getDummied() |
java.util.Map<ResourceLocation,java.lang.Integer> |
FMLHandshakeMessage.RegistryData.getIdMap() |
java.util.Map<ResourceLocation,java.lang.String> |
FMLHandshakeMessage.RegistryData.getOverrides() |
Constructor and Description |
---|
RegistryData(boolean hasMore,
ResourceLocation name,
ForgeRegistry.Snapshot entry) |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
EntityEntryBuilder.id |
private ResourceLocation |
VillagerRegistry.VillagerProfession.name |
private ResourceLocation |
EntityRegistry.EntityRegistration.regName |
private ResourceLocation |
VillagerRegistry.VillagerProfession.texture |
private ResourceLocation |
VillagerRegistry.VillagerProfession.zombie |
Modifier and Type | Field and Description |
---|---|
(package private) RegistryNamespaced<ResourceLocation,VillagerRegistry.VillagerProfession> |
VillagerRegistry.REGISTRY |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
EntityRegistry.EntityRegistration.getRegistryName() |
ResourceLocation |
VillagerRegistry.VillagerProfession.getSkin() |
ResourceLocation |
VillagerRegistry.VillagerProfession.getZombieSkin() |
Modifier and Type | Method and Description |
---|---|
static void |
GameRegistry.addShapedRecipe(ResourceLocation name,
ResourceLocation group,
ItemStack output,
java.lang.Object... params) |
static void |
GameRegistry.addShapelessRecipe(ResourceLocation name,
ResourceLocation group,
ItemStack output,
Ingredient... params) |
private void |
EntityRegistry.doModEntityRegistration(ResourceLocation registryName,
java.lang.Class<? extends Entity> entityClass,
java.lang.String entityName,
int id,
java.lang.Object mod,
int trackingRange,
int updateFrequency,
boolean sendsVelocityUpdates) |
EntityEntryBuilder<E> |
EntityEntryBuilder.id(ResourceLocation id,
int network)
Sets the id of the entity.
|
static void |
EntityRegistry.registerEgg(ResourceLocation name,
int primary,
int secondary)
Registers a spawn egg for the specified entity class.
|
static void |
EntityRegistry.registerModEntity(ResourceLocation registryName,
java.lang.Class<? extends Entity> entityClass,
java.lang.String entityName,
int id,
java.lang.Object mod,
int trackingRange,
int updateFrequency,
boolean sendsVelocityUpdates)
Register the mod entity type with FML
|
static void |
EntityRegistry.registerModEntity(ResourceLocation registryName,
java.lang.Class<? extends Entity> entityClass,
java.lang.String entityName,
int id,
java.lang.Object mod,
int trackingRange,
int updateFrequency,
boolean sendsVelocityUpdates,
int eggPrimary,
int eggSecondary)
Register the mod entity type with FML
This will also register a spawn egg.
|
static void |
GameRegistry.registerTileEntity(java.lang.Class<? extends TileEntity> tileEntityClass,
ResourceLocation key) |
Constructor and Description |
---|
EntityRegistration(ModContainer mc,
ResourceLocation registryName,
java.lang.Class<? extends Entity> entityClass,
java.lang.String entityName,
int id,
int trackingRange,
int updateFrequency,
boolean sendsVelocityUpdates)
Deprecated.
|
EntityRegistration(ModContainer mc,
ResourceLocation registryName,
java.lang.Class<? extends Entity> entityClass,
java.lang.String entityName,
int id,
int trackingRange,
int updateFrequency,
boolean sendsVelocityUpdates,
java.util.function.Function<World,? extends Entity> factory) |
ExistingSubstitutionException(ResourceLocation fromName,
java.lang.Object toReplace) |
Modifier and Type | Field and Description |
---|---|
protected ResourceLocation |
ShapedOreRecipe.group |
protected ResourceLocation |
ShapelessOreRecipe.group |
Constructor and Description |
---|
ShapedOreRecipe(ResourceLocation group,
Block result,
java.lang.Object... recipe) |
ShapedOreRecipe(ResourceLocation group,
Item result,
java.lang.Object... recipe) |
ShapedOreRecipe(ResourceLocation group,
ItemStack result,
CraftingHelper.ShapedPrimer primer) |
ShapedOreRecipe(ResourceLocation group,
ItemStack result,
java.lang.Object... recipe) |
ShapelessOreRecipe(ResourceLocation group,
Block result,
java.lang.Object... recipe) |
ShapelessOreRecipe(ResourceLocation group,
Item result,
java.lang.Object... recipe) |
ShapelessOreRecipe(ResourceLocation group,
ItemStack result,
java.lang.Object... recipe) |
ShapelessOreRecipe(ResourceLocation group,
NonNullList<Ingredient> input,
ItemStack result) |
Modifier and Type | Field and Description |
---|---|
static ResourceLocation |
GameData.BIOMES |
private static ResourceLocation |
GameData.BLOCK_TO_ITEM |
static ResourceLocation |
GameData.BLOCKS |
private static ResourceLocation |
GameData.BLOCKSTATE_TO_ID |
private ResourceLocation |
ForgeRegistry.defaultKey |
static ResourceLocation |
GameData.ENCHANTMENTS |
static ResourceLocation |
GameData.ENTITIES |
private static ResourceLocation |
GameData.ENTITY_CLASS_TO_ENTRY |
static ResourceLocation |
NamespacedWrapper.Factory.ID |
static ResourceLocation |
NamespacedDefaultedWrapper.Factory.ID |
private ResourceLocation |
ObjectHolderRef.injectedObject |
static ResourceLocation |
GameData.ITEMS |
(package private) ResourceLocation |
ForgeRegistry.OverrideOwner.key |
private ResourceLocation |
RegistryDelegate.name |
private ResourceLocation |
GameData.RecipeCallbacks.DummyRecipe.name |
private ResourceLocation |
RegistryBuilder.optionalDefaultKey |
static ResourceLocation |
GameData.POTIONS |
static ResourceLocation |
GameData.POTIONTYPES |
static ResourceLocation |
GameData.PROFESSIONS |
static ResourceLocation |
GameData.RECIPES |
private ResourceLocation |
IForgeRegistryEntry.Impl.registryName |
private ResourceLocation |
RegistryBuilder.registryName |
private static ResourceLocation |
GameData.SERIALIZER_TO_ENTRY |
static ResourceLocation |
GameData.SERIALIZERS |
static ResourceLocation |
GameData.SOUNDEVENTS |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ResourceLocation,ResourceLocation> |
ForgeRegistry.aliases |
private java.util.Map<ResourceLocation,ResourceLocation> |
ForgeRegistry.aliases |
java.util.Map<ResourceLocation,ResourceLocation> |
ForgeRegistry.Snapshot.aliases |
java.util.Map<ResourceLocation,ResourceLocation> |
ForgeRegistry.Snapshot.aliases |
java.util.Set<ResourceLocation> |
ForgeRegistry.Snapshot.dummied |
private java.util.Set<ResourceLocation> |
ForgeRegistry.dummies |
java.util.Map<ResourceLocation,java.lang.Integer> |
ForgeRegistry.Snapshot.ids |
private static java.util.function.BiConsumer<ResourceLocation,ForgeRegistry<?>> |
GameData.LOCK_VANILLA |
private com.google.common.collect.BiMap<ResourceLocation,V> |
ForgeRegistry.names |
private com.google.common.collect.Multimap<ResourceLocation,V> |
ForgeRegistry.overrides |
java.util.Map<ResourceLocation,java.lang.String> |
ForgeRegistry.Snapshot.overrides |
private java.util.Set<ResourceLocation> |
RegistryManager.persisted |
(package private) com.google.common.collect.BiMap<ResourceLocation,ForgeRegistry<? extends IForgeRegistryEntry<?>>> |
RegistryManager.registries |
(package private) java.util.Map<ResourceLocation,?> |
ForgeRegistry.slaves |
private com.google.common.collect.BiMap<java.lang.Class<? extends IForgeRegistryEntry<?>>,ResourceLocation> |
RegistryManager.superTypes |
Modifier and Type | Method and Description |
---|---|
static ResourceLocation |
GameData.checkPrefix(java.lang.String name)
Deprecated.
|
static ResourceLocation |
GameData.checkPrefix(java.lang.String name,
boolean warnOverrides)
Check a name for a domain prefix, and if not present infer it from the
current active mod container.
|
ResourceLocation |
ForgeRegistry.getKey(V value) |
ResourceLocation |
IForgeRegistry.getKey(V value) |
<V extends IForgeRegistryEntry<V>> |
RegistryManager.getName(IForgeRegistry<V> reg) |
ResourceLocation |
NamespacedWrapper.getNameForObject(V value) |
ResourceLocation |
NamespacedDefaultedWrapper.getNameForObject(V value) |
ResourceLocation |
IForgeRegistryEntry.getRegistryName()
A unique identifier for this entry, if this entry is registered already it will return it's official registry name.
|
ResourceLocation |
IForgeRegistryEntry.Impl.getRegistryName() |
ResourceLocation |
GameData.RecipeCallbacks.DummyRecipe.getRegistryName() |
ResourceLocation |
IRegistryDelegate.name()
Get the unique resource location for this delegate.
|
ResourceLocation |
RegistryDelegate.name() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.util.Map.Entry<ResourceLocation,V>> |
ForgeRegistry.getEntries() |
java.util.Set<java.util.Map.Entry<ResourceLocation,V>> |
IForgeRegistry.getEntries() |
java.util.Set<ResourceLocation> |
ForgeRegistry.getKeys() |
java.util.Set<ResourceLocation> |
NamespacedWrapper.getKeys() |
java.util.Set<ResourceLocation> |
IForgeRegistry.getKeys() |
java.util.Set<ResourceLocation> |
NamespacedDefaultedWrapper.getKeys() |
(package private) java.util.Map<ResourceLocation,java.lang.String> |
ForgeRegistry.getOverrideOwners() |
static <V extends IForgeRegistryEntry<V>> |
GameData.getWrapper(java.lang.Class<V> cls) |
static <V extends IForgeRegistryEntry<V>> |
GameData.getWrapperDefaulted(java.lang.Class<V> cls) |
static com.google.common.collect.Multimap<ResourceLocation,ResourceLocation> |
GameData.injectSnapshot(java.util.Map<ResourceLocation,ForgeRegistry.Snapshot> snapshot,
boolean injectFrozenData,
boolean isLocalWorld) |
static com.google.common.collect.Multimap<ResourceLocation,ResourceLocation> |
GameData.injectSnapshot(java.util.Map<ResourceLocation,ForgeRegistry.Snapshot> snapshot,
boolean injectFrozenData,
boolean isLocalWorld) |
java.util.Map<ResourceLocation,ForgeRegistry.Snapshot> |
RegistryManager.takeSnapshot(boolean savingToDisc) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
ForgeRegistry.addAlias(ResourceLocation from,
ResourceLocation to) |
(package private) void |
ForgeRegistry.addDummy(ResourceLocation key) |
boolean |
ForgeRegistry.containsKey(ResourceLocation key) |
boolean |
NamespacedWrapper.containsKey(ResourceLocation key) |
boolean |
IForgeRegistry.containsKey(ResourceLocation key) |
boolean |
NamespacedDefaultedWrapper.containsKey(ResourceLocation key) |
V |
IForgeRegistry.DummyFactory.createDummy(ResourceLocation key) |
Block |
GameData.BlockCallbacks.createDummy(ResourceLocation key) |
V |
IForgeRegistry.MissingFactory.createMissing(ResourceLocation key,
boolean isNetwork) |
IRecipe |
GameData.RecipeCallbacks.createMissing(ResourceLocation key,
boolean isNetwork) |
(package private) <V extends IForgeRegistryEntry<V>> |
RegistryManager.createRegistry(ResourceLocation name,
java.lang.Class<V> type,
ResourceLocation defaultKey,
int min,
int max,
IForgeRegistry.AddCallback<V> add,
IForgeRegistry.ClearCallback<V> clear,
IForgeRegistry.CreateCallback<V> create,
IForgeRegistry.ValidateCallback<V> validate,
boolean persisted,
boolean allowOverrides,
boolean isModifiable,
IForgeRegistry.DummyFactory<V> dummyFactory,
IForgeRegistry.MissingFactory<V> missing) |
(package private) void |
ForgeRegistry.dump(ResourceLocation name) |
private static void |
GameData.forceRegistryName(IForgeRegistryEntry<?> entry,
ResourceLocation name) |
int |
ForgeRegistry.getID(ResourceLocation name) |
private int |
ForgeRegistry.getIDRaw(ResourceLocation name) |
RegistryEvent.MissingMappings<?> |
ForgeRegistry.getMissingEvent(ResourceLocation name,
java.util.Map<ResourceLocation,java.lang.Integer> map) |
V |
NamespacedWrapper.getObject(ResourceLocation name) |
V |
NamespacedDefaultedWrapper.getObject(ResourceLocation name) |
private V |
ForgeRegistry.getRaw(ResourceLocation key) |
(package private) RegistryEvent.Register<V> |
ForgeRegistry.getRegisterEvent(ResourceLocation name) |
<V extends IForgeRegistryEntry<V>> |
RegistryManager.getRegistry(ResourceLocation key) |
<V extends IForgeRegistryEntry<V>> |
RegistryManager.getRegistry(ResourceLocation key,
RegistryManager other) |
<T> T |
ForgeRegistry.getSlaveMap(ResourceLocation name,
java.lang.Class<T> type) |
<T> T |
IForgeRegistry.getSlaveMap(ResourceLocation slaveMapName,
java.lang.Class<T> type)
Retrieve the slave map of type T from the registry.
|
<V extends IForgeRegistryEntry<V>> |
RegistryManager.getSuperType(ResourceLocation key) |
V |
ForgeRegistry.getValue(ResourceLocation key) |
V |
IForgeRegistry.getValue(ResourceLocation key) |
(package private) boolean |
ForgeRegistry.isDummied(ResourceLocation key) |
private static <T extends IForgeRegistryEntry<T>> |
GameData.loadFrozenDataToStagingRegistry(RegistryManager STAGING,
ResourceLocation name,
java.util.Map<ResourceLocation,java.lang.Integer[]> remaps,
java.lang.Class<T> clazz) |
void |
ForgeRegistry.loadIds(java.util.Map<ResourceLocation,java.lang.Integer> ids,
java.util.Map<ResourceLocation,java.lang.String> overrides,
java.util.Map<ResourceLocation,java.lang.Integer> missing,
java.util.Map<ResourceLocation,java.lang.Integer[]> remapped,
ForgeRegistry<V> old,
ResourceLocation name) |
private static <T extends IForgeRegistryEntry<T>> |
GameData.loadPersistentDataToStagingRegistry(RegistryManager pool,
RegistryManager to,
java.util.Map<ResourceLocation,java.lang.Integer[]> remaps,
java.util.Map<ResourceLocation,java.lang.Integer> missing,
ResourceLocation name,
ForgeRegistry.Snapshot snap,
java.lang.Class<T> regType) |
private static <T extends IForgeRegistryEntry<T>> |
GameData.loadRegistry(ResourceLocation registryName,
RegistryManager from,
RegistryManager to,
java.lang.Class<T> regType,
boolean freeze) |
private static <T extends IForgeRegistryEntry<T>> |
GameData.makeRegistry(ResourceLocation name,
java.lang.Class<T> type,
int max) |
private static <T extends IForgeRegistryEntry<T>> |
GameData.makeRegistry(ResourceLocation name,
java.lang.Class<T> type,
int min,
int max) |
private static <T extends IForgeRegistryEntry<T>> |
GameData.makeRegistry(ResourceLocation name,
java.lang.Class<T> type,
int max,
ResourceLocation _default) |
(package private) boolean |
ForgeRegistry.markDummy(ResourceLocation key,
int id) |
void |
GameData.RecipeCallbacks.onValidate(IForgeRegistryInternal<IRecipe> owner,
RegistryManager stage,
int id,
ResourceLocation key,
IRecipe obj) |
void |
IForgeRegistry.ValidateCallback.onValidate(IForgeRegistryInternal<V> owner,
RegistryManager stage,
int id,
ResourceLocation key,
V obj) |
private static <T extends IForgeRegistryEntry<T>> |
GameData.processMissing(java.lang.Class<T> clazz,
ResourceLocation name,
RegistryManager STAGING,
RegistryEvent.MissingMappings<?> e,
java.util.Map<ResourceLocation,java.lang.Integer> missing,
java.util.Map<ResourceLocation,java.lang.Integer[]> remaps,
java.util.Collection<ResourceLocation> defaulted,
java.util.Collection<ResourceLocation> failed,
boolean injectNetworkDummies) |
(package private) void |
ForgeRegistry.processMissingEvent(ResourceLocation name,
ForgeRegistry<V> pool,
java.util.List<RegistryEvent.MissingMappings.Mapping<V>> mappings,
java.util.Map<ResourceLocation,java.lang.Integer> missing,
java.util.Map<ResourceLocation,java.lang.Integer[]> remaps,
java.util.Collection<ResourceLocation> defaulted,
java.util.Collection<ResourceLocation> failed,
boolean injectNetworkDummies) |
void |
NamespacedWrapper.putObject(ResourceLocation key,
V value) |
void |
NamespacedDefaultedWrapper.putObject(ResourceLocation key,
V value) |
void |
NamespacedWrapper.register(int id,
ResourceLocation key,
V value) |
void |
NamespacedDefaultedWrapper.register(int id,
ResourceLocation key,
V value) |
static void |
GameData.registerEntity(int id,
ResourceLocation key,
java.lang.Class<? extends Entity> clazz,
java.lang.String oldName) |
V |
ForgeRegistry.remove(ResourceLocation key) |
V |
IForgeRegistryModifiable.remove(ResourceLocation key) |
static void |
GameData.revert(RegistryManager state,
ResourceLocation registry,
boolean lock) |
RegistryBuilder<T> |
RegistryBuilder.setDefaultKey(ResourceLocation key) |
void |
RegistryDelegate.setName(ResourceLocation name) |
RegistryBuilder<T> |
RegistryBuilder.setName(ResourceLocation name) |
V |
IForgeRegistryEntry.setRegistryName(ResourceLocation name)
Sets a unique name for this Item.
|
T |
IForgeRegistryEntry.Impl.setRegistryName(ResourceLocation name) |
IRecipe |
GameData.RecipeCallbacks.DummyRecipe.setRegistryName(ResourceLocation name) |
void |
ForgeRegistry.setSlaveMap(ResourceLocation name,
java.lang.Object obj) |
void |
IForgeRegistryInternal.setSlaveMap(ResourceLocation name,
java.lang.Object obj) |
(package private) void |
ForgeRegistry.sync(ResourceLocation name,
ForgeRegistry<V> from) |
(package private) void |
ForgeRegistry.validateContent(ResourceLocation registryName) |
Modifier and Type | Method and Description |
---|---|
static void |
GameData.fireRegistryEvents(java.util.function.Predicate<ResourceLocation> filter) |
RegistryEvent.MissingMappings<?> |
ForgeRegistry.getMissingEvent(ResourceLocation name,
java.util.Map<ResourceLocation,java.lang.Integer> map) |
static com.google.common.collect.Multimap<ResourceLocation,ResourceLocation> |
GameData.injectSnapshot(java.util.Map<ResourceLocation,ForgeRegistry.Snapshot> snapshot,
boolean injectFrozenData,
boolean isLocalWorld) |
private static <T extends IForgeRegistryEntry<T>> |
GameData.loadFrozenDataToStagingRegistry(RegistryManager STAGING,
ResourceLocation name,
java.util.Map<ResourceLocation,java.lang.Integer[]> remaps,
java.lang.Class<T> clazz) |
void |
ForgeRegistry.loadIds(java.util.Map<ResourceLocation,java.lang.Integer> ids,
java.util.Map<ResourceLocation,java.lang.String> overrides,
java.util.Map<ResourceLocation,java.lang.Integer> missing,
java.util.Map<ResourceLocation,java.lang.Integer[]> remapped,
ForgeRegistry<V> old,
ResourceLocation name) |
void |
ForgeRegistry.loadIds(java.util.Map<ResourceLocation,java.lang.Integer> ids,
java.util.Map<ResourceLocation,java.lang.String> overrides,
java.util.Map<ResourceLocation,java.lang.Integer> missing,
java.util.Map<ResourceLocation,java.lang.Integer[]> remapped,
ForgeRegistry<V> old,
ResourceLocation name) |
void |
ForgeRegistry.loadIds(java.util.Map<ResourceLocation,java.lang.Integer> ids,
java.util.Map<ResourceLocation,java.lang.String> overrides,
java.util.Map<ResourceLocation,java.lang.Integer> missing,
java.util.Map<ResourceLocation,java.lang.Integer[]> remapped,
ForgeRegistry<V> old,
ResourceLocation name) |
void |
ForgeRegistry.loadIds(java.util.Map<ResourceLocation,java.lang.Integer> ids,
java.util.Map<ResourceLocation,java.lang.String> overrides,
java.util.Map<ResourceLocation,java.lang.Integer> missing,
java.util.Map<ResourceLocation,java.lang.Integer[]> remapped,
ForgeRegistry<V> old,
ResourceLocation name) |
private static <T extends IForgeRegistryEntry<T>> |
GameData.loadPersistentDataToStagingRegistry(RegistryManager pool,
RegistryManager to,
java.util.Map<ResourceLocation,java.lang.Integer[]> remaps,
java.util.Map<ResourceLocation,java.lang.Integer> missing,
ResourceLocation name,
ForgeRegistry.Snapshot snap,
java.lang.Class<T> regType) |
private static <T extends IForgeRegistryEntry<T>> |
GameData.loadPersistentDataToStagingRegistry(RegistryManager pool,
RegistryManager to,
java.util.Map<ResourceLocation,java.lang.Integer[]> remaps,
java.util.Map<ResourceLocation,java.lang.Integer> missing,
ResourceLocation name,
ForgeRegistry.Snapshot snap,
java.lang.Class<T> regType) |
private static <T extends IForgeRegistryEntry<T>> |
GameData.processMissing(java.lang.Class<T> clazz,
ResourceLocation name,
RegistryManager STAGING,
RegistryEvent.MissingMappings<?> e,
java.util.Map<ResourceLocation,java.lang.Integer> missing,
java.util.Map<ResourceLocation,java.lang.Integer[]> remaps,
java.util.Collection<ResourceLocation> defaulted,
java.util.Collection<ResourceLocation> failed,
boolean injectNetworkDummies) |
private static <T extends IForgeRegistryEntry<T>> |
GameData.processMissing(java.lang.Class<T> clazz,
ResourceLocation name,
RegistryManager STAGING,
RegistryEvent.MissingMappings<?> e,
java.util.Map<ResourceLocation,java.lang.Integer> missing,
java.util.Map<ResourceLocation,java.lang.Integer[]> remaps,
java.util.Collection<ResourceLocation> defaulted,
java.util.Collection<ResourceLocation> failed,
boolean injectNetworkDummies) |
private static <T extends IForgeRegistryEntry<T>> |
GameData.processMissing(java.lang.Class<T> clazz,
ResourceLocation name,
RegistryManager STAGING,
RegistryEvent.MissingMappings<?> e,
java.util.Map<ResourceLocation,java.lang.Integer> missing,
java.util.Map<ResourceLocation,java.lang.Integer[]> remaps,
java.util.Collection<ResourceLocation> defaulted,
java.util.Collection<ResourceLocation> failed,
boolean injectNetworkDummies) |
private static <T extends IForgeRegistryEntry<T>> |
GameData.processMissing(java.lang.Class<T> clazz,
ResourceLocation name,
RegistryManager STAGING,
RegistryEvent.MissingMappings<?> e,
java.util.Map<ResourceLocation,java.lang.Integer> missing,
java.util.Map<ResourceLocation,java.lang.Integer[]> remaps,
java.util.Collection<ResourceLocation> defaulted,
java.util.Collection<ResourceLocation> failed,
boolean injectNetworkDummies) |
(package private) void |
ForgeRegistry.processMissingEvent(ResourceLocation name,
ForgeRegistry<V> pool,
java.util.List<RegistryEvent.MissingMappings.Mapping<V>> mappings,
java.util.Map<ResourceLocation,java.lang.Integer> missing,
java.util.Map<ResourceLocation,java.lang.Integer[]> remaps,
java.util.Collection<ResourceLocation> defaulted,
java.util.Collection<ResourceLocation> failed,
boolean injectNetworkDummies) |
(package private) void |
ForgeRegistry.processMissingEvent(ResourceLocation name,
ForgeRegistry<V> pool,
java.util.List<RegistryEvent.MissingMappings.Mapping<V>> mappings,
java.util.Map<ResourceLocation,java.lang.Integer> missing,
java.util.Map<ResourceLocation,java.lang.Integer[]> remaps,
java.util.Collection<ResourceLocation> defaulted,
java.util.Collection<ResourceLocation> failed,
boolean injectNetworkDummies) |
(package private) void |
ForgeRegistry.processMissingEvent(ResourceLocation name,
ForgeRegistry<V> pool,
java.util.List<RegistryEvent.MissingMappings.Mapping<V>> mappings,
java.util.Map<ResourceLocation,java.lang.Integer> missing,
java.util.Map<ResourceLocation,java.lang.Integer[]> remaps,
java.util.Collection<ResourceLocation> defaulted,
java.util.Collection<ResourceLocation> failed,
boolean injectNetworkDummies) |
(package private) void |
ForgeRegistry.processMissingEvent(ResourceLocation name,
ForgeRegistry<V> pool,
java.util.List<RegistryEvent.MissingMappings.Mapping<V>> mappings,
java.util.Map<ResourceLocation,java.lang.Integer> missing,
java.util.Map<ResourceLocation,java.lang.Integer[]> remaps,
java.util.Collection<ResourceLocation> defaulted,
java.util.Collection<ResourceLocation> failed,
boolean injectNetworkDummies) |
Constructor and Description |
---|
ForgeRegistry(java.lang.Class<V> superType,
ResourceLocation defaultKey,
int min,
int max,
IForgeRegistry.CreateCallback<V> create,
IForgeRegistry.AddCallback<V> add,
IForgeRegistry.ClearCallback<V> clear,
IForgeRegistry.ValidateCallback<V> validate,
RegistryManager stage,
boolean allowOverrides,
boolean isModifiable,
IForgeRegistry.DummyFactory<V> dummyFactory,
IForgeRegistry.MissingFactory<V> missing) |
ObjectHolderRef(java.lang.reflect.Field field,
ResourceLocation injectedObject,
boolean extractFromExistingValues) |
OverrideOwner(java.lang.String owner,
ResourceLocation key) |