mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-29 08:27:03 +01:00
modify fix
This commit is contained in:
parent
ded18c4ee6
commit
4f4b21c0a5
1 changed files with 2 additions and 3 deletions
|
@ -2,9 +2,8 @@ package com.simibubi.create.foundation.data;
|
||||||
|
|
||||||
import static com.simibubi.create.foundation.data.TagGen.pickaxeOnly;
|
import static com.simibubi.create.foundation.data.TagGen.pickaxeOnly;
|
||||||
|
|
||||||
import java.util.Collections;
|
|
||||||
import java.util.IdentityHashMap;
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
import java.util.concurrent.ConcurrentHashMap;
|
||||||
import java.util.function.BiConsumer;
|
import java.util.function.BiConsumer;
|
||||||
import java.util.function.Consumer;
|
import java.util.function.Consumer;
|
||||||
import java.util.function.Function;
|
import java.util.function.Function;
|
||||||
|
@ -53,7 +52,7 @@ import net.minecraftforge.fml.DistExecutor;
|
||||||
import net.minecraftforge.registries.RegistryObject;
|
import net.minecraftforge.registries.RegistryObject;
|
||||||
|
|
||||||
public class CreateRegistrate extends AbstractRegistrate<CreateRegistrate> {
|
public class CreateRegistrate extends AbstractRegistrate<CreateRegistrate> {
|
||||||
private static final Map<RegistryEntry<?>, RegistryObject<CreativeModeTab>> TAB_LOOKUP = Collections.synchronizedMap(new IdentityHashMap<>());
|
private static final Map<RegistryEntry<?>, RegistryObject<CreativeModeTab>> TAB_LOOKUP = new ConcurrentHashMap<>();
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
protected Function<Item, TooltipModifier> currentTooltipModifierFactory;
|
protected Function<Item, TooltipModifier> currentTooltipModifierFactory;
|
||||||
|
|
Loading…
Reference in a new issue