mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-26 22:38:00 +01:00
Added an option to toggle first-person magic
This commit is contained in:
parent
ca62866e95
commit
334e768166
3 changed files with 5 additions and 2 deletions
|
@ -20,12 +20,14 @@ public class PonyConfig extends SensibleConfig implements Exposable {
|
|||
@Expose public boolean snuzzles = true;
|
||||
@Expose public boolean hd = true;
|
||||
@Expose public boolean showscale = true;
|
||||
@Expose public boolean fpsmagic = true;
|
||||
|
||||
public enum PonySettings implements Setting {
|
||||
SIZES,
|
||||
SNUZZLES,
|
||||
HD,
|
||||
SHOWSCALE;
|
||||
SHOWSCALE,
|
||||
FPSMAGIC;
|
||||
}
|
||||
|
||||
@Expose public boolean villagers = true;
|
||||
|
|
|
@ -68,7 +68,7 @@ public class LevitatingItemRenderer {
|
|||
|
||||
pushMatrix();
|
||||
|
||||
boolean doMagic = pony.getMetadata().hasMagic();
|
||||
boolean doMagic = MineLittlePony.getConfig().fpsmagic && pony.getMetadata().hasMagic();
|
||||
|
||||
if (doMagic) {
|
||||
setupPerspective(entity, stack, left);
|
||||
|
|
|
@ -8,6 +8,7 @@ minelp.options.hd=Enable MineLP skin server
|
|||
minelp.options.sizes=Allow all different sizes of pony
|
||||
minelp.options.snuzzles=Display snuzzles on ponies
|
||||
minelp.options.showscale=Use show-accurate scaling
|
||||
minelp.options.fpsmagic=Ponies use magic in first-person
|
||||
|
||||
minelp.mobs.title=Mob Settings
|
||||
minelp.mobs.villagers=Ponify villagers
|
||||
|
|
Loading…
Reference in a new issue