Interface ISizeValidator

All Known Implementing Classes:
CubeSizeValidator, ExactSizeValidator, MaximumSizeValidator, MinimumSizeValidator

public interface ISizeValidator
Validator for multiblock structure sizes
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.network.chat.Component
    isSizeValid(net.minecraft.core.Vec3i size)
    Check if the given size is valid.
  • Method Details

    • isSizeValid

      net.minecraft.network.chat.Component isSizeValid(net.minecraft.core.Vec3i size)
      Check if the given size is valid.
      Parameters:
      size - The size to check.
      Returns:
      Null if the size is valid, otherwise the error message.