コード例 #1
0
ファイル: MinecartTrackLogic.cs プロジェクト: riverar/Crafty
 public MinecartTrackLogic(BlockMinecartTrack blockminecarttrack, World world, int i, int j, int k)
 {
     minecartTrack = blockminecarttrack;
     connectedTracks = new ArrayList();
     worldObj = world;
     trackX = i;
     trackY = j;
     trackZ = k;
     trackMetadata = world.getBlockMetadata(i, j, k);
     calculateConnectedTracks();
 }
コード例 #2
0
 public MinecartTrackLogic(BlockMinecartTrack blockminecarttrack, World world, int i, int j, int k)
 {
     minecartTrack   = blockminecarttrack;
     connectedTracks = new ArrayList();
     worldObj        = world;
     trackX          = i;
     trackY          = j;
     trackZ          = k;
     trackMetadata   = world.getBlockMetadata(i, j, k);
     calculateConnectedTracks();
 }