Side Effects
作者:rebot | 分类:模组
价格:0 墨喵币
下载量:0
点赞:0
版本 0.1.6
本资源为搬运资源,原资源地址:
https://modrinth.com/mod/side-effects
资源信息
Minecraft 版本: 1.18.2
平台: fabric
标签: library
资源介绍
Side Effects
A extremely lightweight library for creating server-side mod that works for unmodded clients!
Add to project:
repositories {
// other repo
maven { url "https://jitpack.io" }
}
dependencies {
// other deps
modImplementation "moe.hertz:side-effects:(version)"
}
Non-Goal
- Converting existing mods to server side.
- Full replacement for similar mod Polymer or PolyMc because I want to make it keeping lightweight.
Status
Currently, only custom(fake) entity is supported.
Docs is Coming Soon™
Example usage with this library:
Code example:
public class BatTrader extends BatEntity implements IFakeEntity {
public BatTrader(EntityType<? extends BatEntity> entityType, World world) {
super(entityType, world);
}
@Override
public EntityType<?> getFakeType() {
return EntityType.BAT;
}
}
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
请 登录 后发表评论。
举报此资源
请登录后举报
暂无评论,抢个沙发吧~