EaglerForge/patches/minecraft/net/minecraft/util/WeightedRandom.edit.java

21 lines
512 B
Java

# Eagler Context Redacted Diff
# Copyright (c) 2024 lax1dude. All rights reserved.
# Version: 1.0
# Author: lax1dude
> CHANGE 3 : 4 @ 3 : 4
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
> CHANGE 12 : 13 @ 12 : 13
~ public static <T extends WeightedRandom.Item> T getRandomItem(EaglercraftRandom random, Collection<T> collection,
> CHANGE 20 : 21 @ 20 : 21
~ public static <T extends WeightedRandom.Item> T getRandomItem(EaglercraftRandom random, Collection<T> collection) {
> EOF