mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-25 13:57:59 +01:00
Update HDSkins
This commit is contained in:
parent
21a70d205a
commit
5d314b6cce
3 changed files with 8 additions and 5 deletions
|
@ -22,5 +22,5 @@ org.gradle.daemon=false
|
||||||
# Dependencies
|
# Dependencies
|
||||||
modmenu_version=2.0.0-beta.7
|
modmenu_version=2.0.0-beta.7
|
||||||
kirin_version=1.10.0
|
kirin_version=1.10.0
|
||||||
hd_skins_version=6.5.0
|
hd_skins_version=6.5.1
|
||||||
mson_version=1.5.0
|
mson_version=1.5.0
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
package com.minelittlepony.client.hdskins;
|
package com.minelittlepony.client.hdskins;
|
||||||
|
|
||||||
|
import net.minecraft.client.world.ClientWorld;
|
||||||
|
|
||||||
import com.minelittlepony.api.model.ModelAttributes;
|
import com.minelittlepony.api.model.ModelAttributes;
|
||||||
import com.minelittlepony.api.pony.IPonyManager;
|
import com.minelittlepony.api.pony.IPonyManager;
|
||||||
import com.minelittlepony.client.IPreviewModel;
|
import com.minelittlepony.client.IPreviewModel;
|
||||||
|
@ -14,8 +16,8 @@ import com.minelittlepony.hdskins.client.dummy.TextureProxy;
|
||||||
*/
|
*/
|
||||||
class DummyPony extends DummyPlayer implements IPreviewModel, ModelAttributes.Swimmer, IPonyManager.ForcedPony, Pony.RegistrationHandler {
|
class DummyPony extends DummyPlayer implements IPreviewModel, ModelAttributes.Swimmer, IPonyManager.ForcedPony, Pony.RegistrationHandler {
|
||||||
|
|
||||||
public DummyPony(TextureProxy textures) {
|
public DummyPony(ClientWorld world, TextureProxy textures) {
|
||||||
super(textures);
|
super(world, textures);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setWet(boolean wet) {
|
public void setWet(boolean wet) {
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package com.minelittlepony.client.hdskins;
|
package com.minelittlepony.client.hdskins;
|
||||||
|
|
||||||
import net.minecraft.client.util.math.MatrixStack;
|
import net.minecraft.client.util.math.MatrixStack;
|
||||||
|
import net.minecraft.client.world.ClientWorld;
|
||||||
import net.minecraft.text.LiteralText;
|
import net.minecraft.text.LiteralText;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
import net.minecraft.util.Identifier;
|
import net.minecraft.util.Identifier;
|
||||||
|
@ -23,8 +24,8 @@ class PonyPreview extends PlayerPreview {
|
||||||
public static final Identifier NO_SKIN_SEAPONY = new Identifier("minelittlepony", "textures/mob/noskin_seapony.png");
|
public static final Identifier NO_SKIN_SEAPONY = new Identifier("minelittlepony", "textures/mob/noskin_seapony.png");
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected DummyPlayer createEntity(TextureProxy textures) {
|
protected DummyPlayer createEntity(ClientWorld world, TextureProxy textures) {
|
||||||
return new DummyPony(textures);
|
return new DummyPony(world, textures);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setWet(boolean isWet) {
|
public void setWet(boolean isWet) {
|
||||||
|
|
Loading…
Reference in a new issue