Constants: IfType#MODEL_TYPE_*
Renamed: LocType#options Renamed: NPCType#getHeadModel Renamed: ObjType#getInterfaceModel Renamed: PlayerEntity#getHeadModel Constants: Game#*OP_ACTION Added: Game#addMenuOption Refactored: All menu options now call Game#addMenuOption drastically reducing code size.
This commit is contained in:
1 parent
eabcae3563
commit
7e04d13ff1
7 files changed
+605
-808
No files matched your search
@@ -358,13 +358,13 @@ public class PlayerEntity extends PathingEntity {
|
||||
return visible;
|
||||
}
|
||||
|
||||
public Model getUnlitHeadModel() {
|
||||
public Model getHeadModel() {
|
||||
if (!visible) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (transmogrify != null) {
|
||||
return transmogrify.getUnlitHeadModel();
|
||||
return transmogrify.getHeadModel();
|
||||
}
|
||||
|
||||
boolean invalid = false;
|
||||
@@ -391,7 +391,7 @@ public class PlayerEntity extends PathingEntity {
|
||||
int value = appearances[part];
|
||||
|
||||
if ((value >= 256) && (value < 512)) {
|
||||
Model model = IdkType.instances[value - 256].method540();
|
||||
Model model = IdkType.instances[value - 256].getHeadModel();
|
||||
if (model != null) {
|
||||
models[modelCount++] = model;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user