使用 LazyModder 的模组:
M'Ore Seeds(矿石种子) - 1.12.1
MCConfig - 1.12.1
LazyModder:
不要被这个名字欺骗,LazyModder 绝非“懒惰”。它提供了用于轻松创建物品、方块、工具、实体、生物实体、农作物等的工具。LazyModder 致力于在添加游戏内容时将代码行数控制在接近一行,同时提供易于扩展的功能,让你能完全掌控自己的创作(包括注册方式)。LazyModder 的目标是减少模组的开发时间以及模组更新到新版本的间隔时间。它通过在后台处理所有注册工作来实现这一目标,让开发者可以专注于模组的功能实现。
LazyModder 仍在开发中,文档尚不完善,其结构有时可能需要进行调整。目前网站和文档正在建设中,暂无预计完成时间。捐赠将继续推动该项目并缩短开发周期。
我有一些模组开发者告诉我(当我向他们展示我的代码时),这看起来多么容易;其中一位甚至不相信我,因为觉得“太简单了”并且“为什么以前没人这么做。”
使用 LazyModder 的模组:
面向模组开发者:
1.12.1 视频教程
添加物品、方块、配方、方块实体和生物实体
Lazy Modder 将使模组开发者的生活更加轻松。使用此工具的模组开发者可以期待更快的项目开发进度和更轻松的更新过程。如何实现?Lazy Modder 包含许多易于使用的类,这些类扩展了 Minecraft 的 Item 类并与之协同运行。创建并注册一个物品就像输入 `new EasyItem("EasyItem")` 一样简单。以下是我为模组 Blood Baubles 创建的一个示例。
所有物品不仅通过继承 EasyItem 创建,还与其他模组兼容(在本例中为 baubles 饰品模组)。
下面是一些代码示例。创建一个类可以非常简单:
public class BasicRing extends EasyItem {
public BasicRing() {
super("BasicRing");
}
}
看起来很简单,但实际上背后做了很多工作。该物品注册了其未本地化名称、向游戏注册表注册自身等。
在我的案例中,我创建了一个基类并继承了 EasyItem 以及其他一些接口,但如果你想查看源码,可以找到它们。
核心模组还添加了多个类,用于轻松创建(方块、食物、药水、护甲、工具等)。
这一切都让生活变得更轻松。Blood Baubles 最初是为 1.9.4 版本创建的,但我仅用两天时间就将其更新到了 1.11 版本。而且大部分时间花在我重新组织原有代码上。为了让它们在在游戏中显示出来,几乎不需要做任何改动。
Mods that use LazyModder:
M'Ore Seeds (Grow ores) - 1.12.1
MCConfig - 1.12.1
LazyModder:
Don't let the name fool you, LazyModder is anything but lazy. It provides tools for easy creation of items, blocks, tools, entities, living entities, crops, and more. While trying too keep the number of lines to add things in game as close to one line of code, while still providing easy extensibility to give full control of your creations (even how they are registered). The goal of LazyModder is to reduce time of development for mods and time between updates for mods to new versions. It does this by handling all the registration in the background so the codder can focus on the functionality of their mod.
LazyModder is still in development and is not fully documented and sometimes may need to change it structure. Documentation and a website are under development with no eta at this time. Donations will continue to drive this project and decrease development time,
I have some modders tell me (when I show them my code), how easy it seems and one not believing me because it was "too easy" and "why hasn't it been done before."
Mods that use LazyModder:
For Modders:
1.12.1 Videos
Adding items, blocks, recipes, tile entities and living entities
Lazy Modder will make life as a modder easier. Modders who use this can expect faster project development and updating easier. How? Lazy Modder contains a number of easy to use classes that extend the Minecraft Item class and runs with it. Creating and registering an item is as easy as typing new EasyItem("EasyItem"). Here is an example I created for my mod Blood Baubles.
All the items were not only created extending the EasyItem but also compatible with other mods (in this case baubles.
Now here some coding examples. Creating a class can be as simple as:
public class BasicRing extends EasyItem {
public BasicRing() {
super("BasicRing");
}
}
Looks simple, but there is a lot being done. The item registered it's unlocalized name, registered itself to the game registry, etc.
In my case I created a base class and extended easy item and some other interfaces, but you can find the source if you want to take a look.
The core mod also adds a number of class for easy creation (blocks, food, potions, armor, tools, etc).
It just makes life easier. Blood Baubles was created for 1.9.4, but I updated it to 1.11 in two days. And most of that time was me changing how my original code was organised. Very little was needed to make them show up in game.
下载 LazyModder
下载 LazyModder
下载 LazyModder
下载 LazyModder
下载 LazyModder
下载 LazyModder
下载 LazyModder
下载 LazyModder
- 所有类现在应与服务器兼容
- 实体(包括生物和方块)需要实现 IRenderLiving 或 IRenderTESR,并返回其 RenderLiving 或 TileEntitySpecialRender
- 配置类现在会自动向 Forge 注册自身,不再需要 GUI 工厂
- 已更新所有类以反映这些新变更
- 不兼容任何使用特定方法的 0.73 或更低版本
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