MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / setBlockEntityId

Method setBlockEntityId

src/main/java/net/optifine/shaders/Shaders.java:5171–5178  ·  view source on GitHub ↗
(TileEntity tileEntity)

Source from the content-addressed store, hash-verified

5169 }
5170
5171 public static void setBlockEntityId(TileEntity tileEntity)
5172 {
5173 if (uniform_blockEntityId.isDefined())
5174 {
5175 int i = getBlockEntityId(tileEntity);
5176 uniform_blockEntityId.setValue(i);
5177 }
5178 }
5179
5180 private static int getBlockEntityId(TileEntity tileEntity)
5181 {

Callers 2

nextBlockEntityMethod · 0.95
endBlockEntitiesMethod · 0.95

Calls 3

getBlockEntityIdMethod · 0.95
isDefinedMethod · 0.80
setValueMethod · 0.45

Tested by

no test coverage detected