Side Effects
Abuse of vanilla features as side effects! (current support fake entity)
Side Effects
Side Effects
A extremely lightweight library for creating server-side mod that works for unmodded clients!
Add to project: ```groovy repositories { // other repo maven { url "https://jitpack.io" } } dependencies { // other deps modImplementation "moe.hertz:side-effects:(version)" } ```
Non-Goal
1. Converting existing mods to server side. 2. 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:
* Vanilla Laser (github) * (unreleased) Bat Extensions (github)
Code example:
```java 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; } } ```