Użytkownik:Vatharannen/brudnopis: Różnice pomiędzy wersjami

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
dNie podano opisu zmian
dNie podano opisu zmian
Linia 106: Linia 106:
{{History||1.6.1|snap=13w16a|New launcher added. See launcher history below.}}
{{History||1.6.1|snap=13w16a|New launcher added. See launcher history below.}}
{{History|foot}}
{{History|foot}}
=== Minecraft Launcher ===
{| class="collapsible sortable wikitable" style="width: 100%" data-description="Version history"
|-
! scope="col" style="width: 160px;" data-sort-type="number" | Launcher version
! scope="col" style="width: 120px;" data-sort-type="date" | Release date
! scope="col" class="unsortable" | Summary of changes
|-
|{{Text anchor|2.0.934}}
|June 13, 2017
|
* Unknown
|-
|{{Text anchor|2.0.932-stage}}
|June 13, 2017
|
* Unknown
|-
|{{Text anchor|2.0.895}}
|May 30, 2017
|
* New translations & a fix for those stuck/crashing on "Preparing"<ref>{{tweet|dinnerbone|869457953350352898|A new version of the Minecraft Launcher will be going out shortly, it has new translations & a fix for those stuck/crashing on "Preparing"|May 30, 2017}}</ref>
|-
|{{Text anchor|2.0.847}}
|April 10, 2017
|
* Unknown
|-
|{{Text anchor|2.0.834 (macOS)}}
|March 10, 2017
|
* Unknown
|-
|{{Text anchor|2.0.833}}
|March 10, 2017
|
* Unknown
|-
|{{Text anchor|2.0.806}}
|February 9, 2017
|
* Unknown
|-
|{{Text anchor|2.0.774-stage}}
|February 8, 2017
|
* Unknown
|-
|{{Text anchor|2.0.760-stage}}
|February 3, 2017
|
* Unknown
|-
|{{Text anchor|2.0.757-stage}}
|February 3, 2017
|
* Unknown
|-
|{{Text anchor|2.0.726-stage}}
|February 1, 2017
|
* Fixed some issues with the update process.
|-
|{{Text anchor|2.0.710-stage}}
|January 31, 2017
|
* Fixed some issues with mods.
|-
|{{Text anchor|2.0.700-stage}}
|January 31, 2017
|
* Unknown
|-
|{{Text anchor|2.0.673-stage}}
|January 27, 2017
|
* Unknown
|-
|{{anchor|1.6.73}}{{Text anchor|1.6.73-j}}
|January 26, 2017
|
* Unknown
|-
|{{Text anchor|2.0.663-stage}}
|January 25, 2017
|
* No security popups for Mac anymore.
|-
|{{Text anchor|2.0.581-stage}}
|January 18, 2017
|
* Added a launcher version information tab, support for Linux.
|-
|{{Text anchor|2.0.580-stage}} (macOS)
|January 18, 2017
|
* Added a launcher version information tab.
|-
|{{Text anchor|2.0.511-stage}} (macOS)
|January 3, 2017
|
* Changed font from the ''Minecraft'' default to Segoe UI.
|-
|{{Text anchor|2.0.510-stage}}
|January 3, 2017
|
* Changed font from the ''Minecraft'' default to Segoe UI.
* Fixed a bug where the resolution was 2304×1202 regardless of launch option or window size.
|-
|{{Text anchor|2.0.497-stage}}
|December 29, 2016
|
* Added more languages.
|-
|{{Text anchor|2.0.490-stage}}
|December 27, 2016
|
* Unknown
|-
|{{text anchor|2.0.465-stage}} (macOS)
|December 8, 2016
|
* Unknown
|-
| {{text anchor|2.0.464-stage}}
|December 8, 2016
|
* Unknown
|-
| {{text anchor|2.0.455-stage}}
|December 7, 2016
|
* Unknown
|-
| {{text anchor|2.0.447-stage}}
|December 6, 2016
|
* Fixed a crash when you launched any minecraft.jar except for "1.11 Latest release" or lower.{{cn}}
|-
| {{text anchor|2.0.429-stage}}
|December 1, 2016
|
* Unknown
|-
| {{text anchor|2.0.425-stage}}
|November 30, 2016
|
* Unknown
|-
| {{text anchor|2.0.24-stage}}
|November 29, 2016
|
* Unknown
|-
| {{text anchor|2.0.414-stage}}
|November 28, 2016
|
* Fixed a bug where the Launcher could get stuck on 'Loading...' everywhere.<ref>https://twitter.com/Dinnerbone/status/803235460386537472</ref>
|-
| {{text anchor|2.0.387-stage}}
|November 25, 2016
|
* Added language selection
|-
| {{text anchor|1.6.70}}
|November 17, 2016
|
* Unknown
|-
|2.0.320-stage
|November 4, 2016
|
* Unknown
|-
| {{text anchor|2.0.282-stage}}
| November 2, 2016<ref>https://www.reddit.com/r/Minecraft/comments/5apvpl/help_us_test_the_new_minecraft_launcher_todays/?st=iv1jq8z1&sh=7908cfe7</ref>
|
* Now supports running multiple instances of ''Minecraft'' at the same time
* Can now be kept open while the game is running
* Now backs ups "launcher_profiles.json" before migrating settings to new launcher
* Made launch options slightly smaller
* The button to add a new launch option is now at the top of the list
* "Keep launcher open" and "Show game log" are now separate settings
* Multiple bug fixes:
** Fixed running modded versions
** Resolution setting should now work properly
** Fixed an issue where opening the game directory would give an error message even when it worked
** Pressing {{key|Del}} in input fields no longer removes the rest of the line
** Pressing {{key|Tab}} on the news page no longer messes with the news carousel
** Fixed a crash that sometimes happened when the game closed
** Selecting input with your mouse and hitting backspace on the keyboard should now properly delete the input
** The version information page no longer selects all text when you click it
|-
| {{text anchor|1.6.69}}
|October 26th, 2016
|
* Unknown
|-
| {{text anchor|2.0.164-stage}}<ref>https://www.reddit.com/r/Minecraft/comments/59b7m0/help_us_test_the_new_minecraft_launcher_check_the/</ref>
|October 26th, 2016
|
* New launcher iteration for testing initially for Windows and macOS
* Runs as a native application that no longer requires Java
* Interface redesign
|-
| {{text anchor|1.6.66}}
| October 24th, 2016
|
* Now warns the player when their profile has been opened in the [https://www.reddit.com/r/Minecraft/comments/59b7m0/help_us_test_the_new_minecraft_launcher_check_the/ new launcher].
|-
| {{text anchor|1.6.61}}
| March 3rd, 2016
|
* Game Session ID is now hidden in the game output tab when launching the game, now says <code>Session ID is <censored></code>
|-
| {{text anchor|1.6.59}}
| February 25th, 2016
|
* Unknown
|-
| {{text anchor|1.6.57}}
| February 24th, 2016
|
* Unknown
|-
| {{text anchor|1.6.51}}
| February 4th, 2016
|
* Unknown
|-
| {{text anchor|1.6.48}}
| October 9th, 2015
|
* Unknown
|-
| {{text anchor|1.6.44}}
| September 11th, 2015
|
* Added information about new OSX Installer. (''Showing only on OSX'')
|-
| {{text anchor|1.6.39}}
| September 8th, 2015
|
* Fixed Launcher window closing.
* Fixed closing the "Profile Editor" window.
* Minor changes.
|-
| {{text anchor|1.6.19}}
| July 24, 2015
|
* Added Windows 10 support
* Added new argument ''-winTen''
|-
| {{text anchor|1.6.13}}
| July 1, 2015
|
* Launcher now creating folder "''server-resource-packs''" in game directory.
|-
| {{text anchor|1.6.11}}
| January 30, 2015
|
* Installer uses Java 8<ref>{{tweet|Dinnerbone|561096640086700032}}</ref>
* Executable downloads its own runtime; Java no longer needs to be installed
{| class="collapsible collapse-button-none" data-description="Bugs fixed"
! style="text-align: left" |  [https://bugs.mojang.com/browse/MCL-2987?jql=project%20%3D%20MCL%20AND%20fixVersion%20%3D%20%221.6.11%22%20ORDER%20BY%20updated%20DESC%2C%20priority%20DESC%2C%20created%20ASC Bug fixes]:
|-
|
* {{bug|MCL-546}} – Unknown publisher, missing digital signature
* {{bug|MCL-2987}} – Launcher will not remember login info by your gamertag
* {{bug|MCL-3128}} – Launcher stuck on launcher.pack.lzma download
* {{bug|MCL-3303}} – Launcher doesn't open.
|}
|-
| {{text anchor|1.6.5}}
| December 18, 2014
|
* Test launcher
** Launcher Log takes note of 'proxy', for instance showing '<code>proxy == DIRECT</code>'
* Fixed: {{bug|MCL-3287}} – "unknown error" when running Minecraft.msi
|-
| {{text anchor|1.6.3}}
| December 17, 2014
|
* Test launcher<ref>https://www.reddit.com/r/Minecraft/comments/2pkxpx/we_need_your_help_testing_the_new_minecraft</ref>
** Launcher for Windows now available as .msi, installs to the <code>/Program Files (x86)/Minecraft</code> directory
* First installable launcher.
|-
| {{text anchor|1.5.5}}
| December 16, 2014
|
* Test launcher
** Unknown
|-
| {{text anchor|1.5.4}}
| December 12, 2014
|
* Test launcher<ref>https://www.reddit.com/r/Minecraft/comments/2p31cu/we_need_your_help_testing_a_new_launcher</ref>
** Update for the native bootstrap
** Uses a local, launcher-managed Java runtime instead of system Java.
|-
| {{text anchor|1.5.3}}
| September 1, 2014
|
{| class="collapsible collapse-button-none" data-description="Bugs fixed"
! style="text-align: left" |  [https://bugs.mojang.com/browse/MCL-2300?jql=project%20%3D%20MCL%20AND%20fixVersion%20%3D%20%221.5.3%22%20ORDER%20BY%20updated%20DESC%2C%20priority%20DESC%2C%20created%20ASC Bug fixes]:
|-
|
* {{bug|MCL-2300}} – Extra Fonts installed in Windows 8.1 stops Launcher running
* {{bug|MCL-3013}} – Launcher: "Playing offline"
* {{bug|MCL-3171}} – Checksum mismatch for realms 1.5.8
* {{bug|MCL-3257}} – < Forgotten in the Client
|}
|-
| {{text anchor|1.5.2}}
| August 19, 2014
|
* Re-launching Minecraft with a user used previously will override the game output tab for that user
|-
| {{text anchor|1.5.1}}
| July 29, 2014
|
* Fix launcher stuck on Loading...<ref>{{tweet|Dinnerbone|494220782244208640}}</ref>
* Fixed: {{bug|MCL-2494}} – Play and Log out buttons grayed out on first run of launcher / launcher update
|-
| {{text anchor|1.5}}
| July 28, 2014
|
* ''Development Console'' tab renamed to ''Launcher Log''
* You can now run multiple instances of ''Minecraft'' at once, provided they're on different users
* ''Play'' button renamed to ''Already Playing...'' if ''Minecraft'' is open while looking at launcher
* New tab called ''Game Output (yourusername)'' appears after launching minecraft
|-
| {{text anchor|1.4.7}}
| July 25, 2014
|
* Prepend libraries instead of appending(?)
|-
| {{text anchor|1.4.6}}
| July 25, 2014
|
* Added some command-line switches on the Profile Editor(?)
* Added version inheritance<ref>{{tweet|Dinnerbone|492715318645882880}}</ref>
|-
| {{text anchor|1.4.5}}
| July 25, 2014
|
* Added a "Switch users" button to make switching users easier
* Another attempt to fix {{bug|MCL-2494}}, but the fix didn't work.
|-
| {{text anchor|1.4.4}}
| May 19, 2014
|
* Attempt to fix {{bug|MCL-2494}}, but the fix didn't work.
* Fixed: {{bug|MCL-2564}} – No alpha or Beta versions in launcher (even local ones)
|-
| {{text anchor|1.4.2}}
| May 2, 2014
|
* Loading bar displays file currently being downloaded
* Fixed: {{bug|MCL-2350}} – Slowly eats large amounts of heap
* Removed tab ''Local Version Editor (NYI)''
* Auto cleanup unused libraries
|-
| {{text anchor|1.3.11}}
| March 12, 2014
|
* Update Notes website frame uses JavaFX if available
* Profiles are now displayed in alphabetical order
|-
| {{text anchor|1.3.10}}
| February 13, 2014
|
* Libraries use SHA-1 for validation
|-
| {{text anchor|1.3.9}}
| January 24, 2014
|
* Updated bug tracker links
|-
| {{text anchor|1.3.8}}
| January 8, 2014
|
* Added "(Why can I only play demo?)" link for demo accounts, under the "play demo" button. The link redirects you [https://help.mojang.com/customer/portal/articles/1218766-can-only-play-minecraft-demo?ref=launcher here]
|-
| {{text anchor|1.3.7}}
| December 12, 2013
|
* Unknown
|-
| {{text anchor|1.3.6}}
| December 5, 2013
|
* Fixed: {{bug|MCL-1895}} – Cannot play offline in 1.3.5 version - immediately gamecrash when launching
|-
| {{text anchor|1.3.5}}
| December 4, 2013
|
* Rearranged the assets folder for the new Assets Management  System.<ref>{{tweet|Dinnerbone|408246271921901568}}</ref>
|-
| {{text anchor|1.3.4}}
| November 26, 2013
|
* Faster downloading of some big files.<ref>{{tweet|dinner|405366855785021440}}</ref>
|-
| {{text anchor|1.3.3}}
| November 20, 2013
|
* (Possible) Bridging of Mojang and Twitch accounts.<ref>{{tweet|dinner|403111179859812352}}</ref>
|-
| {{text anchor|1.3.2}}
| November 18, 2013
|
* Added time it took to finish jobs.
* Faster resource downloading.<ref>{{tweet|dinner|402434001451098112}}</ref>
|-
| {{text anchor|1.3.1}}
| October 29, 2013
|
* Speed improvements
* Basic read-only popup on version list tab
* Misc fixes and cleanups
|-
| {{text anchor|1.2.8}}
| October 25, 2013<ref>https://bugs.mojang.com/browse/MCL/fixforversion/13900</ref>
|
* Unknown
|-
| {{text anchor|1.2.7}}<ref>https://bugs.mojang.com/browse/MCL-1664?jql=project%20%3D%20MCL%20AND%20fixVersion%20%3D%20%221.2.7%22%20ORDER%20BY%20updated%20DESC%2C%20priority%20DESC%2C%20created%20ASC</ref>
| October 18, 2013
|
* Added an open game directory button in the profile editor.
|-
| {{text anchor|1.2.5}}<ref>https://bugs.mojang.com/browse/MCL-1266?jql=project%20%3D%20MCL%20AND%20fixVersion%20%3D%20%221.2.5%22%20ORDER%20BY%20updated%20DESC%2C%20priority%20DESC%2C%20created%20ASC</ref>
| September 23, 2013
|
* No longer displays the developer console automatically after clicking "Play". ({{bug|MCL-1266}})
|-
| {{text anchor|1.2.4}}<ref>https://bugs.mojang.com/issues/?jql=project%20%3D%20MCL%20AND%20fixVersion%20%3D%20%221.2.4%22%20ORDER%20BY%20updated%20DESC%2C%20priority%20DESC%2C%20created%20ASC</ref>
| September 19, 2013
|
* Unknown
|-
| {{text anchor|1.2.3}}<ref>{{tweet|Marc_IRL|378280823180361729}}</ref>
| September 12, 2013
|
* You can now log out from everywhere with the launcher ({{bug|MCL-1270}})
|-
| {{text anchor|1.2.2}}<ref>{{tweet|dinner|374887108932288512}}</ref>
| September 3, 2013
|
* Fixed a bug ({{bug|MCL-1461}}) that made the launcher take a long time to load up.
|-
| {{text anchor|1.2.1}} (Files uploaded)<ref>{{tweet|dinner|365040968644296705}}</ref>
| August 6, 2013
|
* 5 old Minecraft versions from [[Classic]] and [[Pre-classic]] have been pushed to the launcher.
|-
| 1.2.1 (Files uploaded)<ref>{{tweet|dinner|364699262233223169}}</ref><ref>{{tweet|grum|364699271708151808}}</ref>
| August 6, 2013
|
* Added [[Alpha]] versions
|-
| 1.2.1
| August 2, 2013
|
* Added a warning about using [[Beta]], [[Alpha]], and snapshot versions
|-
| {{text anchor|1.2}}
| August 1, 2013
|
* Added a "Time Machine" feature to use [[Beta]] versions.
** An option for [[Alpha]] has been included but the versions are not available yet.
* Also allows players to play versions 1.2.5-1.4.7
|-
| {{text anchor|1.1.4}}
| July 31, 2013
|
* Some small text updates
|-
| {{text anchor|1.1.3}}<ref>{{tweet|_grum|361126093777936384}}</ref>
| July 27, 2013
|
* Fixed low FPS issues on Intel HDXXXX chipsets.
|-
| {{text anchor|1.1.2}}
| July 22, 2013
|
* Fixed {{bug|MCL-1241}} - Cannot play offline in 1.1.1
|-
| {{text anchor|1.1.1}}
| July 19, 2013
|
* New-look launcher and login screen
* Launcher now closes automatically when game window opens
|-
| {{text anchor|1.0.10}}
| July 12, 2013
|
* Further support for Hopper
* Client crashes can be flagged as Public
** Nothing is currently done with these
* Profiles have the option to disable Hopper support
* Reporting directly to the bug tracker is only allowed if Hopper is turned off or the launcher can't connect to Hopper
** Hopper will not send crash report to bug tracker if the game is modded
|-
| {{text anchor|1.0.9}}
| July 10, 2013
|
* Added support for the new crash-reporting system, Hopper<ref>http://hopper.minecraft.net/</ref>
** Any client crash will automatically submit the crash report
|-
| {{text anchor|1.0.8 OS X}} (Re-upload)<ref>{{tweet|dinner|354595929925496832}}</ref>
| July 9, 2013
|
* Fixes to the launcher having trouble playing 1.6.2 on OS X 10.5.8 (Leopard)
|-
| 1.0.8 OS X (Re-upload)<ref>{{tweet|dinner|354351963288248321}}</ref>
| July 8, 2013
|
* Fixes to the launcher having trouble playing 1.6.2 on OS X 10.5.8 (Leopard)
|-
| {{text anchor|1.0.8}}
| July 2, 2013
|
* The launcher now has a high-definition icon{{cn}}
* Mac OS X 10.5.8 users have had ''Minecraft'' 1.6.1 disabled pending a LWJGL fix, however 1.5.2 is not affected<ref>{{tweet|dinner|352109843731070976}}</ref>
|-
| {{text anchor|1.0.7}}
| July 2, 2013
|
* Added ability to disable automatic login<ref>{{bug|MCL-590}}</ref>
|-
| {{text anchor|1.0.6}}
| July 1, 2013
|
{| class="collapsible collapse-button-none" data-description="Bugs fixed"
! style="text-align: left" | [https://bugs.mojang.com/issues/?jql=project%20%3D%20MCL%20AND%20fixVersion%3D%221.0.6%22 Bug fixes]:
|-
|
* {{bug|MCL-92}} – Starting Window Size does not fit entire GUI
* {{bug|MCL-227}} – Play button not in frame @ Linux
* {{bug|MCL-262}} – Text does not fit in window
* {{bug|MCL-287}} – Launcher gui has limited visuals, can't select version - no access to tabs
* {{bug|MCL-596}} – Incorrect version in new Mac launcher
* {{bug|MCL-696}} – I don't see an option to change RAM in "Edit Profile"
|}
|-
| {{text anchor|1.0.5}}
| July 1, 2013
|
* Added a 'snapshot' setting in the profile editor, enabling/disabling snapshots.
* 'Minecraft.exe'(launcher) has been digitally signed. ({{bug|MCL-546}})
|-
| {{text anchor|1.0.4}}
| June 28, 2013
|
* Added a 'resolution' setting in the profile editor.
|-
| {{text anchor|1.0.3}}
| June 27, 2013
|
{| class="collapsible collapse-button-none" data-description="Bugs fixed"
! style="text-align: left" | [https://bugs.mojang.com/issues/?jql=project%20%3D%20MCL%20AND%20fixVersion%20%3D%20%221.0.3%22 Bug fixes]:
|-
|
* {{bug|MCL-587}} – Full game can be played with non-premium account
* {{bug|MCL-600}} – Launcher gives wrong message when you sign in with username instead of email.
|}
|-
| {{text anchor|1.0.2}}
| June 27, 2013
|
* Unknown
|-
| {{text anchor|1.0.1}}
| June 26, 2013
|
* Yggdrasil authentication re-deployed
** Fixed: {{bug|MCL-568}} – Migrated Account - Can't login in 1.6 prerelease on 1.0.1 launcher
|-
| {{text anchor|1.0.0}}
| June 26, 2013
|
* Launcher downgraded to 1.0.0
* Disabled Yggdrasil because of login error
|-
| 1.0.1
| June 26, 2013
|
* Enabled Yggdrasil, The new auth system
* More secure and much more featureful.
|-
| {{text anchor|1.0}}
| June 25, 2013
|
* Unknown
|-
| {{text anchor|0.9.5}}
| June 18, 2013
|
* Unknown
|-
| {{text anchor|0.9.4}}
| June 18, 2013
|
* Added "New Profile" and "Edit Profile" Buttons to the profile selection panel
|-
| {{text anchor|0.9.3}}
| June 14, 2013
|
* Unknown
|-
| {{text anchor|0.9.2}}
| June 13, 2013
|
* Unknown
|-
| {{text anchor|0.9.1}}
| June 10, 2013
|
*  Fixed: {{Bug|MCL-412}} – OS X: Exception in thread "main" java.lang.NoClassDefFoundError: net/minecraft/client/main/Main
|-
| {{text anchor|0.9}}
| June 10, 2013
|
* Now includes a Profile Editor tab.
** Choosing the game's version can only be done by double clicking your profile and changing the version in the drop down list.
* Changes to the Version Selector area.
|-
| {{text anchor|0.8.3}}
| June 7, 2013
|
* Unknown
|-
| {{text anchor|0.8.2}}
| May 27, 2013
|
* Unknown
|-
| {{text anchor|0.8.1}}
| May 21, 2013
|
* Client window now uses [[Crafting Table]] icon for main window when a snapshot build is selected; Launcher window still uses [[Grass Block]] icon
** Selecting release builds on Windows currently uses the basic Java icon
|-
| {{text anchor|0.8}}
| May 20, 2013
|
* Unknown
|-
| {{text anchor|0.7.2}}
| May 15, 2013
|
* Unknown
|-
| 0.7
| May 13, 2013
|
* Launcher downgraded to 0.7
|-
| {{text anchor|0.7.1}}
| May 4, 2013
|
* Unknown
|-
| {{text anchor|0.7}}
| May 2, 2013
|
* Unknown
|-
| {{text anchor|0.6}}
| April 25, 2013
|
* Unknown
|-
| {{text anchor|0.5}}
| April 23, 2013
|
* Added 1.5.1 to the list of available versions in the launcher
|-
| {{text anchor|0.4}}
| April 23, 2013
|
* Re-enabled crash reporting
|-
| {{text anchor|0.3}}
| April 22, 2013
|
* Added ''Local Version Editor (NYI)'' tab to the launcher
* Added window to check server status
* Small bug fixes
|-
| {{text anchor|0.2}}
| April 19, 2013
|
* Added ''Development Console'' tab to the launcher
* Fixed starting game trouble
|-
| {{text anchor|0.1}}
| April 18, 2013
|
* [[.minecraft]] directory structure is changed:
** "assets" folder; stores resources such as language packs and sounds.
*** All [[Music Discs|music discs]] now use .ogg format instead of .mus format.
** "library" folder; stores Java libraries such as LWJGL and jinput.jar.
** "versions" folder; there are file "versions.json" (meta data) and folders that stores [[minecraft.jar]] for each versions (but its name is same as its version. e.g. for 13w16a, "versions/13w16a/13w16a.jar").
* The launcher is an executable.
|}


== Gallery ==
== Gallery ==
Linia 862: Linia 149:
[[ru:Лаунчер]]
[[ru:Лаунчер]]
[[zh:启动器]]
[[zh:启动器]]
= Funkcje =
{{exclusive|java}}
'''Functions''' allow players to run lists of [[commands]] using text files with the extension <code>.mcfunction</code>. It is recommended to use UTF-8 (without BOM) encoding on function files to prevent any problems.
== Usage ==
To utilize functions, the text files must first be placed into a top-level folder within <code>[[.minecraft]]/saves/[WORLD_NAME]/data/functions</code>. The name of this top-level folder will be the namespace used when running functions inside this folder. Functions can also be placed into subfolders within the folder.
For example, running the function <code>custom:example/test</code> will refer to the file located at <code>functions/custom/example/test.mcfunction</code>. If the namespace is left out when trying to call a function, it will default to the <code>minecraft:</code> namespace. Using a custom namespace is recommended in order to prevent unintended behavior in the case of future additions to the default namespace.<ref>{{tweet|dinnerbone|877427768715341824|Until vanilla adds something with the same name, then it won't work for you! Or if someone else has to work with your stuff, then confusing!|June 21, 2017}}</ref>
Functions, being text files, are easily modifiable and less likely than [[command block]]s to induce lag when used in large quantities. If a function is modified or added, using the {{cmd|reload}} command will reload the function files from disk. This allows ''Minecraft'' to recognize any changes to the function files, without the need to quit and re-enter the world.
Upon successfully running a function, a message will display in the [[chat]]: ''Executed [amount] command(s) from function '[function file directory]'''. The successful output of the commands inside a function cannot be measured with a [[comparator]] (although the same effect could be accomplished with the use of {{cmd|stats}} and {{cmd|scoreboard}} commands).
=== Function syntax ===
[[File:TestingFunctions.png|thumb|right|250px|Testing the function system. Three {{cmd|tellraw}} messages and one {{cmd|give}} command were used in this simple function.]]
Within the <code>.mcfunction</code> file, one valid command is placed per line, without the usual forward slash (<code>/</code>). Players can add comments within the function text file by preceding them with a <code>#</code>.
Individual commands in functions can be longer than the 32 500 character limit in command blocks but the total number of commands run inside a function will still obey {{cmd|gamerule maxCommandChainLength}}, which is 65 536 commands by default; any commands beyond this limit will be ignored.
=== Running a function ===
Functions will run all of their commands in a single [[tick]] and functions called from within other functions will also run their commands in the same tick as their parent.
Position changes that happen within a function will not affect the [[Commands#Tilde_notation|relative coordinates]] used in other commands within that function (or within its child functions) until the next iteration, regardless of the order of commands. The {{cmd|execute}} command circumvents this.
For example:
tp @s ~ ~5 ~
setblock ~ ~-1 ~ emerald_block
execute @s ~ ~ ~ setblock ~ ~-1 ~ diamond_block
When called through a player this function will teleport that player 5 blocks up, place an [[emerald block]] one block below their original position ''before'' the teleport, and place a [[diamond block]] one block below their new position ''after'' the teleport. This behavior does not affect position arguments within selectors, which will always test for the current position at the time of execution.
There are several methods of running a function file in-game:
==== Commands ====
;{{cmd|function}}
* Allows players to run a function once.
* The commands in the function are run through the [[entity]] or command block that ran the {{cmd|function}} command.
* The optional arguments <code>if</code> and <code>unless</code> will make the function only run when the <code>selector</code> was found or not found in the world respectively.
* Usage: {{cmd|function|...}}
;{{cmd|gamerule|gameLoopFunction}}
* Runs a function every tick.
* The commands in the function are run through the server.
** The coordinates from which the "server" executes commands are (0, 0, 0).
* If multiple functions need to be looped, it is possible to insert function commands into this looped function file, put function commands in those functions, etc.
* Usage: <code>/gamerule gameLoopFunction <''namespace:path/to/function/file''></code>
==== Advancements ====
[[Advancements]] can run a function once as a reward for completing them. The commands in the function are run through the player who completed the advancement.
Reward functions are called within advancement [[JSON]] files using the following format:
{
    "rewards": {
        "function": "namespace:path/to/function/file"
    }
}
== History ==
{{History|release}}
{{History||1.12|snap=pre1|Added functions.}}
{{History|||snap=pre3|Commands are no longer allowed to begin with a / (forward slash)|Comments can now only be preceded with #; using // is no longer allowed}}
{{History|||snap=pre4|Added new arguments to the {{cmd|function}} command: <code>[if{{!}}unless] [selector]</code>}}
{{History|||snap=pre6|Skipped functions (when a conditional fails) are now considered failures when used in commands.}}
{{History|foot}}
== Issues ==
{{Issue list}}
== References ==
{{reflist}}
{{Minecraft}}
[[de:Funktion]]
[[fr:Fonctions]]
[[ja:関数]]
[[ru:Функция]]
[[zh:函数]]

Wersja z 09:23, 11 sie 2017

Artykuł w budowie!
Trwa budowa strony Vatharannen/brudnopis. Jeśli chcesz, możesz pomóc przy jej tworzeniu.


Jesteś teraz na stronie brudnopisu użytkownika VaderVCD. Możesz przejrzeć moje zapiski.

Jeśli ta strona jest pusta, to znaczy, że aktualnie nie pracuję nad większą edycją/nową stroną.

Minecraft Launcher

Vatharannen

The Minecraft launcher is the login and downloader front-end to the stand-alone client. It is responsible for downloading the main Java packages, including minecraft.jar, which holds the code and resources of the game such as textures, and LWJGL. It also acts somewhat like a basic and easily bypassable copy-restriction by forcing the user to login to a paid account when running for the first time. It is possible to use the launcher to run versions of Minecraft from nearly any era, however some versions are still not included on the launcher, such as Indev, Minecraft 2.0 and any of the Beta 1.9 pre-releases. The current launcher is the sixth launcher for Minecraft, and the second that was built to automatically update itself.

Launch

Plik:2016LauncherLogin.png
The login screen for launchers without previously logged-in users.

Every time the launcher is executed, it checks a specific directory where Minecraft stores its files called .minecraft. It checks a file called "launcher_profiles.json" for login credentials. If the file does not exist, is corrupt, or no user is logged in, the user must login with a valid premium account, otherwise the user will be directed to play the Demo version or purchase the game.

When logging in, the launcher will first try to verify the login. If a valid "launcher_profiles.json" file exists but there is no Internet connection, the launcher will offer a "Play offline" mode if a player was logged in when it was last closed. If the connection is successful, the launcher will then, depending on profile options, compare the latest version in the latest "versions" directory to the latest version reported by the server. If the selected version does not exist or the latest installed version is outdated when "Use latest version" is selected in the profile, the launcher will download all Minecraft components and Java binary files. It will also synchronize everything in the Assets folder (see Resource pack).

Finally, upon a successful update or installation, the launcher will execute the Minecraft jar (via "javaw.exe", Oracle's Java Virtual Machine executable.) It is possible however for there to be missing ".jar" files, in which case the launcher will attempt to replace the missing files automatically but will stop if there is no connection.

Currently, the Minecraft launcher supports 57 languages.

Features

Launcher

  • Manage multiple profiles (stored in "launcher_profiles.json"). Each profile can control:
    • Game version. Includes access to outdated development builds and previous releases. You can also add older/custom versions manually.[1]
    • Mojang account used to play the game
    • Command line arguments for Java (such as heap size)
    • Game Directory (where the game files are saved on disk)
    • Edit profile pictures or custom made ones
  • The launcher doesn't store your password locally. Instead of this, it uses a 'refresh token'
  • The launcher supports multiple instances (as the game also does)
  • Automatic updates for launcher
  • Ability to update libraries, such as LWJGL
  • Offline mode. (The first time launch requires an Internet connection to download required resources)
  • 57 Languages avaliable
  • Crashes can be reported to Mojang, through Hopper
  • Crashes are indexed through a database for information on how to fix the issue
  • Launcher Settings
  • Switching Accounts or logging off
  • Changing Skins
  • Downloads servers on versions
  • Help button
  • Shows you the launcher version information when you click the launcher version

Time Machine

Plik:HowtoOldVersion2016.png
A profile with Alpha and Beta versions enabled

The Minecraft launcher has the ability to play old Alpha and Beta versions of the game. Currently, snapshots, Alpha, Beta, and all Release versions are available to play. Four Pre-classic versions, four Classic versions, and an Infdev version are already added under the names "old-alpha version".[2] However, Indev is still missing.

Progress *note: as of 1.10.2

To enable the old versions either click the "Launch Options" then turn the "Historical Versions" on then open your profile or make a new one, next select any of Alpha/Beta versions on the Version box then click "Save" button.

However, these versions are very out of date and may be unstable. Any bugs, glitches, missing features, or crashes that result from instability will never be resolved as only later versions are supported. Mojang strongly recommends that you play them in separate directories than your other saves to avoid corruption.[3]

Skins

Plik:ChangingSkinLauncher.png
Skin options in the launcher

You can change or add your custom skin within the Minecraft Launcher. To change or add your skin click the "Skins" button, then click the "Browse" button to navigate through your file system for your skin file. The file must have a resolution of 64×64 in order for the launcher to accept it as a skin file. Additionally, the skin file must be in a .png format. After you have found the skin file, click the "Save" button to confirm your in-game skin.

  • You can reset your skin to the Steve or Alex defaults by clicking "Click to reset".
  • You can choose between player models - either Classic (Steve) or Slim (Alex).

Profiles

When you open the launcher for first time, it creates a profile that selects the latest version of Minecraft - it cannot be removed.

However, you may create a game profile of your own in the launcher. Click on the "Launch Options" button, then click "Add New" to create one. After this, name your profile as you want it. If you leave it, it will be named "Unnamed Configuration". Then, optionally, select a profile picture from the launcher or a custom one. However, it must be a 128×128 .png picture. Select the version you wish to play, and click "Save" to confirm your profile. If you want to edit a profile, just click it. The same applies if you wish to delete a profile. Simply click the profile you want to delete and then click the "Delete [X]" button to remove it.

  • Plik:2016LauncherProfileSettings.png
    Profile settings in the launcher
    You can download server versions by clicking "Download Server".
  • If you want to resize the game, turn "Resolution" on to change the game window size.
  • You can turn "Advanced Settings" on to show more profile options.
  • If you want to change the .minecraft file path, turn the on the "Game directory" option. Now, navigate to the folder where you wish to relocate the .minecraft folder. You can also open the Minecraft profile by clicking the green arrow-shaped "Go to folder" button.
  • If you turned "Snapshot Versions" on, it creates a "Latest Snapshot" profile automatically.
  • You can manually set a logging configuration (see the Debugging article on wiki.vg for more info)

Command Line usage

MinecraftDev.jar (all systems): java -cp Minecraft.jar net.minecraft.bootstrap.Bootstrap <username> <server:port>.

Beginning with the launcher released with Minecraft 1.6.1, there are other commands for the launcher. These can be seen by running java -jar Minecraft.jar -help.

The new (2.0) launcher has a command-line parameter to change the working directory from .minecraft to any directory of the user's choice: Minecraft_staging.exe --workDir "D:\Users\Administrator\AppData\Roaming\.minecraft". This is especially helpful for users who would like to keep their .minecraft folder off a certain drive, for example, their solid-state drive. The --workDir parameter is available for Windows, Linux, and macOS.

History

Alpha
1.0.0Initial release. In this version users can choose not only the current version but also Infdev.
The client requires an internet connection on the first run and for updates, but after that the game supports playing offline.
Command line arguments are accepted to launch the game. Using the format java -cp Minecraft.jar net.minecraft.LauncherFrame username password will allow login without joining a server, while the format java -cp minecraft.jar net.minecraft.LauncherFrame username password serveraddress:portnumber allows joining a server.
1.2.2Command line arguments format changed.
Beta
1.3Released in February 21, 2011.[5] A technical sneak preview was published by Notch on February 18, 2011.[6]Added capability of automatic login to the game and/or server by command line arguments.
Added smarter update system that only updates changed files, prompts the user to update, allows HTTPS logins for a more secure connection, and offers general UI improvements.
Link to the Minecraft install directory for easy access.
Add Force Update button under the Options dialog.
The launcher also featured an inline "changelog" via a Tumblr called MCUpdate, and supports command-line arguments.[4]
Added the new Minecraft logo.
Added official links, community links and Mojang on Twitter links.
Pełna wersja
1.2.1Properly selects 64-bit Java installations for Mac OS X users.[7]
1.3.2Added ability to launch demo mode for non-premium users.
1.6.113w16aNew launcher added. See launcher history below.

Gallery

Trivia

Plik:Launcher Creeper face.pngPlik:Launcher Creeper face.png
  • In the top left corner a barely visible button can be found which randomly shows either a Creeper face or a shrug meme ¯\_(ツ)_/¯. It glows white when clicked, but has no use at all
    • The Creeper face as well as the meme were used for the language selection menu during the beta phase of the launcher, but when a globe was added instead both were simply moved downwards to be kept as an Easter egg
  • If you stay long enough on the "Play" button, random mobs will appear on the right side of the window.

References

Przypisy

Poniżej znajduje się lista przypisów na tej stronie.

See also

Funkcje

Szablon:Exclusive

Functions allow players to run lists of commands using text files with the extension .mcfunction. It is recommended to use UTF-8 (without BOM) encoding on function files to prevent any problems.

Usage

To utilize functions, the text files must first be placed into a top-level folder within .minecraft/saves/[WORLD_NAME]/data/functions. The name of this top-level folder will be the namespace used when running functions inside this folder. Functions can also be placed into subfolders within the folder.

For example, running the function custom:example/test will refer to the file located at functions/custom/example/test.mcfunction. If the namespace is left out when trying to call a function, it will default to the minecraft: namespace. Using a custom namespace is recommended in order to prevent unintended behavior in the case of future additions to the default namespace.[1]

Functions, being text files, are easily modifiable and less likely than command blocks to induce lag when used in large quantities. If a function is modified or added, using the /reload command will reload the function files from disk. This allows Minecraft to recognize any changes to the function files, without the need to quit and re-enter the world.

Upon successfully running a function, a message will display in the chat: Executed [amount] command(s) from function '[function file directory]'. The successful output of the commands inside a function cannot be measured with a comparator (although the same effect could be accomplished with the use of /stats and /scoreboard commands).

Function syntax

Testing the function system. Three /tellraw messages and one /give command were used in this simple function.

Within the .mcfunction file, one valid command is placed per line, without the usual forward slash (/). Players can add comments within the function text file by preceding them with a #.

Individual commands in functions can be longer than the 32 500 character limit in command blocks but the total number of commands run inside a function will still obey /gamerule maxCommandChainLength, which is 65 536 commands by default; any commands beyond this limit will be ignored.

Running a function

Functions will run all of their commands in a single tick and functions called from within other functions will also run their commands in the same tick as their parent.

Position changes that happen within a function will not affect the relative coordinates used in other commands within that function (or within its child functions) until the next iteration, regardless of the order of commands. The /execute command circumvents this.

For example:

tp @s ~ ~5 ~
setblock ~ ~-1 ~ emerald_block
execute @s ~ ~ ~ setblock ~ ~-1 ~ diamond_block

When called through a player this function will teleport that player 5 blocks up, place an emerald block one block below their original position before the teleport, and place a diamond block one block below their new position after the teleport. This behavior does not affect position arguments within selectors, which will always test for the current position at the time of execution.

There are several methods of running a function file in-game:

Commands

/function
  • Allows players to run a function once.
  • The commands in the function are run through the entity or command block that ran the /function command.
  • The optional arguments if and unless will make the function only run when the selector was found or not found in the world respectively.
  • Usage: /function
/gamerule gameLoopFunction
  • Runs a function every tick.
  • The commands in the function are run through the server.
    • The coordinates from which the "server" executes commands are (0, 0, 0).
  • If multiple functions need to be looped, it is possible to insert function commands into this looped function file, put function commands in those functions, etc.
  • Usage: /gamerule gameLoopFunction <namespace:path/to/function/file>

Advancements

Advancements can run a function once as a reward for completing them. The commands in the function are run through the player who completed the advancement.

Reward functions are called within advancement JSON files using the following format:

{
    "rewards": {
        "function": "namespace:path/to/function/file"
    }
}

History

Pełna wersja
1.12pre1Added functions.
pre3Commands are no longer allowed to begin with a / (forward slash)
Comments can now only be preceded with #; using // is no longer allowed
pre4Added new arguments to the /function command: [if|unless] [selector]
pre6Skipped functions (when a conditional fails) are now considered failures when used in commands.

Issues

Szablon:Issue list

References

Przypisy

Poniżej znajduje się lista przypisów na tej stronie.