2025-11-24 22:52:51 +03:00

38 lines
1.4 KiB
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.client;
import net.minecraft.client.color.item.ItemTintSources;
import net.minecraft.client.gui.screens.dialog.DialogScreens;
import net.minecraft.client.gui.screens.dialog.body.DialogBodyHandlers;
import net.minecraft.client.gui.screens.dialog.input.InputControlHandlers;
import net.minecraft.client.renderer.item.ItemModels;
import net.minecraft.client.renderer.item.properties.conditional.ConditionalItemModelProperties;
import net.minecraft.client.renderer.item.properties.numeric.RangeSelectItemModelProperties;
import net.minecraft.client.renderer.item.properties.select.SelectItemModelProperties;
import net.minecraft.client.renderer.special.SpecialModelRenderers;
import net.minecraft.client.renderer.texture.atlas.SpriteSources;
public class ClientBootstrap {
private static volatile boolean isBootstrapped;
public static void bootstrap() {
if (isBootstrapped) {
return;
}
isBootstrapped = true;
ItemModels.bootstrap();
SpecialModelRenderers.bootstrap();
ItemTintSources.bootstrap();
SelectItemModelProperties.bootstrap();
ConditionalItemModelProperties.bootstrap();
RangeSelectItemModelProperties.bootstrap();
SpriteSources.bootstrap();
DialogScreens.bootstrap();
InputControlHandlers.bootstrap();
DialogBodyHandlers.bootstrap();
}
}