Class ExtendedRails

    • Constructor Detail

      • ExtendedRails

        public ExtendedRails​(Material type)
        Deprecated.
      • ExtendedRails

        @Deprecated
        public ExtendedRails​(Material type,
                             byte data)
        Deprecated.
        Magic value
        Parameters:
        type - the type
        data - the raw data value
    • Method Detail

      • isCurve

        public boolean isCurve()
        Deprecated.
        Overrides:
        isCurve in class Rails
        Returns:
        the whether this track is set as a curve
      • setDirection

        public void setDirection​(BlockFace face,
                                 boolean isOnSlope)
        Deprecated.
        Description copied from class: Rails
        Set the direction of these tracks

        Note that tracks are bidirectional and that the direction returned is the ascending direction if the track is set on a slope. If it is set as a curve, the corner of the track should be supplied.

        Overrides:
        setDirection in class Rails
        Parameters:
        face - the direction the track should be facing
        isOnSlope - whether or not the track should be on a slope