17 lines
		
	
	
	
		
			880 B
		
	
	
	
		
			Java
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			880 B
		
	
	
	
		
			Java
		
	
	
	
	
	
| package net.minecraft.client.gui.render.state.pip;
 | |
| 
 | |
| import net.fabricmc.api.EnvType;
 | |
| import net.fabricmc.api.Environment;
 | |
| import net.minecraft.client.gui.navigation.ScreenRectangle;
 | |
| import net.minecraft.client.model.Model;
 | |
| import net.minecraft.world.level.block.state.properties.WoodType;
 | |
| import org.jetbrains.annotations.Nullable;
 | |
| 
 | |
| @Environment(EnvType.CLIENT)
 | |
| public record GuiSignRenderState(
 | |
| 	Model signModel, WoodType woodType, int x0, int y0, int x1, int y1, float scale, @Nullable ScreenRectangle scissorArea, @Nullable ScreenRectangle bounds
 | |
| ) implements PictureInPictureRenderState {
 | |
| 	public GuiSignRenderState(Model signModel, WoodType woodType, int x0, int y0, int x1, int y1, float scale, @Nullable ScreenRectangle scissorArea) {
 | |
| 		this(signModel, woodType, x0, y0, x1, y1, scale, scissorArea, PictureInPictureRenderState.getBounds(x0, y0, x1, y1, scissorArea));
 | |
| 	}
 | |
| }
 |