immense iq
This commit is contained in:
parent
3ccb0c74c6
commit
a0dd43244c
@ -20,7 +20,7 @@ package baritone.api;
|
|||||||
import baritone.api.cache.IWorldScanner;
|
import baritone.api.cache.IWorldScanner;
|
||||||
import net.minecraft.client.entity.EntityPlayerSP;
|
import net.minecraft.client.entity.EntityPlayerSP;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.Set;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Leijurv
|
* @author Leijurv
|
||||||
@ -40,11 +40,10 @@ public interface IBaritoneProvider {
|
|||||||
* Returns all of the active {@link IBaritone} instances. This includes the local one
|
* Returns all of the active {@link IBaritone} instances. This includes the local one
|
||||||
* returned by {@link #getPrimaryBaritone()}.
|
* returned by {@link #getPrimaryBaritone()}.
|
||||||
*
|
*
|
||||||
* @see #getBaritoneForPlayer(EntityPlayerSP)
|
|
||||||
*
|
|
||||||
* @return All active {@link IBaritone} instances.
|
* @return All active {@link IBaritone} instances.
|
||||||
|
* @see #getBaritoneForPlayer(EntityPlayerSP)
|
||||||
*/
|
*/
|
||||||
List<IBaritone> getAllBaritones();
|
Set<IBaritone> getAllBaritones();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides the {@link IBaritone} instance for a given {@link EntityPlayerSP}. This will likely be
|
* Provides the {@link IBaritone} instance for a given {@link EntityPlayerSP}. This will likely be
|
||||||
|
@ -24,7 +24,7 @@ import baritone.cache.WorldScanner;
|
|||||||
import net.minecraft.client.entity.EntityPlayerSP;
|
import net.minecraft.client.entity.EntityPlayerSP;
|
||||||
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.Set;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Brady
|
* @author Brady
|
||||||
@ -38,8 +38,8 @@ public final class BaritoneProvider implements IBaritoneProvider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<IBaritone> getAllBaritones() {
|
public Set<IBaritone> getAllBaritones() {
|
||||||
return Collections.singletonList(Baritone.INSTANCE);
|
return Collections.singleton(Baritone.INSTANCE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user