You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Common/BiomeExtractionSystem.cs
+21-15Lines changed: 21 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -771,7 +771,7 @@ public bool GetPoolEntry(string name, out PoolEntry pool)
771
771
/// <param name="name">The name of the new PoolEntry</param>
772
772
/// <param name="priority">The Priority value of this pool entry. Higher priorities are evaluated first.<br/>
773
773
/// Upon finding a valid PoolEntry, the priority system will finish checking other pools with the same <br/>priority, ignoring everything else.</param>
774
-
/// <param name="tier">The minimum Extractor tier required to access this pool.</param>
774
+
/// <param name="requirements">A list of <see cref="Predicate{T}"/> objexts that the scan must pass to access this pool.</param>
775
775
/// <param name="localizationKey">The localization key that is used by this pool. </param>
776
776
/// <returns><see langword="true"/> if the PoolEntry didn't exist already, <see langword="false"/> otherwise</returns>
@@ -806,7 +806,7 @@ public bool GetPoolEntry(string name, out PoolEntry pool)
806
806
/// <param name="name">The name of the new PoolEntry</param>
807
807
/// <param name="priority">The Priority value of this pool entry. Higher priorities are evaluated first.<br/>
808
808
/// Upon finding a valid PoolEntry, the priority system will finish checking other pools with the same <br/>priority, ignoring everything else.</param>
809
-
/// <param name="tier">The minimum Extractor tier required to access this pool.</param>
809
+
/// <param name="requirements">A list of <see cref="Predicate{T}"/> objexts that the scan must pass to access this pool.</param>
810
810
/// <param name="nonBlocking">If this is true, the priority system will keep checking for pools with lower <br/>priority even if this pool is valid.</param>
811
811
/// <param name="localizationKey">The localization key that is used by this pool. </param>
812
812
/// <returns><see langword="true"/> if the PoolEntry didn't exist already, <see langword="false"/> otherwise</returns>
@@ -898,6 +898,14 @@ public bool FlushPoolRequirements(string poolName)
898
898
/// <returns><see langword="true"/> if the method found a pool to add the item to, <see langword="false"/> otherwise</returns>
/// Adds a new ItemEntry to a pool.<br/>The item will be registered with a count equal to 1.
902
+
/// </summary>
903
+
/// <param name="poolName">The name of the pool to add the item to.</param>
904
+
/// <param name="itemId">The id of the item to add</param>
905
+
/// <param name="weight">A fraction that corresponds to the weight of probability associated to this ItemEntry.<br/>The higher the weight, the more common the item is.</param>
906
+
/// <returns><see langword="true"/> if the method found a pool to add the item to, <see langword="false"/> otherwise</returns>
/// <param name="poolName">The name of the pool to add the item to.</param>
@@ -914,31 +922,29 @@ public bool FlushPoolRequirements(string poolName)
914
922
/// <param name="itemId">The id of the item to add</param>
915
923
/// <param name="count">The amount of the given item this entry will contain.<br/>
916
924
/// Use <see cref="AddItemInPool(string, ItemEntry, int, int)"/> if you need to make it a range.</param>
917
-
/// <param name="numerator">The numerator of the weight of probability associated to this ItemEntry.<br/>The higher the weight, the more common the item is.</param>
918
-
/// <param name="denominator">The denominator of the weight of probability associated to this ItemEntry.<br/>The higher the weight, the more common the item is.</param>
925
+
/// <param name="numerator">A fraction that corresponds to the weight of probability associated to this ItemEntry.<br/>The higher the weight, the more common the item is.</param>
919
926
/// <returns><see langword="true"/> if the method found a pool to add the item to, <see langword="false"/> otherwise</returns>
/// <param name="poolName">The name of the pool to add the item to.</param>
933
940
/// <param name="item">The ItemEntry to add</param>
934
-
/// <param name="numerator">The numerator of the weight of probability associated to this ItemEntry.<br/>The higher the weight, the more common the item is.</param>
935
-
/// <param name="denominator">The denominator of the weight of probability associated to this ItemEntry.<br/>The higher the weight, the more common the item is.</param>
941
+
/// <param name="weight">A fraction that corresponds to the weight of probability associated to this ItemEntry.<br/>The higher the weight, the more common the item is.</param>
936
942
/// <returns><see langword="true"/> if the method found a pool to add the item to, <see langword="false"/> otherwise</returns>
0 commit comments