Class PaintingVariant.Builder
java.lang.Object
net.minestom.server.entity.metadata.other.PaintingVariant.Builder
- Enclosing interface:
PaintingVariant
-
Method Summary
Modifier and TypeMethodDescription@NotNull PaintingVariant.BuilderassetId(@NotNull net.kyori.adventure.key.Key assetId) @NotNull PaintingVariant.Builder@NotNull PaintingVariantbuild()@NotNull PaintingVariant.Builderheight(int height) @NotNull PaintingVariant.Builder@NotNull PaintingVariant.Builderwidth(int width)
-
Method Details
-
assetId
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull PaintingVariant.Builder assetId(@NotNull @NotNull net.kyori.adventure.key.Key assetId) -
width
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull PaintingVariant.Builder width(int width) -
height
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull PaintingVariant.Builder height(int height) -
title
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull PaintingVariant.Builder title(@Nullable @Nullable Component title) -
author
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull PaintingVariant.Builder author(@Nullable @Nullable Component author) -
build
-