@Override
public void addProps(FMLPreInitializationEvent event, Configuration config)
{
this.Enabled = config.get(this.nameInternal, "Am I enabled? (default true)", true).getBoolean(true);
this.namePublic = config.get(this.nameInternal, "What's my name?", this.nameInternal).getString();
this.DmgMin = config.get(this.nameInternal, "What damage am I dealing, at least? (default 4)", 4).getInt();
this.DmgMax = config.get(this.nameInternal, "What damage am I dealing, tops? (default 8)", 8).getInt();
this.Speed = config.get(this.nameInternal, "How fast are my projectiles? (default 1.7 BPT (Blocks Per Tick))", 1.7).getDouble();
this.Cooldown = config.get(this.nameInternal, "How long until I can fire again? (default 15 ticks)", 15).getInt();
this.Wither_Strength = config.get(this.nameInternal, "How strong is my Wither effect? (default 1)", 1).getInt();
this.Wither_Duration = config.get(this.nameInternal, "How long does my Wither effect last? (default 61 ticks)", 61).getInt();
this.isMobUsable = config.get(this.nameInternal, "Can I be used by QuiverMobs? (default true.)", true).getBoolean(true);
}
OSP.java 文件源码
java
阅读 24
收藏 0
点赞 0
评论 0
项目:minecraft-quiverbow
作者:
评论列表
文章目录