• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

MightyPirates/TIS-3D: TIS-100 inspired low-tech computing in Minecraft.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

MightyPirates/TIS-3D

开源软件地址(OpenSource Url):

https://github.com/MightyPirates/TIS-3D

开源编程语言(OpenSource Language):

Java 100.0%

开源软件介绍(OpenSource Introduction):

TIS-3D

TIS-3D is a Minecraft mod inspired by the brilliant game TIS-100 (go buy it if you don't own it yet). It takes the concept of minimal, programmable nodes and expands it to the third dimension, allowing you to build multiblock computers from different modules. Basic modules are the executable module, which can be programmed in very basic ASM (as introduced by TIS-100), and the redstone module, which allows reading and writing redstone signals, enabling basic interaction with the world.

License / Use in Modpacks

This mod is licensed under the MIT license. All assets are public domain, unless otherwise stated; all are free to be distributed as long as the license / source credits are kept. This means you can use this mod in any mod pack as you please. I'd be happy to hear about you using it, though, just out of curiosity.

Extending

In general, please refer to the API, everything you need to know should be explained in the Javadoc of the API classes and interfaces.

There are two main ways of extending TIS-3D: by adding custom modules, and by adding serial protocols for the serial port module. Create a custom module if it has its own, self-contained functionality, such as the display module for example.

When adding integration with another mod, I strongly ask that you first consider whether this can already be achieved via redstone. If it can, even if it's slightly more complicated, stop right there. If it can't, there are the aforementioned two options, module or protocol.

The general rule of thumb should be this:

  • if you're adding integration for a general concept, usually support for some interface implemented by numerous blocks, such as Minecraft's IInventory, use a module.
  • if you're adding integration for one specific block, such as Minecraft's command block, use a protocol so that the block can be communicated with using the serial port module.

The rationale here being that in the former case the serial protocol is explicitly defined by the module, whereas in the latter case the serial protocol is explicitly defined by the block. Again, if at all possible, prefer avoiding either of the two and use redstone (and comparators) instead.

Gradle

To add a dependency to TIS-3D for use in your mod, add the following to your build.gradle:

repositories {
    maven {
        url 'https://cursemaven.com'
        content { includeGroup "curse.maven" }
    }
}
dependencies {
    implementation fg.deobf("curse.maven:tis3d-238603:3738437")
}



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap