P2P tunnel frequency color indicators (#3610)

This commit is contained in:
fscan
2018-07-14 17:05:07 +02:00
committed by GitHub
parent e809c688df
commit 2891014cf6
12 changed files with 1143 additions and 54 deletions
+10
View File
@@ -355,4 +355,14 @@ public interface IPart extends IBoxProvider, ICustomCableConnection
return null;
}
/**
* Flag to be passed to the renderer.
*
* @return flag or null
*/
default Long getRenderFlag()
{
return null;
}
}
@@ -0,0 +1,15 @@
package appeng.api.parts;
import java.util.List;
import javax.annotation.Nullable;
import net.minecraft.client.renderer.block.model.BakedQuad;
public interface IPartBakedModel
{
List<BakedQuad> getPartQuads( @Nullable Long partFlags, long rand );
}