Make dem entity constructors Deprecated cos they look ugly

This commit is contained in:
Andrew 2013-08-07 22:50:52 +12:00
parent d74fed7e39
commit fc9337504c
2 changed files with 7 additions and 0 deletions

View File

@ -28,14 +28,17 @@ public class MiscDisguise extends Disguise {
this(disguiseType, true, id, data);
}
@Deprecated
public MiscDisguise(EntityType entityType) {
this(entityType, true, -1, -1);
}
@Deprecated
public MiscDisguise(EntityType entityType, boolean replaceSounds) {
this(entityType, replaceSounds, -1, -1);
}
@Deprecated
public MiscDisguise(EntityType entityType, boolean replaceSounds, int id, int data) {
super(DisguiseType.getType(entityType), replaceSounds);
if (id == -1)
@ -46,6 +49,7 @@ public class MiscDisguise extends Disguise {
this.data = data;
}
@Deprecated
public MiscDisguise(EntityType disguiseType, int id, int data) {
this(disguiseType, true, id, data);
}

View File

@ -22,14 +22,17 @@ public class MobDisguise extends Disguise {
this.isAdult = isAdult;
}
@Deprecated
public MobDisguise(EntityType entityType) {
this(entityType, true);
}
@Deprecated
public MobDisguise(EntityType entityType, boolean isAdult) {
this(entityType, isAdult, true);
}
@Deprecated
public MobDisguise(EntityType entityType, boolean isAdult, boolean replaceSounds) {
super(DisguiseType.getType(entityType), replaceSounds);
this.isAdult = isAdult;