Side Effects
An extremely lightweight library for creating server-side mods that work with unmodified clients!
Adding to Project
repositories {
// other repositories
maven { url "https://jitpack.io" }
}
dependencies {
// other dependencies
modImplementation "moe.hertz:side-effects:(version)"
}
Non-Goals
- Converting existing mods for server-side operation
- Complete replacement of similar mods like Polymer or PolyMc, since maintaining minimal weight is the priority
Current Status
Currently, only custom (fake) entities are supported.
Documentation coming soon.
Usage examples with this library:
- Vanilla Laser
- Bat Extensions (not yet released)
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;
}
}