Class Client
java.lang.Object
de.luckymcdev.foundryengine.client.Client
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.client.KeyMappingstatic final org.apache.commons.lang3.mutable.MutableFloatstatic final org.apache.commons.lang3.mutable.MutableFloatstatic final net.minecraft.client.KeyMapping.Categorystatic final KeyBindingstatic final org.joml.Matrix4fstatic final org.joml.Matrix4fstatic final org.slf4j.Loggerstatic final KeyBindingstatic final org.joml.Matrix4fstatic final org.joml.Matrix4fstatic final net.minecraft.client.KeyMappingstatic final org.joml.Matrix4fstatic final net.minecraft.client.KeyMappingstatic final net.minecraft.client.KeyMappingstatic final org.joml.Matrix4f -
Method Summary
Modifier and TypeMethodDescriptionstatic AreaRendererstatic @Nullable net.minecraft.client.multiplayer.ClientPacketListenerstatic CutsceneEditorFeaturestatic ClientCutsceneManagerstatic EditorControllerstatic EditorManagerstatic net.minecraft.client.renderer.GameRendererstatic com.mojang.blaze3d.opengl.GlTexturestatic com.mojang.blaze3d.opengl.GlTexturegetGlColTexture(com.mojang.blaze3d.pipeline.RenderTarget target) static com.mojang.blaze3d.opengl.GlTexturestatic com.mojang.blaze3d.opengl.GlTexturegetGlDepthTexture(com.mojang.blaze3d.pipeline.RenderTarget target) static com.mojang.blaze3d.opengl.GlDevicestatic @Nullable net.minecraft.core.Vec3istatic 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 EngineImGuistatic KeyBindingManagerstatic net.minecraft.client.Camerastatic MainMenustatic com.mojang.blaze3d.pipeline.RenderTargetstatic net.minecraft.client.MinecraftgetMc()static MeshRendererstatic ObjModelManagerstatic ParticleManagerstatic @Nullable net.minecraft.client.player.LocalPlayerstatic PostEffectManagerstatic @Nullable net.minecraft.world.item.crafting.RecipeManagerstatic net.minecraft.server.packs.resources.ResourceManagerstatic SkyboxManagerstatic WaypointRendererstatic com.mojang.blaze3d.platform.Windowstatic voidsendCommand(String command) static voidsendPacket(net.minecraft.network.protocol.Packet<?> packet) static voidsetScreen(net.minecraft.client.gui.screens.Screen screen) static com.mojang.blaze3d.opengl.GlTextureunwrapTexture(Object tex) static voidupdateMain(org.joml.Matrix4fc modelView, org.joml.Matrix4fc projection)
-
Field Details
-
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
-
MENU_BAR_KEY
-
PRIMARY_WAYPOINT_KEY
public static final net.minecraft.client.KeyMapping PRIMARY_WAYPOINT_KEY -
SECONDARY_WAYPOINT_KEY
public static final net.minecraft.client.KeyMapping SECONDARY_WAYPOINT_KEY -
REMOVE_WAYPOINT_KEY
public static final net.minecraft.client.KeyMapping REMOVE_WAYPOINT_KEY -
CLEAR_WAYPOINTS_KEY
public static final net.minecraft.client.KeyMapping CLEAR_WAYPOINTS_KEY -
LOGGER
public static final org.slf4j.Logger LOGGER
-
-
Method Details
-
getMc
public static net.minecraft.client.Minecraft getMc() -
getResourceManager
public static net.minecraft.server.packs.resources.ResourceManager getResourceManager() -
getWindow
public static com.mojang.blaze3d.platform.Window getWindow() -
getGameRenderer
public static net.minecraft.client.renderer.GameRenderer getGameRenderer() -
getMainRenderTarget
public static com.mojang.blaze3d.pipeline.RenderTarget getMainRenderTarget() -
getMainCamera
public static net.minecraft.client.Camera getMainCamera() -
getConnection
public static @Nullable net.minecraft.client.multiplayer.ClientPacketListener getConnection() -
getPlayer
public static @Nullable net.minecraft.client.player.LocalPlayer getPlayer() -
setScreen
public static void setScreen(net.minecraft.client.gui.screens.Screen screen) -
sendCommand
-
sendPacket
public static void sendPacket(net.minecraft.network.protocol.Packet<?> packet) -
getRecipeManager
public static @Nullable net.minecraft.world.item.crafting.RecipeManager getRecipeManager() -
getImGuiManager
-
getMainMenu
-
getEditorManager
-
getKeyBindingManager
-
getParticleManager
-
getMeshRenderer
-
getObjModelManager
-
getSkyboxManager
-
getGlDevice
public static com.mojang.blaze3d.opengl.GlDevice getGlDevice() -
getGlColTexture
public static com.mojang.blaze3d.opengl.GlTexture getGlColTexture() -
getGlColTexture
public static com.mojang.blaze3d.opengl.GlTexture getGlColTexture(com.mojang.blaze3d.pipeline.RenderTarget target) -
getGlDepthTexture
public static com.mojang.blaze3d.opengl.GlTexture getGlDepthTexture() -
getGlDepthTexture
public static com.mojang.blaze3d.opengl.GlTexture getGlDepthTexture(com.mojang.blaze3d.pipeline.RenderTarget target) -
unwrapTexture
-
getWaypointRenderer
-
getAreaRenderer
-
getCutsceneManager
-
getPostEffectManager
-
getEditorController
-
getCutsceneEditor
-
getHitOrNull
public static @Nullable net.minecraft.core.Vec3i getHitOrNull() -
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)
-