All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mojang.brigadier.LiteralMessage Maven / Gradle / Ivy

The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.

package com.mojang.brigadier;

public class LiteralMessage implements Message {
    private final String string;

    public LiteralMessage(final String string) {
        this.string = string;
    }

    @Override
    public String getString() {
        return string;
    }

    @Override
    public String toString() {
        return string;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy