Advertisement
Guest User

Untitled

a guest
Nov 7th, 2015
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. public IBlockState getActualState(IBlockState state, IBlockAccess worldIn, BlockPos pos)
  2. {
  3. return state.withProperty(NORTH, Boolean.valueOf(this.canConnectTo(worldIn, pos.north()))).withProperty(EAST, Boolean.valueOf(this.canConnectTo(worldIn, pos.east()))).withProperty(SOUTH, Boolean.valueOf(this.canConnectTo(worldIn, pos.south()))).withProperty(WEST, Boolean.valueOf(this.canConnectTo(worldIn, pos.west())));
  4. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement