Klasse Client
java.lang.Object
de.luckymcdev.foundryengine.client.Client
Client-side singleton providing access to all client subsystems and utility methods.
-
Verschachtelte Klassen - Übersicht
Verschachtelte Klassen -
Feldübersicht
FelderModifikator und TypFeldBeschreibungstatic final org.apache.commons.lang3.mutable.MutableFloatstatic final org.apache.commons.lang3.mutable.MutableFloatstatic final net.minecraft.client.KeyMapping.Categorystatic final net.minecraft.client.KeyMappingstatic final org.joml.Matrix4fstatic final org.joml.Matrix4fstatic final org.slf4j.Loggerstatic final net.minecraft.client.KeyMappingstatic final org.joml.Matrix4fstatic final org.joml.Matrix4fstatic final org.joml.Matrix4fstatic final org.joml.Matrix4f -
Methodenübersicht
Modifikator und TypMethodeBeschreibungstatic com.mojang.blaze3d.pipeline.TextureTargetcreateSnapshotTarget(String name, int width, int height) Creates a depth-capableTextureTarget, abstracting over per-version constructors.static AreaRendererReturns the area renderer.static @Nullable net.minecraft.core.Vec3iReturns the block position the player is looking at, or null.static @Nullable net.minecraft.client.gui.screens.ScreenReturns the currently displayed screen, or null.static CutsceneToolReturns the cutscene editor tool.static ClientCutsceneManagerReturns the client cutscene manager.static ClientDialogueManagerReturns the client dialogue manager.static EditorControllerReturns the editor controller.static EditorManagerReturns the editor manager.static HotKeyManagerReturns the hotkey manager.static IconExporterLayerReturns the icon exporter layer for non-blocking icon generation.static StringgetIdSource(net.minecraft.resources.Identifier location) Returns the content of the resource atlocationas a UTF-8 string.static StringgetIdSource(net.minecraft.resources.Identifier location, Charset charset) Returns the content of the resource atlocationdecoded withcharset.static ImGraphicsExtractorReturns the shared ImGraphicsExtractor for drawing ImGui widgets with style stacking.static ImGuiManagerReturns the ImGui manager.static ItemCommandManagerstatic @Nullable com.mojang.blaze3d.pipeline.RenderTargetgetLevelRendererTarget(net.minecraft.resources.Identifier targetId) Returns the level renderer render target for the given target id, or null if unavailable.static MainMenuReturns the main menu.static com.mojang.blaze3d.pipeline.RenderTargetReturns the main render target, abstracting over per-version access paths.static MeshRendererReturns the mesh renderer.static ObjModelManagerReturns the OBJ model manager.static ParticleManagerReturns the particle manager.static PostEffectManagerReturns the post-effect manager.static @Nullable net.minecraft.world.item.crafting.RecipeManagerReturns the recipe manager from the integrated server, or null.static SkyboxManagerReturns the skybox manager.static TooltipManagerReturns the tooltip manager.static ClientWaypointManagerReturns the waypoint renderer.static WorkspaceStateReturns the workspace state.static voidsetScreen(@Nullable net.minecraft.client.gui.screens.Screen screen) Sets the currently displayed screen, abstracting over per-version access paths.static voidupdateMain(org.joml.Matrix4fc modelView, org.joml.Matrix4fc projection) Updates the main view and projection matrices and their derived matrices.
-
Felddetails
-
MODEL_VIEW
public static final org.joml.Matrix4f MODEL_VIEW -
PROJECTION
public static final org.joml.Matrix4f PROJECTION -
WORLD
public static final org.joml.Matrix4f WORLD -
INVERSE_WORLD
public static final org.joml.Matrix4f INVERSE_WORLD -
PERSPECTIVE
public static final org.joml.Matrix4f PERSPECTIVE -
FRUSTUM
public static final org.joml.Matrix4f FRUSTUM -
DEPTH_FAR
public static final org.apache.commons.lang3.mutable.MutableFloat DEPTH_FAR -
DEPTH_NEAR
public static final org.apache.commons.lang3.mutable.MutableFloat DEPTH_NEAR -
EDITOR_CATEGORY
public static final net.minecraft.client.KeyMapping.Category EDITOR_CATEGORY -
EDITOR_KEY
public static final net.minecraft.client.KeyMapping EDITOR_KEY -
MENU_BAR_KEY
public static final net.minecraft.client.KeyMapping MENU_BAR_KEY -
LOGGER
public static final org.slf4j.Logger LOGGER
-
-
Methodendetails
-
getRecipeManager
public static @Nullable net.minecraft.world.item.crafting.RecipeManager getRecipeManager()Returns the recipe manager from the integrated server, or null. -
getImGuiManager
Returns the ImGui manager. -
getImGraphics
Returns the shared ImGraphicsExtractor for drawing ImGui widgets with style stacking. -
getMainMenu
Returns the main menu. -
getEditorManager
Returns the editor manager. -
getParticleManager
Returns the particle manager. -
getMeshRenderer
Returns the mesh renderer. -
getObjModelManager
Returns the OBJ model manager. -
getSkyboxManager
Returns the skybox manager. -
getWorkspaceState
Returns the workspace state. -
getItemCommandManager
-
getWaypointRenderer
Returns the waypoint renderer. -
getAreaRenderer
Returns the area renderer. -
getCutsceneManager
Returns the client cutscene manager. -
getPostEffectManager
Returns the post-effect manager. -
getEditorController
Returns the editor controller. -
getCutsceneEditor
Returns the cutscene editor tool. -
getDialogueManager
Returns the client dialogue manager. -
getIconExporterLayer
Returns the icon exporter layer for non-blocking icon generation. -
getHotKeyManager
Returns the hotkey manager. -
getTooltipManager
Returns the tooltip manager. -
getBlockHitOrNull
public static @Nullable net.minecraft.core.Vec3i getBlockHitOrNull()Returns the block position the player is looking at, or null. -
getMainRenderTarget
public static com.mojang.blaze3d.pipeline.RenderTarget getMainRenderTarget()Returns the main render target, abstracting over per-version access paths. -
getCurrentScreen
public static @Nullable net.minecraft.client.gui.screens.Screen getCurrentScreen()Returns the currently displayed screen, or null. -
setScreen
public static void setScreen(@Nullable net.minecraft.client.gui.screens.Screen screen) Sets the currently displayed screen, abstracting over per-version access paths. -
getLevelRendererTarget
public static @Nullable com.mojang.blaze3d.pipeline.RenderTarget getLevelRendererTarget(net.minecraft.resources.Identifier targetId) Returns the level renderer render target for the given target id, or null if unavailable. -
createSnapshotTarget
public static com.mojang.blaze3d.pipeline.TextureTarget createSnapshotTarget(String name, int width, int height) Creates a depth-capableTextureTarget, abstracting over per-version constructors. -
getIdSource
Returns the content of the resource atlocationas a UTF-8 string. -
getIdSource
-
updateMain
public static void updateMain(org.joml.Matrix4fc modelView, org.joml.Matrix4fc projection) Updates the main view and projection matrices and their derived matrices.
-