Package org.cyclops.evilcraft.core.block
Interface IBlockRarityProvider
- All Known Implementing Classes:
BlockBoxOfEternalClosure,BlockEntangledChalice,BlockSanguinaryPedestal
public interface IBlockRarityProvider
Implement this interface at blocks to make them show rarity colors in item mode.
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.RaritygetRarity(net.minecraft.world.item.ItemStack itemStack)
-
Method Details
-
getRarity
net.minecraft.world.item.Rarity getRarity(net.minecraft.world.item.ItemStack itemStack) - Parameters:
itemStack- The itemstack with this blockState.- Returns:
- The rarity for this blockState.
-