Skip to content

Commit

Permalink
fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Aug 2, 2024
1 parent 26ecc28 commit 5c0bdac
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
*
* <p>There are both server- and clientside entry points for Adventure,
* in {@link net.kyori.adventure.platform.modcommon.MinecraftServerAudiences}
* and {@code FabricClientAudiences}</p>
* and {@code MinecraftClientAudiences}</p>
*/
package net.kyori.adventure.platform.fabric;
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
/**
* Helper for registering {@link net.kyori.adventure.platform.modcommon.ComponentArgumentType} and
* {@link net.kyori.adventure.platform.modcommon.KeyArgumentType}.
*
* @since 6.0.0
*/
public final class AdventureArgumentTypes {
private AdventureArgumentTypes() {
Expand All @@ -39,6 +41,8 @@ private AdventureArgumentTypes() {
* Registers the Adventure {@link com.mojang.brigadier.arguments.ArgumentType}s.
*
* <p>This is not done by default as it requires the client to also register the types.</p>
*
* @since 6.0.0
*/
public static synchronized void register() {
if (registered) {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
* This file is part of adventure-platform-fabric, licensed under the MIT License.
*
* Copyright (c) 2024 KyoriPowered
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
/**
* Implementation of <a href="https://docs.adventure.kyori.net">Adventure</a>
* on Minecraft using the NeoForge mod loader.
*
* <p>There are both server- and clientside entry points for Adventure,
* in {@link net.kyori.adventure.platform.modcommon.MinecraftServerAudiences}
* and {@code MinecraftClientAudiences}</p>
*/
package net.kyori.adventure.platform.neoforge;

0 comments on commit 5c0bdac

Please sign in to comment.