public class CameraScreen
extends net.minecraft.client.gui.screen.Screen
Modifier and Type | Field and Description |
---|---|
boolean |
allowUserInput |
protected boolean |
mouseDown |
Constructor and Description |
---|
CameraScreen()
Initializes a camera.
|
CameraScreen(CameraEntity cam)
Initializes a camera.
|
CameraScreen(CameraMode mode) |
Modifier and Type | Method and Description |
---|---|
CameraEntity |
getCamera()
Gets the client camera entity.
|
void |
init() |
boolean |
isPauseScreen() |
boolean |
keyPressed(int keyCode,
int scanCode,
int modifiers) |
boolean |
mouseDragged(double mouseX,
double mouseY,
int button,
double dragX,
double dragY) |
boolean |
mouseScrolled(double mouseX,
double mouseY,
double delta) |
void |
removed() |
void |
renderBackground(com.mojang.blaze3d.matrix.MatrixStack matrix,
int vOffset) |
void |
renderDirtBackground(int vOffset) |
addButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onClose, onFilesDrop, render, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenError
getFocused, isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public CameraScreen()
public CameraScreen(CameraMode mode)
public CameraScreen(CameraEntity cam)
cam
- The camera entity to use for this camera.public boolean isPauseScreen()
isPauseScreen
in class net.minecraft.client.gui.screen.Screen
public boolean keyPressed(int keyCode, int scanCode, int modifiers)
keyPressed
in interface net.minecraft.client.gui.IGuiEventListener
keyPressed
in interface net.minecraft.client.gui.INestedGuiEventHandler
keyPressed
in class net.minecraft.client.gui.screen.Screen
public boolean mouseScrolled(double mouseX, double mouseY, double delta)
public boolean mouseDragged(double mouseX, double mouseY, int button, double dragX, double dragY)
public void renderBackground(com.mojang.blaze3d.matrix.MatrixStack matrix, int vOffset)
renderBackground
in class net.minecraft.client.gui.screen.Screen
public void renderDirtBackground(int vOffset)
renderDirtBackground
in class net.minecraft.client.gui.screen.Screen
public CameraEntity getCamera()
public void init()
init
in class net.minecraft.client.gui.screen.Screen
public void removed()
removed
in class net.minecraft.client.gui.screen.Screen