Integrated Dynamics - On the Dynamics of Integration

Advanced Operations

As you may have noticed during the last tutorial, the Logic Programmer allows you to do way more than just adding numbers. In this tutorial, we’ll look into the more advanced datastructures and chaining of operators.

Let’s start by creating a static List of the Integers 1, 10 and 100, and visualize it in a Display Panel.

Items are one of the possible value types in this mod. Let’s make a static Item Variable Card, dynamically retrieve the mod name from that item, and visualize it in a Display Panel.

Remember that you’ll have to use a Variable Store to store your referenced variable.

For the final, part of this tutorial, we’ll combine dynamic variables with operators. Attach an Entity Reader to a network, read the target Entity, retrieve the Block the target Entity is looking at, and visualize that Block in a Display Panel.

Crafting Table
Crafting Table
  •  
  • Raw Porkchop
  •  
  • Raw Porkchop
  • Input Variable Transformer
  • Raw Porkchop
  •  
  • Raw Porkchop
  •  
Entity Reader
Operator
ModmodThe name of the mod owning the given item
  • Item
  • String
Global name: itemstackMod(Item) → StringMethod name: Item.mod() → String
Aspect
EntityThe selected entity in the target space

Output: Entity

Properties:
  • List Element
Operator
Target Blocktarget_blockThe block the given entity is currently looking at.
  • Entity
  • Block
Global name: entityTargetBlock(Entity) → BlockMethod name: Entity.targetBlock() → Block
Advancements
  • Logical List BuildingConstruct a static List with §6Integers§7 1, 10 and 100.
  • Item Origin IdentificationGet the mod name of an Item.
  • What Would I Be Looking At?Get the Block you are looking at.
Rewards
Variable Card64
Variable Card64
Variable Store32