Универсальный датчик — блок из мода PneumaticCraft: Repressurized.
Как работает #how
The Universal Sensor/$ is, like the name suggests, a sensor that can be used in many applications; it measures in-world conditions and outputs a redstone signal/$ based on those conditions.
Being universal isn't free: the sensor requires air/$ to run (1 mL/tick) in almost all/$ cases, and Sensors need certain Upgrades/$ to run.
Currently there are over 15 different conditions the Sensor can measure, from being able to check whether there's a block at a certain coordinate or whether there is a Twitcher streaming. Open the GUI of the Universal Sensor/$ to see what's available, plus descriptions.
You will need to insert an Entity Tracker/$, Dispenser/$, or Block Tracker/$ plus GPS Tool/$ to allow selection of the corresponding category of sensors. E.g. counting the number of entities within range requires an Entity Tracker Upgrade/$ to be installed.
Мод не переведён — текст книги на английском, как в игре.
Читать запись целикомWhen ComputerCraft/$ or Open Computers/$ is installed, you'll be able to interact with almost every machine, and Drones/$.
Any of the machines listed here can be interacted with as CC/OC peripherals.
In Lua, you can run m = peripheral.wrap(<side>)/$, where <side>/$ is the side of the computer the peripheral is connected to (top, bottom, left, right, back, front). Then you can use any of the following functions with m.<functionName>/$.
Anywhere in the following functions where a '<side>' appears as one of the arguments, 'up', 'down', 'north', 'south', 'east', 'west' are valid.
You will need to use an Adapter/$ to connect your computer to machines; they will then appear as OC components, which show up if you run =components.list()/$ in an OC Lua environment. Then any of the following functions can be used, e.g. p = components.air_compressor.getPressure()/$ will retrieve the current pressure of an attached Air Compressor/$.
Мод не переведён — текст книги на английском, как в игре.
Читать запись целикомПолучение #obtain
Делают по 1 рецепту: верстак.[3]
×1Сейсмический сенсор (PneumaticCraft: Repressurized)
×4Пластиковый лист или другой предмет из тега (PneumaticCraft: Repressurized)
×1Редстоуновый повторитель (Minecraft)
×1Напорная труба (PneumaticCraft: Repressurized)
Источники
- Встроенная книга «PNC:R Руководство», запись «Universal Sensor»
- Встроенная книга «PNC:R Руководство», запись «Computer Integration»
- Рецепты сервера AllTheMods10 — выгрузка из игры, 25 октября в 04:35