2019-11-23 22:07:39 +01:00
|
|
|
package com.minelittlepony.client.model;
|
2018-06-20 23:12:12 +02:00
|
|
|
|
2019-05-27 17:59:15 +02:00
|
|
|
import net.minecraft.client.render.entity.model.SkullEntityModel;
|
2018-06-20 23:12:12 +02:00
|
|
|
|
2019-11-23 18:28:42 +01:00
|
|
|
import com.minelittlepony.mson.api.model.BoxBuilder;
|
|
|
|
|
2019-05-27 17:59:15 +02:00
|
|
|
public class ModelDeadMau5Ears extends SkullEntityModel {
|
2018-06-20 23:12:12 +02:00
|
|
|
|
|
|
|
public ModelDeadMau5Ears() {
|
2019-05-27 17:59:15 +02:00
|
|
|
super(24, 0, 64, 64);
|
2019-11-23 18:28:42 +01:00
|
|
|
((BoxBuilder.ContentAccessor)skull).cubes().clear();
|
2019-11-22 18:24:22 +01:00
|
|
|
skull.addCuboid(-9, -13, -1, 6, 6, 1, 0);
|
|
|
|
skull.addCuboid(3, -13, -1, 6, 6, 1, 0);
|
2018-08-18 17:35:18 +02:00
|
|
|
}
|
2018-06-20 23:12:12 +02:00
|
|
|
|
2018-08-18 17:35:18 +02:00
|
|
|
public void setVisible(boolean show) {
|
2019-11-23 18:28:42 +01:00
|
|
|
skull.visible = show;
|
2018-06-20 23:12:12 +02:00
|
|
|
}
|
|
|
|
}
|