ReplicationConnectorBlock

class ReplicationConnectorBlock(properties: BlockBehaviour.Properties) : AEBaseEntityBlock<ReplicationConnectorBlockEntity> , INetworkDirectionalConnection(source)

Constructors

Link copied to clipboard
constructor(properties: BlockBehaviour.Properties)

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: Optional<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 Identifier?
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(state: BlockState, level: Level, pos: BlockPos, random: RandomSource)
Link copied to clipboard
open fun appendHoverText(stack: ItemStack?, context: Item.TooltipContext?, tooltip: Consumer<Component?>?, flag: 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, 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(level: LevelAccessor, pos: BlockPos, state: BlockState)
Link copied to clipboard
open fun dropFromExplosion(explosion: Explosion): Boolean
Link copied to clipboard
open fun fallOn(level: Level, state: BlockState, pos: BlockPos, entity: Entity, fallDistance: Double)
Link copied to clipboard
open fun getAdjacentBlockPathType(state: BlockState, level: BlockGetter, pos: BlockPos, mob: @Nullable Mob?, originalType: PathType): @Nullable PathType?
Link copied to clipboard
open fun getAppearance(state: BlockState, level: BlockAndLightGetter, pos: BlockPos, side: Direction, queryState: @Nullable BlockState?, queryPos: @Nullable BlockPos?): BlockState
Link copied to clipboard
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
open fun getBlockPathType(state: BlockState, level: BlockGetter, pos: BlockPos, mob: @Nullable Mob?): @Nullable PathType?
Link copied to clipboard
open fun getBubbleColumnDirection(state: BlockState): BubbleColumnDirection
Link copied to clipboard
open fun getCloneItemStack(level: LevelReader, pos: BlockPos, state: BlockState, includeData: Boolean, 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: BlockGetter, pos: BlockPos): Float
Link copied to clipboard
open fun getExpDrop(state: BlockState, level: LevelAccessor, pos: BlockPos, blockEntity: @Nullable BlockEntity?, 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, entity: @Nullable Entity?): Float
Link copied to clipboard
open fun getLightEmission(state: BlockState, level: BlockGetter, pos: BlockPos): Int
Link copied to clipboard
open fun <T : BlockEntity> getListener(level: ServerLevel, blockEntity: T): @Nullable 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
open fun getPistonPushReaction(state: BlockState): @Nullable PushReaction?
Link copied to clipboard
open fun getRelocability(level: LevelReader, pos: BlockPos, state: BlockState): BlockRelocability
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, 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
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(state: BlockState, level: Level, pos: BlockPos, precipitation: 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 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(enabledFeatures: 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(state: 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: ServerLevel, 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, direction: @Nullable Direction?, igniter: @Nullable LivingEntity?): Boolean
Link copied to clipboard
open fun onDestroyedByPlayer(state: BlockState, level: Level, pos: BlockPos, player: Player, toolStack: ItemStack, 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 onTreeGrow(state: BlockState, level: WorldGenLevel, placeFunction: BiConsumer<BlockPos, BlockState>, randomSource: RandomSource, pos: BlockPos, config: TreeConfiguration): Boolean
Link copied to clipboard
open fun playerDestroy(level: Level, player: Player, pos: BlockPos, state: BlockState, blockEntity: @Nullable BlockEntity?, destroyedWith: ItemStack)
Link copied to clipboard
open fun playerWillDestroy(level: Level, pos: BlockPos, state: BlockState, player: Player): BlockState
Link copied to clipboard
open fun playFallSound(state: BlockState, level: Level, pos: BlockPos, entity: LivingEntity)
Link copied to clipboard
open fun playStepSound(state: BlockState, level: Level, pos: BlockPos, entity: Entity, volumeMultiplier: Float, pitchMultiplier: Float)
Link copied to clipboard
open fun popExperience(level: ServerLevel, pos: BlockPos, amount: 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: BlockAndLightGetter, 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(level: Level, pos: BlockPos, onState: BlockState, entity: 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 updateEntityMovementAfterFallOn(level: BlockGetter, entity: Entity)
Link copied to clipboard
open fun wasExploded(level: ServerLevel, pos: BlockPos, explosion: Explosion)
Link copied to clipboard
fun withPropertiesOf(source: BlockState): BlockState