====== Cargo Loaders and Unloaders ======
**Cargo Loaders** and **Cargo Unloaders** are functional blocks in Minecraft Transit Railway mod. They are triggered with a train passing over them similar to the [[mtr:announcer|Announcer]] block and the [[mtr:redstonesensor|Redstone Sensor]] block.
===== Cargo Loaders =====
| @#00C42A: **Cargo Loader** ||
| {{ :mtr:cargoloader_render.png?200 }} ||
| Render of the Cargo Loader block.((
Courtesy of [[https://static.chaofan.io/blockRenderer/]] .
)) ||
| **[[https://minecraft.wiki/w/Renewable_resource|Renewable]]** | Yes |
| **Stackable** | Yes (64) |
| **[[https://minecraft.wiki/w/Tool|Tool]]** | From Stone Pickaxe |
| **[[https://minecraft.wiki/w/Explosion#Blast_resistance|Blast resistance]]** | TBC |
| **[[https://minecraft.wiki/w/Light|Luminous]]** | No |
| **[[https://minecraft.wiki/w/Opacity|Transparent]]** | No |
| **[[https://minecraft.wiki/w/Fire#Burning_blocks|Flammable]]** | No |
| **Catches fire from lava** | No |
| **Created by** | %%gsimba98%% |
The Cargo Loader works by placing down a chest on top of the cargo loader.
When a train carriage passes by the cargo loader it'll take //1 item for every Minecraft Tick that the cargo loader is right below the train's head// from the chest and carries it until it touches a cargo unloader.
The chest can not be under the cargo loader since in Minecraft, you can't open a chest if there's a solid block on top unless it's a slab.
===== Changelog =====
%%3.0.0-Beta-9-unofficial-1: Added.%%
%%3.1.0-unofficial-5: Small NBT tag fix.%%
-
-
-
-
-
-
-
===== Cargo Unloaders =====
| @#00C42A: **Cargo Unloader** ||
| {{ :playground:cargounloader_render.png?200 }} ||
| Render of the Cargo Loader block.((
Courtesy of [[https://static.chaofan.io/blockRenderer/]] .
)) ||
| **[[https://minecraft.wiki/w/Renewable_resource|Renewable]]** | Yes |
| **Stackable** | Yes (64) |
| **[[https://minecraft.wiki/w/Tool|Tool]]** | From Stone Pickaxe |
| **[[https://minecraft.wiki/w/Explosion#Blast_resistance|Blast resistance]]** | TBC |
| **[[https://minecraft.wiki/w/Light|Luminous]]** | No |
| **[[https://minecraft.wiki/w/Opacity|Transparent]]** | No |
| **[[https://minecraft.wiki/w/Fire#Burning_blocks|Flammable]]** | No |
| **Catches fire from lava** | No |
| **Created by** | %%gsimba98%% |
The Cargo Unloader functions nearly the same as the [[playground:cargo_loader_minecraft_wiki_format#cargo_loaders|Cargo Loader]] but the opposite way.
When a train carriage passes by the cargo unloader it'll put //1 item for every Minecraft Tick that the cargo unloader is right below the train's head// back into the chest next to the cargo unloader, leaving the carriage empty.
Same thing, the chest can not be under the cargo unloader since in Minecraft, you can't open a chest if there's a solid block on top unless it's a slab.
===== Note =====
As mentioned previously, the cargo loader/unloader loading is not instantaneous and works by transferring 1 item for every Minecraft tick.
If you would like to load all items from the chest, you should consider putting it at the front of the platform, that way the train can slowly transfer the items during the boarding period.
===== Changelog =====
3.0.0-Beta-9-unofficial-1: Added.
3.1.0-unofficial-5: Small NBT tag fix.