ReplicationConnectorBlockEntity

class ReplicationConnectorBlockEntity(type: BlockEntityType<*>, pos: BlockPos, state: BlockState) : AENetworkedBlockEntity, IPriorityHost, ReplicationConnectorLogicHost(source)

Constructors

Link copied to clipboard
constructor(type: BlockEntityType<*>, pos: BlockPos, state: BlockState)

Properties

Link copied to clipboard
open val actionableNode: IGridNode?
Link copied to clipboard
@get:ApiStatus.Internal
val andClearAttachmentTypesToSync: @Nullable Set<AttachmentType<*>>??
Link copied to clipboard
open override val blockEntity: BlockEntity?
Link copied to clipboard
open val blockPos: BlockPos
Link copied to clipboard
open var blockState: BlockState
Link copied to clipboard
@get:Nullable
open val customName: @Nullable Component?
Link copied to clipboard
open val displayName: Component
Link copied to clipboard
open val front: Direction?
Link copied to clipboard
val globalPos: GlobalPos?
Link copied to clipboard
@get:Nullable
open val gridNode: @Nullable IGridNode?
Link copied to clipboard
Link copied to clipboard
open val isRemoved: Boolean
Link copied to clipboard
open val level: @Nullable Level?
Link copied to clipboard
open override val logic: ReplicationConnectorLogic
Link copied to clipboard
open override val mainMenuIcon: ItemStack
Link copied to clipboard
val mainNode: IManagedGridNode?
Link copied to clipboard
open val matterNetwork: MatterNetwork?
Link copied to clipboard
open val matterNetworkElement: DefaultMatterNetworkElement?
Link copied to clipboard
open val modelData: ModelData
Link copied to clipboard
open val name: Component
Link copied to clipboard
Link copied to clipboard
val orientation: BlockOrientation?
Link copied to clipboard
open val persistentData: CompoundTag
Link copied to clipboard
Link copied to clipboard
open override var priority: Int
Link copied to clipboard
Link copied to clipboard
open val readyInvoked: Byte
Link copied to clipboard
open override val tanks: List<IMatterTank>
Link copied to clipboard
open val top: Direction?
Link copied to clipboard
open val type: BlockEntityType<*>
Link copied to clipboard
open val updatePacket: Packet<ClientGamePacketListener>?
Link copied to clipboard
open override val upgradableItem: BlockDefinition<ReplicationConnectorBlock>
Link copied to clipboard
open override val upgrades: IUpgradeInventory

Functions

