This tutorial is set by the author to use the CC By-NC-SA protocol.
Foreword
The AE module realizes logistics functions through a very unique system -the ME network, different from most other logistics module pipelines or terminal binding.It is difficult for many ME networks to make it difficult to see its role in the ME network from the name.The editor wrote this tutorial based on personal understanding of the ME network, hoping to briefly answer the two questions: "What can ME networks do" and "how to build a simple ME network".As for the content of module such as material acquisition or automation scheme, it is not covered by this tutorial.
The tutorial should be used to use the original MC as much as possible to arrange the case. When the other modules are used, the introduction content will be explained.When you read the items you do n’t know, and you do n’t explain it in this article, you can find the encyclopedia related information to simply understand its role.In the text, some texts are sometimes stubborn or colored to emphasize. Among them, orange is used to identify items or equipment, and red is used to identify more important concepts.Sometimes some AE modules themselves do not have the concepts and concepts. This is to help understand the characteristics of some ME networks. The actual information is based on module content and official website data.
In the game, a ME network is often not "must have XXX", but a "with XXX" structure can be called the ME network.Therefore, the actual composition and form of the ME network are very different. It should be focused on the role of a single device in the network in order to gradually understand the operation of the entire system.
In the ME network, items can be regarded as data in the network. The data can be actively stored through the storage element. The storage component needs to use the ME drives, ME boxes and other devices to interact with the network or outsideItems), network devices realize data transmission interoperability by connecting ME cables. Most of the devices and transmission media in the network need to accept energy supply to work (this tutorial introduces the word "word" word "word" word "in the AE module""Conversion between the number of items and the number of types and types).Therefore, several devices that connect the energy and use ME cables can be called the ME network.But what is the role of equipment in the network?What is the special nature of the network?
Limited to the editor level, it is impossible to explain the all aspects of this system. It is difficult to show the strength and flexibility of the module in limited space and cases.It must be able to combine its own game experience and inspiration.In addition, the editor is because of the kindness of the network -related concepts, and will pay special attention to the content of the ME network. In fact, even if you do not understand the many concepts mentioned in this tutorial, you can also dig out the fun of many AE modules. The earliest editor is the earliest.The same is true when it comes to contact with the AE module.
The first two chapters of this article explain the basic equipment and related characteristics of the ME network. The complex functions of the ME network are largely implemented by stacking these foundations.In Chapter 3 and Fourth, this article briefly introduced the automation content of the AE module and gave a simple automation case that combines the production scene of plant magic modules.Look, see if this article can still help you.If you want me to add or correct something, please leave a short review.
Chapter 1 Storage
Storage components, ME drives and ME boxes
Storage is often the beginning of the contact and understanding of the AE module in most people. Therefore, this chapter does not involve the various properties of the ME network. Instead, it first introduces some entry -level equipment as the basis for in -depth discussion.In this way, even if you get stuck or tired in the next chapter, you have already got a large box that can be used normally.
As mentioned in the preface, in the AE module, the items are data in the ME network, and the various storage elements are the actual storage location of the data in the ME network. The storage components should be placed in the two types of ME drives or ME boxes.For the device of the storage component, other devices in the network can read and write storage components (access items) through these two devices; through the ME terminal, players can view and access all data that can be accessed in the ME network, but this is not this notIt means that the data is stored in the ME terminal, and the ME terminal accesses the data in the storage element.
As shown in Figure 1, the ME drive and ME terminal are connected through the ME bag layer cable, and 1K storage components are placed in the ME driver, and energy is connected to the network (the network needs energy to work!At this time, we can check the data (items) in the 1K storage component through the ME terminal, and the data access can also be performed through the terminal. A very simple ME network has formed.Figure 1
Storage bus and priority
How to connect the container other than the ME and ME box to the ME network?The ME storage bus can do this.For the ME network, the container and its adjacent container is equivalent to a ME box. After accessing the network, you can access the items in the container through the ME terminal in the network.
When there are multiple containers in the network, how to let an item be stored in the specified container?Many AE devices can be configured with priority. The higher the priority, the more the device will prioritize the access request in the network.As shown in Figure 2, use 2 ME storage bus to connect 2 boxes to the network, and set priority 100 on the left storage bus (click the wrench icon on the top right of the storage panel GUI for setting).ME panels are stored in straw cubes, and they will go to the high -priority, storage bus on the left, and store it in the box on the left side of it.
Figure 2
Output bus, input bus and mark
The ME driver, ME box, and storage bus are the same, and they will not actively interact with other devices in the network.If you want other devices to actively access the items, you can configure it through the output bus and input bus.The output bus is output from the network, actively removed items from the effective equipment in the network, and output it to the container it pointed to; the input bus is input to the network, take out the items from the container it directed, and input to other valid equipment in the network (When designing input and output, you need to understand the interaction characteristics of the target equipment itself. For example, pay attention to the division of the functional side of the device. You should be familiar with the friends who have played the MEK module or study the original melting furnace. In addition, there are some explanations in this tutorial).
As shown in Figure 3, use the furnace to burn charcoal.To connect the storage bus and input bus (below) for the melting furnace, connect a storage bus for the box, and set the storage bus priority of the storage bus on the box lower than the storage bus on the furnace;The bus is extracted and entered the network, and the storage bus on the furnace is given priority and entered the furnace as fuel. When the fuel is filled with the fuel in the furnace, the burned charcoal will be stored in the box.
Figure 3
Several types of bus also have the functions of marking items. In the input bus or output bus, the marker means a whitelist, that is, only the labeling item is accessible; in the storage bus, the marking meansThe priority is the priority of the storage bus configuration.On the basis of the above examples, we increased the initiative to extract the original wood output from the box to the furnace for burning, and the function of taking out charcoal from the box for fuel:
As shown in Figure 4, we add 1 storage bus for the melting furnace in Figure 3 cases, marked clouds, configure its priority higher than other storage bus; add 2 new bus for the box, and extract Yunti from the box respectively from the box.Entering wood and charcoal into the network, the entire system will operate on its own.At this time, the remoic will go to the raw material grid of the storage bus with the highest priority.
Figure 4
Chapter 2 Channel, P2P Tunnel and Sub -Network
The upper limit of the channel and the ME controller
When you hit it by mistake, you may find that in the ME network similar to the above examples, once the network access device is more than 8, all equipment will stop working.This phenomenon needs to introduce the channel concept explanation of the ME network. In simple terms, most of the devices need to occupy the channels in the network to work normally.A ME network that does not access the ME controller can provide up to 8 channels.Such a network can be called a self -organized network. Device needs to identify other devices in the network and organize the network connection by themselves, and this job is not the expertise of the equipment.
As shown in Figure 5, try to add 3 storage monitor in Figure 4 to monitor the reserves of charcoal in the network.
Figure 5
One of the methods to solve this problem is to access the ME controller in the network.Each side of the ME controller can provide an independent 8 ~ 32 channels to the network. The ME controller structure constructed by multiple ME controller can further increase the number of channels that can be provided.With the unified scheduling of the ME controller, the equipment no longer needs to be busy for the organization of the network.Sexual differences.In addition to increasing the available channel to the network, the scheduling ability of the ME controller also provides the shortest path route and channel overload protection for the ME network.The shortest path router means that the ME controller calculates all the network -access device and elected a shortest path connected to the ME controller (calculated from the number of cables).Use; and channel overload protection means that when the number of network access devices exceeds the loading capacity of the network, the ME controller will no longer allocate channels for some devices to ensure the normal operation of other devices (note: Cable channel carriers of cables are also the same is also the same is the same.The important factor that determines the number of channels).
As shown in Figure 6, the ME controller is connected to the above network. At this time, the ME controller is no longer the device that is the farthest distance -the top storage monitor allocation channel at the top, so that other devices can be connected normally:
Figure 6
As shown in Figure 7, an additional ME controller is connected to the network in Figure 6 to form a ME controller structure. The two ME controller provides 8 channels to the network through the ME package cable.Support all devices to enter the network:
Figure 7
However, as shown in Figure 8, although the ME controller structure that entered the network can provide sufficient channels for the network, because the cables referred to by the prospective star can only carry 8 channels, there are 5 storage monitor, 3 storage bus, and 1 one.The input bus needs to be connected to the nearest ME controller, which is beyond the carrier capacity of the cable. Therefore, the ME controller structure will still disconnect a long -distance storage monitor:
Figure 8
A single ME controller structure can be piled in the volume of 7*7*7, but most of the time, only a small amount of ME controller is enough to support the channel requirements of the entire network.In addition to the volume limit, the ME controller is used to build a multi -block structure. Pay attention to 1 ME controller at most 1 adjacent ME controller in the direction of 1 coordinate axis. Related examples can view the ME controller structure entry.
In addition, it should be noted that although the shortest path routing and channel overload protection enables the network to have a certain number of lines and avoid overall paralysis, it also brings some new troubles: first of all, the shortest path route is to carry out the passage of the channel to carry out the overload of the channel to carry out the overload of the channel.And only once, that is, there will be a cable that will exceed the carrying capacity after calculating the shortest path. Then the route scheme will not be changed again.It is directly carried to the channel overload protection and simply stop the extra equipment.This means that the bearing capacity of the key path needs to be considered during the wiring, and the load of the channel in advance to leave the balance for the key path.In addition, channel overload protection means that it is difficult for you to know that a certain device has been disabled, because other devices will not have any abnormalities, often it is a certain automatic synthetic card, you can realize that there are problems and confused the water.Start checking.Although it is unnecessary to design the line for maintenance or even a self -inspection alarm, it must leave the balance for the line in advance, or use more intelligent cables and network detection tools.As for the cooperation in the server, strengthen communication w
P2P tunnel
The aforementioned simple automatic material flow through the input bus and output bus. In fact, AE provides a stronger and elegant solution for such demand -P2P Tunnel (pay attention to distinguish the P2P channel and P2P tunnel. The former is a module item.The latter is a network structure composed of the former).The process of establishing the P2P tunnel is not complicated, only three steps:
① Access more than 2 P2P channels to the network, and the channel points to other devices or blocks that can be deposited or removed. Pay attention to supply energy for the P2P channel;
② Use memory card binding channels to establish a P2P tunnel;
③ Use a specific item to mark the P2P channel to support specific logistics functions.
There must be only one input terminal in the P2P tunnel. It actively enters the data to the P2P tunnel; the P2P tunnel can have multiple output terminals, and they actively output the data in the tunnel to the outside.Handheld a memory card and sneak a P2P channel to define it as an input terminal, and automatically specify a tunnel ID for it. This ID will also deposit in the memory card at the same time;It will define it as the output end and specify it to specify the same tunnel ID as the input end.Then use the ME cable to connect to the P2P channel, and a P2P tunnel specifies the ID is officially opened.The P2P tunnel does not occupy the channel, and only the P2P channel occupies the channel.The reason why the P2P tunnel is powerful is that on the one hand, it can transmit almost all types of data -including items, fluids, power, redstone signals, and even ME network channels. You only need to use a specific item as the P2P channel mark(See the table below).
P2P tunnel transmission data type Marking item ME channel (default mode of P2P channel) ME cable ME box, funnel, BC pipeline, ME interface, ME input bus, ME output bus fluid barrel, any liquid container, BC fluid pipeline pipelineLight fire handle, fluorite redstone signal redstone, redstone relay, redstone comparator RF energy ending pipeline, more energy pipelines of equipment, resonant energy pipelines of thermodynamics, heat -inflated batteries or batteryGenerator, BC engine EU energy arbitrary IC wire
As shown in Figure 9, three P2P channels are connected through the pink ME intelligent cable (the number of channel loads is 8), and the type of tunnel type is ME (the default label type of the P2P channel).The output terminal points to 2 pale blue ME dense cables (the number of loads of the channel is 32), and the two ME dense cables each connect to 16 ME storage monitor each.At this time, all monitors work normally. These channels provided by the ME controller are passed through the P2P tunnel, and the 16 channels are carried on the physical level.Cable!It can be seen that the P2P tunnel can effectively save unnecessary cable expenditures in the ME network with a large volume of lines, expand the carrying capacity of a single cable, and reduce the planning difficulty of the equipment into the network.
Figure 9
Another powerful thing about the P2P tunnel is that the data is not delayed from the input end to the output end, and any type of data is the case.As shown in Figure 10, the signal of the red stone fire handle will be passed from the input end to the output end.
Figure 10
Of course, due to the lack of a whitelist and priority function, the P2P tunnel cannot deal with a considerable part of the logistics needs, but it is a very good solution for pure end -to -end transportation scenes.
Digesty: From the perspective of the characteristics of the distinction input and output end, there is still a gap between the P2P distance between the P2P distance in AE. It realizes the literal significance of "point -to -point", but the endpoints of them are not equal.On the other hand, the concept of the tunnel is explained vividly: Generally, some form of data must follow a specific protocol and rely on specific media to transmit it.The type of data internal data is only necessary to send the package to the other end of the tunnel. This is manifested in the ME network. By establishing a tunnel, almost all types of data can be transmitted on the ME cables are science and AWSL.
Sub -network
The P2P tunnel that can almost carry everything is actually limited. It itself is one of them: the P2P tunnel cannot be used to transmit other P2P tunnels.But for the ME network, this is not the case. A ME network can carry other ME networks to some extent. This is the sub -network.
In short, through the storage bus cooperation with the ME interface, one network can be regarded as one container to another network. This network that is regarded as a container is a sub -network.The accessible items are capacity of the container is the capacity of all containers in the sub -network.
As shown in Figure 11, the left network is connected to the right network through the ME interface and storage bus, becoming the sub -network of the right network.At this time, the ME terminal from the right network can access the data in the storage component in the left ME drive; but the data on the right side cannot be operated from the left, because the left side is only a container on the right side.The ME interface, as a device for adjacent storage bus, can take into account the input and output requests and convey it to the left network. It is the key to the left sub -network that can be regarded as a container.
Figure 11
In addition to the same as P2P, it can be used to expand the number of network loading channels and streamline the network plan. The sub -network can also effectively separate functional areas or independent priority areas in the ME network, making the construction network more flexible and efficient.
Chapter 3 Automation
After coming to this chapter, you have passed the stage of initial understanding of the ME network. It is enough to make a simple exploration and complete the "network administrator" of the AE module.The ME network itself is closely related. The advanced operation of the ME network is to build the network through flexibly and reasonably to support huge and complex storage, logistics and automation systems.
It happens that the automation synthesis of the AE module requires the collaborative participation of many devices. In actual production conditions, a relatively complex ME network is often required to work effectively to work effectively. Therefore, we will hit the iron while it is hot.Including how to configure the ME model and cooperate with the ME interface to implement raw materials, how to use the synthetic processing unit (CPU) to handle the synthetic request made by the player, and how to use the molecular assembly room for workbench synthesis.With the comprehensive case of Chapter 4, you may understand the content of this chapter faster and review the previous content.
Model terminal and model
To automatically synthesize, it is necessary to provide a synthetic formula for the ME network, and the form of the formula in the network is encoding a model. The encoding model is formed by the configuration of the blank model in the ME model terminal.After the encoding model is placed in the ME interface, the CPU in the network can detect the model and read the synthetic formula of its records, so that the raw material is sent to the ME interface where the model is located when processing the corresponding synthesis.
As shown in Figure 12, network access model terminal and ME interface.Right -click to open the model terminal, as shown in Figure 13, put in the blank model (can also be put in the coding model for overwriting) to mark the synthetic formula with items; in this case, we make two models, one [1*oak log → 4 4 → 4*Oak Wooden Board "], the other is [4*oak wooden board → 1*workbench], which are performed in the" synthetic model "mode of the model terminal.Put in the ME interface. At this time, open the model terminal, you will see the icon of oak wooden boards and the workbench appear on the terminal of the terminal.Selected quantity. After setting the quantity, click the next page to enter the synthetic plan interface. When there is a synthetic material and available synthetic memory in the network, you can allocate and start the synthesis.
Figure 12
Figure 13
[h = 2 Create a synthetic processing unit (CPU)]
In the ME network, the Crafting Processing Unit, CPU is responsible for searching the synthetic formula available in the entire network, receiving the synthetic requests initiated by the player, cache raw material to its own, allocated raw materials to the specified device, detecting synthetic items after synthetic itemsBack to the Internet is the logical center of the entire automatic synthesis process.
The CPU is a multi -square structure composed of synthetic storage, synthetic units, synthetic monitors, and parallel processing units. The shape needs to be a cubic body. The entire multi -square structure occupies 1 channel.Among them, synthetic memory is necessary.
As shown in Figure 14, add CPU and ME drives with built -in storage components to FIG. 13, and store oak logs through the model terminal. At this time, click the oak board in the model terminal in the key to propose a synthesis plan.The square can be viewed by the synthetic plan. Since the molecular assembly room has not been added to the synthesis in the network, it will stay in the state of planning synthesis.
Figure 14
Molecular assembly room
The CPU will allocate the synthetic task to the molecular assembly room and recover the finished products into the network.The molecular synthesizer needs to be placed next to the CPU or ME interface so that the CPU can access the items of the molecular assembly room.
As shown in Figure 15, the molecular assembly room is added to FIG. 14, because a molecular assembly room can only be equipped with 1 installation task at the same time, so at this time, the molecular assembly room will carry out [1*oak logs → 4*oak wooden board], [4*oak wooden board → 1*workbench] Two tasks, and finally the finished product was stored in the storage unit.
Figure 15
If you add another molecular assembly room as shown in Figure 16, and put the two coding samples into two ME interfaces, then the parallel processing unit can play a role.The above example cannot show this, because the synthetic workbench must wait for the synthetic wooden board to complete first.But for example, using iron ingots, sand and gunpowder to synthesize a TNT mining car, then the mining car and TNT can be assigned to the two molecular assembly rooms for simultaneous synthesis, but the prerequisite for this is that the corresponding coding models are located in the two.Among the ME interface.Figure 16
Chapter 4 Comprehensive Case -Plant Magic Automatic Synthetic Tyra Steel ingots
You need to install plant magic modules at the same time.The goal of this case is not difficult to achieve. The solution displayed in this article is designed and fits the previous content according to their habits.Plan.
Tyra steel ingot is a common material in plant magic. It consumes magic condensation by 1*magic steel ingot+ 1*magic pearl+ 1*magic diamond on the Tyra condensed plate, while magic steel ingots, magic pearls and magic diamonds are iron.The ingots, the last shadow pearl, and the diamond are thrown into the magic pond to consume magic.
The difficulty of this case is that the cohesion of Tella Steel is not performed by the molecular assembly room (required to detect the synthetic progress in other ways), and only one piece of materials can be available on the Tyra condensed board during the aggregation process (otherwise the condensation will fail and end it),), the failure will be terminated), and the failure will be terminated.)The Tyra condensed board is not a container (unable to use ME interface interaction).
Because the production process cannot be carried out by the molecular assembly room, the processing of the processing of the processing previously not mentioned before is required. In the model terminal, the mode is changed to "processing the model". Both the raw materials and the finished product are manually configured.The interface is responsible for exporting the raw material to the target device. Until the CPU detects that the target finished product appears in the network, it will be completed once.Make [1*iron ingot → 1*magic steel ingot] [1*last shadow pearl → 1*magic pearl] [1*diamond → 1*magic diamond] [1*magic steel ingot+1*magic pearl+1*magic powerDiamonds → 1*Tyra Steel ingot] The four processing models such are placed in the corresponding ME interface.
As shown in Figure 17, the ME interface is connected to the funnel. After the synthesis starts, the material enters the funnel, and then enters the lattice box and falls into the magic pond as a drop.Put it in adjacent boxes) collection. The items inside the box are drawn into the network by the input bus, and the first processing of the raw material is completed (here the ME interface is the form of a panel, which is obtained by the ME interface in the form of a block).
Figure 17
As shown in Figure 18, the CPU, the ME drive of the built -in storage unit, the ME controller, the energy component, and the ME model terminal connect the network, place the ME interface on the left side of the funnel into the Tyra steel ingot processing model, and the ME interface adjustment blocking mode (the upper left corner of the GUI left corner) When there is an item in the container, it is not transmitted (avoid input omissions); the Tyra condensed plate is connected to a redstone comparator to collect the synthetic state.Side, so as to prevent the funnel from continuing to release the internal raw materials when it is condensed.
The finished product is collected by the funnel flower (only the items marked in the adjacent box display box) are collected. The items in the box are drawn into the network by the input bus.
Figure 18
However, as the condensing board begins to condense, the next material has been entered from the funnel box from the funnel, so the funnel must be stopped in advance for the input material of the lattice box.The structure shown in Figure 19 is used to make up for the time difference: the P2P channel will receive a continuous pulse signal. The high duration of each pulse is 0.6 seconds, which is passed on to the right side of the funnel, so that the funnel of the funnel of the funnel is kept at least 0.6 seconds at a time of each item of at least 0.6 seconds.Therefore, to ensure that the signal sent during the cohesion board is connected to the funnel back of the funnel during the challenge of the funnel of the funnel to achieve the asynchronous when blocking the classic penalties in advance.(The rear of the comparison device is the ME standard sender, which is only used to send the redstone signal unconditionally)
Figure 19
Figure 20: Overlooking the entire system
Figure 20
Chapter 5 Miscellaneous
In this chapter, some of the ME network related content mentioned in the previous article, combined with basic knowledge and information about related equipment, can quickly understand these contents.
Model panel and damage panel
The molding panel can extract the square from the network, place it, destroy the square in front of the panel and enter the network.
Figure 21: A humble stone brush machine (for example, not a stable structure)
Figure 21
Portable equipment
Portable element: a portable ME box with 1K storage space.
Wireless terminal: The network for remote access to the wireless access point needs to be binded and authorized to cooperate with the identity card in the security terminal.Dyeing and camouflage board
The use of a dyeing device can consume staining balls as equipment or cable dyeing, so that the color of the color of the color will not be connected between different colors.
The cable camouflage board can wrap the exposed cables or panels, and use the cable anchor and a square to synthesize. It will get the same camouflage board with the same camping diagram as the participating synthesis.
Quantum ring
The wireless connection used to form a network, a pair of networks at both ends of the quantum ring are deemed to be the same network, which also means that one end cannot add the ME controller by itself.It is often used to collect farm products.
I/O Equipment and Space Tower
The function of the I/O device is to help network read and write storage components, but because the interaction between networks and items and fluids can be performed through the ME drive or ME box, there are not many application scenarios in the ME-IO port, which are often used to store components in storage componentsQuickly transfer.
The space IO port is the only device that can provide read and write space storage components for the space tower. The space tower is a multi -square structure for storing and overwriting all blocks in a certain space. For the specific use method, see the Encyclopedia.
Standard sender and trigger bus
It is convenient for the ME network to use the redstone circuit to process certain information.Of course, many ME network devices can also achieve some redstone characteristics by inserting the redstone card.
The ME standard sender detects the number of items in the network according to a certain rule, and a redstone signal is issued;
The ME trigger bus will determine the segmentation of the cable connected by itself according to the redstone signal.
Upgrade card
AE provides several upgraded cards, which can change the characteristics of the device in the ME device. Among them, acceleration cards, reverse cards, and fuzzy cards are more commonly used.Believe me, you will need them.
Acceleration cards are used to speed up the working speed of the equipment.
The fuzzy card allows the device to execute the mark content only through the item ID or mine, thereby ignoring information such as durability.
The labeling effect of the reverse card order device is opposite.
The synthetic card is used for details such as the source of materials when accurate and automatic synthesis.
The capacity card is used to expand the mark of the device.