Package | Description |
---|---|
net.minecraft.world | |
net.minecraft.world.chunk | |
net.minecraft.world.server |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<NextTickListEntry<T>> |
SerializableTickList.ticks |
Modifier and Type | Method and Description |
---|---|
static <T> java.util.Comparator<NextTickListEntry<T>> |
NextTickListEntry.func_223192_a() |
java.util.stream.Stream<NextTickListEntry<T>> |
SerializableTickList.ticks() |
Modifier and Type | Method and Description |
---|---|
void |
SerializableTickList.addAll(java.util.stream.Stream<NextTickListEntry<T>> p_219497_1_) |
void |
EmptyTickList.addAll(java.util.stream.Stream<NextTickListEntry<T>> p_219497_1_) |
void |
WorldGenTickList.addAll(java.util.stream.Stream<NextTickListEntry<T>> p_219497_1_) |
void |
ITickList.addAll(java.util.stream.Stream<NextTickListEntry<T>> p_219497_1_) |
Constructor and Description |
---|
SerializableTickList(java.util.function.Function<T,ResourceLocation> p_i50010_1_,
java.util.List<NextTickListEntry<T>> p_i50010_2_) |
SerializableTickList(java.util.function.Function<T,ResourceLocation> p_i51499_1_,
java.util.Set<NextTickListEntry<T>> p_i51499_2_) |
Modifier and Type | Method and Description |
---|---|
void |
ChunkPrimerTickList.addAll(java.util.stream.Stream<NextTickListEntry<T>> p_219497_1_) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<NextTickListEntry<T>> |
ServerTickList.entriesRunThisTick |
private java.util.Set<NextTickListEntry<T>> |
ServerTickList.pendingTickListEntriesHashSet |
private java.util.Queue<NextTickListEntry<T>> |
ServerTickList.pendingTickListEntriesThisTick |
private java.util.TreeSet<NextTickListEntry<T>> |
ServerTickList.pendingTickListEntriesTreeSet |
private java.util.function.Consumer<NextTickListEntry<T>> |
ServerTickList.tickFunction |
Modifier and Type | Method and Description |
---|---|
private java.util.List<NextTickListEntry<T>> |
ServerTickList.getEntries(java.util.List<NextTickListEntry<T>> result,
java.util.Collection<NextTickListEntry<T>> entries,
MutableBoundingBox bb,
boolean remove) |
java.util.List<NextTickListEntry<T>> |
ServerTickList.getPending(ChunkPos pos,
boolean remove,
boolean skipCompleted) |
java.util.List<NextTickListEntry<T>> |
ServerTickList.getPending(MutableBoundingBox p_205366_1_,
boolean remove,
boolean skipCompleted) |
Modifier and Type | Method and Description |
---|---|
private void |
ServerTickList.addEntry(NextTickListEntry<T> p_219504_1_) |
private void |
ServerWorld.tickBlock(NextTickListEntry<Block> blockTickEntry) |
private void |
ServerWorld.tickFluid(NextTickListEntry<Fluid> fluidTickEntry) |
Modifier and Type | Method and Description |
---|---|
void |
ServerTickList.addAll(java.util.stream.Stream<NextTickListEntry<T>> p_219497_1_) |
static <T> ListNBT |
ServerTickList.func_219502_a(java.util.function.Function<T,ResourceLocation> p_219502_0_,
java.lang.Iterable<NextTickListEntry<T>> p_219502_1_,
long p_219502_2_) |
private java.util.List<NextTickListEntry<T>> |
ServerTickList.getEntries(java.util.List<NextTickListEntry<T>> result,
java.util.Collection<NextTickListEntry<T>> entries,
MutableBoundingBox bb,
boolean remove) |
private java.util.List<NextTickListEntry<T>> |
ServerTickList.getEntries(java.util.List<NextTickListEntry<T>> result,
java.util.Collection<NextTickListEntry<T>> entries,
MutableBoundingBox bb,
boolean remove) |
Constructor and Description |
---|
ServerTickList(ServerWorld worldIn,
java.util.function.Predicate<T> filter,
java.util.function.Function<T,ResourceLocation> serializerIn,
java.util.function.Function<ResourceLocation,T> deserializerIn,
java.util.function.Consumer<NextTickListEntry<T>> tickFunctionIn) |