MCPcopy Create free account
hub / github.com/Hypejet/Jet / CatVariant

Class CatVariant

api/src/main/java/net/hypejet/jet/entity/variant/cat/CatVariant.java:14–24  ·  view source on GitHub ↗

A variant of Minecraft cat entity. @param asset the key of the texture that cats with this variant should have @since 1.0

Source from the content-addressed store, hash-verified

12 * @since 1.0
13 */
14public record CatVariant(@NonNull Key asset) {
15 /**
16 * Constructs the {@linkplain CatVariant cat variant}.
17 *
18 * @param asset the key of the texture that cats with this variant should have
19 * @since 1.0
20 */
21 public CatVariant {
22 Objects.requireNonNull(asset, "asset");
23 }
24}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected