|
| 1 | +/* |
| 2 | + * Copyright (c) 2021 RS485 |
| 3 | + * |
| 4 | + * "LogisticsPipes" is distributed under the terms of the Minecraft Mod Public |
| 5 | + * License 1.0.1, or MMPL. Please check the contents of the license located in |
| 6 | + * https://github.com/RS485/LogisticsPipes/blob/dev/LICENSE.md |
| 7 | + * |
| 8 | + * This file can instead be distributed under the license terms of the |
| 9 | + * MIT license: |
| 10 | + * |
| 11 | + * Copyright (c) 2021 RS485 |
| 12 | + * |
| 13 | + * This MIT license was reworded to only match this file. If you use the regular |
| 14 | + * MIT license in your project, replace this copyright notice (this line and any |
| 15 | + * lines below and NOT the copyright line above) with the lines from the original |
| 16 | + * MIT license located here: http://opensource.org/licenses/MIT |
| 17 | + * |
| 18 | + * Permission is hereby granted, free of charge, to any person obtaining a copy of |
| 19 | + * this file and associated documentation files (the "Source Code"), to deal in |
| 20 | + * the Source Code without restriction, including without limitation the rights to |
| 21 | + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies |
| 22 | + * of the Source Code, and to permit persons to whom the Source Code is furnished |
| 23 | + * to do so, subject to the following conditions: |
| 24 | + * |
| 25 | + * The above copyright notice and this permission notice shall be included in all |
| 26 | + * copies or substantial portions of the Source Code, which also can be |
| 27 | + * distributed under the MIT. |
| 28 | + * |
| 29 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 30 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 31 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 32 | + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 33 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 34 | + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 35 | + * SOFTWARE. |
| 36 | + */ |
| 37 | + |
| 38 | +package network.rs485.logisticspipes.pipes |
| 39 | + |
| 40 | +import net.minecraft.inventory.IInventory |
| 41 | +import net.minecraft.util.EnumFacing |
| 42 | + |
| 43 | +interface IChassisPipe { |
| 44 | + fun nextOrientation() |
| 45 | + fun setPointedOrientation(dir: EnumFacing?) |
| 46 | + fun getPointedOrientation(): EnumFacing? |
| 47 | + fun getModuleInventory(): IInventory |
| 48 | + fun getChassisSize(): Int |
| 49 | +} |
0 commit comments