<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.joban.org/w/index.php?action=history&amp;feed=atom&amp;title=MTR%3ASensor_Checking</id>
	<title>MTR:Sensor Checking - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.joban.org/w/index.php?action=history&amp;feed=atom&amp;title=MTR%3ASensor_Checking"/>
	<link rel="alternate" type="text/html" href="https://www.joban.org/w/index.php?title=MTR:Sensor_Checking&amp;action=history"/>
	<updated>2026-04-30T16:55:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://www.joban.org/w/index.php?title=MTR:Sensor_Checking&amp;diff=2438&amp;oldid=prev</id>
		<title>AmberFrost: Created page with &quot;{{DraftBox}}Sensor Checking is a process '''that is called every Minecraft tick''', to check for MTR Sensors blocks, and activating/performing actions when necessary, it is a part of MTR Train Simulation.  ''Note: All concept explained in this page may not exist within the MTR Codebase, but purely used for explanation.''  ==== Prerequisite ====  * The chunk where the train's head are located must be loaded. * The train will scan through all block within the '''Scan Radiu...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.joban.org/w/index.php?title=MTR:Sensor_Checking&amp;diff=2438&amp;oldid=prev"/>
		<updated>2023-05-02T14:22:40Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{DraftBox}}Sensor Checking is a process &amp;#039;&amp;#039;&amp;#039;that is called every Minecraft tick&amp;#039;&amp;#039;&amp;#039;, to check for MTR Sensors blocks, and activating/performing actions when necessary, it is a part of MTR Train Simulation.  &amp;#039;&amp;#039;Note: All concept explained in this page may not exist within the MTR Codebase, but purely used for explanation.&amp;#039;&amp;#039;  ==== Prerequisite ====  * The chunk where the train&amp;#039;s head are located must be loaded. * The train will scan through all block within the &amp;#039;&amp;#039;&amp;#039;Scan Radiu...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DraftBox}}Sensor Checking is a process '''that is called every Minecraft tick''', to check for MTR Sensors blocks, and activating/performing actions when necessary, it is a part of MTR Train Simulation.&lt;br /&gt;
&lt;br /&gt;
''Note: All concept explained in this page may not exist within the MTR Codebase, but purely used for explanation.''&lt;br /&gt;
&lt;br /&gt;
==== Prerequisite ====&lt;br /&gt;
&lt;br /&gt;
* The chunk where the train's head are located must be loaded.&lt;br /&gt;
* The train will scan through all block within the '''Scan Radius''', and that block has to be a known train sensor&lt;br /&gt;
* The train must match the filter of the Train Sensor block (If there's any)&lt;br /&gt;
&lt;br /&gt;
If any of the above requirement is not met, that block will be skipped over and no action will be performed.&lt;br /&gt;
&lt;br /&gt;
=== Scan radius ===&lt;br /&gt;
Scan radius is a square radius where the train will check for blocks.&lt;br /&gt;
&lt;br /&gt;
For example a 2x2 scan radius means that the train will scan 2 blocks to the left/right/forward/backward.&lt;br /&gt;
&lt;br /&gt;
There is no fixed size for the Scan Radius, the higher the speed is the larger the radius is.&lt;br /&gt;
&lt;br /&gt;
''(TODO list out reference speed table)''&lt;br /&gt;
&lt;br /&gt;
Note that the train will always scan '''3''' blocks below the train no matter what, so it is safe to put your sensor a little bit deeper without worrying about the train not triggering in for example a slope.&lt;br /&gt;
&lt;br /&gt;
=== Train Redstone Sensor ===&lt;br /&gt;
It will simply power the redstone sensor.&lt;br /&gt;
&lt;br /&gt;
=== Train Announcer ===&lt;br /&gt;
No block checking will be performed if the train does not have anyone riding it.&lt;br /&gt;
&lt;br /&gt;
Otherwise, it will tell the train announcer block to announce the message to the players riding the train.&lt;br /&gt;
&lt;br /&gt;
=== Cargo Loader/Unloader ===&lt;br /&gt;
It will check for all directions '''relative to the cargo loader/unloader''' and see if there's a storage container (chest/shulker etc.) next to the cargo sensor.&lt;br /&gt;
&lt;br /&gt;
If found, it will start transferring 1 single item. (Note that the Sensor Checking is performed every tick, if the train is able to detect the sensor for 20 ticks/1 second, it will transfer 20 items in 1 second).&lt;/div&gt;</summary>
		<author><name>AmberFrost</name></author>
	</entry>
</feed>