Package-level declarations

Types

Link copied to clipboard

Properties

Link copied to clipboard
val Connection.channel: @NotNull Channel
Link copied to clipboard
val ServerGamePacketListenerImpl.connection: @NotNull Connection
Link copied to clipboard
val Player.hotbarSlot: Int

Functions

Link copied to clipboard
fun eachEquipmentSlots(block: (Int) -> Unit)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun ClientboundContainerSetSlotPacket.isEquipment(player: Player): Boolean
Link copied to clipboard
fun EntityTrackerRegistry.mountPacket(entity: Entity, passengerIds: IntStream = entity.getUnregisteredPassengerIds()): ClientboundSetPassengersPacket
Link copied to clipboard
inline fun SynchedEntityData.pack(clean: Boolean = false, itemFilter: (SynchedEntityData.DataItem<*>) -> Boolean = { true }, crossinline valueFilter: (SynchedEntityData.DataValue<*>) -> Boolean = { true }, crossinline required: (List<Pair<SynchedEntityData.DataItem<*>, SynchedEntityData.DataValue<*>>>) -> Boolean = { it.isNotEmpty() }): List<SynchedEntityData.DataValue<*>>?
Link copied to clipboard
fun LivingEntity.toEmptyEquipmentPacket(): ClientboundSetEquipmentPacket?
Link copied to clipboard
inline fun LivingEntity.toEquipmentPacket(mapper: (EquipmentSlot) -> ItemStack? = { getItemBySlot(it).takeUnless { item -> item.isEmpty } }): ClientboundSetEquipmentPacket?
Link copied to clipboard
fun ClientboundSetEntityDataPacket.toRegistryDataPacket(uuid: UUID, registry: EntityTrackerRegistry): ClientboundSetEntityDataPacket
Link copied to clipboard
inline fun <T> useByteBuf(block: (FriendlyByteBuf) -> T): T