Update to 1.17

Update to Official classnames
Patchwork
Make the game compile and run
Merge in the new HUD overlay API
Merge in the new render properties API
PEEL
Use Gradle 7.2 snapshot to fix eclipse integration bug in 7.1, Would use 7.0 but FG needs 7.1 for some reason.
New FML installer
Update to 1.17.1

Co-authored-by: LexManos <[email protected]>
Co-authored-by: SizableShrimp <[email protected]>
Co-authored-by: cpw <[email protected]>
Co-authored-by: Curle <[email protected]>
Co-authored-by: Unnoen <[email protected]>
Co-authored-by: covers1624 <[email protected]>
Co-authored-by: DaemonUmbra <[email protected]>
Co-authored-by: gigaherz <[email protected]>
Signed-off-by: SizableShrimp <[email protected]>
This commit is contained in:
authored and Curle committed 2021-07-22 19:57:02 +01:00
1 parent 064ae6961b
commit be5446b91c
1990 files changed
+35661 -37544

No files matched your search

@@ -22,10 +22,10 @@ package net.minecraftforge.client.textures;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import net.minecraft.resources.IResource;
import net.minecraft.resources.data.IMetadataSectionSerializer;
import net.minecraft.util.JSONUtils;
import net.minecraft.util.ResourceLocation;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.server.packs.metadata.MetadataSectionSerializer;
import net.minecraft.server.packs.resources.Resource;
import net.minecraft.util.GsonHelper;
import net.minecraftforge.client.MinecraftForgeClient;
import com.google.gson.JsonObject;
@@ -40,9 +40,9 @@ public final class ForgeTextureMetadata
{
public static final ForgeTextureMetadata EMPTY = new ForgeTextureMetadata(null);
public static final IMetadataSectionSerializer<ForgeTextureMetadata> SERIALIZER = new Serializer();
public static final MetadataSectionSerializer<ForgeTextureMetadata> SERIALIZER = new Serializer();
public static ForgeTextureMetadata forResource(IResource resource)
public static ForgeTextureMetadata forResource(Resource resource)
{
ForgeTextureMetadata metadata = resource.getMetadata(SERIALIZER);
return metadata == null ? EMPTY : metadata;
@@ -62,7 +62,7 @@ public final class ForgeTextureMetadata
return loader;
}
private static final class Serializer implements IMetadataSectionSerializer<ForgeTextureMetadata>
private static final class Serializer implements MetadataSectionSerializer<ForgeTextureMetadata>
{
@Override
@@ -80,7 +80,7 @@ public final class ForgeTextureMetadata
ITextureAtlasSpriteLoader loader;
if (json.has("loader"))
{
ResourceLocation loaderName = new ResourceLocation(JSONUtils.getAsString(json, "loader"));
ResourceLocation loaderName = new ResourceLocation(GsonHelper.getAsString(json, "loader"));
loader = MinecraftForgeClient.getTextureAtlasSpriteLoader(loaderName);
if (loader == null)
{
@@ -21,12 +21,12 @@ package net.minecraftforge.client.textures;
import javax.annotation.Nonnull;
import net.minecraft.client.renderer.texture.AtlasTexture;
import net.minecraft.client.renderer.texture.NativeImage;
import com.mojang.blaze3d.platform.NativeImage;
import net.minecraft.client.renderer.texture.TextureAtlas;
import net.minecraft.client.renderer.texture.TextureAtlasSprite;
import net.minecraft.resources.IResource;
import net.minecraft.resources.IResourceManager;
import net.minecraft.util.ResourceLocation;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.server.packs.resources.Resource;
import net.minecraft.server.packs.resources.ResourceManager;
/**
* A loader for custom TextureAtlasSprite implementations.<br>
@@ -48,9 +48,9 @@ public interface ITextureAtlasSpriteLoader
*/
@Nonnull
TextureAtlasSprite load(
AtlasTexture atlas,
IResourceManager resourceManager, TextureAtlasSprite.Info textureInfo,
IResource resource,
TextureAtlas atlas,
ResourceManager resourceManager, TextureAtlasSprite.Info textureInfo,
Resource resource,
int atlasWidth, int atlasHeight,
int spriteX, int spriteY, int mipmapLevel,
NativeImage image