From 1a2f2123f7d8c14191161e8f76e56a019e24bd2b Mon Sep 17 00:00:00 2001 From: JohanVonElectrum Date: Sun, 25 Jul 2021 20:57:12 +0200 Subject: [PATCH] docs overwrites --- .../johan_carpet/mixins/AnvilScreenHandlerMixin.java | 1 + .../johan_carpet/mixins/EnchantmentHelperMixin.java | 2 ++ .../johanvonelectrum/johan_carpet/mixins/HeightmapMixin.java | 2 ++ .../johan_carpet/mixins/ItemFrameEntityMixin.java | 2 ++ 4 files changed, 7 insertions(+) diff --git a/src/main/java/com/johanvonelectrum/johan_carpet/mixins/AnvilScreenHandlerMixin.java b/src/main/java/com/johanvonelectrum/johan_carpet/mixins/AnvilScreenHandlerMixin.java index 7808e6b..13739cc 100644 --- a/src/main/java/com/johanvonelectrum/johan_carpet/mixins/AnvilScreenHandlerMixin.java +++ b/src/main/java/com/johanvonelectrum/johan_carpet/mixins/AnvilScreenHandlerMixin.java @@ -36,6 +36,7 @@ public AnvilScreenHandlerMixin(@Nullable ScreenHandlerType type, int syncId, /** * @author JohanVonElectrum + * @reason AnvilXPCap and compatibility fixed */ @Overwrite public void updateResult() { diff --git a/src/main/java/com/johanvonelectrum/johan_carpet/mixins/EnchantmentHelperMixin.java b/src/main/java/com/johanvonelectrum/johan_carpet/mixins/EnchantmentHelperMixin.java index 8b96a08..e5db3e1 100644 --- a/src/main/java/com/johanvonelectrum/johan_carpet/mixins/EnchantmentHelperMixin.java +++ b/src/main/java/com/johanvonelectrum/johan_carpet/mixins/EnchantmentHelperMixin.java @@ -15,6 +15,7 @@ public class EnchantmentHelperMixin { /** * @author JohanVonElectrum + * @reason Compatible enchants */ @Overwrite public static void removeConflicts(List possibleEntries, EnchantmentLevelEntry pickedEntry) { @@ -26,6 +27,7 @@ public static void removeConflicts(List possibleEntries, /** * @author JohanVonElectrum + * @reason Compatible enchants */ @Overwrite public static boolean isCompatible(Collection existing, Enchantment candidate) { diff --git a/src/main/java/com/johanvonelectrum/johan_carpet/mixins/HeightmapMixin.java b/src/main/java/com/johanvonelectrum/johan_carpet/mixins/HeightmapMixin.java index 16ef098..0f7f719 100644 --- a/src/main/java/com/johanvonelectrum/johan_carpet/mixins/HeightmapMixin.java +++ b/src/main/java/com/johanvonelectrum/johan_carpet/mixins/HeightmapMixin.java @@ -28,6 +28,7 @@ public abstract class HeightmapMixin { /** * @author JohanVonElectrum + * @reason Limit heightmap max y */ @Overwrite public static void populateHeightmaps(Chunk chunk, Set types) { @@ -73,6 +74,7 @@ public static void populateHeightmaps(Chunk chunk, Set types) { /** * @author JohanVonElectrum + * @reason Limit heightmap max y */ @Overwrite public boolean trackUpdate(int x, int y, int z, BlockState state) { diff --git a/src/main/java/com/johanvonelectrum/johan_carpet/mixins/ItemFrameEntityMixin.java b/src/main/java/com/johanvonelectrum/johan_carpet/mixins/ItemFrameEntityMixin.java index 1fac827..48b13fd 100644 --- a/src/main/java/com/johanvonelectrum/johan_carpet/mixins/ItemFrameEntityMixin.java +++ b/src/main/java/com/johanvonelectrum/johan_carpet/mixins/ItemFrameEntityMixin.java @@ -54,6 +54,7 @@ public void tick() { /** * @author JohanVonElectrum + * @reason itemFrameDelay */ @Overwrite public boolean canStayAttached() { @@ -65,6 +66,7 @@ public boolean canStayAttached() { /** * @author JohanVonElectrum + * @reason itemFrameDelay */ @Overwrite public boolean damage(DamageSource source, float amount) {