Skip to content

Commit

Permalink
Move artifacts net.raphimc -> com.viaversion
Browse files Browse the repository at this point in the history
Also updates the copyright header/licensing.
  • Loading branch information
FlorianMichael committed Jan 1, 2025
1 parent b4543f8 commit 910d833
Showing 31 changed files with 211 additions and 131 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ repositories {
}
dependencies {
implementation("net.raphimc:viaaprilfools-common:x.x.x") // Get latest version from releases
implementation("com.viaversion:viaaprilfools-common:x.x.x") // Get latest version from releases
}
```

@@ -43,7 +43,7 @@ dependencies {

<dependencies>
<dependency>
<groupId>net.raphimc</groupId>
<groupId>com.viaversion</groupId>
<artifactId>viaaprilfools-common</artifactId>
<version>x.x.x</version> <!-- Get latest version from releases -->
</dependency>
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*
* This file is part of ViaAprilFools - https://github.com/RaphiMC/ViaAprilFools
* Copyright (C) 2021-2025 RK_01/RaphiMC and contributors
* This file is part of ViaAprilFools - https://github.com/ViaVersion/ViaAprilFools
* Copyright (C) 2021-2025 the original authors
* - RK_01/RaphiMC
* - FlorianMichael/EnZaXD <florian.michael07@gmail.com>
* Copyright (C) 2023-2025 ViaVersion and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,13 +18,13 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package net.raphimc.viaaprilfools;
package com.viaversion.viaaprilfools;

import com.viaversion.viaversion.api.Via;
import com.viaversion.viaversion.api.ViaManager;
import com.viaversion.viaversion.api.protocol.version.VersionProvider;
import net.raphimc.viaaprilfools.api.VAFServerVersionProvider;
import net.raphimc.viaaprilfools.platform.ViaAprilFoolsPlatform;
import com.viaversion.viaaprilfools.api.VAFServerVersionProvider;
import com.viaversion.viaaprilfools.platform.ViaAprilFoolsPlatform;
import org.bukkit.plugin.java.JavaPlugin;

import java.io.File;
2 changes: 1 addition & 1 deletion bukkit/src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: ViaAprilFools
main: net.raphimc.viaaprilfools.BukkitPlugin
main: com.viaversion.viaaprilfools.BukkitPlugin
authors: [RK_01, FlorianMichael/EnZaXD]
version: ${version}
description: ${description}
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*
* This file is part of ViaAprilFools - https://github.com/RaphiMC/ViaAprilFools
* Copyright (C) 2021-2025 RK_01/RaphiMC and contributors
* This file is part of ViaAprilFools - https://github.com/ViaVersion/ViaAprilFools
* Copyright (C) 2021-2025 the original authors
* - RK_01/RaphiMC
* - FlorianMichael/EnZaXD <florian.michael07@gmail.com>
* Copyright (C) 2023-2025 ViaVersion and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,10 +18,10 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package net.raphimc.viaaprilfools;
package com.viaversion.viaaprilfools;

import net.raphimc.viaaprilfools.platform.ViaAprilFoolsConfig;
import net.raphimc.viaaprilfools.platform.ViaAprilFoolsPlatform;
import com.viaversion.viaaprilfools.platform.ViaAprilFoolsConfig;
import com.viaversion.viaaprilfools.platform.ViaAprilFoolsPlatform;

public class ViaAprilFools {

Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*
* This file is part of ViaAprilFools - https://github.com/RaphiMC/ViaAprilFools
* Copyright (C) 2021-2025 RK_01/RaphiMC and contributors
* This file is part of ViaAprilFools - https://github.com/ViaVersion/ViaAprilFools
* Copyright (C) 2021-2025 the original authors
* - RK_01/RaphiMC
* - FlorianMichael/EnZaXD <florian.michael07@gmail.com>
* Copyright (C) 2023-2025 ViaVersion and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +18,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package net.raphimc.viaaprilfools;
package com.viaversion.viaaprilfools;

import com.viaversion.viaversion.util.Config;

@@ -27,7 +30,7 @@
import java.util.Map;
import java.util.logging.Logger;

public class ViaAprilFoolsConfig extends Config implements net.raphimc.viaaprilfools.platform.ViaAprilFoolsConfig {
public class ViaAprilFoolsConfig extends Config implements com.viaversion.viaaprilfools.platform.ViaAprilFoolsConfig {

public ViaAprilFoolsConfig(final File configFile, final Logger logger) {
super(configFile, logger);
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*
* This file is part of ViaAprilFools - https://github.com/RaphiMC/ViaAprilFools
* Copyright (C) 2021-2025 RK_01/RaphiMC and contributors
* This file is part of ViaAprilFools - https://github.com/ViaVersion/ViaAprilFools
* Copyright (C) 2021-2025 the original authors
* - RK_01/RaphiMC
* - FlorianMichael/EnZaXD <florian.michael07@gmail.com>
* Copyright (C) 2023-2025 ViaVersion and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +18,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package net.raphimc.viaaprilfools.api;
package com.viaversion.viaaprilfools.api;

import com.viaversion.viaversion.api.protocol.version.ProtocolVersion;
import com.viaversion.viaversion.protocol.RedirectProtocolVersion;
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*
* This file is part of ViaAprilFools - https://github.com/RaphiMC/ViaAprilFools
* Copyright (C) 2021-2025 RK_01/RaphiMC and contributors
* This file is part of ViaAprilFools - https://github.com/ViaVersion/ViaAprilFools
* Copyright (C) 2021-2025 the original authors
* - RK_01/RaphiMC
* - FlorianMichael/EnZaXD <florian.michael07@gmail.com>
* Copyright (C) 2023-2025 ViaVersion and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +18,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package net.raphimc.viaaprilfools.api;
package com.viaversion.viaaprilfools.api;

import com.viaversion.viaversion.api.connection.UserConnection;
import com.viaversion.viaversion.api.protocol.version.ProtocolVersion;
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*
* This file is part of ViaAprilFools - https://github.com/RaphiMC/ViaAprilFools
* Copyright (C) 2021-2025 RK_01/RaphiMC and contributors
* This file is part of ViaAprilFools - https://github.com/ViaVersion/ViaAprilFools
* Copyright (C) 2021-2025 the original authors
* - RK_01/RaphiMC
* - FlorianMichael/EnZaXD <florian.michael07@gmail.com>
* Copyright (C) 2023-2025 ViaVersion and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,12 +18,12 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package net.raphimc.viaaprilfools.api.data;
package com.viaversion.viaaprilfools.api.data;

import com.viaversion.viabackwards.api.data.BackwardsMappingData;
import com.viaversion.viaversion.api.protocol.Protocol;
import com.viaversion.nbt.tag.CompoundTag;
import net.raphimc.viaaprilfools.ViaAprilFools;
import com.viaversion.viaaprilfools.ViaAprilFools;
import org.checkerframework.checker.nullness.qual.Nullable;

import java.util.logging.Logger;
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*
* This file is part of ViaAprilFools - https://github.com/RaphiMC/ViaAprilFools
* Copyright (C) 2021-2025 RK_01/RaphiMC and contributors
* This file is part of ViaAprilFools - https://github.com/ViaVersion/ViaAprilFools
* Copyright (C) 2021-2025 the original authors
* - RK_01/RaphiMC
* - FlorianMichael/EnZaXD <florian.michael07@gmail.com>
* Copyright (C) 2023-2025 ViaVersion and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,10 +18,10 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package net.raphimc.viaaprilfools.api.data;
package com.viaversion.viaaprilfools.api.data;

import com.viaversion.viabackwards.api.data.BackwardsMappingDataLoader;
import net.raphimc.viaaprilfools.ViaAprilFools;
import com.viaversion.viaaprilfools.ViaAprilFools;

import java.io.File;
import java.util.logging.Logger;
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*
* This file is part of ViaAprilFools - https://github.com/RaphiMC/ViaAprilFools
* Copyright (C) 2021-2025 RK_01/RaphiMC and contributors
* This file is part of ViaAprilFools - https://github.com/ViaVersion/ViaAprilFools
* Copyright (C) 2021-2025 the original authors
* - RK_01/RaphiMC
* - FlorianMichael/EnZaXD <florian.michael07@gmail.com>
* Copyright (C) 2023-2025 ViaVersion and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +18,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package net.raphimc.viaaprilfools.platform;
package com.viaversion.viaaprilfools.platform;

import com.viaversion.viaversion.api.configuration.Config;

Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*
* This file is part of ViaAprilFools - https://github.com/RaphiMC/ViaAprilFools
* Copyright (C) 2021-2025 RK_01/RaphiMC and contributors
* This file is part of ViaAprilFools - https://github.com/ViaVersion/ViaAprilFools
* Copyright (C) 2021-2025 the original authors
* - RK_01/RaphiMC
* - FlorianMichael/EnZaXD <florian.michael07@gmail.com>
* Copyright (C) 2023-2025 ViaVersion and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,19 +18,19 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package net.raphimc.viaaprilfools.platform;
package com.viaversion.viaaprilfools.platform;

import com.viaversion.viaversion.api.Via;
import com.viaversion.viaversion.api.protocol.ProtocolManager;
import com.viaversion.viaversion.api.protocol.version.ProtocolVersion;
import net.raphimc.viaaprilfools.ViaAprilFools;
import net.raphimc.viaaprilfools.ViaAprilFoolsConfig;
import net.raphimc.viaaprilfools.api.AprilFoolsProtocolVersion;
import net.raphimc.viaaprilfools.protocol.s3d_sharewaretov1_14.Protocol3D_SharewareTo1_14;
import net.raphimc.viaaprilfools.protocol.scombattest8ctov1_16_2.ProtocolCombatTest8cTo1_16_2;
import net.raphimc.viaaprilfools.protocol.s20w14infinitetov1_16.Protocol20w14infiniteTo1_16;
import net.raphimc.viaaprilfools.protocol.v1_14tos3d_shareware.Protocol1_14To3D_Shareware;
import net.raphimc.viaaprilfools.protocol.v1_16_2toscombattest8c.Protocol1_16_2ToCombatTest8c;
import com.viaversion.viaaprilfools.ViaAprilFools;
import com.viaversion.viaaprilfools.ViaAprilFoolsConfig;
import com.viaversion.viaaprilfools.api.AprilFoolsProtocolVersion;
import com.viaversion.viaaprilfools.protocol.s3d_sharewaretov1_14.Protocol3D_SharewareTo1_14;
import com.viaversion.viaaprilfools.protocol.scombattest8ctov1_16_2.ProtocolCombatTest8cTo1_16_2;
import com.viaversion.viaaprilfools.protocol.s20w14infinitetov1_16.Protocol20w14infiniteTo1_16;
import com.viaversion.viaaprilfools.protocol.v1_14tos3d_shareware.Protocol1_14To3D_Shareware;
import com.viaversion.viaaprilfools.protocol.v1_16_2toscombattest8c.Protocol1_16_2ToCombatTest8c;

import java.io.File;
import java.util.logging.Logger;
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*
* This file is part of ViaAprilFools - https://github.com/RaphiMC/ViaAprilFools
* Copyright (C) 2021-2025 RK_01/RaphiMC and contributors
* This file is part of ViaAprilFools - https://github.com/ViaVersion/ViaAprilFools
* Copyright (C) 2021-2025 the original authors
* - RK_01/RaphiMC
* - FlorianMichael/EnZaXD <florian.michael07@gmail.com>
* Copyright (C) 2023-2025 ViaVersion and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +18,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package net.raphimc.viaaprilfools.protocol.s20w14infinitetov1_16;
package com.viaversion.viaaprilfools.protocol.s20w14infinitetov1_16;

import com.viaversion.viabackwards.api.BackwardsProtocol;
import com.viaversion.viabackwards.api.data.BackwardsMappingData;
@@ -35,12 +38,11 @@
import com.viaversion.viaversion.rewriter.RecipeRewriter;
import com.viaversion.viaversion.rewriter.StatisticsRewriter;
import com.viaversion.viaversion.rewriter.TagRewriter;
import net.raphimc.viaaprilfools.api.data.AprilFoolsMappingData;
import net.raphimc.viaaprilfools.protocol.s20w14infinitetov1_16.rewriter.EntityPacketRewriter20w14infinite;
import net.raphimc.viaaprilfools.protocol.s20w14infinitetov1_16.packet.ClientboundPackets20w14infinite;
import net.raphimc.viaaprilfools.protocol.s20w14infinitetov1_16.packet.ServerboundPackets20w14infinite;
import net.raphimc.viaaprilfools.protocol.s20w14infinitetov1_16.rewriter.BlockItemPacketRewriter20w14infinite;
import org.checkerframework.checker.nullness.qual.Nullable;
import com.viaversion.viaaprilfools.api.data.AprilFoolsMappingData;
import com.viaversion.viaaprilfools.protocol.s20w14infinitetov1_16.rewriter.EntityPacketRewriter20w14infinite;
import com.viaversion.viaaprilfools.protocol.s20w14infinitetov1_16.packet.ClientboundPackets20w14infinite;
import com.viaversion.viaaprilfools.protocol.s20w14infinitetov1_16.packet.ServerboundPackets20w14infinite;
import com.viaversion.viaaprilfools.protocol.s20w14infinitetov1_16.rewriter.BlockItemPacketRewriter20w14infinite;

import java.util.UUID;

Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*
* This file is part of ViaAprilFools - https://github.com/RaphiMC/ViaAprilFools
* Copyright (C) 2021-2025 RK_01/RaphiMC and contributors
* This file is part of ViaAprilFools - https://github.com/ViaVersion/ViaAprilFools
* Copyright (C) 2021-2025 the original authors
* - RK_01/RaphiMC
* - FlorianMichael/EnZaXD <florian.michael07@gmail.com>
* Copyright (C) 2023-2025 ViaVersion and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +18,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package net.raphimc.viaaprilfools.protocol.s20w14infinitetov1_16.data;
package com.viaversion.viaaprilfools.protocol.s20w14infinitetov1_16.data;

import com.viaversion.viaversion.libs.fastutil.ints.IntArrayList;
import com.viaversion.viaversion.libs.fastutil.ints.IntList;
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*
* This file is part of ViaAprilFools - https://github.com/RaphiMC/ViaAprilFools
* Copyright (C) 2021-2025 RK_01/RaphiMC and contributors
* This file is part of ViaAprilFools - https://github.com/ViaVersion/ViaAprilFools
* Copyright (C) 2021-2025 the original authors
* - RK_01/RaphiMC
* - FlorianMichael/EnZaXD <florian.michael07@gmail.com>
* Copyright (C) 2023-2025 ViaVersion and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +18,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package net.raphimc.viaaprilfools.protocol.s20w14infinitetov1_16.packet;
package com.viaversion.viaaprilfools.protocol.s20w14infinitetov1_16.packet;

import com.viaversion.viaversion.api.protocol.packet.ClientboundPacketType;

Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*
* This file is part of ViaAprilFools - https://github.com/RaphiMC/ViaAprilFools
* Copyright (C) 2021-2025 RK_01/RaphiMC and contributors
* This file is part of ViaAprilFools - https://github.com/ViaVersion/ViaAprilFools
* Copyright (C) 2021-2025 the original authors
* - RK_01/RaphiMC
* - FlorianMichael/EnZaXD <florian.michael07@gmail.com>
* Copyright (C) 2023-2025 ViaVersion and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +18,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package net.raphimc.viaaprilfools.protocol.s20w14infinitetov1_16.packet;
package com.viaversion.viaaprilfools.protocol.s20w14infinitetov1_16.packet;

import com.viaversion.viaversion.api.protocol.packet.ServerboundPacketType;

Loading

0 comments on commit 910d833

Please sign in to comment.