Interface PreviewConfiguration
public interface PreviewConfiguration
A read-only view of the preview configuration.
Maps to the "preview" section of the config file.
- Since:
- 3.3.0
-
Method Summary
Modifier and TypeMethodDescriptionintbooleanboolean
-
Method Details
-
itemStackMergingStrategy
ItemStackMergingStrategy itemStackMergingStrategy()- Returns:
- The way items with the same ID but differing NBT tags should be merged.
- Since:
- 3.3.0
-
defaultMaxRowSize
int defaultMaxRowSize()- Returns:
- The max number of items in a row. May not affect modded containers.
- Since:
- 3.3.0
-
shortItemCounts
boolean shortItemCounts()- Returns:
- Whether to shorten large item counts using suffixes. (e.g. 1,000,000 -> 1M)
- Since:
- 3.3.0
-
useColors
boolean useColors()- Returns:
- Whether to use colors when rendering the preview decoration, when false the renderer should use the default inventory color.
- Since:
- 3.3.0
- See Also:
-