Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-123008

Random ticks on pressure plates

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.12.2
    • Fix Version/s: Minecraft 1.13
    • Labels:
      None
    • Confirmation Status:
      Unconfirmed

      Description

      In BlockBasePressurePlate.java this piece of unneeded code can be found:

      /**
        * Called randomly when setTickRandomly is set to true (used by e.g. crops to grow, etc.)
        */
      public void randomTick(World worldIn, BlockPos pos, IBlockState state, Random random)
      {
      }
      

      Pressure plates don't have any random behavior nor should they.

        Attachments

          Activity

            People

            • Assignee:
              grum [Mojang] Grum (Erik Broes)
              Reporter:
              enemysfriend22 enemysfriend22
            • Votes:
              3 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: