switch back to IHM

This commit is contained in:
IThundxr 2024-05-01 09:11:07 -04:00 committed by GitHub
parent 4f4b21c0a5
commit 600fdb674e
Failed to generate hash of commit

View file

@ -2,8 +2,9 @@ package com.simibubi.create.foundation.data;
import static com.simibubi.create.foundation.data.TagGen.pickaxeOnly;
import java.util.Collections;
import java.util.IdentityHashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.function.BiConsumer;
import java.util.function.Consumer;
import java.util.function.Function;
@ -52,7 +53,7 @@ import net.minecraftforge.fml.DistExecutor;
import net.minecraftforge.registries.RegistryObject;
public class CreateRegistrate extends AbstractRegistrate<CreateRegistrate> {
private static final Map<RegistryEntry<?>, RegistryObject<CreativeModeTab>> TAB_LOOKUP = new ConcurrentHashMap<>();
private static final Map<RegistryEntry<?>, RegistryObject<CreativeModeTab>> TAB_LOOKUP = Collections.synchronizedMap(new IdentityHashMap<>());
@Nullable
protected Function<Item, TooltipModifier> currentTooltipModifierFactory;