@@ -14,26 +14,28 @@ public class MultipartType {
14
14
public final String model ;
15
15
public final String name ;
16
16
public final int thickness ;
17
+ public final int cubesPerSide ;
17
18
18
- public MultipartType (String name , String model , int thickness ) {
19
+ public MultipartType (String name , String model , int thickness , int cubesPerSide ) {
19
20
this .model = model ;
20
21
this .name = name ;
21
22
this .thickness = thickness ;
23
+ this .cubesPerSide = cubesPerSide ;
22
24
types .put (name , this );
23
25
}
24
26
25
- public static final MultipartType FOIL = new MultipartType ("foil" , "foil" , 1 );
26
- public static final MultipartType COVER = new MultipartType ("cover" , "cover" , 2 );
27
- public static final MultipartType PANEL = new MultipartType ("panel" , "panel" , 4 );
28
- public static final MultipartType SLAB = new MultipartType ("slab" , "slab" , 8 );
29
- public static final MultipartType ANTI_FOIL = new MultipartType ("antifoil" , "antifoil" , 15 );
30
- public static final MultipartType ANTI_COVER = new MultipartType ("anticover" , "anticover" , 14 );
31
- public static final MultipartType ANTI_PANEL = new MultipartType ("antipanel" , "antipanel" , 12 );
32
- public static final MultipartType HOLLOW_FOIL = new MultipartType ("hollow_foil" , "hollow_foil" ,1 );
33
- public static final MultipartType HOLLOW_COVER = new MultipartType ("hollow_cover" , "hollow_cover" ,2 );
34
- public static final MultipartType HOLLOW_PANEL = new MultipartType ("hollow_panel" , "hollow_panel" ,4 );
35
- public static final MultipartType HOLLOW_SLAB = new MultipartType ("hollow_slab" , "hollow_slab" ,8 );
36
- public static final MultipartType PILLAR = new MultipartType ("pillar" , "pillar" ,16 );
27
+ public static final MultipartType FOIL = new MultipartType ("foil" , "foil" , 1 , 1 );
28
+ public static final MultipartType COVER = new MultipartType ("cover" , "cover" , 2 , 1 );
29
+ public static final MultipartType PANEL = new MultipartType ("panel" , "panel" , 4 , 1 );
30
+ public static final MultipartType SLAB = new MultipartType ("slab" , "slab" , 8 , 1 );
31
+ /* public static final MultipartType ANTI_FOIL = new MultipartType("antifoil", "antifoil", 15, 1 );
32
+ public static final MultipartType ANTI_COVER = new MultipartType("anticover", "anticover", 14, 1 );
33
+ public static final MultipartType ANTI_PANEL = new MultipartType("antipanel", "antipanel", 12, 1);*/
34
+ public static final MultipartType HOLLOW_FOIL = new MultipartType ("hollow_foil" , "hollow_foil" ,1 , 4 );
35
+ public static final MultipartType HOLLOW_COVER = new MultipartType ("hollow_cover" , "hollow_cover" ,2 , 4 );
36
+ public static final MultipartType HOLLOW_PANEL = new MultipartType ("hollow_panel" , "hollow_panel" ,4 , 4 );
37
+ public static final MultipartType HOLLOW_SLAB = new MultipartType ("hollow_slab" , "hollow_slab" ,8 , 4 );
38
+ // public static final MultipartType PILLAR = new MultipartType("pillar", "pillar",16, 1 );
37
39
38
40
public static ModernBlockModel getOrCreateBlockModel (String modId , Multipart multipart ) {
39
41
NamespaceId namespaceId = new NamespaceId (modId , multipart .type .model +"_" +multipart .block .getKey ().replace ("tile" ,"" ).replace (modId ,"" ).replace ("." ,"_" ).toLowerCase ());
0 commit comments