Add Copyright & Rename Package
SteamWarCI Build failed Details

Dieser Commit ist enthalten in:
Chaoscaot 2023-07-17 15:55:06 +02:00
Ursprung 2d1c320792
Commit 279042b987
Signiert von: Chaoscaot
GPG-Schlüssel-ID: BDF8FADD7D5EDB7A
12 geänderte Dateien mit 194 neuen und 95 gelöschten Zeilen

Datei anzeigen

@ -0,0 +1,29 @@
/*
* This file is a part of the SteamWar software.
*
* Copyright (C) 2023 SteamWar.de-Serverteam
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.steamwar.advancedscripts;
import net.fabricmc.api.ClientModInitializer;
public class AdvancedScripts implements ClientModInitializer {
@Override
public void onInitializeClient() {
}
}

Datei anzeigen

@ -1,4 +1,23 @@
package de.zonlykroks.advancedscripts.lexer;
/*
* This file is a part of the SteamWar software.
*
* Copyright (C) 2023 SteamWar.de-Serverteam
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.steamwar.advancedscripts.lexer;
import java.util.ArrayList;
import java.util.List;

Datei anzeigen

@ -0,0 +1,40 @@
/*
* This file is a part of the SteamWar software.
*
* Copyright (C) 2023 SteamWar.de-Serverteam
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.steamwar.advancedscripts.lexer;
public class Token {
public static final Token SPACE = new Token(" ", 0xFFFFFFFF);
public final String text;
public final int color;
public Token(String text, int color) {
this.text = text;
this.color = color;
}
@Override
public String toString() {
return "Token{" +
"text='" + text + '\'' +
", color=" + color +
'}';
}
}

Datei anzeigen

@ -0,0 +1,41 @@
/*
* This file is a part of the SteamWar software.
*
* Copyright (C) 2023 SteamWar.de-Serverteam
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.steamwar.advancedscripts.lexer;
public class TokenTypeColors {
private TokenTypeColors() {
throw new IllegalStateException("Utility class");
}
public static final int BACKGROUND = 0xFF1E1F22;
public static final int SELECTION = 0xFF23437F;
public static final int OTHER = 0xFFFFFFFF;
public static final int ERROR = 0xFFAA0000;
public static final int VARIABLE = 0xFFFFFFFF;
public static final int COMMENT = 0xFF656565;
public static final int CONSTANT = 0x3F6EC6;
public static final int NUMBER = 0xFF61839F;
public static final int BOOLEAN = 0xFF925F35;
public static final int STRING = 0x6a8759;
}

Datei anzeigen

@ -1,6 +1,25 @@
package de.zonlykroks.advancedscripts.mixin;
/*
* This file is a part of the SteamWar software.
*
* Copyright (C) 2023 SteamWar.de-Serverteam
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import de.zonlykroks.advancedscripts.screen.ScriptEditScreen;
package de.steamwar.advancedscripts.mixin;
import de.steamwar.advancedscripts.screen.ScriptEditScreen;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.network.ClientPlayerEntity;
import net.minecraft.item.ItemStack;

Datei anzeigen

@ -1,20 +1,23 @@
/*
This file is a part of the SteamWar software.
* This file is a part of the SteamWar software.
*
* Copyright (C) 2023 SteamWar.de-Serverteam
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Copyright (C) 2020 SteamWar.de-Serverteam
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.zonlykroks.advancedscripts.mixin;
package de.steamwar.advancedscripts.mixin;
import io.netty.buffer.Unpooled;
import net.minecraft.client.Keyboard;

Datei anzeigen

@ -1,13 +1,30 @@
package de.zonlykroks.advancedscripts.screen;
/*
* This file is a part of the SteamWar software.
*
* Copyright (C) 2023 SteamWar.de-Serverteam
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.steamwar.advancedscripts.screen;
import com.mojang.blaze3d.systems.RenderSystem;
import de.zonlykroks.advancedscripts.lexer.ScriptColorizer;
import de.zonlykroks.advancedscripts.lexer.Token;
import de.zonlykroks.advancedscripts.lexer.TokenTypeColors;
import de.steamwar.advancedscripts.lexer.TokenTypeColors;
import de.steamwar.advancedscripts.lexer.ScriptColorizer;
import de.steamwar.advancedscripts.lexer.Token;
import net.minecraft.client.font.TextHandler;
import net.minecraft.client.gui.DrawableHelper;
import net.minecraft.client.gui.Element;
import net.minecraft.client.gui.Selectable;
import net.minecraft.client.gui.screen.Screen;
import net.minecraft.client.gui.screen.ingame.BookEditScreen;
import net.minecraft.client.gui.screen.ingame.BookScreen;

Datei anzeigen

@ -1,26 +0,0 @@
/*
This file is a part of the SteamWar software.
Copyright (C) 2020 SteamWar.de-Serverteam
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.zonlykroks.advancedscripts;
import net.fabricmc.api.ClientModInitializer;
public class AdvancedScripts implements ClientModInitializer {
@Override
public void onInitializeClient() {
}
}

Datei anzeigen

@ -1,21 +0,0 @@
package de.zonlykroks.advancedscripts.lexer;
public class Token {
public static final Token SPACE = new Token(" ", 0xFFFFFFFF);
public final String text;
public final int color;
public Token(String text, int color) {
this.text = text;
this.color = color;
}
@Override
public String toString() {
return "Token{" +
"text='" + text + '\'' +
", color=" + color +
'}';
}
}

Datei anzeigen

@ -1,22 +0,0 @@
package de.zonlykroks.advancedscripts.lexer;
public class TokenTypeColors {
private TokenTypeColors() {
throw new IllegalStateException("Utility class");
}
public static final int BACKGROUND = 0xFF1E1F22;
public static final int SELECTION = 0xFF23437F;
public static final int OTHER = 0xFFFFFFFF;
public static final int ERROR = 0xFFAA0000;
public static final int VARIABLE = 0xFFFFFFFF;
public static final int COMMENT = 0xFF656565;
public static final int CONSTANT = 0x3F6EC6;
public static final int NUMBER = 0xFF61839F;
public static final int BOOLEAN = 0xFF925F35;
public static final int STRING = 0x6a8759;
}

Datei anzeigen

@ -1,7 +1,7 @@
{
"required": true,
"minVersion": "0.8",
"package": "de.zonlykroks.advancedscripts.mixin",
"package": "de.steamwar.advancedscripts.mixin",
"compatibilityLevel": "JAVA_17",
"mixins": [
],

Datei anzeigen

@ -14,7 +14,7 @@
"environment": "client",
"entrypoints": {
"client": [
"de.zonlykroks.advancedscripts.AdvancedScripts"
"de.steamwar.advancedscripts.AdvancedScripts"
]
},
"mixins": [