Interface OrganicSpread.IOrganicSpreadable

All Known Implementing Classes:
BiomeDegradation
Enclosing class:
OrganicSpread

public static interface OrganicSpread.IOrganicSpreadable
Interface for organically spreadable things.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isDone(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos location)
    Check if a certain location is already spread to.
    void
    spreadTo(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos location)
    Spread to a given location.
  • Method Details

    • isDone

      boolean isDone(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos location)
      Check if a certain location is already spread to.
      Parameters:
      world - The world.
      location - The location.
      Returns:
      If it is spread to.
    • spreadTo

      void spreadTo(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos location)
      Spread to a given location.
      Parameters:
      world - The world.
      location - The location.