This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import com.google.gson.JsonElement; | |
| import com.mojang.logging.LogUtils; | |
| import com.mojang.serialization.Codec; | |
| import com.mojang.serialization.DynamicOps; | |
| import cpw.mods.modlauncher.api.LamdbaExceptionUtils; | |
| import net.minecraft.core.Holder; | |
| import net.minecraft.core.Registry; | |
| import net.minecraft.core.RegistryAccess; | |
| import net.minecraft.data.CachedOutput; | |
| import net.minecraft.data.DataGenerator; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import net.minecraft.ChatFormatting; | |
| import net.minecraft.network.chat.Component; | |
| import net.minecraft.network.chat.Style; | |
| import net.minecraft.util.FormattedCharSequence; | |
| import net.minecraft.util.FormattedCharSink; | |
| import java.util.EnumSet; | |
| public class LegacyComponentSerializer { | |
| public static String convertToLegacy(Component component) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %include std/string | |
| costumes "blank.svg"; | |
| var input = ""; | |
| # var input = "987654321111111\n811111111111119\n234234234234278\n818181911112111"; | |
| func chartodig(c) { | |
| return $c + 0; | |
| } |
OlderNewer