MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / BlockDefs_UndefineBlock

Function BlockDefs_UndefineBlock

src/Protocol.c:1921–1930  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1919}
1920
1921static void BlockDefs_UndefineBlock(cc_uint8* data) {
1922 BlockID block;
1923 cc_bool didBlockLight;
1924
1925 ReadBlock(data, block);
1926 didBlockLight = Blocks.BlocksLight[block];
1927
1928 Block_UndefineCustom(block);
1929 BlockDefs_OnBlocksLightPropertyUpdated(block, didBlockLight);
1930}
1931
1932static void BlockDefs_DefineBlockExt(cc_uint8* data) {
1933 Vec3 minBB, maxBB;

Callers

nothing calls this directly

Calls 2

Block_UndefineCustomFunction · 0.85

Tested by

no test coverage detected