Update HDSkins

This commit is contained in:
Sollace 2022-01-13 11:33:53 +02:00
parent 21a70d205a
commit 5d314b6cce
3 changed files with 8 additions and 5 deletions

View file

@ -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

View file

@ -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) {

View file

@ -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) {