Skip to content

Commit 70b04a3

Browse files
author
MerchantPug
committed
fix: Javadoc errors in ContextParamType.
1 parent 543665e commit 70b04a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

common/src/main/java/net/modgarden/silicate/api/context/param/ContextParamType.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
import com.mojang.serialization.Codec;
44
import com.mojang.serialization.DataResult;
5+
import net.minecraft.core.Holder;
56
import net.minecraft.resources.ResourceLocation;
67
import net.modgarden.silicate.api.SilicateBuiltInRegistries;
7-
import net.modgarden.silicate.api.condition.GameCondition;
88
import net.modgarden.silicate.api.condition.TypedGameCondition;
99
import org.jetbrains.annotations.NotNull;
1010

@@ -29,8 +29,8 @@ public record ContextParamType<T>(ResourceLocation name, Class<T> clazz) {
2929
* @param clazz The class of the type in {@link T}.
3030
* @return The parameter type's codec.
3131
* @param <T> The value type of the parameter type.
32-
* @implNote Although potentially unsafe, this shouldn't result in any Mad Gadget situations given that the actual non-erased type at runtime will be checked. See the implementation of {@link TypedGameCondition#validate(GameCondition, Class)} for further information.
33-
* @see TypedGameCondition#validate(GameCondition, Class)
32+
* @implNote Although potentially unsafe, this shouldn't result in any Mad Gadget situations given that the actual non-erased type at runtime will be checked. See the implementation of {@link TypedGameCondition#validate(Holder, Class)} for further information.
33+
* @see TypedGameCondition#validate(Holder, Class)
3434
*/
3535
@SuppressWarnings("JavadocReference") // We want people to be able to verify the underlying implementation.
3636
public static <T> Codec<ContextParamType<T>> getCodec(Class<T> clazz) {

0 commit comments

Comments
 (0)