Sensor Signs #3


  • Accepted
  • Enhancment
Open
Assigned to _ForgeUser7446185
  • _ForgeUser7241754 created this issue Sep 16, 2011

    I think there should be sensor signs too.
    Such as a day sensor:
    [LogicSign]
    DAY

    Turns on during day,  (Implemented in my Fork!) (!DAY for night. :))
    long time=sign.getWorld().getTime();
    variableMappings.put("DAY",(time>0 && time <12000));
    This code has been tested to work, Ive also submitted a pull request for it. (I will be exploring the options for the other sensors later)

    And possibly proximity sensors?
    [SensorSign]
    proximity
    player    (Player or mob)
    5  (Distance to check)

    [SensorSign]
    proximity
    mob
    5

  • _ForgeUser7241754 added the tags New Enhancment Sep 16, 2011
  • _ForgeUser7241754 edited description Sep 16, 2011
  • _ForgeUser7241754 edited description Sep 16, 2011
  • _ForgeUser7241754 edited description Sep 17, 2011
  • _ForgeUser7446185 removed a tag New Sep 17, 2011
  • _ForgeUser7446185 added a tag Accepted Sep 17, 2011

To post a comment, please login or register a new account.