repo_id
stringclasses
383 values
file_path
stringlengths
7
168
content
stringlengths
0
1.75M
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\chat\AdvancedTextField.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.chat; import com.mojang...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\chat\ChatHistory.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.chat; import io.github....
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\chat\ChatHistoryProcessor.java
/* * Copyright (C) 2021-2022 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.chat; import io.gi...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\chat\ChatMessage.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.chat; import io.github....
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\chat\ChatScreenSectionHolder.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.chat; import io.github....
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\chat\DefaultChatSuggestor.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.chat; import io.github....
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\chat\MessageDispatcher.java
/* * Copyright (C) 2021-2022 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.chat; import io.gi...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\chat\MessageOwner.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.chat; import lombok.All...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\chat\MessageSender.java
/* * Copyright (C) 2022 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.chat; import io.github....
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\config\ConfigStorage.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.config; import com.goog...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\config\SaveableConfig.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.config; import fi.dy.ma...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\finder\CustomFinder.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.finder; import io.githu...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\finder\LiteralFinder.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.finder; import java.uti...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\finder\PatternFinder.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.finder; import io.githu...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\finder\RegexFinder.java
/* * Copyright (C) 2021-2022 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.finder; import io....
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\finder\UpperLowerFinder.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.finder; import java.uti...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\gui\CleanButton.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.gui; import fi.dy.masa....
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\gui\ConfigGuiListBase.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.gui; import fi.dy.masa....
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\gui\ContextMenu.java
package io.github.darkkronicle.advancedchatcore.gui; import fi.dy.masa.malilib.gui.widgets.WidgetBase; import io.github.darkkronicle.advancedchatcore.util.Color; import io.github.darkkronicle.advancedchatcore.util.TextUtil; import lombok.Getter; import lombok.Setter; import net.minecraft.client.MinecraftClient; import...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\gui\CoreGuiListBase.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.gui; import fi.dy.masa....
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\gui\IconButton.java
package io.github.darkkronicle.advancedchatcore.gui; import fi.dy.masa.malilib.render.RenderUtils; import io.github.darkkronicle.advancedchatcore.util.Color; import io.github.darkkronicle.advancedchatcore.util.Colors; import lombok.Getter; import lombok.Setter; import net.minecraft.client.MinecraftClient; import net.m...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\gui\WidgetConfigList.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.gui; import fi.dy.masa....
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\gui\WidgetConfigListEntry.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.gui; import com.mojang....
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\hotkeys\InputHandler.java
package io.github.darkkronicle.advancedchatcore.hotkeys; import fi.dy.masa.malilib.config.options.ConfigHotkey; import fi.dy.masa.malilib.event.InputEventHandler; import fi.dy.masa.malilib.hotkeys.*; import lombok.Getter; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Ma...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\interfaces\AdvancedChatScreenSection.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.interfaces; import io.g...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\interfaces\ConfigRegistryOption.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.interfaces; import com....
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\interfaces\IChatMessageProcessor.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.interfaces; import io.g...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\interfaces\IClosable.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.interfaces; import fi.d...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\interfaces\IFinder.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.interfaces; import io.g...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\interfaces\IJsonApplier.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.interfaces; import com....
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\interfaces\IJsonSave.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.interfaces; import com....
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\interfaces\IMatchProcessor.java
/* * Copyright (C) 2021-2022 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.interfaces; import...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\interfaces\IMessageFilter.java
/* * Copyright (C) 2021-2022 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.interfaces; import...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\interfaces\IMessageProcessor.java
/* * Copyright (C) 2021-2022 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.interfaces; import...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\interfaces\IScreenSupplier.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.interfaces; import java...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\interfaces\IStringFilter.java
/* * Copyright (C) 2022 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.interfaces; import java...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\interfaces\RegistryOption.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.interfaces; import io.g...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\interfaces\Translatable.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.interfaces; import fi.d...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\konstruct\AdvancedChatKonstruct.java
package io.github.darkkronicle.advancedchatcore.konstruct; import io.github.darkkronicle.Konstruct.functions.Function; import io.github.darkkronicle.Konstruct.functions.NamedFunction; import io.github.darkkronicle.Konstruct.functions.Variable; import io.github.darkkronicle.Konstruct.nodes.Node; import io.github.darkkr...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\konstruct\StringMatchObject.java
package io.github.darkkronicle.advancedchatcore.konstruct; import io.github.darkkronicle.Konstruct.functions.ObjectFunction; import io.github.darkkronicle.Konstruct.nodes.Node; import io.github.darkkronicle.Konstruct.parser.IntRange; import io.github.darkkronicle.Konstruct.parser.ParseContext; import io.github.darkkro...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\mixin\MixinChatHud.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.mixin; import io.github...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\mixin\MixinChatHudInvoker.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.mixin; import net.minec...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\mixin\MixinChatScreen.java
/* * Copyright (C) 2021-2022 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.mixin; import net....
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\mixin\MixinClientPlayerEntity.java
package io.github.darkkronicle.advancedchatcore.mixin; import io.github.darkkronicle.advancedchatcore.chat.AdvancedChatScreen; import net.minecraft.client.MinecraftClient; import net.minecraft.client.network.ClientPlayerEntity; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityType; import net.mine...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\mixin\MixinKeyboard.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.mixin; import io.github...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\mixin\MixinMessageIndicator.java
package io.github.darkkronicle.advancedchatcore.mixin; import io.github.darkkronicle.advancedchatcore.config.ConfigStorage; import net.minecraft.client.gui.hud.MessageIndicator; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Injec...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\mixin\MixinMinecraftClient.java
/* * Copyright (C) 2021-2022 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.mixin; import io.g...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\mixin\MixinSleepingChatScreen.java
/* * Copyright (C) 2021-2022 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.mixin; import io.g...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\util\AbstractRegistry.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.util; import io.github....
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\util\Color.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.util; import lombok.Acc...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\util\Colors.java
/* * Copyright (C) 2021-2022 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.util; import com.e...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\util\ColorUtil.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.util; import lombok.exp...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\util\EasingMethod.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.util; /** A class to ha...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\util\FindPair.java
/* * Copyright (C) 2022 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.util; import lombok.All...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\util\FindType.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.util; import fi.dy.masa...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\util\LimitedInteger.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.util; import lombok.Get...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\util\ProfanityUtil.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.util; import fi.dy.masa...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\util\RawText.java
package io.github.darkkronicle.advancedchatcore.util; import net.minecraft.text.*; import net.minecraft.util.Language; import java.util.ArrayList; import java.util.List; public record RawText(String content, Style style) implements Text { @Override public Style getStyle() { return style; } ...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\util\RowList.java
package io.github.darkkronicle.advancedchatcore.util; import java.util.*; public class RowList<T> { private final Map<String, List<T>> list = new HashMap<>(); private final List<String> order = new ArrayList<>(); public RowList() { } private List<T> makeNewList() { return new ArrayList...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\util\SearchResult.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.util; import io.github....
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\util\SearchUtils.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.util; import io.github....
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\util\StringInsert.java
package io.github.darkkronicle.advancedchatcore.util; import net.minecraft.text.MutableText; import net.minecraft.text.Text; /** * An interface to provide a way to get the text that should be replaced based off of the * current {@link Text} and the current {@link StringMatch} */ public interface StringInsert { ...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\util\StringMatch.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.util; import lombok.All...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\util\StyleFormatter.java
/* * Copyright (C) 2021-2022 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.util; import java....
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\util\SyncTaskQueue.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.util; import java.util....
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\util\TextBuilder.java
package io.github.darkkronicle.advancedchatcore.util; import net.minecraft.text.*; import java.util.ArrayList; import java.util.List; import java.util.Optional; import java.util.concurrent.atomic.AtomicReference; public class TextBuilder { private List<RawText> siblings = new ArrayList<>(); public TextBuil...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\util\TextUtil.java
/* * Copyright (C) 2021-2022 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.util; import fi.dy...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\util\TomlUtil.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.util; import com.electr...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\config\gui\GuiConfig.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.config.gui; import fi.d...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\config\gui\GuiConfigHandler.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.config.gui; import fi.d...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\config\gui\ModMenuImpl.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.config.gui; import com....
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\config\gui\OnOffListListener.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.config.gui; import fi.d...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\config\gui\TabSupplier.java
package io.github.darkkronicle.advancedchatcore.config.gui; import fi.dy.masa.malilib.config.IConfigBase; import fi.dy.masa.malilib.util.StringUtils; import lombok.Getter; import lombok.Setter; import net.minecraft.client.gui.screen.Screen; import java.util.ArrayList; import java.util.List; public class TabSupplier ...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\config\options\ConfigColor.java
/* * Copyright (C) 2021-2022 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.config.options; im...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\config\gui\widgets\WidgetColor.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.config.gui.widgets; imp...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\config\gui\widgets\WidgetIntBox.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.config.gui.widgets; imp...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\config\gui\widgets\WidgetLabelHoverable.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.config.gui.widgets; imp...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\config\gui\widgets\WidgetListRegistryOption.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.config.gui.widgets; imp...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\config\gui\widgets\WidgetRegistryOptionEntry.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.config.gui.widgets; imp...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\config\gui\widgets\WidgetToggle.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.config.gui.widgets; imp...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\finder\custom\ProfanityFinder.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.finder.custom; import i...
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\gui\buttons\BackButtonListener.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.gui.buttons; import fi....
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\gui\buttons\Buttons.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.gui.buttons; import fi....
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\gui\buttons\ConfigTabsButtonListener.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.gui.buttons; import fi....
AdvancedChatCore
src\main\java\io\github\darkkronicle\advancedchatcore\gui\buttons\NamedSimpleButton.java
/* * Copyright (C) 2021 DarkKronicle * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ package io.github.darkkronicle.advancedchatcore.gui.buttons; import fi....
AdvancedChatCore
src\main\resources\assets\advancedchatcore\lang\en_us.json
{ "advancedchat.config.yes": "Correct!", "advancedchat.gui.button.back": "Back", "advancedchat.gui.button.settings": "Settings", "advancedchat.gui.message.sucessful": "Success!", "advancedchat.screen.main": "§3Advanced§5Chat§f Config", "advancedchatcore.tab.general": "§7General", "advancedchatcore.tab...
AdvancedChatCore
src\main\resources\assets\advancedchatcore\lang\zh_cn.json
{ "advancedchat.config.yes": "确认!", "advancedchat.screen.main": "§3Advanced§5Chat§f 配置", "advancedchat.screen.chatlog": "§3Advanced§5Chat§f 聊天记录", "advancedchat.screen.sound": "声音设置", "advancedchat.screen.suggestors": "补全设置", "advancedchat.screen.shortcut": "快捷聊天设置", "advancedchat.gui.button.save": "保存",...
AdvancedKitsReloaded
src\main\java\hu\tryharddevs\advancedkits\AdvancedKitsMain.java
package hu.tryharddevs.advancedkits; import co.aikar.commands.ACF; import co.aikar.commands.CommandManager; import co.aikar.commands.CommandReplacements; import hu.tryharddevs.advancedkits.cinventory.CInventoryMain; import hu.tryharddevs.advancedkits.commands.CreateCommand; import hu.tryharddevs.advancedkits.commands....
AdvancedKitsReloaded
src\main\java\hu\tryharddevs\advancedkits\Config.java
package hu.tryharddevs.advancedkits; import hu.tryharddevs.advancedkits.utils.localization.I18n; import org.bukkit.ChatColor; import org.bukkit.configuration.file.FileConfiguration; import java.io.File; import java.util.ArrayList; import java.util.List; import java.util.Objects; public class Config { public static ...
AdvancedKitsReloaded
src\main\java\hu\tryharddevs\advancedkits\MetricsLite.java
package hu.tryharddevs.advancedkits; import org.bukkit.Bukkit; import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.plugin.ServicePriority; import org.bukkit.plugin.java.JavaPlugin; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import javax.net.ssl.HttpsURLConnection; impor...
AdvancedKitsReloaded
src\main\java\hu\tryharddevs\advancedkits\Updater.java
package hu.tryharddevs.advancedkits; import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.plugin.Plugin; import org.bukkit.scheduler.BukkitRunnable; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import org.json.simple.JSONValue; import java.io.*; import java.net.HttpURLConn...
AdvancedKitsReloaded
src\main\java\hu\tryharddevs\advancedkits\cinventory\CInventory.java
package hu.tryharddevs.advancedkits.cinventory; import hu.tryharddevs.advancedkits.cinventory.listeners.InventoryClickListener; import hu.tryharddevs.advancedkits.cinventory.listeners.InventoryCloseListener; import hu.tryharddevs.advancedkits.cinventory.listeners.InventoryDragListener; import org.bukkit.entity.Player;...
AdvancedKitsReloaded
src\main\java\hu\tryharddevs\advancedkits\cinventory\CInventoryMain.java
package hu.tryharddevs.advancedkits.cinventory; import hu.tryharddevs.advancedkits.AdvancedKitsMain; import org.bukkit.event.Event; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.inventory.InventoryClickEvent; import org.bukkit.event.inventory.InventoryCloseEvent; impor...
AdvancedKitsReloaded
src\main\java\hu\tryharddevs\advancedkits\commands\CreateCommand.java
package hu.tryharddevs.advancedkits.commands; import co.aikar.commands.BaseCommand; import co.aikar.commands.annotation.CommandAlias; import co.aikar.commands.annotation.CommandPermission; import co.aikar.commands.annotation.Subcommand; import co.aikar.commands.annotation.Syntax; import hu.tryharddevs.advancedkits.Adv...
AdvancedKitsReloaded
src\main\java\hu\tryharddevs\advancedkits\commands\EditCommand.java
package hu.tryharddevs.advancedkits.commands; import co.aikar.commands.BaseCommand; import co.aikar.commands.annotation.*; import hu.tryharddevs.advancedkits.AdvancedKitsMain; import hu.tryharddevs.advancedkits.cinventory.inventories.CPageInventory; import hu.tryharddevs.advancedkits.cinventory.inventories.CSimpleInve...
AdvancedKitsReloaded
src\main\java\hu\tryharddevs\advancedkits\commands\MainCommand.java
package hu.tryharddevs.advancedkits.commands; import co.aikar.commands.BaseCommand; import co.aikar.commands.annotation.*; import co.aikar.commands.contexts.OnlinePlayer; import hu.tryharddevs.advancedkits.AdvancedKitsMain; import hu.tryharddevs.advancedkits.Config; import hu.tryharddevs.advancedkits.cinventory.invent...
AdvancedKitsReloaded
src\main\java\hu\tryharddevs\advancedkits\commands\UseCommand.java
package hu.tryharddevs.advancedkits.commands; import co.aikar.commands.BaseCommand; import co.aikar.commands.annotation.*; import co.aikar.commands.annotation.Optional; import hu.tryharddevs.advancedkits.AdvancedKitsMain; import hu.tryharddevs.advancedkits.Config; import hu.tryharddevs.advancedkits.cinventory.inventor...
AdvancedKitsReloaded
src\main\java\hu\tryharddevs\advancedkits\kits\Kit.java
package hu.tryharddevs.advancedkits.kits; import co.aikar.commands.InvalidCommandArgument; import co.aikar.commands.contexts.ContextResolver; import hu.tryharddevs.advancedkits.AdvancedKitsMain; import hu.tryharddevs.advancedkits.kits.flags.DefaultFlags; import hu.tryharddevs.advancedkits.kits.flags.Flag; import hu.tr...
AdvancedKitsReloaded
src\main\java\hu\tryharddevs\advancedkits\kits\KitManager.java
package hu.tryharddevs.advancedkits.kits; import com.google.common.collect.Maps; import com.google.common.io.Files; import com.google.gson.JsonSyntaxException; import hu.tryharddevs.advancedkits.AdvancedKitsMain; import hu.tryharddevs.advancedkits.kits.flags.DefaultFlags; import hu.tryharddevs.advancedkits.kits.flags....
AdvancedKitsReloaded
src\main\java\hu\tryharddevs\advancedkits\kits\Session.java
package hu.tryharddevs.advancedkits.kits; import org.bukkit.inventory.ItemStack; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.UUID; public class Session { private static HashMap<UUID, Session> sessions = new HashMap<>(); private UUID uuid; private ArrayLi...