Advertisement
Guest User

Untitled

a guest
Nov 27th, 2015
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. Block (1.8)
  2.  
  3. isNormalCube(blockaccess, pos): forge, delegates to opaque material, full cube, and not providing power. Determines redstone properties, pushing out of blocks, etc.. Replaces the below, though should override both in case
  4.  
  5. isNormalCube(): delegates to solid material, full cube, and not providing power. Appears to be the main logic method. Used in grass spreading, finding spawnpoints, etc.
  6.  
  7. isOpaqueCube(): used for 1.8's aggressive chunk culling
  8.  
  9. isFullCube(): appears to be used for rendering (fence connections, model quad baking) and a few other miscellaneous things (/clone command, enderman placing, AI)
  10.  
  11. isBlockNormalCube(): delegates to solid material and full cube, appears to be used for ambient occlusion and some visual connections (vines, redstone)
  12.  
  13. isVisuallyOpaque(): used when rendering first person (suffocation) overlay
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement