Fix some mechanical multiblock parts not rendering properly with Optifine, closes #44
This commit is contained in:
parent
88c10cdb81
commit
c5c1818749
|
@ -73,6 +73,8 @@ public class BakedMBIOModel implements IBakedModel {
|
||||||
@Nonnull
|
@Nonnull
|
||||||
@Override
|
@Override
|
||||||
public List<BakedQuad> getQuads(@Nullable IBlockState state, @Nullable EnumFacing side, long rand) {
|
public List<BakedQuad> getQuads(@Nullable IBlockState state, @Nullable EnumFacing side, long rand) {
|
||||||
|
if (side != null)
|
||||||
|
return ImmutableList.of();
|
||||||
MBSideConfig config = NULL_CONFIG;
|
MBSideConfig config = NULL_CONFIG;
|
||||||
if (state instanceof IExtendedBlockState) {
|
if (state instanceof IExtendedBlockState) {
|
||||||
MBSideConfig tmpConfig = ((IExtendedBlockState) state).getValue(IWProperties.MB_SIDES);
|
MBSideConfig tmpConfig = ((IExtendedBlockState) state).getValue(IWProperties.MB_SIDES);
|
||||||
|
|
|
@ -77,7 +77,11 @@
|
||||||
"model": "builtin/generated"
|
"model": "builtin/generated"
|
||||||
},
|
},
|
||||||
"connector": {
|
"connector": {
|
||||||
"model": "immersiveengineering:smartmodel/conn_empty"
|
"model": "immersiveengineering:smartmodel/connector",
|
||||||
|
"custom": {
|
||||||
|
"base": "builtin/generated",
|
||||||
|
"layers": []
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"boolean0":
|
"boolean0":
|
||||||
|
|
Loading…
Reference in a new issue