This commit is contained in:
simibubi 2022-10-19 00:37:05 +02:00
parent ad57fe158c
commit 945ecefe0d
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ org.gradle.jvmargs = -Xmx3G
org.gradle.daemon = false
# mod version info
mod_version = 0.5.0.e
mod_version = 0.5.1
artifact_minecraft_version = 1.18.2
minecraft_version = 1.18.2

View File

@ -66,7 +66,7 @@ public class Create {
public static final String ID = "create";
public static final String NAME = "Create";
public static final String VERSION = "0.5e";
public static final String VERSION = "0.5.1-unstable";
public static final Logger LOGGER = LogManager.getLogger();

View File

@ -76,7 +76,7 @@ public class HumanoidArmorLayerMixin {
}
}
@ModifyVariable(method = "getArmorResource", at = @At(value = "INVOKE", target = "Lnet/minecraftforge/client/ForgeHooksClient;getArmorTexture(Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/item/ItemStack;Ljava/lang/String;Lnet/minecraft/world/entity/EquipmentSlot;Ljava/lang/String;)Ljava/lang/String;", shift = Shift.BEFORE), ordinal = 0)
@ModifyVariable(method = "getArmorResource", at = @At(value = "INVOKE", target = "Lnet/minecraftforge/client/ForgeHooksClient;getArmorTexture(Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/item/ItemStack;Ljava/lang/String;Lnet/minecraft/world/entity/EquipmentSlot;Ljava/lang/String;)Ljava/lang/String;", shift = Shift.BEFORE), ordinal = 0, remap = false)
private String modifyType(@Nullable String type, Entity entity, ItemStack stack, EquipmentSlot slot, @Nullable String typeArg) {
if (stack.getItem() instanceof MultiLayeredArmorItem) {
return usesInnerModel(slot) ? "2" : "1";