Lasers [Mechanics | Redstone] 2.1.1-SNAPSHOT

Functional Laser redstone devices! Multiple colors & Mirrors

  1. inventivetalent
    Tested Minecraft Versions:
    • 1.12
    • 1.13
    Source Code:
    https://github.com/InventivetalentDev/Lasers
    This plugin adds fully functional, craftable Lasers!

    [​IMG]




    If you are in Minecraft 1.8 or lower, please use version 1.1.1.
    If you are using Minecraft 1.9, please use version 1.2.2.







    Crafting Recipes

    Laser Crystal
    [​IMG]

    (Required to craft Emitter & Receiver)

    Laser Emitter
    [​IMG]

    Laser Receiver
    [​IMG]


    Mirror Rotator
    [​IMG]


    Blocks

    Emitter

    The Laser Emitter will create Laser beams if you provide redstone power
    [​IMG]

    Receiver
    The Laser Receiver will provide power to an comparator if a Laser beam hits its face
    [​IMG]
    Depending on your configuration, the signal strength is either based on the distance to the last redirect or on the laser beam's color.

    Lenses
    Lenses (Stained glass) will change the color of the Laser beam
    [​IMG]

    Mirrors
    Mirrors (Banners) will redirect Laser beams, depending on the laser's angle. They will also influence the color of the beam
    [​IMG]


    Mirror Rotators
    The mirror rotators can rotate mirrors depending on redstone input.
    [​IMG]



    This is split in two parts, depending on your configuration

    Strength mode

    This is the easiest mode.
    The mirror rotates depending on the signal strength.




    Side mode

    This one is a bit more complicated.
    The rotation depends on the signal strength provided from all 4 sides of the rotator.

    • If power is provided on one side only, it rotates towards in input side.
    • If the signal strength provided from two sides is the same, it rotates by 45° between both sides
    • If the provided signal strength differs, it rotates towards the side with the higher signal strength


    [​IMG]


    [​IMG]
    [​IMG]




    Additional notes:
    • The default length of laser beams is 16 blocks if it is not redirected by mirrors
    • Emitters & Receivers can be placed in all directions
    • The provided power of receivers depends on the length of a Laser beam
    • details on the mirror rotation can be found in the spoiler above

    [​IMG]


    Tutorials


    (German)


    Commands
    /lasers item <CRYSTAL|EMITTER|RECEIVER> - Gives you the specified item

    Config
    Code (YAML):

    laser
    :
     #Interval of the laser particles
      interval
    : 2
      #Maximum length of laser beams
      length
    : 16
      #Frequency of the laser particles
      frequency
    : 0.25
      damage
    :
       #If lasers damage entities
        enabled
    : true
        #Damage amount
        amount
    : 0.25
        #If entities are set on fire
        fire
    : true
        #Death message
        message
    : '%player% tried to stand in front of a laser'
    color
    :
     #If mirrors change the laser's color
      mirror
    : true
      #If glass changes the laser's color
      glass
    :
        block
    : true
        pane
    : true
      #If the colors are mixed. If disabled, the color will be replaced
      mix
    : true
    mirrors
    :
     #If mirrors are reflective on both sides
      double
    : false
      rotator
    :
       #Mode of the Mirror Rotator
        #Available modes:
        #'side' - The rotation depends on the side the power is provided from
        #'strength' - The rotation depends on the signal strength
        mode
    : 'side'
    blocked
    :
     #If lasers are blocked by non-transparent blocks
      blocks
    : true
       #If lasers are blocked by living entities
      entities
    : true
    receiver
    :
      signal
    :
       #Receiver signal mode
        #Available modes:
        #'distance' - signal strength changes based on the distance to the last redirect (e.g. a Mirror)
        #'color' - signal strength changes based on the laser color (black = 0; red = 1; ...; orange = 14; white = 15)
        mode
    : 'distance'
        #Tolerance for the color mode (How accurate the color detection is)
        tolerance
    : 25
     


    Links



    Please leave a rating if you like this resource.
    Donations to support me or this resource are also very much appreciated.
    Remen, BedOo08, DevCubeHD and 13 others like this.

Recent Updates

  1. fix
  2. 1.13 support
  3. 1.12 support!

Recent Reviews

  1. DWBoyGamer
    DWBoyGamer
    5/5,
    Version: 2.0.0-SNAPSHOT
    Great plugin! I have small suggestion: If player would have Portal Gun plugin installed, laser could go thru portals. Is it possible to make this?
  2. BedOo08
    BedOo08
    5/5,
    Version: 1.2.2
    This plugin is awasome!But Particles not seeing to 1.12 pls update 1.12 :)))))))
  3. Mine-Hacker
    Mine-Hacker
    5/5,
    Version: 1.2.2
    This plugin is great! It adds a new form of Redstone which is my FAVOURITE type of plugin! I like plugins that add new stuff! :D
  4. Ethon6
    Ethon6
    5/5,
    Version: 1.2.2
    Plz update to 1.11.2 :) :)
  5. KnikNikTV
    KnikNikTV
    2/5,
    Version: 1.2.2
    Please help, when I restart the server the laser is disappeared. In the Emitter are 64x Cobweb. The server is 1.8 with Java 8. I have PartivleLIB.
    Please help.
  6. Coolkc456
    Coolkc456
    1/5,
    Version: 1.2.2
    When I try to give myself an laser item it tells me: An internal error occurred while attempting to perform this command.
    I also get this error in the console: Caused by: java.lang.IllegalArgumentException: Item cannot be null
    Using 1.11.2
  7. MonkeyMatt
    MonkeyMatt
    5/5,
    Version: 1.2.2
    nice :p .
  8. HERB_YELIAB
    HERB_YELIAB
    5/5,
    Version: 1.2.2
    Awesomely cool plugin! I'll be testing this bad boy out on a larger factions server with ~200 players daily, hope it doesn't slaughter the fps! xD
  9. Tlsslurp
    Tlsslurp
    3/5,
    Version: 1.1.1
    Amazing, works perfectly, does what it says. Although I would not recommend this for small servers within 10 min of installing this plugin people were using them to make walls around their bases and the server's tps was dropping to 8 TPS. And, my server is pretty beefy as it has 4Gbs of ram allocated and a quad core 3.4Ghz intel xeon. It isn't even shared hosting. Other then having speed issues it is amazing, sadly I have to remove it.
  10. WillCraftero
    WillCraftero
    5/5,
    Version: 1.1.1
    Thanks This Plugin Is good I hope more updates
    with novelty. Try to improve the bugs and add more options