From 521bbc4975df52a189138adaef3e224bce706cc3 Mon Sep 17 00:00:00 2001 From: haykam821 <24855774+haykam821@users.noreply.github.com> Date: Wed, 1 Jan 2025 14:33:57 -0500 Subject: [PATCH] Rename the LootContext#requireParameter method to getOrThrow --- mappings/net/minecraft/loot/context/LootContext.mapping | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mappings/net/minecraft/loot/context/LootContext.mapping b/mappings/net/minecraft/loot/context/LootContext.mapping index 5ffbc2df9b..236cce480b 100644 --- a/mappings/net/minecraft/loot/context/LootContext.mapping +++ b/mappings/net/minecraft/loot/context/LootContext.mapping @@ -19,7 +19,7 @@ CLASS net/minecraft/class_47 net/minecraft/loot/context/LootContext METHOD method_300 hasParameter (Lnet/minecraft/class_169;)Z ARG 1 parameter METHOD method_302 getLuck ()F - METHOD method_35508 requireParameter (Lnet/minecraft/class_169;)Ljava/lang/Object; + METHOD method_35508 getOrThrow (Lnet/minecraft/class_169;)Ljava/lang/Object; ARG 1 parameter METHOD method_51183 getLookup ()Lnet/minecraft/class_7871$class_7872; METHOD method_51184 isActive (Lnet/minecraft/class_47$class_8487;)Z