Class Compression
java.lang.Object
net.sashiro.compressedblocks.util.Compression
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFunction to get the current Block Countnet.minecraft.network.chat.StylegetStyle()Function to get the current StylevoidsetCompressionLevel(int compressionLevel)
-
Field Details
-
blockCount
-
style
protected net.minecraft.network.chat.Style style
-
-
Constructor Details
-
Compression
public Compression()
-
-
Method Details
-
setCompressionLevel
public void setCompressionLevel(int compressionLevel) - Parameters:
compressionLevel- Level of compression.
Min: 0
Max: 9
-
getBlockCount
Function to get the current Block Count- Returns:
- Block Count
-
getStyle
public net.minecraft.network.chat.Style getStyle()Function to get the current Style- Returns:
- Style
-