Link copied to clipboard
open override fun addAdditionalDrops(level: Level, pos: BlockPos, drops: MutableList<ItemStack>)
Link copied to clipboard
fun applyComponents(prototype: DataComponentMap, patch: DataComponentPatch)
Link copied to clipboard
fun applyComponentsFromItemStack(stack: ItemStack)
Link copied to clipboard
open fun applyStructureRotation(mirror: Mirror, rotation: Rotation)
Link copied to clipboard
open override fun clearContent()
Link copied to clipboard
open fun clearRemoved()
Link copied to clipboard
fun collectComponents(): DataComponentMap
Link copied to clipboard
open fun components(): DataComponentMap
Link copied to clipboard
open fun debugExport(writer: JsonWriter?, registries: HolderLookup.Provider?, machineIds: Reference2IntMap<Any?>?, nodeIds: Reference2IntMap<IGridNode?>?)
Link copied to clipboard
open fun disassembleWithWrench(player: Player?, level: Level?, hitResult: BlockHitResult?, wrench: ItemStack?): InteractionResult?
Link copied to clipboard
fun exportSettings(mode: SettingsFrom?, @Nullable player: @Nullable Player?): DataComponentMap?
@MustBeInvokedByOverriders
open fun exportSettings(mode: SettingsFrom?, builder: DataComponentMap.Builder?, @Nullable player: @Nullable Player?)
Link copied to clipboard
open fun fillCrashReportCategory(category: CrashReportCategory)
Link copied to clipboard
open fun getBlockEntity(): BlockEntity?
Link copied to clipboard
open override fun getCableConnectionType(dir: Direction?): AECableType
Link copied to clipboard
open fun <T : Any> getData(type: Supplier<AttachmentType<T>>): T
fun <T : Any> getData(type: AttachmentType<T>): T
open fun <D : Any> getData(type: DataMapType<BlockEntityType<*>, D>): @Nullable D?
Link copied to clipboard
open fun <T : Any> getExistingData(type: Supplier<AttachmentType<T>>): Optional<T>
open fun <T : Any> getExistingData(type: AttachmentType<T>): Optional<T>
Link copied to clipboard
open fun <T : Any> getExistingDataOrNull(type: Supplier<AttachmentType<T>>): @Nullable T?
open fun <T : Any> getExistingDataOrNull(type: AttachmentType<T>): @Nullable T?
Link copied to clipboard
open fun getGridConnectableSides(orientation: BlockOrientation?): Set<Direction?>?
Link copied to clipboard
open fun getInstalledUpgrades(upgradeCard: ItemLike?): Int
Link copied to clipboard
open override fun getMainMenuIcon(): ItemStack
Link copied to clipboard
open fun getPriority(): Int
Link copied to clipboard
@Nullable
@MustBeInvokedByOverriders
open fun getSubInventory(id: Identifier?): @Nullable InternalInventory?
Link copied to clipboard
open override fun getTanks(): List<IMatterTank>
Link copied to clipboard
open fun getUpdateTag(registries: HolderLookup.Provider): CompoundTag
Link copied to clipboard
open override fun getUpgrades(): IUpgradeInventory
Link copied to clipboard
open fun handleUpdateTag(input: ValueInput)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun hasCustomOutlineRendering(player: Player): Boolean
Link copied to clipboard
open fun <T : Any> hasData(type: Supplier<AttachmentType<T>>): Boolean
fun hasData(type: AttachmentType<*>): Boolean
Link copied to clipboard
open fun hasLevel(): Boolean
Link copied to clipboard
open fun ifGridPresent(action: Consumer<IGrid?>?): Boolean
Link copied to clipboard
@MustBeInvokedByOverriders
open fun importSettings(mode: SettingsFrom?, input: DataComponentMap?, @Nullable player: @Nullable Player?)
Link copied to clipboard
@ApiStatus.NonExtendable
open fun invalidateCapabilities()
Link copied to clipboard
open fun is(rawType: BlockEntityType<*>): Boolean
open fun is(set: HolderSet<BlockEntityType<*>>): Boolean
open fun is(type: Holder<BlockEntityType<*>>): Boolean
open fun is(type: ResourceKey<BlockEntityType<*>>): Boolean
open fun is(tag: TagKey<BlockEntityType<*>>): Boolean
Link copied to clipboard
open fun isUpgradedWith(upgradeCard: ItemLike?): Boolean
Link copied to clipboard
open fun isValidBlockState(blockState: BlockState): Boolean
Link copied to clipboard
fun loadCustomOnly(input: ValueInput)
Link copied to clipboard
open override fun loadTag(data: ValueInput)
Link copied to clipboard
fun loadWithComponents(input: ValueInput)
Link copied to clipboard
Link copied to clipboard
open fun markForUpdate()
Link copied to clipboard
open fun notLoaded(): Boolean
Link copied to clipboard
open override fun onChunkUnloaded()
Link copied to clipboard
open fun onDataPacket(net: Connection, valueInput: ValueInput)
Link copied to clipboard
open override fun onLoad()
Link copied to clipboard
open override fun onMainNodeStateChanged(reason: IGridNodeListener.State?)
Link copied to clipboard
open fun onReady()
Link copied to clipboard
open fun openMenu(player: Player, locator: MenuHostLocator)
Link copied to clipboard
open fun preRemoveSideEffects(blockPos: BlockPos, blockState: BlockState)
Link copied to clipboard
open fun problemPath(): ProblemReporter.PathElement
Link copied to clipboard
open fun registerDebugValues(level: ServerLevel, registration: DebugValueSource.Registration)
Link copied to clipboard
open fun removeComponentsFromTag(output: ValueOutput)
Link copied to clipboard
open fun <T : Any> removeData(type: Supplier<AttachmentType<T>>): @Nullable T?
fun <T : Any> removeData(type: AttachmentType<T>): @Nullable T?
Link copied to clipboard
Link copied to clipboard
open fun returnToMainMenu(p0: Player?, p1: ISubMenu?)
Link copied to clipboard
open override fun saveAdditional(data: ValueOutput)
Link copied to clipboard
open fun saveChanges()
Link copied to clipboard
fun saveCustomOnly(registries: HolderLookup.Provider): CompoundTag
open fun saveCustomOnly(output: ValueOutput)
Link copied to clipboard
fun saveWithFullMetadata(registries: HolderLookup.Provider): CompoundTag
open fun saveWithFullMetadata(output: ValueOutput)
Link copied to clipboard
open fun saveWithId(output: ValueOutput)
Link copied to clipboard
fun saveWithoutMetadata(registries: HolderLookup.Provider): CompoundTag
open fun saveWithoutMetadata(output: ValueOutput)
Link copied to clipboard
fun serializeAttachments(tag: ValueOutput)
Link copied to clipboard
open fun setChanged()
Link copied to clipboard
open fun setComponents(components: DataComponentMap)
Link copied to clipboard
open fun <T : Any> setData(type: Supplier<AttachmentType<T>>, data: T): @Nullable T?
fun <T : Any> setData(type: AttachmentType<T>, data: T): @Nullable T?
Link copied to clipboard
open fun setLevel(level: Level)
Link copied to clipboard
open fun setName(name: String?)
Link copied to clipboard
open fun setOwner(owner: Player?)
Link copied to clipboard
open fun setPriority(p0: Int)
Link copied to clipboard
open override fun setRemoved()
Link copied to clipboard
open fun syncData(type: Supplier<out AttachmentType<*>>)
fun syncData(type: AttachmentType<*>)
Link copied to clipboard
open fun tags(): Stream<TagKey<BlockEntityType<*>>>
Link copied to clipboard
open fun triggerEvent(b0: Int, b1: Int): Boolean
Link copied to clipboard
open fun typeHolder(): Holder<BlockEntityType<*>>