net.minecraft.block

## Class RailLogic

- java.lang.Object
- - net.minecraft.block.RailLogic

-     public class RailLogic
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RailLogic(BlockRail par1BlockRail, World par2World, int par3, int par4, int par5)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static int` | `getAdjacentTrackCount(RailLogic par0RailLogic)` Get the number of adjacent tracks.
    `void` | `refreshTrackShape(boolean par1, boolean par2)` Completely recalculates the track shape based on neighboring tracks and power state

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RailLogic

          public RailLogic(BlockRail par1BlockRail,
                   World par2World,
                   int par3,
                   int par4,
                   int par5)

  - ### Method Detail

    - #### refreshTrackShape

          public void refreshTrackShape(boolean par1,
                               boolean par2)

      Completely recalculates the track shape based on neighboring tracks and power state

    - #### getAdjacentTrackCount

          public static int getAdjacentTrackCount(RailLogic par0RailLogic)

      Get the number of adjacent tracks.