Class ExactSizeValidator

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

public class ExactSizeValidator extends Object implements ISizeValidator
An exact size validator.
  • Constructor Details

    • ExactSizeValidator

      public ExactSizeValidator()
  • 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.