Package net.minecraft.loot.operator
Class BoundedIntUnaryOperator
java.lang.Object
net.minecraft.loot.operator.BoundedIntUnaryOperator
- All Implemented Interfaces:
IntUnaryOperator
public class BoundedIntUnaryOperator extends Object implements IntUnaryOperator
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBoundedIntUnaryOperator.Serializer -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateBoundedIntUnaryOperator(Integer min, Integer max) -
Method Summary
Modifier and Type Method Description intapplyAsInt(int value)static BoundedIntUnaryOperatorcreate(int min, int max)static BoundedIntUnaryOperatorcreateMax(int max)static BoundedIntUnaryOperatorcreateMin(int min)
-
Field Details
-
Constructor Details
-
Method Details
-
create
-
createMin
-
createMax
-
applyAsInt
public int applyAsInt(int value)- Specified by:
applyAsIntin interfaceIntUnaryOperator
-