26 lines
949 B
Java
26 lines
949 B
Java
package io.gitlab.jfronny.combit.config;
|
|
|
|
import me.sargunvohra.mcmods.autoconfig1u.annotation.ConfigEntry.Gui.Excluded;
|
|
import me.sargunvohra.mcmods.autoconfig1u.shadowed.blue.endless.jankson.Comment;
|
|
import net.fabricmc.loader.api.FabricLoader;
|
|
|
|
import java.util.HashSet;
|
|
|
|
public class Invulnerability {
|
|
public boolean enable = true;
|
|
public int iFrameInterval = 0;
|
|
public boolean debug = FabricLoader.getInstance().isDevelopmentEnvironment();
|
|
@Comment("Between -0.1 (disable) and 1")
|
|
public float attackCancelThreshold = 0.1f;
|
|
@Comment("Between -0.1 (disable) and 1")
|
|
public float knockbackCancelThreshold = 0.75f;
|
|
@Excluded
|
|
public HashSet<String> attackExcludedEntities = null;
|
|
@Excluded
|
|
public HashSet<String> damageSrcWhitelist = null;
|
|
@Excluded
|
|
public HashSet<String> dmgReceiveExcludedEntities = null;
|
|
public boolean excludeAllMobs = false;
|
|
public boolean excludePlayers = false;
|
|
}
|