From 59f612a0c2135c8153cf0b3416b2f89b0e0e8e02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Prod=27homme?= Date: Thu, 11 Jul 2024 15:35:24 +0200 Subject: [PATCH] Fix indentation for ModArmorMaterials.java (#136) --- .../com/example/docs/item/armor/ModArmorMaterials.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/reference/latest/src/main/java/com/example/docs/item/armor/ModArmorMaterials.java b/reference/latest/src/main/java/com/example/docs/item/armor/ModArmorMaterials.java index 893a29ee2..9db7775a4 100644 --- a/reference/latest/src/main/java/com/example/docs/item/armor/ModArmorMaterials.java +++ b/reference/latest/src/main/java/com/example/docs/item/armor/ModArmorMaterials.java @@ -43,11 +43,11 @@ public class ModArmorMaterials { public static RegistryEntry registerMaterial(String id, Map defensePoints, int enchantability, RegistryEntry equipSound, Supplier repairIngredientSupplier, float toughness, float knockbackResistance, boolean dyeable) { // Get the supported layers for the armor material List layers = List.of( - // The ID of the texture layer, the suffix, and whether the layer is dyeable. - // We can just pass the armor material ID as the texture layer ID. - // We have no need for a suffix, so we'll pass an empty string. - // We'll pass the dyeable boolean we received as the dyeable parameter. - new ArmorMaterial.Layer(Identifier.of(FabricDocsReference.MOD_ID, id), "", dyeable) + // The ID of the texture layer, the suffix, and whether the layer is dyeable. + // We can just pass the armor material ID as the texture layer ID. + // We have no need for a suffix, so we'll pass an empty string. + // We'll pass the dyeable boolean we received as the dyeable parameter. + new ArmorMaterial.Layer(Identifier.of(FabricDocsReference.MOD_ID, id), "", dyeable) ); ArmorMaterial material = new ArmorMaterial(defensePoints, enchantability, equipSound, repairIngredientSupplier, layers, toughness, knockbackResistance);