From 8b0f88107962b783f1e8bedf298423f0b3807bba Mon Sep 17 00:00:00 2001 From: ACGaming <4818419+ACGaming@users.noreply.github.com> Date: Thu, 6 Jun 2024 17:19:09 +0200 Subject: [PATCH] Adjust soul altar name & book texture --- .../client/render/HSSoulAltarRender.java | 6 +++++- .../resources/assets/harkenscythe/lang/en_us.lang | 1 + .../textures/entities/soul_altar_book.png | Bin 0 -> 799 bytes 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/assets/harkenscythe/textures/entities/soul_altar_book.png diff --git a/src/main/java/mod/emt/harkenscythe/client/render/HSSoulAltarRender.java b/src/main/java/mod/emt/harkenscythe/client/render/HSSoulAltarRender.java index 671bd07..8c4bf18 100644 --- a/src/main/java/mod/emt/harkenscythe/client/render/HSSoulAltarRender.java +++ b/src/main/java/mod/emt/harkenscythe/client/render/HSSoulAltarRender.java @@ -1,5 +1,6 @@ package mod.emt.harkenscythe.client.render; +import mod.emt.harkenscythe.HarkenScythe; import mod.emt.harkenscythe.tileentities.HSSoulAltarTE; import net.minecraft.client.Minecraft; import net.minecraft.client.model.ModelBook; @@ -12,10 +13,13 @@ import net.minecraft.util.ResourceLocation; import net.minecraft.util.math.MathHelper; import net.minecraft.world.World; +import net.minecraftforge.fml.relauncher.Side; +import net.minecraftforge.fml.relauncher.SideOnly; +@SideOnly(Side.CLIENT) public class HSSoulAltarRender extends TileEntitySpecialRenderer { - private static final ResourceLocation TEXTURE_BOOK = new ResourceLocation("textures/entity/enchanting_table_book.png"); + private static final ResourceLocation TEXTURE_BOOK = new ResourceLocation(HarkenScythe.MOD_ID, "textures/entities/soul_altar_book.png"); private final ModelBook modelBook = new ModelBook(); public void render(HSSoulAltarTE te, double x, double y, double z, float partialTicks, int destroyStage, float alpha) diff --git a/src/main/resources/assets/harkenscythe/lang/en_us.lang b/src/main/resources/assets/harkenscythe/lang/en_us.lang index 5906031..5179e61 100644 --- a/src/main/resources/assets/harkenscythe/lang/en_us.lang +++ b/src/main/resources/assets/harkenscythe/lang/en_us.lang @@ -4,6 +4,7 @@ itemGroup.harkenscythe.tab=Harken Scythe # BLOCKS tile.harkenscythe.blood_crucible.name=Blood Crucible tile.harkenscythe.soul_crucible.name=Soul Crucible +tile.harkenscythe.soul_altar.name=Altar of Souls # ITEMS item.harkenscythe.diamond_scythe.name=Diamond Scythe diff --git a/src/main/resources/assets/harkenscythe/textures/entities/soul_altar_book.png b/src/main/resources/assets/harkenscythe/textures/entities/soul_altar_book.png new file mode 100644 index 0000000000000000000000000000000000000000..36aecedda08cb427c9a5f950ebec6df2339a5a2f GIT binary patch literal 799 zcmV+)1K|9LP)N2bPDNB8 zb~7$DE-^4L^m3s900NsyL_t(oN9~nCYZFlvg=a5VXfsWmF*D6%oMhTMHBFjQCIQ8O zxNz&Aa_t}R2W02Qo#0;R!a~u4E5Su8D549A-<#V!he%U5^C0rdWw>+SNpsG*_r5q@ zcYh;@3Afd0BzHHXw4P+-JiWBS&I4O#VSG$PS6HH;N7(KqBakh-f(R zcl!1Ab}dXe<%l4;)yWiKj^|X4sH>ywkcvtE4$g(WJQ+V(_nJX(4DaUd!R>8|BQI5^ zs{Z(azcT=)lnf^bKpP(cK%)vV>IebR@Zq`_7!`oWYqc5_Yt5F|$^7&l0eb=&H{FK6 ztC$h#F2f+q{O%qC8WSmf??176ZDB9Ns&xKS!@l zX0vCeJHXCiwp<{xi_qdJJE{bP3C2Uc*l9IsS}J442o-BR#(UUv#I0bo19D4Vj!khP zvJyOHBQcoZ6+MK^n_Ro|n`)r(Qs>q(Du5woQ`H`K_vQBs#;VxrK!sPyX+?7{Cr1Mb zc(opX;rWQ^4&c_?Pv4h>*m*7H+s|K1qQaiMJpJxd9?zj z?=FO~BqD%Z*AZ|nMyN}aTOpNd1!%fu0a_A8>3~SO3bXPfq=%>62i*`89nc;#LSnP_ zTX$dyX5~Aejh7wJ-pgyX9nizA=UaO(6&dySO=^F d)`9=kf!~&_s484D{EPqq002ovPDHLkV1mq?VTk|$ literal 0 HcmV?d00001