29 lines
892 B
Java
29 lines
892 B
Java
|
package net.minecraft.client.renderer.state;
|
||
|
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.List;
|
||
|
import javax.annotation.Nullable;
|
||
|
import net.minecraft.client.renderer.texture.TextureAtlasSprite;
|
||
|
import net.minecraft.network.chat.Component;
|
||
|
import net.minecraft.resources.ResourceLocation;
|
||
|
import net.minecraftforge.api.distmarker.Dist;
|
||
|
import net.minecraftforge.api.distmarker.OnlyIn;
|
||
|
|
||
|
@OnlyIn(Dist.CLIENT)
|
||
|
public class MapRenderState {
|
||
|
@Nullable
|
||
|
public ResourceLocation texture;
|
||
|
public final List<MapRenderState.MapDecorationRenderState> decorations = new ArrayList<>();
|
||
|
|
||
|
@OnlyIn(Dist.CLIENT)
|
||
|
public static class MapDecorationRenderState {
|
||
|
@Nullable
|
||
|
public TextureAtlasSprite atlasSprite;
|
||
|
public byte x;
|
||
|
public byte y;
|
||
|
public byte rot;
|
||
|
public boolean renderOnFrame;
|
||
|
@Nullable
|
||
|
public Component name;
|
||
|
}
|
||
|
}
|