Integrated Dynamics - On the Dynamics of Integration

고급 연산

지난 튜토리얼에서 눈치채셨겠지만 논리 프로그래머를 사용하면 단순히 숫자를 추가하는 것 이상의 작업을 수행할 수 있습니다. 이 튜토리얼에서 우리는 더 고급인 데이터 구조와 연산자의 연결을 살펴볼 것입니다.

Integer1, 10100이 들어있는 정적 리스트를 생성하여 시작하고 디스플레이 패널에서 시각화해 보겠습니다.

아이템은 이 모드에서 가능한 자료형 중 하나입니다. 정적 아이템 변수 카드를 만들고 해당 아이템에서 모드 이름을 동적으로 검색하고 디스플레이 패널에서 시각화해 보겠습니다.

참조된 변수를 저장하려면 변수 저장소를 사용해야 한다는 것을 기억하세요.

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
  • 입력 변수 변환기
  • Raw Porkchop
  •  
  • Raw Porkchop
  •  
개체 판독기
연산자
모드mod주어진 아이템의 모드의 이름
  • Item
  • String
Global name: itemstackMod(Item) → StringMethod name: Item.mod() → String
기능
개체대상 공간 안에 선택된 개체

출력: Entity

속성:
  • 리스트 요소
연산자
대상 블록target_block주어진 개체가 현재 보고 있는 블록.
  • Entity
  • Block
Global name: entityTargetBlock(Entity) → BlockMethod name: Entity.targetBlock() → Block
Advancements
  • 논리적으로 리스트 만들기§6정수§7 1, 10, 100이 들어있는 정적인 리스트를 생성하세요.
  • 아이템 원산지 식별아이템의 모드 이름을 얻으세요.
  • 나는 무엇을 보고 있을까?당신이 보고 있는 블록을 얻으세요.
Rewards
변수 카드64
변수 카드64
변수 저장소32