Skip to content

Commit

Permalink
replace mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdElAziz333 committed May 24, 2023
1 parent 7a2ccfc commit e4fa44a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
public class LocateHidingPlaceMixin {

@Redirect(
method = "lambda$create$5",//lambda$create$5 - m_275799_
method = "m_275799_",//lambda$create$5 - m_275799_
at = @At(
value = "INVOKE",
target = "Lnet/minecraft/world/entity/ai/village/poi/PoiManager;getRandom(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lnet/minecraft/world/entity/ai/village/poi/PoiManager$Occupancy;Lnet/minecraft/core/BlockPos;ILnet/minecraft/util/RandomSource;)Ljava/util/Optional;"
Expand All @@ -30,7 +30,7 @@ private static Optional<BlockPos> useFasterPOILookup(PoiManager poiManager, Pred
}

@Redirect(
method = "lambda$create$8",//lambda$create$8 - m_275799_
method = "m_275799_",//lambda$create$8 - m_275799_
at = @At(
value = "INVOKE",
target = "Lnet/minecraft/world/entity/ai/village/poi/PoiManager;find(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lnet/minecraft/core/BlockPos;ILnet/minecraft/world/entity/ai/village/poi/PoiManager$Occupancy;)Ljava/util/Optional;"
Expand Down

0 comments on commit e4fa44a

Please sign in to comment.