public final class ScheduledTickHashSet extends HashSet<net.minecraft.world.NextTickListEntry>
HashSet designed to prevent the
"TickNextTick list out of synch" IllegalStateException.
This class should only be used by
ServerTickListMixin.
An explanation can be found here.
| Constructor and Description |
|---|
ScheduledTickHashSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(net.minecraft.world.NextTickListEntry entry) |
boolean |
contains(Object entry) |
boolean |
remove(Object entry) |
boolean |
removeAll(Collection<?> entries) |
int |
size() |
equals, hashCodeaddAll, containsAll, retainAll, toArray, toArray, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitaddAll, containsAll, equals, hashCode, retainAll, toArray, toArrayparallelStream, removeIf, streampublic int size()
public boolean contains(Object entry)
public boolean add(net.minecraft.world.NextTickListEntry entry)
public boolean remove(Object entry)
public boolean removeAll(Collection<?> entries)
removeAll in interface Collection<net.minecraft.world.NextTickListEntry>removeAll in interface Set<net.minecraft.world.NextTickListEntry>removeAll in class AbstractSet<net.minecraft.world.NextTickListEntry>