Class MinimumSizeValidator

java.lang.Object
org.cyclops.cyclopscore.block.multi.MinimumSizeValidator
All Implemented Interfaces:
ISizeValidator

public class MinimumSizeValidator extends Object implements ISizeValidator
A minimum size validator.
  • Constructor Details

    • MinimumSizeValidator

      public MinimumSizeValidator()
  • Method Details

    • isSizeValid

      public net.minecraft.network.chat.Component isSizeValid(net.minecraft.core.Vec3i size)
      Description copied from interface: ISizeValidator
      Check if the given size is valid.
      Specified by:
      isSizeValid in interface ISizeValidator
      Parameters:
      size - The size to check.
      Returns:
      Null if the size is valid, otherwise the error message.