Package net.minecraft

package net.minecraft
The base package for all Minecraft classes. All Minecraft classes belong to this package in their intermediary names.

Unmapped classes go into this package by default. This package additionally contains Bootstrap, SharedConstants, and MinecraftVersion classes.

While it's known that some obfuscated Minecraft classes are under other packages like com.mojang.*, yarn keeps all mapped classes under net.minecraft.* since there is no convincing evidence those classes are independent from Minecraft.