ReplicationConnectorBlock

class ReplicationConnectorBlock : AEBaseEntityBlock<ReplicationConnectorBlockEntity> , INetworkDirectionalConnection(source)

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val blockEntityType: BlockEntityType<ReplicationConnectorBlockEntity?>?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val friction: Float
Link copied to clipboard
open val jumpFactor: Float
Link copied to clipboard
val lootTable: ResourceKey<LootTable?>?
Link copied to clipboard
open val name: MutableComponent?
Link copied to clipboard
open val orientationStrategy: IOrientationStrategy?
Link copied to clipboard
@get:Nullable
open val registryName: @Nullable ResourceLocation?
Link copied to clipboard
open val speedFactor: Float
Link copied to clipboard
open val stateDefinition: StateDefinition<Block?, BlockState?>?

Functions

Link copied to clipboard
open fun addLandingEffects(state1: BlockState?, level: ServerLevel?, pos: BlockPos?, state2: BlockState?, entity: LivingEntity?, numberOfParticles: Int): Boolean
Link copied to clipboard
open fun addRunningEffects(state: BlockState?, level: Level?, pos: BlockPos?, entity: Entity?): Boolean
Link copied to clipboard
open fun addToMainCreativeTab(parameters: CreativeModeTab.ItemDisplayParameters?, output: CreativeModeTab.Output?)
Link copied to clipboard
open fun animateTick(p_220827_: BlockState?, p_220828_: Level?, p_220829_: BlockPos?, p_220830_: RandomSource?)
Link copied to clipboard
open fun appendHoverText(p_49816_: ItemStack?, p_339606_: Item.TooltipContext?, p_49818_: List<Component?>?, p_49819_: TooltipFlag?)
Link copied to clipboard
open fun asItem(): Item?
Link copied to clipboard
open fun builtInRegistryHolder(): Holder.Reference<Block?>?
Link copied to clipboard
open fun canBeHydrated(state: BlockState?, getter: BlockGetter?, pos: BlockPos?, fluid: FluidState?, fluidPos: BlockPos?): Boolean
Link copied to clipboard
open override fun canConnect(level: Level?, pos: BlockPos?, state: BlockState?, side: Direction?): Boolean
Link copied to clipboard
open fun canConnectRedstone(state: BlockState?, level: BlockGetter?, pos: BlockPos?, @Nullable direction: @Nullable Direction?): Boolean
Link copied to clipboard
open fun canDropFromExplosion(state: BlockState?, level: BlockGetter?, pos: BlockPos?, explosion: Explosion?): Boolean
Link copied to clipboard
open fun canEntityDestroy(state: BlockState?, level: BlockGetter?, pos: BlockPos?, entity: Entity?): Boolean
Link copied to clipboard
open fun canHarvestBlock(state: BlockState?, level: BlockGetter?, pos: BlockPos?, player: Player?): Boolean
Link copied to clipboard
open fun canStickTo(state: BlockState?, other: BlockState?): Boolean
Link copied to clipboard
open fun canSustainPlant(state: BlockState?, level: BlockGetter?, soilPosition: BlockPos?, facing: Direction?, plant: BlockState?): TriState?
Link copied to clipboard
open fun collisionExtendsVertically(state: BlockState?, level: BlockGetter?, pos: BlockPos?, collidingEntity: Entity?): Boolean
Link copied to clipboard
fun defaultBlockState(): BlockState?
Link copied to clipboard
Link copied to clipboard
open fun defaultMapColor(): MapColor?
Link copied to clipboard
open fun destroy(p_49860_: LevelAccessor?, p_49861_: BlockPos?, p_49862_: BlockState?)
Link copied to clipboard
open fun dropFromExplosion(p_49826_: Explosion?): Boolean
Link copied to clipboard
open fun fallOn(p_152426_: Level?, p_152427_: BlockState?, p_152428_: BlockPos?, p_152429_: Entity?, p_152430_: Float)
Link copied to clipboard
@Nullable
open fun getAdjacentBlockPathType(state: BlockState?, level: BlockGetter?, pos: BlockPos?, @Nullable mob: @Nullable Mob?, originalType: PathType?): @Nullable PathType?
Link copied to clipboard
open fun getAnalogOutputSignal(state: BlockState?, level: Level?, pos: BlockPos?): Int
Link copied to clipboard
open fun getAppearance(state: BlockState?, level: BlockAndTintGetter?, pos: BlockPos?, side: Direction?, @Nullable queryState: @Nullable BlockState?, @Nullable queryPos: @Nullable BlockPos?): BlockState?
Link copied to clipboard
@Nullable
open fun getBeaconColorMultiplier(state: BlockState?, level: LevelReader?, pos: BlockPos?, beaconPos: BlockPos?): @Nullable Int?
Link copied to clipboard
open fun getBedDirection(state: BlockState?, level: LevelReader?, pos: BlockPos?): Direction?
Link copied to clipboard
@Nullable
open fun getBlockEntity(level: BlockGetter?, pos: BlockPos?): @Nullable ReplicationConnectorBlockEntity?
@Nullable
open fun getBlockEntity(level: BlockGetter?, x: Int, y: Int, z: Int): @Nullable ReplicationConnectorBlockEntity?
Link copied to clipboard
fun getBlockEntityBlockState(current: BlockState?, te: BlockEntity?): BlockState?
Link copied to clipboard
Link copied to clipboard
@Nullable
open fun getBlockPathType(state: BlockState?, level: BlockGetter?, pos: BlockPos?, @Nullable mob: @Nullable Mob?): @Nullable PathType?
Link copied to clipboard
open fun getBubbleColumnDirection(state: BlockState?): BubbleColumnDirection?
Link copied to clipboard
open fun getCloneItemStack(p_304395_: LevelReader?, p_49824_: BlockPos?, p_49825_: BlockState?): ItemStack?
open fun getCloneItemStack(state: BlockState?, target: HitResult?, level: LevelReader?, pos: BlockPos?, player: Player?): ItemStack?
Link copied to clipboard
open fun getDrops(state: BlockState?, builder: LootParams.Builder?): List<ItemStack?>?
Link copied to clipboard
open fun getEnchantPowerBonus(state: BlockState?, level: LevelReader?, pos: BlockPos?): Float
Link copied to clipboard
open fun getExpDrop(state: BlockState?, level: LevelAccessor?, pos: BlockPos?, @Nullable blockEntity: @Nullable BlockEntity?, @Nullable breaker: @Nullable Entity?, tool: ItemStack?): Int
Link copied to clipboard
open fun getExplosionResistance(state: BlockState?, level: BlockGetter?, pos: BlockPos?, explosion: Explosion?): Float
Link copied to clipboard
open fun getFireSpreadSpeed(state: BlockState?, level: BlockGetter?, pos: BlockPos?, direction: Direction?): Int
Link copied to clipboard
open fun getFlammability(state: BlockState?, level: BlockGetter?, pos: BlockPos?, direction: Direction?): Int
Link copied to clipboard
open fun getFriction(state: BlockState?, level: LevelReader?, pos: BlockPos?, @Nullable entity: @Nullable Entity?): Float
Link copied to clipboard
open fun getLightEmission(state: BlockState?, level: BlockGetter?, pos: BlockPos?): Int
Link copied to clipboard
@Nullable
open fun <T : BlockEntity?> getListener(p_221121_: ServerLevel?, p_221122_: T?): GameEventListener?
Link copied to clipboard
open fun getMapColor(state: BlockState?, level: BlockGetter?, pos: BlockPos?, defaultColor: MapColor?): MapColor?
Link copied to clipboard
open fun getOrientation(state: BlockState?): BlockOrientation?
Link copied to clipboard
@Nullable
open fun getPistonPushReaction(state: BlockState?): @Nullable PushReaction?
Link copied to clipboard
open fun getRespawnPosition(state: BlockState?, type: EntityType<*>?, levelReader: LevelReader?, pos: BlockPos?, orientation: Float): Optional<ServerPlayer.RespawnPosAngle?>?
Link copied to clipboard
open fun getSoundType(state: BlockState?, level: LevelReader?, pos: BlockPos?, @Nullable entity: @Nullable Entity?): SoundType?
Link copied to clipboard
open fun getStateAtViewpoint(state: BlockState?, level: BlockGetter?, pos: BlockPos?, viewpoint: Vec3?): BlockState?
Link copied to clipboard
open fun getStateForPlacement(context: BlockPlaceContext?): BlockState?
Link copied to clipboard
@Nullable
open fun <T : BlockEntity?> getTicker(level: Level?, blockState: BlockState?, type: BlockEntityType<T?>?): @Nullable BlockEntityTicker<T?>?
Link copied to clipboard
@Nullable
open fun getToolModifiedState(state: BlockState?, context: UseOnContext?, itemAbility: ItemAbility?, simulate: Boolean): @Nullable BlockState?
Link copied to clipboard
open fun getWeakChanges(state: BlockState?, level: LevelReader?, pos: BlockPos?): Boolean
Link copied to clipboard
open fun handlePrecipitation(p_152450_: BlockState?, p_152451_: Level?, p_152452_: BlockPos?, p_152453_: Biome.Precipitation?)
Link copied to clipboard
open fun hasAnalogOutputSignal(state: BlockState?): Boolean
Link copied to clipboard
open fun hasDynamicLightEmission(state: BlockState?): Boolean
Link copied to clipboard
Link copied to clipboard
open fun hidesNeighborFace(level: BlockGetter?, pos: BlockPos?, state: BlockState?, neighborState: BlockState?, dir: Direction?): Boolean
Link copied to clipboard
open fun ignitedByLava(state: BlockState?, level: BlockGetter?, pos: BlockPos?, direction: Direction?): Boolean
Link copied to clipboard
open fun initializeClient(consumer: Consumer<IClientBlockExtensions?>?)
Link copied to clipboard
open fun isBed(state: BlockState?, level: BlockGetter?, pos: BlockPos?, sleeper: LivingEntity?): Boolean
Link copied to clipboard
open fun isBurning(state: BlockState?, level: BlockGetter?, pos: BlockPos?): Boolean
Link copied to clipboard
open fun isConduitFrame(state: BlockState?, level: LevelReader?, pos: BlockPos?, conduit: BlockPos?): Boolean
Link copied to clipboard
open fun isEmpty(state: BlockState?): Boolean
Link copied to clipboard
open fun isEnabled(p_249172_: FeatureFlagSet?): Boolean
Link copied to clipboard
open fun isFertile(state: BlockState?, level: BlockGetter?, pos: BlockPos?): Boolean
Link copied to clipboard
open fun isFireSource(state: BlockState?, level: LevelReader?, pos: BlockPos?, direction: Direction?): Boolean
Link copied to clipboard
open fun isFlammable(state: BlockState?, level: BlockGetter?, pos: BlockPos?, direction: Direction?): Boolean
Link copied to clipboard
open fun isLadder(state: BlockState?, level: LevelReader?, pos: BlockPos?, entity: LivingEntity?): Boolean
Link copied to clipboard
open fun isPortalFrame(state: BlockState?, level: BlockGetter?, pos: BlockPos?): Boolean
Link copied to clipboard
open fun isPossibleToRespawnInThis(p_279289_: BlockState?): Boolean
Link copied to clipboard
open fun isScaffolding(state: BlockState?, level: LevelReader?, pos: BlockPos?, entity: LivingEntity?): Boolean
Link copied to clipboard
open fun isSlimeBlock(state: BlockState?): Boolean
Link copied to clipboard
open fun isStickyBlock(state: BlockState?): Boolean
Link copied to clipboard
open fun makesOpenTrapdoorAboveClimbable(state: BlockState?, level: LevelReader?, pos: BlockPos?, trapdoorState: BlockState?): Boolean
Link copied to clipboard
@Nullable
open fun newBlockEntity(pos: BlockPos?, state: BlockState?): @Nullable BlockEntity?
Link copied to clipboard
open fun onBlockExploded(state: BlockState?, level: Level?, pos: BlockPos?, explosion: Explosion?)
Link copied to clipboard
open fun onBlockStateChange(level: LevelReader?, pos: BlockPos?, oldState: BlockState?, newState: BlockState?)
Link copied to clipboard
open fun onCaughtFire(state: BlockState?, level: Level?, pos: BlockPos?, @Nullable direction: @Nullable Direction?, @Nullable igniter: @Nullable LivingEntity?)
Link copied to clipboard
open fun onDestroyedByPlayer(state: BlockState?, level: Level?, pos: BlockPos?, player: Player?, willHarvest: Boolean, fluid: FluidState?): Boolean
Link copied to clipboard
open fun onDestroyedByPushReaction(state: BlockState?, level: Level?, pos: BlockPos?, pushDirection: Direction?, fluid: FluidState?)
Link copied to clipboard
open fun onNeighborChange(state: BlockState?, level: LevelReader?, pos: BlockPos?, neighbor: BlockPos?)
Link copied to clipboard
open fun onRemove(state: BlockState?, level: Level?, pos: BlockPos?, newState: BlockState?, isMoving: Boolean)
Link copied to clipboard
open fun onTreeGrow(state: BlockState?, level: LevelReader?, placeFunction: BiConsumer<BlockPos?, BlockState?>?, randomSource: RandomSource?, pos: BlockPos?, config: TreeConfiguration?): Boolean
Link copied to clipboard
open fun playerDestroy(p_49827_: Level?, p_49828_: Player?, p_49829_: BlockPos?, p_49830_: BlockState?, @Nullable p_49831_: BlockEntity?, p_49832_: ItemStack?)
Link copied to clipboard
open fun playerWillDestroy(p_49852_: Level?, p_49853_: BlockPos?, p_49854_: BlockState?, p_49855_: Player?): BlockState?
Link copied to clipboard
open fun popExperience(p_49806_: ServerLevel?, p_49807_: BlockPos?, p_49808_: Int)
Link copied to clipboard
open fun properties(): BlockBehaviour.Properties?
Link copied to clipboard
open fun requiredFeatures(): FeatureFlagSet?
Link copied to clipboard
open fun rotate(state: BlockState?, level: LevelAccessor?, pos: BlockPos?, direction: Rotation?): BlockState?
Link copied to clipboard
open fun setBedOccupied(state: BlockState?, level: Level?, pos: BlockPos?, sleeper: LivingEntity?, occupied: Boolean)
Link copied to clipboard
open fun setBlockEntity(blockEntityClass: Class<ReplicationConnectorBlockEntity?>?, blockEntityType: BlockEntityType<ReplicationConnectorBlockEntity?>?, clientTicker: BlockEntityTicker<ReplicationConnectorBlockEntity?>?, serverTicker: BlockEntityTicker<ReplicationConnectorBlockEntity?>?)
Link copied to clipboard
open fun setPlacedBy(level: Level?, pos: BlockPos?, state: BlockState?, @Nullable placer: @Nullable LivingEntity?, is: ItemStack?)
Link copied to clipboard
open fun shouldCheckWeakPower(state: BlockState?, level: SignalGetter?, pos: BlockPos?, side: Direction?): Boolean
Link copied to clipboard
open fun shouldDisplayFluidOverlay(state: BlockState?, level: BlockAndTintGetter?, pos: BlockPos?, fluidState: FluidState?): Boolean
Link copied to clipboard
open fun shouldHideAdjacentFluidFace(state: BlockState?, selfFace: Direction?, adjacentFluid: FluidState?): Boolean
Link copied to clipboard
open fun stepOn(p_152431_: Level?, p_152432_: BlockPos?, p_152433_: BlockState?, p_152434_: Entity?)
Link copied to clipboard
open fun supportsExternalFaceHiding(state: BlockState?): Boolean
Link copied to clipboard
open fun triggerEvent(state: BlockState?, level: Level?, pos: BlockPos?, eventID: Int, eventParam: Int): Boolean
Link copied to clipboard
open fun updateEntityAfterFallOn(p_49821_: BlockGetter?, p_49822_: Entity?)
Link copied to clipboard
open fun wasExploded(p_49844_: Level?, p_49845_: BlockPos?, p_49846_: Explosion?)
Link copied to clipboard
fun withPropertiesOf(p_152466_: BlockState?): BlockState?