Class Operators
java.lang.Object
org.cyclops.integrateddynamics.core.evaluate.operator.Operators
Collection of available operators.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final IOperator
Arithmetic ADD operator with two input numbers and one output number.static final IOperator
Arithmetic DECREMENT operator with one input numbers and one output number.static final IOperator
Arithmetic DIVIDE operator with two input numbers and one output number.static final IOperator
Arithmetic INCREMENT operator with one input numbers and one output number.static final IOperator
Arithmetic MAX operator with two input numbers and one output number.static final IOperator
Arithmetic MIN operator with two input numbers and one output number.static final IOperator
Arithmetic MODULO operator with two input numbers and one output number.static final IOperator
Arithmetic MULTIPLY operator with two input numbers and one output number.static final IOperator
Arithmetic MINUS operator with two input numbers and one output number.static final IOperator
Binary AND operator with two input integers and one output integers.static final IOperator
Binary COMPLEMENT operator with one input integers and one output integers.static final IOperator
Binary << operator with two input integers and one output integers.static final IOperator
Binary OR operator with two input integers and one output integers.static final IOperator
Binary >> operator with two input integers and one output integers.static final IOperator
Binary >>> operator with two input integers and one output integers.static final IOperator
Binary XOR operator with two input integers and one output integers.static final GeneralOperator
Choice operator with one boolean input, two any inputs and one output any.static final GeneralOperator
Constant operator with two any inputs and one any outputstatic final GeneralOperator
Identity operator with one any input and one any outputstatic final IOperator
The list of fluidsstatic final IOperator
The list of fluidsstatic final IOperator
The list of items.static final IOperator
Set the list of energiesstatic final IOperator
Set an ingredient energystatic final IOperator
Set an ingredient fluidstatic final IOperator
Set the list of fluidsstatic final IOperator
Set an ingredient itemstatic final IOperator
Set the list of itemsstatic final IOperator
Deprecated.static final IOperator
Deprecated.byARITHMETIC_INCREMENT
- TODO remove in next major updatestatic final IOperator
Deprecated.byARITHMETIC_MODULUS
- TODO remove in next major updatestatic final IOperator
Append an element to the given liststatic final IOperator
Concatenate two listsstatic final IOperator
List contains operator that takes a list, a list element to look for and returns a boolean.static final IOperator
List contains operator that takes a list, a predicate that maps a list element to a boolean, a list element and returns a boolean.static final IOperator
List operator with one input list, and element and one output integerstatic final IOperator
List operator with one input list, a predicate and one output integerstatic final IOperator
List operator with one input list and one output integerstatic final IOperator
List operator with one input list, one output integer, and one default valuestatic final IOperator
Check if a list is emptystatic final IOperator
Get the first element of the given list.static final IOperator
static final IOperator
Build a list lazily using a start value and an operator that is applied to the previous element to get a next element.static final IOperator
List operator with one input list and one output integerstatic final IOperator
Check if a list is not emptystatic final IOperator
Take a subset of the given list from the given index (inclusive) to the given index (exclusive).static final IOperator
Append an element to the given list.static final IOperator
Deduplicate the given list elements.static final IOperator
Deduplicate the given list elements based on the given predicate.static final IOperator
Short-circuit logical AND operator with two input booleans and one output boolean.static final IOperator
Short-circuit logical NAND operator with two input booleans and one output boolean.static final IOperator
Short-circuit logical NAND operator with two input booleans and one output boolean.static final IOperator
Logical NOT operator with one input booleans and one output boolean.static final IOperator
Short-circuit logical AND operator with two input booleans and one output boolean.static final IOperator
Get a name value type name.static final IOperator
The boolean value of an NBT valuestatic final IOperator
The byte value of an NBT valuestatic final IOperator
The byte list value of an NBT valuestatic final IOperator
The double value of an NBT valuestatic final IOperator
The float value of an NBT valuestatic final IOperator
The int value of an NBT valuestatic final IOperator
The int list value of an NBT valuestatic final IOperator
The long value of an NBT valuestatic final IOperator
The long list value of an NBT valuestatic final IOperator
The short value of an NBT valuestatic final IOperator
The string value of an NBT valuestatic final IOperator
The tag list value of an NBT valuestatic final IOperator
If an NBT tag has the given keystatic final IOperator
The intersection of the given NBT compound tags.static final IOperator
The list of keys in an NBT tagstatic final IOperator
The difference of the given NBT compound tags.static final IOperator
The number of entries in an NBT tagstatic final IOperator
Check if the first NBT compound tag is a subset of the second NBT compound tag.static final IOperator
The union of the given NBT compound tags.static final IOperator
The NBT boolean valuestatic final IOperator
The NBT compound valuestatic final IOperator
The NBT double valuestatic final IOperator
The NBT integer valuestatic final IOperator
The NBT boolean list valuestatic final IOperator
The NBT int list valuestatic final IOperator
The NBT long list valuestatic final IOperator
The NBT tag list valuestatic final IOperator
The NBT long valuestatic final IOperator
The NBT string valuestatic final IOperator
The NBT tag valuestatic final IOperator
The NBT value type of an entrystatic final IOperator
Set an NBT compound boolean valuestatic final IOperator
Set an NBT compound compound valuestatic final IOperator
Set an NBT compound double valuestatic final IOperator
Set an NBT compound float valuestatic final IOperator
Set an NBT compound integer valuestatic final IOperator
Set an NBT compound byte list valuestatic final IOperator
Set an NBT compound int list valuestatic final IOperator
Set an NBT compound long list valuestatic final IOperator
Set an NBT compound tag list valuestatic final IOperator
Set an NBT compound long valuestatic final IOperator
Set an NBT compound short valuestatic final IOperator
Set an NBT compound string valuestatic final IOperator
Remove an entry from an NBT compoundstatic final IOperator
The NBT value of a boolean valuestatic final IOperator
The NBT value of a byte valuestatic final IOperator
The NBT value of a byte list valuestatic final IOperator
The NBT value of a double valuestatic final IOperator
The NBT value of a float valuestatic final IOperator
The NBT value of an int valuestatic final IOperator
The NBT value of a int list valuestatic final IOperator
The NBT value of a long valuestatic final IOperator
The NBT value of a long list valuestatic final IOperator
The NBT value of a short valuestatic final IOperator
The NBT value of a string valuestatic final IOperator
The NBT value of a tag list valuestatic final IOperator
Apply the given NBT path expression on the given NBT value and get all results.static final IOperator
Apply the given NBT path expression on the given NBT value and get the first result.static final IOperator
Test the given NBT path expression on the given NBT value.static final IOperator
Check if something is not nullstatic final IOperator
Check if something is nullstatic final IOperator
Number ceil operator with one input double and one output integers.static final IOperator
Accepts a number, and returns a string roughly representing that numberstatic final IOperator
Number floor operator with one input double and one output integers.static final IOperator
Number round operator with one input double and one output integers.static final IOperator
The breaksound of the blockstatic final IOperator
Get a block by name.static final IOperator
If the block is plantablestatic final IOperator
If the block is shearablestatic final IOperator
The itemstack representation of the blockstatic final IOperator
The name of the mod owning this blockstatic final IOperator
Block isOpaque operator with one input block and one output boolean.static final IOperator
The placesound of the blockstatic final IOperator
The block when this block is plantedstatic final IOperator
The block when this block is plantedstatic final IOperator
The block plant typestatic final IOperator
Get all possible block properties as NBT compound tag with list values.static final IOperator
Get the block properties as NBT compound tag.static final IOperator
The stepsound of the blockstatic final IOperator
Get the given block applied with the given properties.static final IOperator
The age of this entity.static final IOperator
The list of armor itemstacks from an entitystatic final IOperator
If the entity can be bred.static final IOperator
If the entity can be bred with the given item.static final IOperator
The deathsound of this entity.static final IOperator
The entity energy stored.static final IOperator
The entity energy stored.static final IOperator
The entity fluids.static final IOperator
The entity healthstatic final IOperator
The entity widthstatic final IOperator
The item the given entity is currently holding in its main hand.static final IOperator
The item the given entity is currently holding in its off hand.static final IOperator
The hurtsound of this entity.static final IOperator
The list of itemstacks from an entitystatic final IOperator
If the entity is an animalstatic final IOperator
If the entity is burningstatic final IOperator
If the entity is a child.static final IOperator
If the entity is crouchingstatic final IOperator
If the entity is eatingstatic final IOperator
If the entity is in love.static final IOperator
If the entity is an itemstatic final IOperator
If the entity is a minecartstatic final IOperator
If the entity is a mobstatic final IOperator
If the entity is a playerstatic final IOperator
If the entity is shearable.static final IOperator
If the entity is wetstatic final IOperator
The entity items.static final IOperator
The itemstack from the entitystatic final IOperator
The name of the mod owning this entitystatic final IOperator
The entity's mounted entitystatic final IOperator
The entity serialized to NBT.static final IOperator
The entity type.static final IOperator
The entity widthstatic final IOperator
The amount of fluid in the fluidstackstatic final IOperator
The block from the fluidstackstatic final IOperator
The bucket of the fluidstackstatic final IOperator
The fluidstack densitystatic final IOperator
If the fluidstack is gaseousstatic final IOperator
If the fluid types of the two given fluidstacks are equalstatic final IOperator
The fluidstack luminositystatic final IOperator
The name of the mod owning this fluidstatic final IOperator
The tag of the given fluidstack.static final IOperator
The rarity of the fluidstackstatic final IOperator
The bucket empty sound of the fluidstackstatic final IOperator
The bucket fill sound of the fluidstackstatic final IOperator
The fluid vaporize sound of the fluidstackstatic final IOperator
The fluidstack temperaturestatic final IOperator
The fluidstack viscositystatic final IOperator
Create a new fluidstack with the given amount.static final IOperator
The item frame's contentsstatic final IOperator
The item frame's rotationstatic final IOperator
The block from the stackstatic final IOperator
Get an item by name.static final IOperator
If the given itemstack can be used to harvest the given block.static final IOperator
If the given item can be used as fuelstatic final IOperator
Item Stack damage operator with one input itemstack and one output integer.static final IOperator
Get the energy capacitystatic final IOperator
The fluidstack from the stackstatic final IOperator
The capacity of the fluidstack from the stack.static final IOperator
The fuel burn time of the given itemstatic final IOperator
If the given item has an inventory.static final IOperator
Item Stack has_nbt operator with one input itemstack and one output boolean.static final IOperator
Retrieve the inventory of the given item handler contents.static final IOperator
Retrieve the inventory size of the given item handler contents.static final IOperator
Item Stack isdamageable operator with one input itemstack and one output boolean.static final IOperator
Item Stack isenchantable operator with one input itemstack and one output boolean.static final IOperator
Item Stack isenchanted operator with one input itemstack and one output boolean.static final IOperator
Check if the item is an RF container itemstatic final IOperator
If the given stack has a fluid.static final IOperator
If the raw items of the given stacks are equal, ignoring NBT but including damage value.static final IOperator
If the NBT tags of the given stacks are equal.static final IOperator
If the item is plantablestatic final IOperator
If the raw items of the given stacks are equal, ignoring NBT and damage value.static final IOperator
Item Stack isstackable operator with one input itemstack and one output boolean.static final IOperator
Get the total item count of the given item in a list.static final IOperator
Item Stack maxdamage operator with one input itemstack and one output integer.static final IOperator
Item Stack maxsize operator with one input itemstack and one output integer.static final IOperator
The name of the mod owning this itemstatic final IOperator
Item Stack size operator with one input itemstack and one output NBT tag.static final IOperator
The item when this item is plantedstatic final IOperator
The item plant typestatic final IOperator
Get the rarity of an itemstack.static final IOperator
Item Stack repair cost with one input itemstack and one output integer.static final IOperator
Item Stack size operator with one input itemstack and one output integer.static final IOperator
Get the storage energystatic final IOperator
Get the strength of an itemstack against a block as a double.static final IOperator
The tag entries of the given itemstatic final IOperator
Get a list of items that correspond to the given tag key.static final IOperator
ItemStack operator that applies the given stacksize to the given itemstack and creates a new ItemStack.static final IOperator
If the given player has an external gui open.static final IOperator
The block the given player is currently looking at.static final IOperator
The entity the given player is currently looking at.static final IOperator
Apply for a given operator a given value.static final IOperator
Apply for a given operator with zero arguments.static final IOperator
Apply for a given operator the given 2 values.static final IOperator
Apply for a given operator the given 3 values.static final IOperator
Apply for a given operator the given list of values.static final IOperator
Apply for a given operator a given value.static final IOperator
Takes the conjunction of two predicates.static final IOperator
Takes the disjunction of two predicates.static final IOperator
Filter a list of elements by matching them all with the given predicate.static final IOperator
Flip the input parameters of an operator with two inputs.static final IOperator
Apply the given operator on all elements of a list, resulting in a new list of mapped values.static final IOperator
Takes the negation of a predicate.static final IOperator
Create a new operator that pipes the output from the first operator to the second operator.static final IOperator
Create a new operator that gives its input to the first and second operators, and pipes the outputs from both of them to the third operator.static final IOperator
Apply the given operator on all elements of a list to reduce the list to one value.static final IOperator
Apply the given operator on all elements of a list to reduce the list to one value.static final IOperator
Boolean Parse operator which takes a string of form `/(F(alse)?|[+-]?(0x|#)?0+|)/i`.static final IOperator
Double Parse operator which takes a string of a form Double.parseDouble(), `/([+-]?)(Inf(inity)?|∞)/i`, or Long.decode() can consume.static final IOperator
Integer Parse operator which takes a string of a form Integer.decode() can consume.static final IOperator
Long Parse operator which takes a string of a form Long.decode() can consume.static final IOperator
NBT Parse operator which takes a string of a form ValueTypeNbt().deserialize() can consume.static final IOperator
The input ingredients of a recipestatic final IOperator
The output ingredients of a recipestatic final IOperator
Set the input ingredients of a recipestatic final IOperator
Create a recipe from two the given I/O ingredientsstatic final IOperator
Set the output ingredients of a recipestatic final IOperatorRegistry
static final IOperator
Relational == operator with two inputs of any type (but equal) and one output boolean.static final IOperator
Relational >= operator with two inputs of any type (but equal) and one output boolean.static final IOperator
Relational > operator with two input integers and one output boolean.static final IOperator
Relational <= operator with two inputs of any type (but equal) and one output boolean.static final IOperator
Relational > operator with two input integers and one output boolean.static final IOperator
Relational != operator with two inputs of any type (but equal) and one output boolean.static final IOperator
String concat operator with two input strings and one output string.static final IOperator
String contains operator which checks whether a given (literal) string is contained in the given string.static final IOperator
String match operator which checks whether a given regular expression is contained within a string.static final IOperator
String match operator which checks whether a given string matches the end of the given string.static final IOperator
Throw a custom errorstatic final IOperator
String operator which returns the integral index of the first position where the search string appears in the given string.static final IOperator
String operator which returns the integral index where the a substring matching the regular expression appears in the given string.static final IOperator
String operator to join a list using a string delimiterstatic final IOperator
String length operator with one input string and one output integer.static final IOperator
String match operator which checks whether a given regular expression matches a string.static final IOperator
String operator which matches against a regex and takes the group at the index of the integer given (including zero), in the input string.static final IOperator
String operator which matches against a regex the input string and returns a list containing all groups matched (including zero).static final IOperator
String operator which finds all matches of the regular expression in the given string and returns the given group for each match.static final IOperator
String operator which, finds all the matches of the (literal) search and replaces them with the given replacement, in the input string.static final IOperator
String operator which, finds all the matches of the regular expression pattern and replaces them with the given replacement, in the input string.static final IOperator
String operator which splits on the given (literal) delimiter the input string .static final IOperator
String operator which splits on the given (regular expression) delimiter the input string.static final IOperator
String match operator which checks whether a given string matches the beginning of the given string.static final IOperator
String operator which takes the substring of the given string between the two integer indices.static final IOperator
Get a unique name value type name. -
Constructor Summary
-
Method Summary
-
Field Details
-
REGISTRY
-
LOGICAL_AND
Short-circuit logical AND operator with two input booleans and one output boolean. -
LOGICAL_OR
Short-circuit logical AND operator with two input booleans and one output boolean. -
LOGICAL_NOT
Logical NOT operator with one input booleans and one output boolean. -
LOGICAL_NAND
Short-circuit logical NAND operator with two input booleans and one output boolean. -
LOGICAL_NOR
Short-circuit logical NAND operator with two input booleans and one output boolean. -
ARITHMETIC_ADDITION
Arithmetic ADD operator with two input numbers and one output number. -
ARITHMETIC_SUBTRACTION
Arithmetic MINUS operator with two input numbers and one output number. -
ARITHMETIC_MULTIPLICATION
Arithmetic MULTIPLY operator with two input numbers and one output number. -
ARITHMETIC_DIVISION
Arithmetic DIVIDE operator with two input numbers and one output number. -
ARITHMETIC_MAXIMUM
Arithmetic MAX operator with two input numbers and one output number. -
ARITHMETIC_MINIMUM
Arithmetic MIN operator with two input numbers and one output number. -
ARITHMETIC_INCREMENT
Arithmetic INCREMENT operator with one input numbers and one output number. -
ARITHMETIC_DECREMENT
Arithmetic DECREMENT operator with one input numbers and one output number. -
ARITHMETIC_MODULUS
Arithmetic MODULO operator with two input numbers and one output number. -
INTEGER_MODULUS
Deprecated.byARITHMETIC_MODULUS
- TODO remove in next major updateInteger MODULO operator with two input integers and one output integer. -
INTEGER_INCREMENT
Deprecated.byARITHMETIC_INCREMENT
- TODO remove in next major updateInteger INCREMENT operator with one input integer and one output integer. -
INTEGER_DECREMENT
Deprecated.byARITHMETIC_DECREMENT
- TODO remove in next major updateInteger DECREMENT operator with one input integer and one output integer. -
RELATIONAL_EQUALS
Relational == operator with two inputs of any type (but equal) and one output boolean. -
RELATIONAL_GT
Relational > operator with two input integers and one output boolean. -
RELATIONAL_LT
Relational > operator with two input integers and one output boolean. -
RELATIONAL_NOTEQUALS
Relational != operator with two inputs of any type (but equal) and one output boolean. -
RELATIONAL_GE
Relational >= operator with two inputs of any type (but equal) and one output boolean. -
RELATIONAL_LE
Relational <= operator with two inputs of any type (but equal) and one output boolean. -
BINARY_AND
Binary AND operator with two input integers and one output integers. -
BINARY_OR
Binary OR operator with two input integers and one output integers. -
BINARY_XOR
Binary XOR operator with two input integers and one output integers. -
BINARY_COMPLEMENT
Binary COMPLEMENT operator with one input integers and one output integers. -
BINARY_LSHIFT
Binary << operator with two input integers and one output integers. -
BINARY_RSHIFT
Binary >> operator with two input integers and one output integers. -
BINARY_RZSHIFT
Binary >>> operator with two input integers and one output integers. -
STRING_LENGTH
String length operator with one input string and one output integer. -
STRING_CONCAT
String concat operator with two input strings and one output string. -
STRING_CONTAINS
String contains operator which checks whether a given (literal) string is contained in the given string. -
STRING_CONTAINS_REGEX
String match operator which checks whether a given regular expression is contained within a string. -
STRING_MATCHES_REGEX
String match operator which checks whether a given regular expression matches a string. -
STRING_INDEX_OF
String operator which returns the integral index of the first position where the search string appears in the given string. -
STRING_INDEX_OF_REGEX
String operator which returns the integral index where the a substring matching the regular expression appears in the given string. -
STRING_STARTS_WITH
String match operator which checks whether a given string matches the beginning of the given string. -
STRING_ENDS_WITH
String match operator which checks whether a given string matches the end of the given string. -
STRING_SPLIT_ON
String operator which splits on the given (literal) delimiter the input string . -
STRING_SPLIT_ON_REGEX
String operator which splits on the given (regular expression) delimiter the input string. -
STRING_SUBSTRING
String operator which takes the substring of the given string between the two integer indices. -
STRING_REGEX_GROUP
String operator which matches against a regex and takes the group at the index of the integer given (including zero), in the input string. It is invalid for the pattern to not match. -
STRING_REGEX_GROUPS
String operator which matches against a regex the input string and returns a list containing all groups matched (including zero). An empty list is returned if the regex does not match. -
STRING_REGEX_SCAN
String operator which finds all matches of the regular expression in the given string and returns the given group for each match. -
STRING_REPLACE
String operator which, finds all the matches of the (literal) search and replaces them with the given replacement, in the input string. -
STRING_REPLACE_REGEX
String operator which, finds all the matches of the regular expression pattern and replaces them with the given replacement, in the input string. -
STRING_JOIN
String operator to join a list using a string delimiter -
NAMED_NAME
Get a name value type name. -
UNIQUELYNAMED_UNIQUENAME
Get a unique name value type name. -
STRING_ERROR
Throw a custom error -
NUMBER_ROUND
Number round operator with one input double and one output integers. -
NUMBER_CEIL
Number ceil operator with one input double and one output integers. -
NUMBER_FLOOR
Number floor operator with one input double and one output integers. -
NUMBER_COMPACT
Accepts a number, and returns a string roughly representing that number -
NULLABLE_ISNULL
Check if something is null -
NULLABLE_ISNOTNULL
Check if something is not null -
LIST_LENGTH
List operator with one input list and one output integer -
LIST_EMPTY
Check if a list is empty -
LIST_NOT_EMPTY
Check if a list is not empty -
LIST_ELEMENT
List operator with one input list and one output integer -
LIST_ELEMENT_DEFAULT
List operator with one input list, one output integer, and one default value -
LIST_CONTAINS
List contains operator that takes a list, a list element to look for and returns a boolean. -
LIST_CONTAINS_PREDICATE
List contains operator that takes a list, a predicate that maps a list element to a boolean, a list element and returns a boolean. -
LIST_COUNT
List operator with one input list, and element and one output integer -
LIST_COUNT_PREDICATE
List operator with one input list, a predicate and one output integer -
LIST_APPEND
Append an element to the given list -
LIST_CONCAT
Concatenate two lists -
LIST_LAZYBUILT
Build a list lazily using a start value and an operator that is applied to the previous element to get a next element. -
LIST_HEAD
Get the first element of the given list. -
LIST_TAIL
Append an element to the given list. -
LIST_UNIQ_PREDICATE
Deduplicate the given list elements based on the given predicate. -
LIST_UNIQ
Deduplicate the given list elements. -
LIST_SLICE
Take a subset of the given list from the given index (inclusive) to the given index (exclusive). -
LIST_INTERSECTION
-
OBJECT_BLOCK_OPAQUE
Block isOpaque operator with one input block and one output boolean. -
OBJECT_BLOCK_ITEMSTACK
The itemstack representation of the block -
OBJECT_BLOCK_MODNAME
The name of the mod owning this block -
OBJECT_BLOCK_BREAKSOUND
The breaksound of the block -
OBJECT_BLOCK_PLACESOUND
The placesound of the block -
OBJECT_BLOCK_STEPSOUND
The stepsound of the block -
OBJECT_BLOCK_ISSHEARABLE
If the block is shearable -
OBJECT_BLOCK_ISPLANTABLE
If the block is plantable -
OBJECT_BLOCK_PLANTTYPE
The block plant type -
OBJECT_BLOCK_PLANT
The block when this block is planted -
OBJECT_BLOCK_PLANTAGE
The block when this block is planted -
OBJECT_BLOCK_BY_NAME
Get a block by name. -
OBJECT_BLOCK_PROPERTIES
Get the block properties as NBT compound tag. -
OBJECT_BLOCK_WITH_PROPERTIES
Get the given block applied with the given properties. -
OBJECT_BLOCK_POSSIBLE_PROPERTIES
Get all possible block properties as NBT compound tag with list values. -
OBJECT_ITEMSTACK_SIZE
Item Stack size operator with one input itemstack and one output integer. -
OBJECT_ITEMSTACK_MAXSIZE
Item Stack maxsize operator with one input itemstack and one output integer. -
OBJECT_ITEMSTACK_ISSTACKABLE
Item Stack isstackable operator with one input itemstack and one output boolean. -
OBJECT_ITEMSTACK_ISDAMAGEABLE
Item Stack isdamageable operator with one input itemstack and one output boolean. -
OBJECT_ITEMSTACK_DAMAGE
Item Stack damage operator with one input itemstack and one output integer. -
OBJECT_ITEMSTACK_MAXDAMAGE
Item Stack maxdamage operator with one input itemstack and one output integer. -
OBJECT_ITEMSTACK_ISENCHANTED
Item Stack isenchanted operator with one input itemstack and one output boolean. -
OBJECT_ITEMSTACK_ISENCHANTABLE
Item Stack isenchantable operator with one input itemstack and one output boolean. -
OBJECT_ITEMSTACK_REPAIRCOST
Item Stack repair cost with one input itemstack and one output integer. -
OBJECT_ITEMSTACK_RARITY
Get the rarity of an itemstack. -
OBJECT_ITEMSTACK_STRENGTH_VS_BLOCK
Get the strength of an itemstack against a block as a double. -
OBJECT_ITEMSTACK_CAN_HARVEST_BLOCK
If the given itemstack can be used to harvest the given block. -
OBJECT_ITEMSTACK_BLOCK
The block from the stack -
OBJECT_ITEMSTACK_ISFLUIDSTACK
If the given stack has a fluid. -
OBJECT_ITEMSTACK_FLUIDSTACK
The fluidstack from the stack -
OBJECT_ITEMSTACK_FLUIDSTACKCAPACITY
The capacity of the fluidstack from the stack. -
OBJECT_ITEMSTACK_ISNBTEQUAL
If the NBT tags of the given stacks are equal. -
OBJECT_ITEMSTACK_ISITEMEQUALNONBT
If the raw items of the given stacks are equal, ignoring NBT but including damage value. -
OBJECT_ITEMSTACK_ISRAWITEMEQUAL
If the raw items of the given stacks are equal, ignoring NBT and damage value. -
OBJECT_ITEMSTACK_MODNAME
The name of the mod owning this item -
OBJECT_ITEMSTACK_FUELBURNTIME
The fuel burn time of the given item -
OBJECT_ITEMSTACK_CANBURN
If the given item can be used as fuel -
OBJECT_ITEMSTACK_TAG
The tag entries of the given item -
OBJECT_ITEMSTACK_TAG_STACKS
Get a list of items that correspond to the given tag key. -
OBJECT_ITEMSTACK_WITHSIZE
ItemStack operator that applies the given stacksize to the given itemstack and creates a new ItemStack. -
OBJECT_ITEMSTACK_ISFECONTAINER
Check if the item is an RF container item -
OBJECT_ITEMSTACK_STOREDFE
Get the storage energy -
OBJECT_ITEMSTACK_FECAPACITY
Get the energy capacity -
OBJECT_ITEMSTACK_HASINVENTORY
If the given item has an inventory. -
OBJECT_ITEMSTACK_ISPLANTABLE
If the item is plantable -
OBJECT_ITEMSTACK_INVENTORYSIZE
Retrieve the inventory size of the given item handler contents. -
OBJECT_ITEMSTACK_PLANTTYPE
The item plant type -
OBJECT_ITEMSTACK_INVENTORY
Retrieve the inventory of the given item handler contents. -
OBJECT_ITEMSTACK_PLANT
The item when this item is planted -
OBJECT_ITEMSTACK_BY_NAME
Get an item by name. -
OBJECT_ITEMSTACK_LIST_COUNT
Get the total item count of the given item in a list. -
OBJECT_ITEMSTACK_NBT
Item Stack size operator with one input itemstack and one output NBT tag. -
OBJECT_ITEMSTACK_HASNBT
Item Stack has_nbt operator with one input itemstack and one output boolean. -
OBJECT_ENTITY_ISMOB
If the entity is a mob -
OBJECT_ENTITY_ISANIMAL
If the entity is an animal -
OBJECT_ENTITY_ISITEM
If the entity is an item -
OBJECT_ENTITY_ISPLAYER
If the entity is a player -
OBJECT_ENTITY_ISMINECART
If the entity is a minecart -
OBJECT_ENTITY_ITEMSTACK
The itemstack from the entity -
OBJECT_ENTITY_HEALTH
The entity health -
OBJECT_ENTITY_WIDTH
The entity width -
OBJECT_ENTITY_HEIGHT
The entity width -
OBJECT_ENTITY_ISBURNING
If the entity is burning -
OBJECT_ENTITY_ISWET
If the entity is wet -
OBJECT_ENTITY_ISCROUCHING
If the entity is crouching -
OBJECT_ENTITY_ISEATING
If the entity is eating -
OBJECT_ENTITY_ARMORINVENTORY
The list of armor itemstacks from an entity -
OBJECT_ENTITY_INVENTORY
The list of itemstacks from an entity -
OBJECT_ENTITY_MODNAME
The name of the mod owning this entity -
OBJECT_PLAYER_TARGETBLOCK
The block the given player is currently looking at. -
OBJECT_PLAYER_TARGETENTITY
The entity the given player is currently looking at. -
OBJECT_PLAYER_HASGUIOPEN
If the given player has an external gui open. -
OBJECT_ENTITY_HELDITEM_MAIN
The item the given entity is currently holding in its main hand. -
OBJECT_ENTITY_HELDITEM_OFF
The item the given entity is currently holding in its off hand. -
OBJECT_ENTITY_MOUNTED
The entity's mounted entity -
OBJECT_ITEMFRAME_CONTENTS
The item frame's contents -
OBJECT_ITEMFRAME_ROTATION
The item frame's rotation -
OBJECT_ENTITY_HURTSOUND
The hurtsound of this entity. -
OBJECT_ENTITY_DEATHSOUND
The deathsound of this entity. -
OBJECT_ENTITY_AGE
The age of this entity. -
OBJECT_ENTITY_ISCHILD
If the entity is a child. -
OBJECT_ENTITY_CANBREED
If the entity can be bred. -
OBJECT_ENTITY_ISINLOVE
If the entity is in love. -
OBJECT_ENTITY_CANBREEDWITH
If the entity can be bred with the given item. -
OBJECT_ENTITY_ISSHEARABLE
If the entity is shearable. -
OBJECT_ENTITY_NBT
The entity serialized to NBT. -
OBJECT_ENTITY_TYPE
The entity type. -
OBJECT_ENTITY_ITEMS
The entity items. -
OBJECT_ENTITY_FLUIDS
The entity fluids. -
OBJECT_ENTITY_ENERGY_STORED
The entity energy stored. -
OBJECT_ENTITY_ENERGY_CAPACITY
The entity energy stored. -
OBJECT_FLUIDSTACK_AMOUNT
The amount of fluid in the fluidstack -
OBJECT_FLUIDSTACK_BLOCK
The block from the fluidstack -
OBJECT_FLUIDSTACK_LIGHT_LEVEL
The fluidstack luminosity -
OBJECT_FLUIDSTACK_DENSITY
The fluidstack density -
OBJECT_FLUIDSTACK_TEMPERATURE
The fluidstack temperature -
OBJECT_FLUIDSTACK_VISCOSITY
The fluidstack viscosity -
OBJECT_FLUIDSTACK_IS_LIGHTER_THAN_AIR
If the fluidstack is gaseous -
OBJECT_FLUIDSTACK_RARITY
The rarity of the fluidstack -
OBJECT_FLUIDSTACK_SOUND_BUCKET_EMPTY
The bucket empty sound of the fluidstack -
OBJECT_FLUIDSTACK_SOUND_FLUID_VAPORIZE
The fluid vaporize sound of the fluidstack -
OBJECT_FLUIDSTACK_SOUND_BUCKET_FILL
The bucket fill sound of the fluidstack -
OBJECT_FLUIDSTACK_BUCKET
The bucket of the fluidstack -
OBJECT_FLUIDSTACK_ISRAWFLUIDEQUAL
If the fluid types of the two given fluidstacks are equal -
OBJECT_FLUIDSTACK_MODNAME
The name of the mod owning this fluid -
OBJECT_FLUIDSTACK_NBT
The tag of the given fluidstack. -
OBJECT_FLUIDSTACK_WITH_AMOUNT
Create a new fluidstack with the given amount. -
OPERATOR_APPLY
Apply for a given operator a given value. -
OPERATOR_APPLY_2
Apply for a given operator the given 2 values. -
OPERATOR_APPLY_3
Apply for a given operator the given 3 values. -
OPERATOR_APPLY_N
Apply for a given operator the given list of values. -
OPERATOR_APPLY_0
Apply for a given operator with zero arguments. -
OPERATOR_MAP
Apply the given operator on all elements of a list, resulting in a new list of mapped values. -
OPERATOR_FILTER
Filter a list of elements by matching them all with the given predicate. -
OPERATOR_CONJUNCTION
Takes the conjunction of two predicates. -
OPERATOR_DISJUNCTION
Takes the disjunction of two predicates. -
OPERATOR_NEGATION
Takes the negation of a predicate. -
OPERATOR_PIPE
Create a new operator that pipes the output from the first operator to the second operator. -
OPERATOR_PIPE2
Create a new operator that gives its input to the first and second operators, and pipes the outputs from both of them to the third operator. -
OPERATOR_FLIP
Flip the input parameters of an operator with two inputs. -
OPERATOR_REDUCE
Apply the given operator on all elements of a list to reduce the list to one value. -
OPERATOR_REDUCE1
Apply the given operator on all elements of a list to reduce the list to one value. -
OPERATOR_BY_NAME
Apply for a given operator a given value. -
NBT_COMPOUND_SIZE
The number of entries in an NBT tag -
NBT_COMPOUND_KEYS
The list of keys in an NBT tag -
NBT_COMPOUND_HASKEY
If an NBT tag has the given key -
NBT_COMPOUND_VALUE_TYPE
The NBT value type of an entry -
NBT_COMPOUND_VALUE_TAG
The NBT tag value -
NBT_COMPOUND_VALUE_BOOLEAN
The NBT boolean value -
NBT_COMPOUND_VALUE_INTEGER
The NBT integer value -
NBT_COMPOUND_VALUE_LONG
The NBT long value -
NBT_COMPOUND_VALUE_DOUBLE
The NBT double value -
NBT_COMPOUND_VALUE_STRING
The NBT string value -
NBT_COMPOUND_VALUE_COMPOUND
The NBT compound value -
NBT_COMPOUND_VALUE_LIST_TAG
The NBT tag list value -
NBT_COMPOUND_VALUE_LIST_BYTE
The NBT boolean list value -
NBT_COMPOUND_VALUE_LIST_INT
The NBT int list value -
NBT_COMPOUND_VALUE_LIST_LONG
The NBT long list value -
NBT_COMPOUND_WITHOUT
Remove an entry from an NBT compound -
NBT_COMPOUND_WITH_BOOLEAN
Set an NBT compound boolean value -
NBT_COMPOUND_WITH_SHORT
Set an NBT compound short value -
NBT_COMPOUND_WITH_INTEGER
Set an NBT compound integer value -
NBT_COMPOUND_WITH_LONG
Set an NBT compound long value -
NBT_COMPOUND_WITH_DOUBLE
Set an NBT compound double value -
NBT_COMPOUND_WITH_FLOAT
Set an NBT compound float value -
NBT_COMPOUND_WITH_STRING
Set an NBT compound string value -
NBT_COMPOUND_WITH_COMPOUND
Set an NBT compound compound value -
NBT_COMPOUND_WITH_LIST_TAG
Set an NBT compound tag list value -
NBT_COMPOUND_WITH_LIST_BYTE
Set an NBT compound byte list value -
NBT_COMPOUND_WITH_LIST_INT
Set an NBT compound int list value -
NBT_COMPOUND_WITH_LIST_LONG
Set an NBT compound long list value -
NBT_COMPOUND_SUBSET
Check if the first NBT compound tag is a subset of the second NBT compound tag. -
NBT_COMPOUND_UNION
The union of the given NBT compound tags. Nested tags will be joined recusively. -
NBT_COMPOUND_INTERSECTION
The intersection of the given NBT compound tags. Nested tags will be intersected recusively. -
NBT_COMPOUND_MINUS
The difference of the given NBT compound tags. Nested tags will be subtracted recusively. -
NBT_AS_BOOLEAN
The boolean value of an NBT value -
NBT_AS_BYTE
The byte value of an NBT value -
NBT_AS_SHORT
The short value of an NBT value -
NBT_AS_INT
The int value of an NBT value -
NBT_AS_LONG
The long value of an NBT value -
NBT_AS_DOUBLE
The double value of an NBT value -
NBT_AS_FLOAT
The float value of an NBT value -
NBT_AS_STRING
The string value of an NBT value -
NBT_AS_TAG_LIST
The tag list value of an NBT value -
NBT_AS_BYTE_LIST
The byte list value of an NBT value -
NBT_AS_INT_LIST
The int list value of an NBT value -
NBT_AS_LONG_LIST
The long list value of an NBT value -
NBT_FROM_BOOLEAN
The NBT value of a boolean value -
NBT_FROM_SHORT
The NBT value of a short value -
NBT_FROM_BYTE
The NBT value of a byte value -
NBT_FROM_INT
The NBT value of an int value -
NBT_FROM_LONG
The NBT value of a long value -
NBT_FROM_DOUBLE
The NBT value of a double value -
NBT_FROM_FLOAT
The NBT value of a float value -
NBT_FROM_STRING
The NBT value of a string value -
NBT_FROM_TAG_LIST
The NBT value of a tag list value -
NBT_FROM_BYTE_LIST
The NBT value of a byte list value -
NBT_FROM_INT_LIST
The NBT value of a int list value -
NBT_FROM_LONG_LIST
The NBT value of a long list value -
NBT_PATH_MATCH_FIRST
Apply the given NBT path expression on the given NBT value and get the first result. -
NBT_PATH_MATCH_ALL
Apply the given NBT path expression on the given NBT value and get all results. -
NBT_PATH_TEST
Test the given NBT path expression on the given NBT value. -
INGREDIENTS_ITEMS
The list of items. -
INGREDIENTS_FLUIDS
The list of fluids -
INGREDIENTS_ENERGIES
The list of fluids -
INGREDIENTS_WITH_ITEM
Set an ingredient item -
INGREDIENTS_WITH_FLUID
Set an ingredient fluid -
INGREDIENTS_WITH_ENERGY
Set an ingredient energy -
INGREDIENTS_WITH_ITEMS
Set the list of items -
INGREDIENTS_WITH_FLUIDS
Set the list of fluids -
INGREDIENTS_WITH_ENERGIES
Set the list of energies -
RECIPE_INPUT
The input ingredients of a recipe -
RECIPE_OUTPUT
The output ingredients of a recipe -
RECIPE_WITH_INPUT
Set the input ingredients of a recipe -
RECIPE_WITH_OUTPUT
Set the output ingredients of a recipe -
RECIPE_WITH_INPUT_OUTPUT
Create a recipe from two the given I/O ingredients -
PARSE_BOOLEAN
Boolean Parse operator which takes a string of form `/(F(alse)?|[+-]?(0x|#)?0+|)/i`. -
PARSE_DOUBLE
Double Parse operator which takes a string of a form Double.parseDouble(), `/([+-]?)(Inf(inity)?|∞)/i`, or Long.decode() can consume. -
PARSE_INTEGER
Integer Parse operator which takes a string of a form Integer.decode() can consume. -
PARSE_LONG
Long Parse operator which takes a string of a form Long.decode() can consume. -
PARSE_NBT
NBT Parse operator which takes a string of a form ValueTypeNbt().deserialize() can consume. -
GENERAL_CHOICE
Choice operator with one boolean input, two any inputs and one output any. -
GENERAL_IDENTITY
Identity operator with one any input and one any output -
GENERAL_CONSTANT
Constant operator with two any inputs and one any output
-
-
Constructor Details
-
Operators
public Operators()
-
-
Method Details
-
load
public static void load()
-
ARITHMETIC_DECREMENT
- TODO remove in next major update