diff options
| author | shedaniel <daniel@shedaniel.me> | 2022-12-09 02:56:21 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2022-12-09 02:56:21 +0800 |
| commit | 75020d8ffd08bca7404cc3fbd713e314d7b45324 (patch) | |
| tree | c7292d1a725c0f16bc01c2814a391df6ef2f0b0e /runtime/src/main/java/me/shedaniel/rei/impl/common | |
| parent | dc6351d3b4893c316854f7a9fc6f8d95320046ee (diff) | |
| download | RoughlyEnoughItems-75020d8ffd08bca7404cc3fbd713e314d7b45324.tar.gz RoughlyEnoughItems-75020d8ffd08bca7404cc3fbd713e314d7b45324.tar.bz2 RoughlyEnoughItems-75020d8ffd08bca7404cc3fbd713e314d7b45324.zip | |
Update to 1.19.3
Diffstat (limited to 'runtime/src/main/java/me/shedaniel/rei/impl/common')
| -rw-r--r-- | runtime/src/main/java/me/shedaniel/rei/impl/common/entry/type/EntryRegistryListImpl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/src/main/java/me/shedaniel/rei/impl/common/entry/type/EntryRegistryListImpl.java b/runtime/src/main/java/me/shedaniel/rei/impl/common/entry/type/EntryRegistryListImpl.java index d43627aca..7669d08b9 100644 --- a/runtime/src/main/java/me/shedaniel/rei/impl/common/entry/type/EntryRegistryListImpl.java +++ b/runtime/src/main/java/me/shedaniel/rei/impl/common/entry/type/EntryRegistryListImpl.java @@ -26,7 +26,7 @@ package me.shedaniel.rei.impl.common.entry.type; import it.unimi.dsi.fastutil.longs.LongList; import me.shedaniel.rei.api.common.entry.EntryStack; import me.shedaniel.rei.impl.common.util.HashedEntryStackWrapper; -import net.minecraft.core.Registry; +import net.minecraft.core.registries.BuiltInRegistries; import java.util.AbstractList; import java.util.ArrayList; @@ -35,7 +35,7 @@ import java.util.stream.Collectors; import java.util.stream.Stream; public class EntryRegistryListImpl implements EntryRegistryList { - private final List<HashedEntryStackWrapper> hashedList = new ArrayList<>(Registry.ITEM.keySet().size() + 100); + private final List<HashedEntryStackWrapper> hashedList = new ArrayList<>(BuiltInRegistries.ITEM.keySet().size() + 100); private final List<EntryStack<?>> list = createMappedList(hashedList); public EntryRegistryListImpl() { |
