MCPcopy Create free account
hub / github.com/Hypnotic-Development/Hypnotic-Client / Mod

Method Mod

src/main/java/dev/hypnotic/module/Mod.java:62–70  ·  view source on GitHub ↗
(String name, String description, Category category)

Source from the content-addressed store, hash-verified

60 private boolean binding;
61
62 public Mod(String name, String description, Category category) {
63 this.name = name;
64 this.category = category;
65 this.description = description;
66 enabled = false;
67 displayName = name;
68 this.keyCode = 0;
69 this.binding = false;
70 }
71
72 public void addSetting(Setting setting) {
73 this.settings.sort(Comparator.comparing(s -> s == visible ? 1 : 0));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected