Code/net/minecraft/client/renderer/block/model/BlockModelPart.java

24 lines
756 B
Java
Raw Normal View History

2025-07-01 06:20:03 +00:00
package net.minecraft.client.renderer.block.model;
import java.util.List;
import javax.annotation.Nullable;
import net.minecraft.client.renderer.texture.TextureAtlasSprite;
import net.minecraft.client.resources.model.ModelBaker;
import net.minecraft.client.resources.model.ResolvableModel;
import net.minecraft.core.Direction;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
@OnlyIn(Dist.CLIENT)
public interface BlockModelPart {
List<BakedQuad> getQuads(@Nullable Direction p_395320_);
boolean useAmbientOcclusion();
TextureAtlasSprite particleIcon();
@OnlyIn(Dist.CLIENT)
public interface Unbaked extends ResolvableModel {
BlockModelPart bake(ModelBaker p_395936_);
}
}