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
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
@get:Nullable
open var level: 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
val orientation: BlockOrientation?
Link copied to clipboard
open val persistentData: CompoundTag?
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?>?

Functions

Link copied to clipboard
open override fun addAdditionalDrops(level: Level, pos: BlockPos, drops: MutableList<ItemStack>)
Link copied to clipboard
fun applyComponents(p_330364_: DataComponentMap?, p_338381_: DataComponentPatch?)
Link copied to clipboard
fun applyComponentsFromItemStack(p_338428_: ItemStack?)
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(p_58887_: 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?
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
@Nullable
open fun <T : Any?> getExistingDataOrNull(type: Supplier<AttachmentType<T?>?>?): @Nullable T?
@Nullable
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 override fun getMainMenuIcon(): ItemStack
Link copied to clipboard
open fun getPriority(): Int
Link copied to clipboard
@Nullable
@MustBeInvokedByOverriders
open fun getSubInventory(id: ResourceLocation?): @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 fun handleUpdateTag(tag: CompoundTag?, lookupProvider: HolderLookup.Provider?)
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 isValidBlockState(p_353131_: BlockState?): Boolean
Link copied to clipboard
fun loadAdditional(tag: CompoundTag?, registries: HolderLookup.Provider?)
Link copied to clipboard
fun loadCustomOnly(p_338387_: CompoundTag?, p_338713_: HolderLookup.Provider?)
Link copied to clipboard
open override fun loadTag(data: CompoundTag, registries: HolderLookup.Provider)
Link copied to clipboard
fun loadWithComponents(p_338356_: CompoundTag?, p_338558_: HolderLookup.Provider?)
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?, pkt: ClientboundBlockEntityDataPacket?, lookupProvider: HolderLookup.Provider?)
Link copied to clipboard
open override fun onLoad()
Link copied to clipboard
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 removeComponentsFromTag(p_332032_: CompoundTag?)
Link copied to clipboard
@Nullable
open fun <T : Any?> removeData(type: Supplier<AttachmentType<T?>?>?): @Nullable T?
@Nullable
fun <T : Any?> removeData(type: AttachmentType<T?>?): 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: CompoundTag, registries: HolderLookup.Provider)
Link copied to clipboard
open fun saveChanges()
Link copied to clipboard
fun saveCustomAndMetadata(p_339688_: HolderLookup.Provider?): CompoundTag?
Link copied to clipboard
fun saveCustomOnly(p_338656_: HolderLookup.Provider?): CompoundTag?
Link copied to clipboard
open fun saveToItem(p_187477_: ItemStack?, p_323484_: HolderLookup.Provider?)
Link copied to clipboard
fun saveWithFullMetadata(p_323767_: HolderLookup.Provider?): CompoundTag?
Link copied to clipboard
fun saveWithId(p_324357_: HolderLookup.Provider?): CompoundTag?
Link copied to clipboard
fun saveWithoutMetadata(p_324030_: HolderLookup.Provider?): CompoundTag?
Link copied to clipboard
@Nullable
fun serializeAttachments(provider: HolderLookup.Provider?): @Nullable CompoundTag?
Link copied to clipboard
open fun setChanged()
Link copied to clipboard
open fun setComponents(p_338529_: DataComponentMap?)
Link copied to clipboard
@Nullable
open fun <T : Any?> setData(type: Supplier<AttachmentType<T?>?>?, data: T?): @Nullable T?
@Nullable
fun <T : Any?> setData(type: AttachmentType<T?>?, data: T?): T?
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 triggerEvent(p_58889_: Int, p_58890_: Int): Boolean