Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public block blocks(block input)
- {
- block[] returnblocks=array of blocks, fuck your language.
- for(int x=-1;x<=1;x++)
- {
- for(int y=-1;y<=1;y++)
- {
- for(int z=-1;z<=1;z++)
- {
- if(x!=0 && y!=0 && z!=0)returnblocks.add(getBlock(x,y,z));
- }
- }
- }
- return returnblocks;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement