Add block transparency attributes to improve lighting accuracy
This commit is contained in:
parent
913a92a010
commit
644c8d0213
6 changed files with 170 additions and 134 deletions
|
|
@ -159,6 +159,12 @@ public class LegacyMapChunkCache implements MapChunkCache {
|
|||
stepPosition(unstep[ls.ordinal()]);
|
||||
return ls;
|
||||
}
|
||||
/**
|
||||
* Unstep current position in oppisite director of given step
|
||||
*/
|
||||
public void unstepPosition(BlockStep s) {
|
||||
stepPosition(unstep[s.ordinal()]);
|
||||
}
|
||||
public final void setY(int y) {
|
||||
if(y > this.y)
|
||||
laststep = BlockStep.Y_PLUS;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue