42 lines
		
	
	
	
		
			969 B
		
	
	
	
		
			Java
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
	
		
			969 B
		
	
	
	
		
			Java
		
	
	
	
	
	
| package net.minecraft.client.renderer.chunk;
 | |
| 
 | |
| import java.util.Collections;
 | |
| import java.util.List;
 | |
| import net.fabricmc.api.EnvType;
 | |
| import net.fabricmc.api.Environment;
 | |
| import net.minecraft.core.Direction;
 | |
| import net.minecraft.world.level.block.entity.BlockEntity;
 | |
| import org.jetbrains.annotations.Nullable;
 | |
| 
 | |
| @Environment(EnvType.CLIENT)
 | |
| public interface SectionMesh extends AutoCloseable {
 | |
| 	default boolean isDifferentPointOfView(TranslucencyPointOfView pointOfView) {
 | |
| 		return false;
 | |
| 	}
 | |
| 
 | |
| 	default boolean hasRenderableLayers() {
 | |
| 		return false;
 | |
| 	}
 | |
| 
 | |
| 	default boolean hasTranslucentGeometry() {
 | |
| 		return false;
 | |
| 	}
 | |
| 
 | |
| 	default boolean isEmpty(ChunkSectionLayer layer) {
 | |
| 		return true;
 | |
| 	}
 | |
| 
 | |
| 	default List<BlockEntity> getRenderableBlockEntities() {
 | |
| 		return Collections.emptyList();
 | |
| 	}
 | |
| 
 | |
| 	boolean facesCanSeeEachother(Direction face1, Direction face2);
 | |
| 
 | |
| 	@Nullable
 | |
| 	default SectionBuffers getBuffers(ChunkSectionLayer layer) {
 | |
| 		return null;
 | |
| 	}
 | |
| 
 | |
| 	default void close() {
 | |
| 	}
 | |
| }
 |