Class ServerBuildInfoMock
java.lang.Object
be.seeseemelk.mockbukkit.services.ServerBuildInfoMock
- All Implemented Interfaces:
io.papermc.paper.ServerBuildInfo
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.papermc.paper.ServerBuildInfo
io.papermc.paper.ServerBuildInfo.StringRepresentation -
Field Summary
Fields inherited from interface io.papermc.paper.ServerBuildInfo
BRAND_PAPER_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull StringasString(io.papermc.paper.ServerBuildInfo.StringRepresentation stringRepresentation) @NotNull net.kyori.adventure.key.KeybrandId()@NotNull String@NotNull OptionalInt@NotNull InstantbooleanisBrandCompatible(@NotNull net.kyori.adventure.key.Key key) @NotNull String@NotNull String
-
Constructor Details
-
ServerBuildInfoMock
public ServerBuildInfoMock()
-
-
Method Details
-
brandId
@NotNull public @NotNull net.kyori.adventure.key.Key brandId()- Specified by:
brandIdin interfaceio.papermc.paper.ServerBuildInfo
-
isBrandCompatible
public boolean isBrandCompatible(@NotNull @NotNull net.kyori.adventure.key.Key key) - Specified by:
isBrandCompatiblein interfaceio.papermc.paper.ServerBuildInfo
-
brandName
- Specified by:
brandNamein interfaceio.papermc.paper.ServerBuildInfo
-
minecraftVersionId
- Specified by:
minecraftVersionIdin interfaceio.papermc.paper.ServerBuildInfo
-
minecraftVersionName
- Specified by:
minecraftVersionNamein interfaceio.papermc.paper.ServerBuildInfo
-
buildNumber
- Specified by:
buildNumberin interfaceio.papermc.paper.ServerBuildInfo
-
buildTime
- Specified by:
buildTimein interfaceio.papermc.paper.ServerBuildInfo
-
gitBranch
- Specified by:
gitBranchin interfaceio.papermc.paper.ServerBuildInfo
-
gitCommit
- Specified by:
gitCommitin interfaceio.papermc.paper.ServerBuildInfo
-
asString
@NotNull public @NotNull String asString(@NotNull io.papermc.paper.ServerBuildInfo.StringRepresentation stringRepresentation) - Specified by:
asStringin interfaceio.papermc.paper.ServerBuildInfo
-