Class PersistentCooldowns
java.lang.Object
net.rebel459.unified.impl.tag.PersistentCooldowns
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<List<PersistentCooldowns.Record>> static HashMap<net.minecraft.server.level.ServerPlayer, List<PersistentCooldowns.Record>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetCooldown(net.minecraft.server.level.ServerPlayer player, net.minecraft.resources.Identifier id) static voidinit()
-
Field Details
-
CODEC
-
PENDING_COOLDOWNS
public static HashMap<net.minecraft.server.level.ServerPlayer, List<PersistentCooldowns.Record>> PENDING_COOLDOWNS
-
-
Constructor Details
-
PersistentCooldowns
public PersistentCooldowns()
-
-
Method Details
-
getCooldown
public static int getCooldown(net.minecraft.server.level.ServerPlayer player, net.minecraft.resources.Identifier id) -
init
public static void init()
-