your current location:首页 > news>Integrated power example tutorial_xinghui magic crystal automation (3) [ID] dynamic combination/integrated power

Integrated power example tutorial_xinghui magic crystal automation (3) [ID] dynamic combination/integrated power

2024-12-10 17:51:34|Myriagame |source:minecraft skins

This tutorial is set by the author to use the CC By-NC-SA protocol.

The function implemented by this tutorial is more practical to achieve better (crystal of dissatisfaction automatically), but this content is more important, so let's write it.

[Advanced] Build a variable card

This time, make a variable card, with an input of "item" and an output of a "Boolean" to determine whether the volume of celestial crystals is less than 900. As follows.

So first of all, we need three "string string" type of variable card "ASTRALSORY", "CrystalProperties", "SIZE" and a "integer" variable card "900"., Specific below.

The process is divided into 5 parts and the final connection.

The so -called "operating symbol" type variable card with some basic logical operations and calculations provided by integrated power, as well as "Apply", "Pipeline", "Flip" operation, produced, and produced it with some basic logical operations provided by integrated power.A custom input type, and output the result according to the custom operation

Part 1-Get item nbt:

Make a "operator" type variable card, search for NBT on the right, select "NBT", and name it [Get the original NBT] (just for the convenience of tutorial narrative, as long as you can distinguish which one can be distinguished from which one is which one isNo need to name)

The input of this operator is as follows

Part 2-Get NBT under the ASTRALSORYERY keyword

Search the NBT data on the right side of the "operating symbol" type interface. Search "NBT data: NBT" named [NBT data: NBT]

The input and output are as follows

[Important] For the "operator" variable card, you can use the "executing Apply" operation to fix it, but the "execute Apply" matching position rather than the type, so you need to use the "flip FLIP" operation to bring the original "operator" variable "operator" variableThe input position of the card.

Now we need to transform this variable card, so that he has only one input and output, so that he outputs the NBT data under the "Astralsorcery" keyword.It can be done, but the "execute Apply" matching position, and the number of [NBT data: NBT] is "NBT", so first uses "flip FLIP" for [NBT data: NBT].

First search the flip label [NBT data: NBT] named [NBT data: NBT flip]

Then search for execution label [NBT data: NBT flip] and "Astralsorcery" named [Get NBT under NBT under Astralsorcery]]

Part III-Get NBT under the keyword

Similar operations to the previous part, search for execution labels [NBT data: NBT flip] and "CrystalProperties" named [Get NBT under the NBT under CrystalProperties]

Part 4-Get SIZE

Similar to the previous, search NBT data in the "operator" type Search "NBT data: integer" named [NBT data: integer] uses "turning" named [NBT data: integer flip] search execution mark [NBT data: Turnive Dollar] and "SIZE", named [Get SIZE in NBT]

Part 5-Whether it is less than 900

Similar operations, "operator" search is greater than the selection of "association than the operation" named [greater than]

Search for execution marks [greater than] and "900", named [Whether less than 900] connection-connect the five parts

The "pipeline" operation can pass the output of the first (left) input slot's input card to the input of the variable card of the second input slot (right), and the "execution" operation is to pass the right variable card itself as the input to the input to the input to the input to the input to the input to the input to the input to the input to the input to the input to the input to the input toThe "operator" variable card on the left.

Therefore, use the "Pipeline" to connect the [Get the original NBT] and the four "execution" variable cards that have been done to get the target variable card we finally want.

Then put [whether the size is less than 900] into the "throwing and operational item matching items" of the "throwing port".Liver's empty island integration "Trial of God", come together to suffer together (ಡ ω ಡ) http://www.mcbbs.net/thread-858670-1-1.html