mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 00:22:08 -07:00
@@ -128,10 +128,11 @@ import org.jetbrains.annotations.Nullable;
|
|||||||
public interface BlockType extends Keyed, Translatable {
|
public interface BlockType extends Keyed, Translatable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Typed represents a subtype of {@link ItemType}s that have a known item meta type
|
* Typed represents a subtype of {@link BlockType}s that have a known block
|
||||||
* at compile time.
|
* data type at compile time.
|
||||||
*
|
*
|
||||||
* @param <B> the generic type of the item meta that represents the item type.
|
* @param <B> the generic type of the block data that represents the block
|
||||||
|
* type.
|
||||||
*/
|
*/
|
||||||
interface Typed<B extends BlockData> extends BlockType {
|
interface Typed<B extends BlockData> extends BlockType {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user