Class ExactSizeValidator
java.lang.Object
org.cyclops.cyclopscore.block.multi.ExactSizeValidator
- All Implemented Interfaces:
ISizeValidator
An exact size validator.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.network.chat.Component
isSizeValid
(net.minecraft.core.Vec3i size) Check if the given size is valid.
-
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 interfaceISizeValidator
- Parameters:
size
- The size to check.- Returns:
- Null if the size is valid, otherwise the error message.
-