Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ Temporary Items
### Misc

# Ignore server folder
server/
/server/

# Ignore jars cache
jars/cache/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
// MockMC: Unique Stub for RegisteredServer
package org.mockmc.mockmc.generated.proxy.com.velocitypowered.api.proxy.server;

import com.velocitypowered.api.proxy.Player;
import com.velocitypowered.api.proxy.server.PingOptions;
import com.velocitypowered.api.proxy.server.RegisteredServer;
import com.velocitypowered.api.proxy.server.ServerInfo;
import com.velocitypowered.api.proxy.server.ServerPing;
import java.util.Collection;
import java.util.concurrent.CompletableFuture;
import org.mockmc.mockmc.generated.proxy.com.velocitypowered.api.proxy.messages.ChannelMessageSinkBaseMock;

/**
* Auto-generated by BaseMockGenerator for {@link RegisteredServer}. This
* interface mirrors the Bukkit/Paper API to ensure 100% IDE completion.
*
* Source: velocity-3.5.0-SNAPSHOT-593.jar (Version:
* velocity-3.5.0-SNAPSHOT-593)
*
* Reason: Suppressed to prevent legacy API noise from interfering with modern
* build cycles.
*/
public interface RegisteredServerBaseMock extends RegisteredServer, ChannelMessageSinkBaseMock
{
default Collection<Player> getPlayersConnected()
{
// MockMC: RegisteredServer#getPlayersConnected
return java.util.Collections.emptyList();
}

default CompletableFuture<ServerPing> ping(PingOptions arg0)
{
// MockMC: RegisteredServer#ping
return java.util.concurrent.CompletableFuture.completedFuture(null);
}

default CompletableFuture<ServerPing> ping()
{
// MockMC: RegisteredServer#ping
return java.util.concurrent.CompletableFuture.completedFuture(null);
}

default ServerInfo getServerInfo()
{
// MockMC: RegisteredServer#getServerInfo
return null;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// MockMC: Unique Stub for MetricsCustomChart
package org.mockmc.mockmc.generated.server.com.destroystokyo.paper;

/**
* Auto-generated by BaseMockGenerator for
* {@link com.destroystokyo.paper.Metrics.CustomChart}. This interface mirrors
* the Bukkit/Paper API to ensure 100% IDE completion.
*
* Source: remapped-folia-1.21.11-14.jar (Version: remapped-folia-1.21.11-14)
*
* Reason: Suppressed to prevent legacy API noise from interfering with modern
* build cycles.
*/
public interface MetricsCustomChartBaseMock
{
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
// MockMC: Unique Stub for Namespaced
package org.mockmc.mockmc.generated.server.com.destroystokyo.paper;

import com.destroystokyo.paper.Namespaced;

/**
* Auto-generated by BaseMockGenerator for {@link Namespaced}. This interface
* mirrors the Bukkit/Paper API to ensure 100% IDE completion.
*
* Source: paper-api-26.1.2.build.53-stable.jar (Version:
* paper-api-26.1.2.build.53-stable)
*
* Reason: Suppressed to prevent legacy API noise from interfering with modern
* build cycles.
*
* @deprecated Suppressed to prevent legacy API noise from interfering with
* modern build cycles.
*/
@Deprecated(since = "1.20.6", forRemoval = true)
@SuppressWarnings("removal")
public interface NamespacedBaseMock extends Namespaced
{
/**
* @deprecated Suppressed to prevent legacy API noise from interfering with
* modern build cycles.
*/
@Deprecated(since = "1.20.6", forRemoval = true)
default String getKey()
{
// MockMC: Namespaced#getKey
return "";
}

/**
* @deprecated Suppressed to prevent legacy API noise from interfering with
* modern build cycles.
*/
@Deprecated(since = "1.20.6", forRemoval = true)
default String getNamespace()
{
// MockMC: Namespaced#getNamespace
return "";
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
// MockMC: Unique Stub for SkinParts
package org.mockmc.mockmc.generated.server.com.destroystokyo.paper;

import com.destroystokyo.paper.SkinParts;

/**
* Auto-generated by BaseMockGenerator for {@link SkinParts}. This interface
* mirrors the Bukkit/Paper API to ensure 100% IDE completion.
*
* Source: paper-api-26.1.2.build.53-stable.jar (Version:
* paper-api-26.1.2.build.53-stable)
*
* Reason: Suppressed to prevent legacy API noise from interfering with modern
* build cycles.
*/
public interface SkinPartsBaseMock extends SkinParts
{
default boolean hasRightPantsEnabled()
{
// MockMC: SkinParts#hasRightPantsEnabled
return false;
}

default boolean hasRightSleeveEnabled()
{
// MockMC: SkinParts#hasRightSleeveEnabled
return false;
}

default boolean hasJacketEnabled()
{
// MockMC: SkinParts#hasJacketEnabled
return false;
}

default boolean hasLeftPantsEnabled()
{
// MockMC: SkinParts#hasLeftPantsEnabled
return false;
}

default boolean hasLeftSleeveEnabled()
{
// MockMC: SkinParts#hasLeftSleeveEnabled
return false;
}

default boolean hasCapeEnabled()
{
// MockMC: SkinParts#hasCapeEnabled
return false;
}

default SkinParts.Mutable mutableCopy()
{
// MockMC: SkinParts#mutableCopy
return null;
}

default boolean hasHatsEnabled()
{
// MockMC: SkinParts#hasHatsEnabled
return false;
}

default int getRaw()
{
// MockMC: SkinParts#getRaw
return 0;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
// MockMC: Unique Stub for SkinPartsMutable
package org.mockmc.mockmc.generated.server.com.destroystokyo.paper;

import com.destroystokyo.paper.SkinParts;

/**
* Auto-generated by BaseMockGenerator for {@link SkinParts.Mutable}. This
* interface mirrors the Bukkit/Paper API to ensure 100% IDE completion.
*
* Source: paper-api-26.1.2.build.53-stable.jar (Version:
* paper-api-26.1.2.build.53-stable)
*
* Reason: Suppressed to prevent legacy API noise from interfering with modern
* build cycles.
*/
public interface SkinPartsMutableBaseMock extends SkinParts.Mutable, SkinPartsBaseMock
{
default void setJacketEnabled(boolean arg0)
{
// MockMC: Mutable#setJacketEnabled
}

default void setHatsEnabled(boolean arg0)
{
// MockMC: Mutable#setHatsEnabled
}

default void setCapeEnabled(boolean arg0)
{
// MockMC: Mutable#setCapeEnabled
}

default void setRightPantsEnabled(boolean arg0)
{
// MockMC: Mutable#setRightPantsEnabled
}

default void setLeftSleeveEnabled(boolean arg0)
{
// MockMC: Mutable#setLeftSleeveEnabled
}

default void setRightSleeveEnabled(boolean arg0)
{
// MockMC: Mutable#setRightSleeveEnabled
}

default void setLeftPantsEnabled(boolean arg0)
{
// MockMC: Mutable#setLeftPantsEnabled
}

default SkinParts immutableCopy()
{
// MockMC: Mutable#immutableCopy
return null;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
// MockMC: Unique Stub for BlockSoundGroup
package org.mockmc.mockmc.generated.server.com.destroystokyo.paper.block;

import com.destroystokyo.paper.block.BlockSoundGroup;
import org.bukkit.Sound;

/**
* Auto-generated by BaseMockGenerator for {@link BlockSoundGroup}. This
* interface mirrors the Bukkit/Paper API to ensure 100% IDE completion.
*
* Source: paper-api-26.1.2.build.53-stable.jar (Version:
* paper-api-26.1.2.build.53-stable)
*
* Reason: Suppressed to prevent legacy API noise from interfering with modern
* build cycles.
*
* @deprecated Suppressed to prevent legacy API noise from interfering with
* modern build cycles.
*/
@Deprecated(since = "1.18.2", forRemoval = true)
@SuppressWarnings("removal")
public interface BlockSoundGroupBaseMock extends BlockSoundGroup
{
/**
* @deprecated Suppressed to prevent legacy API noise from interfering with
* modern build cycles.
*/
@Deprecated(since = "1.18.2", forRemoval = true)
default Sound getHitSound()
{
// MockMC: BlockSoundGroup#getHitSound
return null;
}

/**
* @deprecated Suppressed to prevent legacy API noise from interfering with
* modern build cycles.
*/
@Deprecated(since = "1.18.2", forRemoval = true)
default Sound getFallSound()
{
// MockMC: BlockSoundGroup#getFallSound
return null;
}

/**
* @deprecated Suppressed to prevent legacy API noise from interfering with
* modern build cycles.
*/
@Deprecated(since = "1.18.2", forRemoval = true)
default Sound getPlaceSound()
{
// MockMC: BlockSoundGroup#getPlaceSound
return null;
}

/**
* @deprecated Suppressed to prevent legacy API noise from interfering with
* modern build cycles.
*/
@Deprecated(since = "1.18.2", forRemoval = true)
default Sound getBreakSound()
{
// MockMC: BlockSoundGroup#getBreakSound
return null;
}

/**
* @deprecated Suppressed to prevent legacy API noise from interfering with
* modern build cycles.
*/
@Deprecated(since = "1.18.2", forRemoval = true)
default Sound getStepSound()
{
// MockMC: BlockSoundGroup#getStepSound
return null;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
// MockMC: Unique Stub for BukkitBrigadierCommand
package org.mockmc.mockmc.generated.server.com.destroystokyo.paper.brigadier;

import com.destroystokyo.paper.brigadier.BukkitBrigadierCommand;
import com.destroystokyo.paper.brigadier.BukkitBrigadierCommandSource;
import org.mockmc.mockmc.generated.server.com.mojang.brigadier.CommandBaseMock;
import org.mockmc.mockmc.generated.server.com.mojang.brigadier.suggestion.SuggestionProviderBaseMock;

/**
* Auto-generated by BaseMockGenerator for {@link BukkitBrigadierCommand}. This
* interface mirrors the Bukkit/Paper API to ensure 100% IDE completion.
*
* Source: paper-api-26.1.2.build.53-stable.jar (Version:
* paper-api-26.1.2.build.53-stable)
*
* Reason: Suppressed to prevent legacy API noise from interfering with modern
* build cycles.
*
* @deprecated Suppressed to prevent legacy API noise from interfering with
* modern build cycles.
*/
@Deprecated(since = "1.20.6", forRemoval = true)
@SuppressWarnings("removal")
public interface BukkitBrigadierCommandBaseMock<S extends BukkitBrigadierCommandSource>
extends
BukkitBrigadierCommand<S>,
CommandBaseMock<S>,
SuggestionProviderBaseMock<S>
{
/**
* @deprecated Suppressed to prevent legacy API noise from interfering with
* modern build cycles.
*/
@Deprecated(since = "1.20.6", forRemoval = true)
default boolean test(S arg0)
{
// MockMC: BukkitBrigadierCommand#test
return false;
}
}
Loading
Loading