Package net.minecraft.client.gui.layouts
Interface LayoutElement
- All Known Subinterfaces:
- Layout
- All Known Implementing Classes:
- AbstractButton,- AbstractContainerWidget,- AbstractLayout,- AbstractOptionSliderButton,- AbstractScrollWidget,- AbstractSelectionList,- AbstractSliderButton,- AbstractStringWidget,- AbstractTestScreen.GroupableList,- AbstractWidget,- BeaconScreen.BeaconCancelButton,- BeaconScreen.BeaconConfirmButton,- BeaconScreen.BeaconPowerButton,- BeaconScreen.BeaconScreenButton,- BeaconScreen.BeaconSpriteScreenButton,- BeaconScreen.BeaconUpgradePowerButton,- Button,- ChatSelectionScreen.ChatSelectionList,- Checkbox,- ConfirmExperimentalFeaturesScreen.DetailsScreen.PackList,- ContainerObjectSelectionList,- CreateBuffetWorldScreen.BiomeList,- CreateFlatWorldScreen.DetailsList,- CycleButton,- EditBox,- EditGameRulesScreen.RuleList,- EqualSpacingLayout,- ExtendedButton,- ExtendedSlider,- FittingMultiLineTextWidget,- FocusableTextWidget,- FrameLayout,- GameModeSwitcherScreen.GameModeSlot,- GridLayout,- HeaderAndFooterLayout,- ImageButton,- ImageWidget,- ImageWidget.Sprite,- ImageWidget.Texture,- KeyBindsList,- LanguageSelectScreen.LanguageSelectionList,- LinearLayout,- LoadingDotsWidget,- LoadingErrorScreen.LoadingEntryList,- LockIconButton,- MerchantScreen.TradeOfferButton,- ModListWidget,- MultiLineEditBox,- MultiLineTextWidget,- ObjectSelectionList,- OptionInstance.OptionInstanceSliderButton,- OptionsList,- OverlayRecipeComponent.OverlayRecipeButton,- OverlayRecipeComponent.OverlaySmeltingRecipeButton,- PageButton,- PlainTextButton,- PlayerSkinWidget,- PresetFlatWorldScreen.PresetsList,- RealmsBackupInfoScreen.BackupInfoList,- RealmsBackupScreen.BackupObjectSelectionList,- RealmsMainScreen.CrossButton,- RealmsMainScreen.NotificationButton,- RealmsMainScreen.RealmSelectionList,- RealmsObjectSelectionList,- RealmsPendingInvitesScreen.PendingInvitationSelectionList,- RealmsPlayerScreen.InvitedObjectSelectionList,- RealmsResetWorldScreen.FrameButton,- RealmsSelectFileToUploadScreen.WorldSelectionList,- RealmsSelectWorldTemplateScreen.WorldTemplateList,- RealmsSlotOptionsScreen.SettingsSlider,- RealmsWorldSlotButton,- RecipeBookTabButton,- RecipeButton,- ReportReasonSelectionScreen.ReasonSelectionList,- ServerSelectionList,- SocialInteractionsPlayerList,- SpacerElement,- SpriteIconButton,- SpriteIconButton.CenteredIcon,- SpriteIconButton.TextAndIcon,- StateSwitchingButton,- StatsScreen.GeneralStatisticsList,- StatsScreen.ItemStatisticsList,- StatsScreen.MobsStatisticsList,- StringWidget,- TabButton,- TelemetryEventWidget,- TransferableSelectionList,- UnicodeGlyphButton,- WorldSelectionList
public interface LayoutElement
- 
Method SummaryModifier and TypeMethodDescriptionintdefault ScreenRectangleintgetWidth()intgetX()intgetY()default voidsetPosition(int p_265617_, int p_265577_) voidsetX(int p_265236_) voidsetY(int p_265404_) voidvisitWidgets(Consumer<AbstractWidget> p_265082_) 
- 
Method Details- 
setXvoid setX(int p_265236_) 
- 
setYvoid setY(int p_265404_) 
- 
getXint getX()
- 
getYint getY()
- 
getWidthint getWidth()
- 
getHeightint getHeight()
- 
getRectangle
- 
setPositiondefault void setPosition(int p_265617_, int p_265577_) 
- 
visitWidgets
 
-