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

Random ticks on pressure plates

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 1.12.2
    • Minecraft 1.13
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: