| Package | Description |
|---|---|
| org.cloudburstmc.api.block | |
| org.cloudburstmc.api.block.trait |
| Modifier and Type | Method and Description |
|---|---|
Map<BlockTrait<?>,Comparable<?>> |
BlockState.getTraits() |
Set<BlockTrait<?>> |
BlockType.getTraits() |
| Modifier and Type | Method and Description |
|---|---|
<T extends Comparable<T>> |
BlockState.ensureTrait(BlockTrait<T> trait) |
static BlockType |
BlockType.of(Identifier id,
BlockTrait<?>... traits) |
<T extends Comparable<T>> |
BlockState.withTrait(BlockTrait<T> trait,
T value) |
| Constructor and Description |
|---|
BlockState(BlockType type,
Map<BlockTrait<?>,Comparable<?>> traits) |
BlockState(BlockType type,
Map<BlockTrait<?>,Comparable<?>> traits,
BlockBehavior behavior) |
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanBlockTrait |
class |
EnumBlockTrait<E extends Enum<E>> |
class |
IntegerBlockTrait |
Copyright © 2021. All rights reserved.