Class RacehorseItemBuilder
java.lang.Object
net.slommy.utils.RacehorseItemBuilder
Item Builder for Racehorse GUI items.
-
Method Summary
Modifier and TypeMethodDescriptionCompletableFuture<net.minestom.server.item.ItemStack> net.minestom.server.item.ItemStackdetailed(boolean detailedView) Determines whether the player should be able to see the horse's stats and traits Also allows right click in GenericHorseMenu to run the /viewhorse command.static RacehorseItemBuilderfrom(com.google.gson.JsonObject horseObject)
-
Method Details
-
from
-
detailed
Determines whether the player should be able to see the horse's stats and traits Also allows right click in GenericHorseMenu to run the /viewhorse command.- Parameters:
detailedView- Whether the player should see extra details- Returns:
- Updated RacehorseItemBuilder
-
buildAsync
-
buildSync
public net.minestom.server.item.ItemStack buildSync()
-