BeehiveBlockEntity
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.api.block.entity.type.BeehiveBlockEntity;
Extends
BeehiveBlockEntity extends BlockEntity
.
Implements
BeehiveBlockEntity
implements the following interfaces:
Undocumented Interfaces
IBlockEntityExtension
Members
Getter
// BeehiveBlockEntity.blockState as BlockStatemyBeehiveBlockEntity.blockState
Return Type:
BlockState
blockState() as BlockState
Getter
Setter
data(data as IData)
getAttachmentData(type as AttachmentType<T>) as T
myBeehiveBlockEntity.getAttachmentData<T>(myAttachmentType);
Parameters:
type: AttachmentType<T>
Type: AttachmentType<T>
Return Type:
T
getAttachmentData(type as Supplier<AttachmentType<T>>) as T
myBeehiveBlockEntity.getAttachmentData<T>(mySupplier);
Parameters:
type: Supplier<AttachmentType<T>>
Type: Supplier<AttachmentType<T>>
Return Type:
T
hasAttachmentData(type as AttachmentType<T>) as bool
myBeehiveBlockEntity.hasAttachmentData<T>(myAttachmentType);
Parameters:
type: AttachmentType<T>
Type: AttachmentType<T>
Return Type:
bool
hasAttachmentData(type as Supplier<AttachmentType<T>>) as bool
myBeehiveBlockEntity.hasAttachmentData<T>(mySupplier);
Parameters:
type: Supplier<AttachmentType<T>>
Type: Supplier<AttachmentType<T>>
Return Type:
bool
Getter
// BeehiveBlockEntity.hasLevel as boolmyBeehiveBlockEntity.hasLevel
Return Type:
bool
hasLevel() as bool
// BeehiveBlockEntity.hasLevel() as bool;myBeehiveBlockEntity.hasLevel();
Return Type:
bool
Getter
// BeehiveBlockEntity.registryName as ResourceLocationmyBeehiveBlockEntity.registryName
Return Type:
ResourceLocation
registryName() as ResourceLocation
setAttachmentData(type as AttachmentType<T>, data as T) as T?
myBeehiveBlockEntity.setAttachmentData<T>(myAttachmentType, myT);
Parameters:
type: AttachmentType<T>
Type: AttachmentType<T>
data: T
Type: T
Return Type:
T?
setAttachmentData(type as Supplier<AttachmentType<T>>, data as T) as T?
myBeehiveBlockEntity.setAttachmentData<T>(mySupplier, myT);
Parameters:
type: Supplier<AttachmentType<T>>
Type: Supplier<AttachmentType<T>>
data: T
Type: T
Return Type:
T?