Class ArmorStandScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
com.mrbysco.armorposer.client.gui.ArmorStandScreen
- All Implemented Interfaces:
net.minecraft.client.gui.components.events.ContainerEventHandler, net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.Renderable, net.minecraft.client.gui.components.TabOrderedElement
public class ArmorStandScreen
extends net.minecraft.client.gui.screens.Screen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.Screen.NarratableSearchResult -
Field Summary
FieldsFields inherited from class net.minecraft.client.gui.screens.Screen
FADE_IN_TIME, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratorButton, screenExecutor, title, width -
Constructor Summary
ConstructorsConstructorDescriptionArmorStandScreen(net.minecraft.world.entity.decoration.ArmorStand armorStand, List<String> disabledFeatures) -
Method Summary
Modifier and TypeMethodDescriptionbooleancharTyped(net.minecraft.client.input.CharacterEvent characterEvent) protected voidvoidextractBackground(net.minecraft.client.gui.GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a) voidextractRenderState(net.minecraft.client.gui.GuiGraphicsExtractor graphics, int mouseX, int mouseY, float partialTicks) protected net.minecraft.world.entity.decoration.ArmorStandprotected StringgetGroup()protected net.minecraft.world.phys.Vec3protected net.minecraft.nbt.ListTagvoidinit()booleanbooleankeyPressed(net.minecraft.client.input.KeyEvent keyEvent) booleanmouseClicked(net.minecraft.client.input.MouseButtonEvent buttonEvent, boolean flag) booleanmouseScrolled(double mouseX, double mouseY, double xScroll, double yScroll) static voidopenScreen(net.minecraft.world.entity.decoration.ArmorStand armorStandEntity, List<String> disabledFeatures) protected voidreadFieldsFromNBT(net.minecraft.nbt.CompoundTag compound) voidresize(int width, int height) protected voidprotected voidprotected voidsetLastSendOffset(net.minecraft.world.phys.Vec3 offset) protected voidvoidtick()voidupdateEntity(net.minecraft.nbt.CompoundTag compound) protected net.minecraft.nbt.CompoundTagMethods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, canInterruptWithAnotherScreen, changeFocus, children, clearFocus, clearWidgets, clickCommandAction, clickUrlAction, defaultHandleClickEvent, defaultHandleGameClickEvent, extractBlurredBackground, extractMenuBackground, extractMenuBackground, extractMenuBackgroundTexture, extractPanorama, extractRenderStateWithTooltipAndSubtitles, extractTransparentBackground, fadeWidgets, fillCrashDetails, findNarratableWidget, getBackgroundMusic, getFont, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleDelayedNarration, init, insertText, isAllowedInPortal, isInGameUi, isMouseOver, isValidCharacterForName, onClose, onFilesDrop, panoramaShouldSpin, rebuildWidgets, removed, removeWidget, repositionElements, setInitialFocus, setInitialFocus, shouldCloseOnEsc, shouldNarrateNavigation, showsActiveEffects, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatusMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocusedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
getBorderForArrowNavigation, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseDragged, mouseReleased, nextFocusPath, preeditUpdated, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved, shouldTakeFocusAfterInteractionMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
poseTextFields
-
-
Constructor Details
-
ArmorStandScreen
-
-
Method Details
-
isPauseScreen
public boolean isPauseScreen()- Overrides:
isPauseScreenin classnet.minecraft.client.gui.screens.Screen
-
init
public void init()- Overrides:
initin classnet.minecraft.client.gui.screens.Screen
-
resize
public void resize(int width, int height) - Overrides:
resizein classnet.minecraft.client.gui.screens.Screen
-
extractRenderState
public void extractRenderState(net.minecraft.client.gui.GuiGraphicsExtractor graphics, int mouseX, int mouseY, float partialTicks) - Specified by:
extractRenderStatein interfacenet.minecraft.client.gui.components.Renderable- Overrides:
extractRenderStatein classnet.minecraft.client.gui.screens.Screen
-
extractBackground
public void extractBackground(net.minecraft.client.gui.GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a) - Overrides:
extractBackgroundin classnet.minecraft.client.gui.screens.Screen
-
tick
public void tick()- Overrides:
tickin classnet.minecraft.client.gui.screens.Screen
-
charTyped
public boolean charTyped(net.minecraft.client.input.CharacterEvent characterEvent) -
mouseScrolled
public boolean mouseScrolled(double mouseX, double mouseY, double xScroll, double yScroll) -
keyPressed
public boolean keyPressed(net.minecraft.client.input.KeyEvent keyEvent) - Specified by:
keyPressedin interfacenet.minecraft.client.gui.components.events.ContainerEventHandler- Specified by:
keyPressedin interfacenet.minecraft.client.gui.components.events.GuiEventListener- Overrides:
keyPressedin classnet.minecraft.client.gui.screens.Screen
-
mouseClicked
public boolean mouseClicked(net.minecraft.client.input.MouseButtonEvent buttonEvent, boolean flag) -
textFieldUpdated
protected void textFieldUpdated() -
writeFieldsToNBT
protected net.minecraft.nbt.CompoundTag writeFieldsToNBT() -
readFieldsFromNBT
protected void readFieldsFromNBT(net.minecraft.nbt.CompoundTag compound) -
openScreen
-
updateEntity
public void updateEntity(net.minecraft.nbt.CompoundTag compound) -
getDisabledFeatures
-
getRecordedActions
protected net.minecraft.nbt.ListTag getRecordedActions() -
getOffset
protected net.minecraft.world.phys.Vec3 getOffset() -
getArmorStandEntity
protected net.minecraft.world.entity.decoration.ArmorStand getArmorStandEntity() -
clearRecordedActions
protected void clearRecordedActions() -
setLastSendOffset
protected void setLastSendOffset(net.minecraft.world.phys.Vec3 offset) -
setGroup
-
getGroup
-
setInitialArmorStandData
protected void setInitialArmorStandData()
-