Package net.minecraftforge.common.ticket
Class ChunkTicketManager<T>
- java.lang.Object
-
- net.minecraftforge.common.ticket.ChunkTicketManager<T>
-
- All Implemented Interfaces:
ITicketGetter<T>
,ITicketManager<T>
public class ChunkTicketManager<T> extends java.lang.Object implements ITicketGetter<T>
-
-
Field Summary
Fields Modifier and Type Field Description ChunkPos
pos
private java.util.Set<SimpleTicket<T>>
tickets
-
Constructor Summary
Constructors Constructor Description ChunkTicketManager(ChunkPos pos)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(SimpleTicket<T> ticket)
java.util.Collection<SimpleTicket<T>>
getTickets()
void
remove(SimpleTicket<T> ticket)
-
-
-
Field Detail
-
tickets
private final java.util.Set<SimpleTicket<T>> tickets
-
pos
public final ChunkPos pos
-
-
Constructor Detail
-
ChunkTicketManager
public ChunkTicketManager(ChunkPos pos)
-
-
Method Detail
-
add
public void add(SimpleTicket<T> ticket)
- Specified by:
add
in interfaceITicketManager<T>
-
remove
public void remove(SimpleTicket<T> ticket)
- Specified by:
remove
in interfaceITicketManager<T>
-
getTickets
public java.util.Collection<SimpleTicket<T>> getTickets()
- Specified by:
getTickets
in interfaceITicketGetter<T>
-
-