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
| minecraft:black_concrete | |
| minecraft:black_terracotta | |
| minecraft:black_wool | |
| minecraft:blue_concrete | |
| minecraft:blue_terracotta | |
| minecraft:blue_wool | |
| minecraft:brown_concrete | |
| minecraft:brown_terracotta | |
| minecraft:brown_wool | |
| minecraft:cyan_concrete |
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
| { | |
| "Color.Window": "#2b2d30", | |
| "Color.WindowBorder": "#2b2d30", | |
| "Color.TitleBar": "#2b2d30", | |
| "Color.ToolBar": "#2b2d30", | |
| "Color.Popup": "#2b2d30", | |
| "Color.Contents": "#1e1f22", | |
| "Color.Badge": "#3574f0", | |
| "Color.BadgeFG": "#ffffff", | |
| "Color.Conflict": "#45302b", |
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.kyori.adventure.text.Component; | |
| import net.kyori.adventure.text.format.NamedTextColor; | |
| import net.minestom.server.command.CommandSender; | |
| import net.minestom.server.command.builder.Command; | |
| import net.minestom.server.command.builder.CommandContext; | |
| import org.checkerframework.checker.nullness.qual.NonNull; | |
| import org.incendo.cloud.execution.CommandResult; | |
| import org.jetbrains.annotations.NotNull; | |
| import org.jetbrains.annotations.Nullable; |
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
| fun main() { | |
| println(StringHuilder.p.i.d.o.r.a.s.i.n.a) // out: pidorasina | |
| } | |
| open class StringHuilder( | |
| private val huita: String, | |
| ) { | |
| val a get() = StringHuilder(huita + "a") | |
| val b get() = StringHuilder(huita + "b") | |
| val c get() = StringHuilder(huita + "c") |
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
| fun line() { | |
| val distance = location1!!.distance(location2!!) | |
| val center = Location( | |
| location1!!.world, | |
| (location1!!.x + location2!!.x) / 2, | |
| (location1!!.y + location2!!.y) / 2, | |
| (location1!!.z + location2!!.z) / 2 | |
| ) | |
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
| { | |
| } |