From 9e277118b7899df92ec41f5405554b759aa788a8 Mon Sep 17 00:00:00 2001 From: Manchick0 Date: Sat, 28 Dec 2024 19:58:28 +0100 Subject: [PATCH] Satisfy the building process --- develop/entities/effects.md | 1 + .../src/main/java/com/example/docs/ReferenceMethods.java | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/develop/entities/effects.md b/develop/entities/effects.md index e75579bb1..65e0cc898 100644 --- a/develop/entities/effects.md +++ b/develop/entities/effects.md @@ -68,6 +68,7 @@ For a quick test, it might be a better idea to use the previously mentioned `/ef ```mcfunction effect give @p fabric-docs-reference:tater ``` + ::: To apply an effect internally, you'd want to use the `LivingEntity#addStatusEffect` method, which takes in diff --git a/reference/latest/src/main/java/com/example/docs/ReferenceMethods.java b/reference/latest/src/main/java/com/example/docs/ReferenceMethods.java index 8fdcdcbd2..1254a224f 100644 --- a/reference/latest/src/main/java/com/example/docs/ReferenceMethods.java +++ b/reference/latest/src/main/java/com/example/docs/ReferenceMethods.java @@ -1,10 +1,10 @@ package com.example.docs; -import com.example.docs.effect.FabricDocsReferenceEffects; - import net.minecraft.entity.LivingEntity; import net.minecraft.entity.effect.StatusEffectInstance; +import com.example.docs.effect.FabricDocsReferenceEffects; + /** * A static-first class, used solely to provide version-aware * references to internal methods.