Start changes model loading (early WIP)

This commit is contained in:
Aleksey 2021-05-10 22:21:51 +03:00
parent 807e25c907
commit ce98c5857e
57 changed files with 122 additions and 97 deletions

View file

@ -2,16 +2,13 @@ package ru.betterend.patterns;
import java.io.Reader;
import net.minecraft.client.renderer.block.model.BlockModel;
import net.minecraft.client.resources.model.UnbakedModel;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.level.block.state.BlockState;
import org.jetbrains.annotations.NotNull;
public interface BlockPatterned extends Patterned {
//BlockModel getBlockModel(BlockState state);
default String getStatesPattern(Reader data) {
return null;
}
default ResourceLocation statePatternId() {
return null;
}
}
String getStatesPattern(Reader data);
ResourceLocation statePatternId();
@NotNull UnbakedModel getBlockModel(BlockState blockState);
}