Add support for shade=false models, switch light/fire blocks over to use
it
This commit is contained in:
parent
cf5f4a0d9e
commit
79f27e9565
12 changed files with 125 additions and 83 deletions
|
|
@ -35,7 +35,11 @@ public interface ModelBlockModel extends BlockModel {
|
|||
* @param xrot - degrees of rotation of block around X
|
||||
* @param yrot - degrees of rotation of block around Y
|
||||
* @param zrot - degrees of rotation of block around Z
|
||||
* @param shade - shade setting for model
|
||||
* @return model block to add faces to
|
||||
*/
|
||||
public ModelBlock addModelBlock(double[] from, double[] to, double xrot, double yrot, double zrot);
|
||||
public ModelBlock addModelBlock(double[] from, double[] to, double xrot, double yrot, double zrot, boolean shade);
|
||||
default public ModelBlock addModelBlock(double[] from, double[] to, double xrot, double yrot, double zrot) {
|
||||
return addModelBlock(from, to, xrot, yrot, zrot, true);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue