java.lang.Object
org.cyclops.integrateddynamics.core.evaluate.operator.Operators

public final class Operators extends Object
Collection of available operators.
  • Field Details

    • REGISTRY

      public static final IOperatorRegistry REGISTRY
    • LOGICAL_AND

      public static final IOperator LOGICAL_AND
      Short-circuit logical AND operator with two input booleans and one output boolean.
    • LOGICAL_OR

      public static final IOperator LOGICAL_OR
      Short-circuit logical AND operator with two input booleans and one output boolean.
    • LOGICAL_NOT

      public static final IOperator LOGICAL_NOT
      Logical NOT operator with one input booleans and one output boolean.
    • LOGICAL_NAND

      public static final IOperator LOGICAL_NAND
      Short-circuit logical NAND operator with two input booleans and one output boolean.
    • LOGICAL_NOR

      public static final IOperator LOGICAL_NOR
      Short-circuit logical NAND operator with two input booleans and one output boolean.
    • ARITHMETIC_ADDITION

      public static final IOperator ARITHMETIC_ADDITION
      Arithmetic ADD operator with two input numbers and one output number.
    • ARITHMETIC_SUBTRACTION

      public static final IOperator ARITHMETIC_SUBTRACTION
      Arithmetic MINUS operator with two input numbers and one output number.
    • ARITHMETIC_MULTIPLICATION

      public static final IOperator ARITHMETIC_MULTIPLICATION
      Arithmetic MULTIPLY operator with two input numbers and one output number.
    • ARITHMETIC_DIVISION

      public static final IOperator ARITHMETIC_DIVISION
      Arithmetic DIVIDE operator with two input numbers and one output number.
    • ARITHMETIC_MAXIMUM

      public static final IOperator ARITHMETIC_MAXIMUM
      Arithmetic MAX operator with two input numbers and one output number.
    • ARITHMETIC_MINIMUM

      public static final IOperator ARITHMETIC_MINIMUM
      Arithmetic MIN operator with two input numbers and one output number.
    • ARITHMETIC_INCREMENT

      public static final IOperator ARITHMETIC_INCREMENT
      Arithmetic INCREMENT operator with one input numbers and one output number.
    • ARITHMETIC_DECREMENT

      public static final IOperator ARITHMETIC_DECREMENT
      Arithmetic DECREMENT operator with one input numbers and one output number.
    • ARITHMETIC_MODULUS

      public static final IOperator ARITHMETIC_MODULUS
      Arithmetic MODULO operator with two input numbers and one output number.
    • RELATIONAL_EQUALS

      public static final IOperator RELATIONAL_EQUALS
      Relational == operator with two inputs of any type (but equal) and one output boolean.
    • RELATIONAL_GT

      public static final IOperator RELATIONAL_GT
      Relational > operator with two input integers and one output boolean.
    • RELATIONAL_LT

      public static final IOperator RELATIONAL_LT
      Relational > operator with two input integers and one output boolean.
    • RELATIONAL_NOTEQUALS

      public static final IOperator RELATIONAL_NOTEQUALS
      Relational != operator with two inputs of any type (but equal) and one output boolean.
    • RELATIONAL_GE

      public static final IOperator RELATIONAL_GE
      Relational >= operator with two inputs of any type (but equal) and one output boolean.
    • RELATIONAL_LE

      public static final IOperator RELATIONAL_LE
      Relational <= operator with two inputs of any type (but equal) and one output boolean.
    • BINARY_AND

      public static final IOperator BINARY_AND
      Binary AND operator with two input integers and one output integers.
    • BINARY_OR

      public static final IOperator BINARY_OR
      Binary OR operator with two input integers and one output integers.
    • BINARY_XOR

      public static final IOperator BINARY_XOR
      Binary XOR operator with two input integers and one output integers.
    • BINARY_COMPLEMENT

      public static final IOperator BINARY_COMPLEMENT
      Binary COMPLEMENT operator with one input integers and one output integers.
    • BINARY_LSHIFT

      public static final IOperator BINARY_LSHIFT
      Binary << operator with two input integers and one output integers.
    • BINARY_RSHIFT

      public static final IOperator BINARY_RSHIFT
      Binary >> operator with two input integers and one output integers.
    • BINARY_RZSHIFT

      public static final IOperator BINARY_RZSHIFT
      Binary >>> operator with two input integers and one output integers.
    • STRING_LENGTH

      public static final IOperator STRING_LENGTH
      String length operator with one input string and one output integer.
    • STRING_CONCAT

      public static final IOperator STRING_CONCAT
      String concat operator with two input strings and one output string.
    • STRING_CONTAINS

      public static final IOperator STRING_CONTAINS
      String contains operator which checks whether a given (literal) string is contained in the given string.
    • STRING_CONTAINS_REGEX

      public static final IOperator STRING_CONTAINS_REGEX
      String match operator which checks whether a given regular expression is contained within a string.
    • STRING_MATCHES_REGEX

      public static final IOperator STRING_MATCHES_REGEX
      String match operator which checks whether a given regular expression matches a string.
    • STRING_INDEX_OF

      public static final IOperator 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

      public static final IOperator 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

      public static final IOperator STRING_STARTS_WITH
      String match operator which checks whether a given string matches the beginning of the given string.
    • STRING_ENDS_WITH

      public static final IOperator STRING_ENDS_WITH
      String match operator which checks whether a given string matches the end of the given string.
    • STRING_SPLIT_ON

      public static final IOperator STRING_SPLIT_ON
      String operator which splits on the given (literal) delimiter the input string .
    • STRING_SPLIT_ON_REGEX

      public static final IOperator STRING_SPLIT_ON_REGEX
      String operator which splits on the given (regular expression) delimiter the input string.
    • STRING_SUBSTRING

      public static final IOperator STRING_SUBSTRING
      String operator which takes the substring of the given string between the two integer indices.
    • STRING_REGEX_GROUP

      public static final IOperator 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

      public static final IOperator 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

      public static final IOperator 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

      public static final IOperator 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

      public static final IOperator 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

      public static final IOperator STRING_JOIN
      String operator to join a list using a string delimiter
    • NAMED_NAME

      public static final IOperator NAMED_NAME
      Get a name value type name.
    • UNIQUELYNAMED_UNIQUENAME

      public static final IOperator UNIQUELYNAMED_UNIQUENAME
      Get a unique name value type name.
    • NUMBER_ROUND

      public static final IOperator NUMBER_ROUND
      Number round operator with one input double and one output integers.
    • NUMBER_CEIL

      public static final IOperator NUMBER_CEIL
      Number ceil operator with one input double and one output integers.
    • NUMBER_FLOOR

      public static final IOperator NUMBER_FLOOR
      Number floor operator with one input double and one output integers.
    • NUMBER_COMPACT

      public static final IOperator NUMBER_COMPACT
      Accepts a number, and returns a string roughly representing that number
    • NULLABLE_ISNULL

      public static final IOperator NULLABLE_ISNULL
      Check if something is null
    • NULLABLE_ISNOTNULL

      public static final IOperator NULLABLE_ISNOTNULL
      Check if something is not null
    • LIST_LENGTH

      public static final IOperator LIST_LENGTH
      List operator with one input list and one output integer
    • LIST_EMPTY

      public static final IOperator LIST_EMPTY
      Check if a list is empty
    • LIST_NOT_EMPTY

      public static final IOperator LIST_NOT_EMPTY
      Check if a list is not empty
    • LIST_ELEMENT

      public static final IOperator LIST_ELEMENT
      List operator with one input list and one output integer
    • LIST_ELEMENT_DEFAULT

      public static final IOperator LIST_ELEMENT_DEFAULT
      List operator with one input list, one output integer, and one default value
    • LIST_CONTAINS

      public static final IOperator LIST_CONTAINS
      List contains operator that takes a list, a list element to look for and returns a boolean.
    • LIST_CONTAINS_PREDICATE

      public static final IOperator 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

      public static final IOperator LIST_COUNT
      List operator with one input list, and element and one output integer
    • LIST_COUNT_PREDICATE

      public static final IOperator LIST_COUNT_PREDICATE
      List operator with one input list, a predicate and one output integer
    • LIST_APPEND

      public static final IOperator LIST_APPEND
      Append an element to the given list
    • LIST_CONCAT

      public static final IOperator LIST_CONCAT
      Concatenate two lists
    • LIST_LAZYBUILT

      public static final IOperator 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

      public static final IOperator LIST_HEAD
      Get the first element of the given list.
    • LIST_TAIL

      public static final IOperator LIST_TAIL
      Append an element to the given list.
    • LIST_UNIQ_PREDICATE

      public static final IOperator LIST_UNIQ_PREDICATE
      Deduplicate the given list elements based on the given predicate.
    • LIST_UNIQ

      public static final IOperator LIST_UNIQ
      Deduplicate the given list elements.
    • LIST_SLICE

      public static final IOperator LIST_SLICE
      Take a subset of the given list from the given index (inclusive) to the given index (exclusive).
    • LIST_INTERSECTION

      public static final IOperator LIST_INTERSECTION
    • OBJECT_BLOCK_OPAQUE

      public static final IOperator OBJECT_BLOCK_OPAQUE
      Block isOpaque operator with one input block and one output boolean.
    • OBJECT_BLOCK_ITEMSTACK

      public static final IOperator OBJECT_BLOCK_ITEMSTACK
      The itemstack representation of the block
    • OBJECT_BLOCK_MODNAME

      public static final IOperator OBJECT_BLOCK_MODNAME
      The name of the mod owning this block
    • OBJECT_BLOCK_BREAKSOUND

      public static final IOperator OBJECT_BLOCK_BREAKSOUND
      The breaksound of the block
    • OBJECT_BLOCK_PLACESOUND

      public static final IOperator OBJECT_BLOCK_PLACESOUND
      The placesound of the block
    • OBJECT_BLOCK_STEPSOUND

      public static final IOperator OBJECT_BLOCK_STEPSOUND
      The stepsound of the block
    • OBJECT_BLOCK_ISSHEARABLE

      public static final IOperator OBJECT_BLOCK_ISSHEARABLE
      If the block is shearable
    • OBJECT_BLOCK_PLANTAGE

      public static final IOperator OBJECT_BLOCK_PLANTAGE
      The block when this block is planted
    • OBJECT_BLOCK_BY_NAME

      public static final IOperator OBJECT_BLOCK_BY_NAME
      Get a block by name.
    • OBJECT_BLOCK_PROPERTIES

      public static final IOperator OBJECT_BLOCK_PROPERTIES
      Get the block properties as NBT compound tag.
    • OBJECT_BLOCK_WITH_PROPERTIES

      public static final IOperator OBJECT_BLOCK_WITH_PROPERTIES
      Get the given block applied with the given properties.
    • OBJECT_BLOCK_POSSIBLE_PROPERTIES

      public static final IOperator OBJECT_BLOCK_POSSIBLE_PROPERTIES
      Get all possible block properties as NBT compound tag with list values.
    • OBJECT_ITEMSTACK_SIZE

      public static final IOperator OBJECT_ITEMSTACK_SIZE
      Item Stack size operator with one input itemstack and one output integer.
    • OBJECT_ITEMSTACK_MAXSIZE

      public static final IOperator OBJECT_ITEMSTACK_MAXSIZE
      Item Stack maxsize operator with one input itemstack and one output integer.
    • OBJECT_ITEMSTACK_ISSTACKABLE

      public static final IOperator OBJECT_ITEMSTACK_ISSTACKABLE
      Item Stack isstackable operator with one input itemstack and one output boolean.
    • OBJECT_ITEMSTACK_ISDAMAGEABLE

      public static final IOperator OBJECT_ITEMSTACK_ISDAMAGEABLE
      Item Stack isdamageable operator with one input itemstack and one output boolean.
    • OBJECT_ITEMSTACK_DAMAGE

      public static final IOperator OBJECT_ITEMSTACK_DAMAGE
      Item Stack damage operator with one input itemstack and one output integer.
    • OBJECT_ITEMSTACK_MAXDAMAGE

      public static final IOperator OBJECT_ITEMSTACK_MAXDAMAGE
      Item Stack maxdamage operator with one input itemstack and one output integer.
    • OBJECT_ITEMSTACK_ISENCHANTED

      public static final IOperator OBJECT_ITEMSTACK_ISENCHANTED
      Item Stack isenchanted operator with one input itemstack and one output boolean.
    • OBJECT_ITEMSTACK_ISENCHANTABLE

      public static final IOperator OBJECT_ITEMSTACK_ISENCHANTABLE
      Item Stack isenchantable operator with one input itemstack and one output boolean.
    • OBJECT_ITEMSTACK_REPAIRCOST

      public static final IOperator OBJECT_ITEMSTACK_REPAIRCOST
      Item Stack repair cost with one input itemstack and one output integer.
    • OBJECT_ITEMSTACK_RARITY

      public static final IOperator OBJECT_ITEMSTACK_RARITY
      Get the rarity of an itemstack.
    • OBJECT_ITEMSTACK_STRENGTH_VS_BLOCK

      public static final IOperator OBJECT_ITEMSTACK_STRENGTH_VS_BLOCK
      Get the strength of an itemstack against a block as a double.
    • OBJECT_ITEMSTACK_CAN_HARVEST_BLOCK

      public static final IOperator OBJECT_ITEMSTACK_CAN_HARVEST_BLOCK
      If the given itemstack can be used to harvest the given block.
    • OBJECT_ITEMSTACK_BLOCK

      public static final IOperator OBJECT_ITEMSTACK_BLOCK
      The block from the stack
    • OBJECT_ITEMSTACK_ISFLUIDSTACK

      public static final IOperator OBJECT_ITEMSTACK_ISFLUIDSTACK
      If the given stack has a fluid.
    • OBJECT_ITEMSTACK_FLUIDSTACK

      public static final IOperator OBJECT_ITEMSTACK_FLUIDSTACK
      The fluidstack from the stack
    • OBJECT_ITEMSTACK_FLUIDSTACKCAPACITY

      public static final IOperator OBJECT_ITEMSTACK_FLUIDSTACKCAPACITY
      The capacity of the fluidstack from the stack.
    • OBJECT_ITEMSTACK_ISDATAEQUAL

      public static final IOperator OBJECT_ITEMSTACK_ISDATAEQUAL
      If the data components of the given stacks are equal.
    • OBJECT_ITEMSTACK_ISITEMEQUALNODATA

      public static final IOperator OBJECT_ITEMSTACK_ISITEMEQUALNODATA
      If the raw items of the given stacks are equal, ignoring data components but including damage value.
    • OBJECT_ITEMSTACK_ISRAWITEMEQUAL

      public static final IOperator OBJECT_ITEMSTACK_ISRAWITEMEQUAL
      If the raw items of the given stacks are equal, ignoring data components and damage value.
    • OBJECT_ITEMSTACK_MODNAME

      public static final IOperator OBJECT_ITEMSTACK_MODNAME
      The name of the mod owning this item
    • OBJECT_ITEMSTACK_FUELBURNTIME

      public static final IOperator OBJECT_ITEMSTACK_FUELBURNTIME
      The fuel burn time of the given item
    • OBJECT_ITEMSTACK_CANBURN

      public static final IOperator OBJECT_ITEMSTACK_CANBURN
      If the given item can be used as fuel
    • OBJECT_ITEMSTACK_TAG

      public static final IOperator OBJECT_ITEMSTACK_TAG
      The tag entries of the given item
    • OBJECT_ITEMSTACK_TAG_STACKS

      public static final IOperator OBJECT_ITEMSTACK_TAG_STACKS
      Get a list of items that correspond to the given tag key.
    • OBJECT_ITEMSTACK_WITHSIZE

      public static final IOperator OBJECT_ITEMSTACK_WITHSIZE
      ItemStack operator that applies the given stacksize to the given itemstack and creates a new ItemStack.
    • OBJECT_ITEMSTACK_ISFECONTAINER

      public static final IOperator OBJECT_ITEMSTACK_ISFECONTAINER
      Check if the item is an RF container item
    • OBJECT_ITEMSTACK_STOREDFE

      public static final IOperator OBJECT_ITEMSTACK_STOREDFE
      Get the storage energy
    • OBJECT_ITEMSTACK_FECAPACITY

      public static final IOperator OBJECT_ITEMSTACK_FECAPACITY
      Get the energy capacity
    • OBJECT_ITEMSTACK_HASINVENTORY

      public static final IOperator OBJECT_ITEMSTACK_HASINVENTORY
      If the given item has an inventory.
    • OBJECT_ITEMSTACK_INVENTORYSIZE

      public static final IOperator OBJECT_ITEMSTACK_INVENTORYSIZE
      Retrieve the inventory size of the given item handler contents.
    • OBJECT_ITEMSTACK_INVENTORY

      public static final IOperator OBJECT_ITEMSTACK_INVENTORY
      Retrieve the inventory of the given item handler contents.
    • OBJECT_ITEMSTACK_BY_NAME

      public static final IOperator OBJECT_ITEMSTACK_BY_NAME
      Get an item by name.
    • OBJECT_ITEMSTACK_LIST_COUNT

      public static final IOperator OBJECT_ITEMSTACK_LIST_COUNT
      Get the total item count of the given item in a list.
    • OBJECT_ITEMSTACK_DATA

      public static final IOperator OBJECT_ITEMSTACK_DATA
      Item Stack size operator with one input itemstack and one output NBT tag.
    • OBJECT_ITEMSTACK_HASDATA

      public static final IOperator OBJECT_ITEMSTACK_HASDATA
      Item Stack has_nbt operator with one input itemstack and one output boolean.
    • OBJECT_ITEMSTACK_DATA_KEYS

      public static final IOperator OBJECT_ITEMSTACK_DATA_KEYS
      Get the data component keys of an itemstack.
    • OBJECT_ITEMSTACK_DATA_VALUE

      public static final IOperator OBJECT_ITEMSTACK_DATA_VALUE
      Get the data component value by key
    • OBJECT_ITEMSTACK_WITH_DATA

      public static final IOperator OBJECT_ITEMSTACK_WITH_DATA
      Get the data component value by key
    • OBJECT_ENTITY_ISMOB

      public static final IOperator OBJECT_ENTITY_ISMOB
      If the entity is a mob
    • OBJECT_ENTITY_ISANIMAL

      public static final IOperator OBJECT_ENTITY_ISANIMAL
      If the entity is an animal
    • OBJECT_ENTITY_ISITEM

      public static final IOperator OBJECT_ENTITY_ISITEM
      If the entity is an item
    • OBJECT_ENTITY_ISPLAYER

      public static final IOperator OBJECT_ENTITY_ISPLAYER
      If the entity is a player
    • OBJECT_ENTITY_ISMINECART

      public static final IOperator OBJECT_ENTITY_ISMINECART
      If the entity is a minecart
    • OBJECT_ENTITY_ITEMSTACK

      public static final IOperator OBJECT_ENTITY_ITEMSTACK
      The itemstack from the entity
    • OBJECT_ENTITY_HEALTH

      public static final IOperator OBJECT_ENTITY_HEALTH
      The entity health
    • OBJECT_ENTITY_WIDTH

      public static final IOperator OBJECT_ENTITY_WIDTH
      The entity width
    • OBJECT_ENTITY_HEIGHT

      public static final IOperator OBJECT_ENTITY_HEIGHT
      The entity width
    • OBJECT_ENTITY_ISBURNING

      public static final IOperator OBJECT_ENTITY_ISBURNING
      If the entity is burning
    • OBJECT_ENTITY_ISWET

      public static final IOperator OBJECT_ENTITY_ISWET
      If the entity is wet
    • OBJECT_ENTITY_ISCROUCHING

      public static final IOperator OBJECT_ENTITY_ISCROUCHING
      If the entity is crouching
    • OBJECT_ENTITY_ISEATING

      public static final IOperator OBJECT_ENTITY_ISEATING
      If the entity is eating
    • OBJECT_ENTITY_ARMORINVENTORY

      public static final IOperator OBJECT_ENTITY_ARMORINVENTORY
      The list of armor itemstacks from an entity
    • OBJECT_ENTITY_INVENTORY

      public static final IOperator OBJECT_ENTITY_INVENTORY
      The list of itemstacks from an entity
    • OBJECT_ENTITY_MODNAME

      public static final IOperator OBJECT_ENTITY_MODNAME
      The name of the mod owning this entity
    • OBJECT_PLAYER_TARGETBLOCK

      public static final IOperator OBJECT_PLAYER_TARGETBLOCK
      The block the given player is currently looking at.
    • OBJECT_PLAYER_TARGETENTITY

      public static final IOperator OBJECT_PLAYER_TARGETENTITY
      The entity the given player is currently looking at.
    • OBJECT_PLAYER_HASGUIOPEN

      public static final IOperator OBJECT_PLAYER_HASGUIOPEN
      If the given player has an external gui open.
    • OBJECT_ENTITY_HELDITEM_MAIN

      public static final IOperator OBJECT_ENTITY_HELDITEM_MAIN
      The item the given entity is currently holding in its main hand.
    • OBJECT_ENTITY_HELDITEM_OFF

      public static final IOperator OBJECT_ENTITY_HELDITEM_OFF
      The item the given entity is currently holding in its off hand.
    • OBJECT_ENTITY_MOUNTED

      public static final IOperator OBJECT_ENTITY_MOUNTED
      The entity's mounted entity
    • OBJECT_ITEMFRAME_CONTENTS

      public static final IOperator OBJECT_ITEMFRAME_CONTENTS
      The item frame's contents
    • OBJECT_ITEMFRAME_ROTATION

      public static final IOperator OBJECT_ITEMFRAME_ROTATION
      The item frame's rotation
    • OBJECT_ENTITY_HURTSOUND

      public static final IOperator OBJECT_ENTITY_HURTSOUND
      The hurtsound of this entity.
    • OBJECT_ENTITY_DEATHSOUND

      public static final IOperator OBJECT_ENTITY_DEATHSOUND
      The deathsound of this entity.
    • OBJECT_ENTITY_AGE

      public static final IOperator OBJECT_ENTITY_AGE
      The age of this entity.
    • OBJECT_ENTITY_ISCHILD

      public static final IOperator OBJECT_ENTITY_ISCHILD
      If the entity is a child.
    • OBJECT_ENTITY_CANBREED

      public static final IOperator OBJECT_ENTITY_CANBREED
      If the entity can be bred.
    • OBJECT_ENTITY_ISINLOVE

      public static final IOperator OBJECT_ENTITY_ISINLOVE
      If the entity is in love.
    • OBJECT_ENTITY_CANBREEDWITH

      public static final IOperator OBJECT_ENTITY_CANBREEDWITH
      If the entity can be bred with the given item.
    • OBJECT_ENTITY_ISSHEARABLE

      public static final IOperator OBJECT_ENTITY_ISSHEARABLE
      If the entity is shearable.
    • OBJECT_ENTITY_NBT

      public static final IOperator OBJECT_ENTITY_NBT
      The entity serialized to NBT.
    • OBJECT_ENTITY_TYPE

      public static final IOperator OBJECT_ENTITY_TYPE
      The entity type.
    • OBJECT_ENTITY_ITEMS

      public static final IOperator OBJECT_ENTITY_ITEMS
      The entity items.
    • OBJECT_ENTITY_FLUIDS

      public static final IOperator OBJECT_ENTITY_FLUIDS
      The entity fluids.
    • OBJECT_ENTITY_ENERGY_STORED

      public static final IOperator OBJECT_ENTITY_ENERGY_STORED
      The entity energy stored.
    • OBJECT_ENTITY_ENERGY_CAPACITY

      public static final IOperator OBJECT_ENTITY_ENERGY_CAPACITY
      The entity energy stored.
    • OBJECT_FLUIDSTACK_AMOUNT

      public static final IOperator OBJECT_FLUIDSTACK_AMOUNT
      The amount of fluid in the fluidstack
    • OBJECT_FLUIDSTACK_BLOCK

      public static final IOperator OBJECT_FLUIDSTACK_BLOCK
      The block from the fluidstack
    • OBJECT_FLUIDSTACK_LIGHT_LEVEL

      public static final IOperator OBJECT_FLUIDSTACK_LIGHT_LEVEL
      The fluidstack luminosity
    • OBJECT_FLUIDSTACK_DENSITY

      public static final IOperator OBJECT_FLUIDSTACK_DENSITY
      The fluidstack density
    • OBJECT_FLUIDSTACK_TEMPERATURE

      public static final IOperator OBJECT_FLUIDSTACK_TEMPERATURE
      The fluidstack temperature
    • OBJECT_FLUIDSTACK_VISCOSITY

      public static final IOperator OBJECT_FLUIDSTACK_VISCOSITY
      The fluidstack viscosity
    • OBJECT_FLUIDSTACK_IS_LIGHTER_THAN_AIR

      public static final IOperator OBJECT_FLUIDSTACK_IS_LIGHTER_THAN_AIR
      If the fluidstack is gaseous
    • OBJECT_FLUIDSTACK_RARITY

      public static final IOperator OBJECT_FLUIDSTACK_RARITY
      The rarity of the fluidstack
    • OBJECT_FLUIDSTACK_SOUND_BUCKET_EMPTY

      public static final IOperator OBJECT_FLUIDSTACK_SOUND_BUCKET_EMPTY
      The bucket empty sound of the fluidstack
    • OBJECT_FLUIDSTACK_SOUND_FLUID_VAPORIZE

      public static final IOperator OBJECT_FLUIDSTACK_SOUND_FLUID_VAPORIZE
      The fluid vaporize sound of the fluidstack
    • OBJECT_FLUIDSTACK_SOUND_BUCKET_FILL

      public static final IOperator OBJECT_FLUIDSTACK_SOUND_BUCKET_FILL
      The bucket fill sound of the fluidstack
    • OBJECT_FLUIDSTACK_BUCKET

      public static final IOperator OBJECT_FLUIDSTACK_BUCKET
      The bucket of the fluidstack
    • OBJECT_FLUIDSTACK_ISRAWFLUIDEQUAL

      public static final IOperator OBJECT_FLUIDSTACK_ISRAWFLUIDEQUAL
      If the fluid types of the two given fluidstacks are equal
    • OBJECT_FLUIDSTACK_MODNAME

      public static final IOperator OBJECT_FLUIDSTACK_MODNAME
      The name of the mod owning this fluid
    • OBJECT_FLUIDSTACK_DATA

      public static final IOperator OBJECT_FLUIDSTACK_DATA
      The tag of the given fluidstack.
    • OBJECT_FLUIDSTACK_WITH_AMOUNT

      public static final IOperator OBJECT_FLUIDSTACK_WITH_AMOUNT
      Create a new fluidstack with the given amount.
    • OBJECT_FLUIDSTACK_DATA_KEYS

      public static final IOperator OBJECT_FLUIDSTACK_DATA_KEYS
      Get the data component keys of an fluidstack.
    • OBJECT_FLUIDSTACK_DATA_VALUE

      public static final IOperator OBJECT_FLUIDSTACK_DATA_VALUE
      Get the data component value by key
    • OBJECT_FLUIDSTACK_WITH_DATA

      public static final IOperator OBJECT_FLUIDSTACK_WITH_DATA
      Get the data component value by key
    • OPERATOR_APPLY

      public static final IOperator OPERATOR_APPLY
      Apply for a given operator a given value.
    • OPERATOR_APPLY_2

      public static final IOperator OPERATOR_APPLY_2
      Apply for a given operator the given 2 values.
    • OPERATOR_APPLY_3

      public static final IOperator OPERATOR_APPLY_3
      Apply for a given operator the given 3 values.
    • OPERATOR_APPLY_N

      public static final IOperator OPERATOR_APPLY_N
      Apply for a given operator the given list of values.
    • OPERATOR_APPLY_0

      public static final IOperator OPERATOR_APPLY_0
      Apply for a given operator with zero arguments.
    • OPERATOR_MAP

      public static final IOperator OPERATOR_MAP
      Apply the given operator on all elements of a list, resulting in a new list of mapped values.
    • OPERATOR_FILTER

      public static final IOperator OPERATOR_FILTER
      Filter a list of elements by matching them all with the given predicate.
    • OPERATOR_CONJUNCTION

      public static final IOperator OPERATOR_CONJUNCTION
      Takes the conjunction of two predicates.
    • OPERATOR_DISJUNCTION

      public static final IOperator OPERATOR_DISJUNCTION
      Takes the disjunction of two predicates.
    • OPERATOR_NEGATION

      public static final IOperator OPERATOR_NEGATION
      Takes the negation of a predicate.
    • OPERATOR_PIPE

      public static final IOperator OPERATOR_PIPE
      Create a new operator that pipes the output from the first operator to the second operator.
    • OPERATOR_PIPE2

      public static final IOperator 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

      public static final IOperator OPERATOR_FLIP
      Flip the input parameters of an operator with two inputs.
    • OPERATOR_REDUCE

      public static final IOperator OPERATOR_REDUCE
      Apply the given operator on all elements of a list to reduce the list to one value.
    • OPERATOR_REDUCE1

      public static final IOperator OPERATOR_REDUCE1
      Apply the given operator on all elements of a list to reduce the list to one value.
    • OPERATOR_BY_NAME

      public static final IOperator OPERATOR_BY_NAME
      Apply for a given operator a given value.
    • NBT_COMPOUND_SIZE

      public static final IOperator NBT_COMPOUND_SIZE
      The number of entries in an NBT tag
    • NBT_COMPOUND_KEYS

      public static final IOperator NBT_COMPOUND_KEYS
      The list of keys in an NBT tag
    • NBT_COMPOUND_HASKEY

      public static final IOperator NBT_COMPOUND_HASKEY
      If an NBT tag has the given key
    • NBT_COMPOUND_VALUE_TYPE

      public static final IOperator NBT_COMPOUND_VALUE_TYPE
      The NBT value type of an entry
    • NBT_COMPOUND_VALUE_TAG

      public static final IOperator NBT_COMPOUND_VALUE_TAG
      The NBT tag value
    • NBT_COMPOUND_VALUE_BOOLEAN

      public static final IOperator NBT_COMPOUND_VALUE_BOOLEAN
      The NBT boolean value
    • NBT_COMPOUND_VALUE_INTEGER

      public static final IOperator NBT_COMPOUND_VALUE_INTEGER
      The NBT integer value
    • NBT_COMPOUND_VALUE_LONG

      public static final IOperator NBT_COMPOUND_VALUE_LONG
      The NBT long value
    • NBT_COMPOUND_VALUE_DOUBLE

      public static final IOperator NBT_COMPOUND_VALUE_DOUBLE
      The NBT double value
    • NBT_COMPOUND_VALUE_STRING

      public static final IOperator NBT_COMPOUND_VALUE_STRING
      The NBT string value
    • NBT_COMPOUND_VALUE_COMPOUND

      public static final IOperator NBT_COMPOUND_VALUE_COMPOUND
      The NBT compound value
    • NBT_COMPOUND_VALUE_LIST_TAG

      public static final IOperator NBT_COMPOUND_VALUE_LIST_TAG
      The NBT tag list value
    • NBT_COMPOUND_VALUE_LIST_BYTE

      public static final IOperator NBT_COMPOUND_VALUE_LIST_BYTE
      The NBT boolean list value
    • NBT_COMPOUND_VALUE_LIST_INT

      public static final IOperator NBT_COMPOUND_VALUE_LIST_INT
      The NBT int list value
    • NBT_COMPOUND_VALUE_LIST_LONG

      public static final IOperator NBT_COMPOUND_VALUE_LIST_LONG
      The NBT long list value
    • NBT_COMPOUND_WITHOUT

      public static final IOperator NBT_COMPOUND_WITHOUT
      Remove an entry from an NBT compound
    • NBT_COMPOUND_WITH_BOOLEAN

      public static final IOperator NBT_COMPOUND_WITH_BOOLEAN
      Set an NBT compound boolean value
    • NBT_COMPOUND_WITH_SHORT

      public static final IOperator NBT_COMPOUND_WITH_SHORT
      Set an NBT compound short value
    • NBT_COMPOUND_WITH_INTEGER

      public static final IOperator NBT_COMPOUND_WITH_INTEGER
      Set an NBT compound integer value
    • NBT_COMPOUND_WITH_LONG

      public static final IOperator NBT_COMPOUND_WITH_LONG
      Set an NBT compound long value
    • NBT_COMPOUND_WITH_DOUBLE

      public static final IOperator NBT_COMPOUND_WITH_DOUBLE
      Set an NBT compound double value
    • NBT_COMPOUND_WITH_FLOAT

      public static final IOperator NBT_COMPOUND_WITH_FLOAT
      Set an NBT compound float value
    • NBT_COMPOUND_WITH_STRING

      public static final IOperator NBT_COMPOUND_WITH_STRING
      Set an NBT compound string value
    • NBT_COMPOUND_WITH_COMPOUND

      public static final IOperator NBT_COMPOUND_WITH_COMPOUND
      Set an NBT compound compound value
    • NBT_COMPOUND_WITH_LIST_TAG

      public static final IOperator NBT_COMPOUND_WITH_LIST_TAG
      Set an NBT compound tag list value
    • NBT_COMPOUND_WITH_LIST_BYTE

      public static final IOperator NBT_COMPOUND_WITH_LIST_BYTE
      Set an NBT compound byte list value
    • NBT_COMPOUND_WITH_LIST_INT

      public static final IOperator NBT_COMPOUND_WITH_LIST_INT
      Set an NBT compound int list value
    • NBT_COMPOUND_WITH_LIST_LONG

      public static final IOperator NBT_COMPOUND_WITH_LIST_LONG
      Set an NBT compound long list value
    • NBT_COMPOUND_SUBSET

      public static final IOperator NBT_COMPOUND_SUBSET
      Check if the first NBT compound tag is a subset of the second NBT compound tag.
    • NBT_COMPOUND_UNION

      public static final IOperator NBT_COMPOUND_UNION
      The union of the given NBT compound tags. Nested tags will be joined recusively.
    • NBT_COMPOUND_INTERSECTION

      public static final IOperator NBT_COMPOUND_INTERSECTION
      The intersection of the given NBT compound tags. Nested tags will be intersected recusively.
    • NBT_COMPOUND_MINUS

      public static final IOperator NBT_COMPOUND_MINUS
      The difference of the given NBT compound tags. Nested tags will be subtracted recusively.
    • NBT_AS_BOOLEAN

      public static final IOperator NBT_AS_BOOLEAN
      The boolean value of an NBT value
    • NBT_AS_BYTE

      public static final IOperator NBT_AS_BYTE
      The byte value of an NBT value
    • NBT_AS_SHORT

      public static final IOperator NBT_AS_SHORT
      The short value of an NBT value
    • NBT_AS_INT

      public static final IOperator NBT_AS_INT
      The int value of an NBT value
    • NBT_AS_LONG

      public static final IOperator NBT_AS_LONG
      The long value of an NBT value
    • NBT_AS_DOUBLE

      public static final IOperator NBT_AS_DOUBLE
      The double value of an NBT value
    • NBT_AS_FLOAT

      public static final IOperator NBT_AS_FLOAT
      The float value of an NBT value
    • NBT_AS_STRING

      public static final IOperator NBT_AS_STRING
      The string value of an NBT value
    • NBT_AS_TAG_LIST

      public static final IOperator NBT_AS_TAG_LIST
      The tag list value of an NBT value
    • NBT_AS_BYTE_LIST

      public static final IOperator NBT_AS_BYTE_LIST
      The byte list value of an NBT value
    • NBT_AS_INT_LIST

      public static final IOperator NBT_AS_INT_LIST
      The int list value of an NBT value
    • NBT_AS_LONG_LIST

      public static final IOperator NBT_AS_LONG_LIST
      The long list value of an NBT value
    • NBT_FROM_BOOLEAN

      public static final IOperator NBT_FROM_BOOLEAN
      The NBT value of a boolean value
    • NBT_FROM_SHORT

      public static final IOperator NBT_FROM_SHORT
      The NBT value of a short value
    • NBT_FROM_BYTE

      public static final IOperator NBT_FROM_BYTE
      The NBT value of a byte value
    • NBT_FROM_INT

      public static final IOperator NBT_FROM_INT
      The NBT value of an int value
    • NBT_FROM_LONG

      public static final IOperator NBT_FROM_LONG
      The NBT value of a long value
    • NBT_FROM_DOUBLE

      public static final IOperator NBT_FROM_DOUBLE
      The NBT value of a double value
    • NBT_FROM_FLOAT

      public static final IOperator NBT_FROM_FLOAT
      The NBT value of a float value
    • NBT_FROM_STRING

      public static final IOperator NBT_FROM_STRING
      The NBT value of a string value
    • NBT_FROM_TAG_LIST

      public static final IOperator NBT_FROM_TAG_LIST
      The NBT value of a tag list value
    • NBT_FROM_BYTE_LIST

      public static final IOperator NBT_FROM_BYTE_LIST
      The NBT value of a byte list value
    • NBT_FROM_INT_LIST

      public static final IOperator NBT_FROM_INT_LIST
      The NBT value of a int list value
    • NBT_FROM_LONG_LIST

      public static final IOperator NBT_FROM_LONG_LIST
      The NBT value of a long list value
    • NBT_PATH_MATCH_FIRST

      public static final IOperator NBT_PATH_MATCH_FIRST
      Apply the given NBT path expression on the given NBT value and get the first result.
    • NBT_PATH_MATCH_ALL

      public static final IOperator NBT_PATH_MATCH_ALL
      Apply the given NBT path expression on the given NBT value and get all results.
    • NBT_PATH_TEST

      public static final IOperator NBT_PATH_TEST
      Test the given NBT path expression on the given NBT value.
    • INGREDIENTS_ITEMS

      public static final IOperator INGREDIENTS_ITEMS
      The list of items.
    • INGREDIENTS_FLUIDS

      public static final IOperator INGREDIENTS_FLUIDS
      The list of fluids
    • INGREDIENTS_ENERGIES

      public static final IOperator INGREDIENTS_ENERGIES
      The list of fluids
    • INGREDIENTS_WITH_ITEM

      public static final IOperator INGREDIENTS_WITH_ITEM
      Set an ingredient item
    • INGREDIENTS_WITH_FLUID

      public static final IOperator INGREDIENTS_WITH_FLUID
      Set an ingredient fluid
    • INGREDIENTS_WITH_ENERGY

      public static final IOperator INGREDIENTS_WITH_ENERGY
      Set an ingredient energy
    • INGREDIENTS_WITH_ITEMS

      public static final IOperator INGREDIENTS_WITH_ITEMS
      Set the list of items
    • INGREDIENTS_WITH_FLUIDS

      public static final IOperator INGREDIENTS_WITH_FLUIDS
      Set the list of fluids
    • INGREDIENTS_WITH_ENERGIES

      public static final IOperator INGREDIENTS_WITH_ENERGIES
      Set the list of energies
    • RECIPE_INPUT

      public static final IOperator RECIPE_INPUT
      The input ingredients of a recipe
    • RECIPE_OUTPUT

      public static final IOperator RECIPE_OUTPUT
      The output ingredients of a recipe
    • RECIPE_WITH_INPUT

      public static final IOperator RECIPE_WITH_INPUT
      Set the input ingredients of a recipe
    • RECIPE_WITH_OUTPUT

      public static final IOperator RECIPE_WITH_OUTPUT
      Set the output ingredients of a recipe
    • RECIPE_WITH_INPUT_OUTPUT

      public static final IOperator RECIPE_WITH_INPUT_OUTPUT
      Create a recipe from two the given I/O ingredients
    • PARSE_BOOLEAN

      public static final IOperator PARSE_BOOLEAN
      Boolean Parse operator which takes a string of form `/(F(alse)?|[+-]?(0x|#)?0+|)/i`.
    • PARSE_DOUBLE

      public static final IOperator PARSE_DOUBLE
      Double Parse operator which takes a string of a form Double.parseDouble(), `/([+-]?)(Inf(inity)?|∞)/i`, or Long.decode() can consume.
    • PARSE_INTEGER

      public static final IOperator PARSE_INTEGER
      Integer Parse operator which takes a string of a form Integer.decode() can consume.
    • PARSE_LONG

      public static final IOperator PARSE_LONG
      Long Parse operator which takes a string of a form Long.decode() can consume.
    • PARSE_NBT

      public static final IOperator PARSE_NBT
      NBT Parse operator which takes a string of a form ValueTypeNbt().deserialize() can consume.
    • GENERAL_CHOICE

      public static final GeneralOperator GENERAL_CHOICE
      Choice operator with one boolean input, two any inputs and one output any.
    • GENERAL_IDENTITY

      public static final GeneralOperator GENERAL_IDENTITY
      Identity operator with one any input and one any output
    • GENERAL_CONSTANT

      public static final GeneralOperator GENERAL_CONSTANT
      Constant operator with two any inputs and one any output
  • Constructor Details

    • Operators

      public Operators()
  • Method Details

    • load

      public static void load()