()
| 135 | } |
| 136 | |
| 137 | private void update() |
| 138 | { |
| 139 | for (int i = 0; i < 6; ++i) |
| 140 | { |
| 141 | BlockPosM blockposm = this.facings[i]; |
| 142 | |
| 143 | if (blockposm != null) |
| 144 | { |
| 145 | EnumFacing enumfacing = EnumFacing.VALUES[i]; |
| 146 | int j = this.mx + enumfacing.getFrontOffsetX(); |
| 147 | int k = this.my + enumfacing.getFrontOffsetY(); |
| 148 | int l = this.mz + enumfacing.getFrontOffsetZ(); |
| 149 | blockposm.setXyz(j, k, l); |
| 150 | } |
| 151 | } |
| 152 | |
| 153 | this.needsUpdate = false; |
| 154 | } |
| 155 | |
| 156 | public BlockPos toImmutable() |
| 157 | { |
no test coverage detected