Forge 1.20

- Creative mode tabs are now a registry; the `BuildContents` event was renamed to `BuildCreativeModeTabContentsEvent` and moved it to its own class
- The pack format is now 15 for both resource packs and data packs
- `ScreenUtils` was deprecated in favor of a `GuiGraphics` extension
- Forge and the MDK were updated to Gradle 8 and FG6
- The Forge common config file was removed (it only contained the deprecated old fields for resource caching, which was removed in 1.19.3)
- Registry dummy entries were removed
- `RemappingVertexPipeline` was fixed to forward the `endVertex()` call
- Forge tool tags were removed in favor of vanilla ones

Co-authored-by: ChampionAsh5357 <[email protected]>
Co-authored-by: coehlrich <[email protected]>
Co-authored-by: Dennis C <[email protected]>
Co-authored-by: Matyrobbrt <[email protected]>
This commit is contained in:
committed 2023-06-07 20:55:09 -05:00
1 parent 658e614dc1
commit d8c84e2949
568 files changed
+5114 -5807

No files matched your search

@@ -25,6 +25,7 @@ import net.minecraft.world.scores.Scoreboard;
import java.util.Collection;
import java.util.Set;
import java.util.function.Supplier;
import java.util.stream.Collectors;
import java.util.stream.Stream;
@@ -44,9 +45,9 @@ public class ClientCommandSourceStack extends CommandSourceStack
* Sends a success message without attempting to get the server side list of admins
*/
@Override
public void sendSuccess(Component message, boolean sendToAdmins)
public void sendSuccess(Supplier<Component> message, boolean sendToAdmins)
{
Minecraft.getInstance().player.sendSystemMessage(message);
Minecraft.getInstance().player.sendSystemMessage(message.get());
}
/**