The Java Edition of Minecraft contains a lot of debugging features, and we mean a lot.
- 1 Debug Text
- 2 World Type
- 3 Key Combinations
- 3.1 Performance Key Combinations
- 3.2 Command Key Combinations
Debug Text
In the language files for the game, lines 221 and 3296 to 3320 contain some debug-related strings. They are indeed used by the debugging options shown below.
generator.debug_all_block_states=Debug Mode
debug.prefix=[Debug]: debug.reload_chunks.help=F3 + A = Reload chunks debug.show_hitboxes.help=F3 + B = Show hitboxes debug.clear_chat.help=F3 + D = Clear chat debug.cycle_renderdistance.help=F3 + F = Cycle render distance (Shift to invert) debug.chunk_boundaries.help=F3 + G = Show chunk boundaries debug.advanced_tooltips.help=F3 + H = Advanced tooltips debug.creative_spectator.help=F3 + N = Cycle creative spectator debug.pause_focus.help=F3 + P = Pause on lost focus debug.help.help=F3 + Q = Show this list debug.reload_resourcepacks.help=F3 + T = Reload resource packs debug.reload_chunks.message=Reloading all chunks debug.show_hitboxes.on=Hitboxes: shown debug.show_hitboxes.off=Hitboxes: hidden debug.cycle_renderdistance.message=Render Distance: %s debug.chunk_boundaries.on=Chunk borders: shown debug.chunk_boundaries.off=Chunk borders: hidden debug.advanced_tooltips.on=Advanced tooltips: shown debug.advanced_tooltips.off=Advanced tooltips: hidden debug.creative_spectator.error=Unable to switch gamemode, no permission debug.pause_focus.on=Pause on lost focus: enabled debug.pause_focus.off=Pause on lost focus: disabled debug.help.message=Key bindings: debug.reload_resourcepacks.message=Reloaded resource packs
World Type
Я делал концепт НОВЫХ биомов и получилось это….|NEVER
The debug world selected as the world type.
The debug world in-game.
Introduced in snapshot 14w26a, holding Alt while selecting a world type will grant access to a hidden world type called «Debug Mode» after scrolling through the standard world types. Doing this will hide the other world options.
This world type only consists of all blocks in the game separated by 1-block gaps. Upon starting the world, you will be forced into Spectator Mode where you cannot interact with the world in any way. If you get into Creative Mode and try to break anything, it will instantly respawn. If you do anything that causes a floating block to update (such as stepping on a pressure plate), many copies of that item will be dropped due to the item being recreated rapidly, and as a result the game may freeze.
Key Combinations
- Find out what else is shown on the debugging overlay.
- Get some screenshots.
- Document the revisions the debugging overlay itself had gotten.
DEBUG ЧТО ЭТО И КАК ДЕБАЖИТЬ НА РЕАЛЬНЫХ ПРИМЕРАХ в JAVA | АВТОМАТИЗАЦИЯ НА ПАЛЬЦАХ
Pressing F3 in-game brings up a debugging overlay that displays various debugging text, including:
- The version of Minecraft you are playing (as well as the client type, which defaults to vanilla if you’re playing an unmodded version of the game).
- Framerate.
- The number of chunk updates.
- Your max framerate.
- Whether you’re using Fancy graphics or Fast graphics.
- Your render distance.
- Your current coordinates.
- The coordinates of the block you are currently looking at.
- The coordinates of the chunk you are currently in.
- The direction you are facing (north, east, etc.)
- The biome you are currently in.
- Current light level.
- Current difficulty level (easy being 0.76, medium being 1.54, hard being 2.33).
- Number of days gone by.
Performance Key Combinations
Holding Shift and pressing F3 in-game to open the debugging overlay shows a pie chart of what is using the most resources, and each of the things listed are all color coded separate colors. Doing the same thing but except holding Alt instead of Shift brings up an alternate way of seeing framerates.
Command Key Combinations
F3 + A | Reloads the currently visible chunks in-game. | |
F3 + B | Toggles the ability to see entity hitboxes (including players). | ![]() |
F3 + C | Manually crashes the game with the reason of «Manually triggered debug crash». You may need to hold it for a few seconds and then release to trigger it. | |
F3 + D | Clears the chat. | |
F3 + F | Cycles between the render distances. | |
F3 + G | Shows the chunk borders. | ![]() |
F3 + H | Toggles the ability to see more specific tool tips (displays their item ID and the damage value to obtain the item). | ![]() |
F3 + N | Switches between Creative Mode and Spectator Mode. | |
F3 + P | Toggles the function to pause the game when the game loses focus. | |
F3 + Q | Displays a list of most of the key combinations that can be used. | ![]() |
F3 + T | Reloads the currently used resource packs. |
Debug Stick
Источник: tcrf.net
Minecraft debug что это
Запускает или останавливает сеанс отладки. Пока он активен, включает уведомления о потенциальных узких местах производительности в консоли. При остановке создает файл результатов профилировщика в папке «отладка».
- 1 Синтаксис
- 2 Аргументы
- 3 Результат
- 4 Выход
- 5 Файловая структура
- 5.1 Функциональная трассировка
- 5.2 Результат профиля
- 5.3 Отчет
Синтаксис [ ]
Запускает новый сеанс профилировщика времени отладки.
Останавливает активный сеанс профилировщика времени отладки.
Используется так же, как / function для получения более подробной информации о выполнении команд.
Аргументы [ ]
Это должно быть расположение ресурса , которое относится к одной функции, или одно с префиксом a # , которое относится к тегу функции .
Результат [ ]
/debug start | сеанс профилирования отладки уже запущен | Не смогли |
/debug stop | сеанс профилирования отладки не запущен. | |
/debug function | указанные функции или теги функций не существуют | |
любой | При успехе | Запускает / останавливает профилирование отладки или получает более подробную информацию о выполнении функции. |
Выход [ ]
любой | Версия Java | В случае неудачи | N / A | 0 | 0 |
/debug start | При успехе | N / A | 1 | 0 | |
/debug stop | При успехе | N / A | 1 | средний tps (тиков в секунду) во время профилирования отладки | |
/debug function | При успехе | N / A | 1 | количество выполненных команд (успешно или нет) плюс количество встроенных функций. См. Также Команды / функция |
Файловая структура [ ]
Трассировка функции [ ]
При использовании /debug report текстовый файл с названием debug-trace-yyyy-MM-dd_HH.mm.ss.txt создается в .minecraft / отладка .
- [C] означает, что выполняется.
- [M] означает, что сообщение возвращено.
- [E] означает, что возвращается сообщение об ошибке.
- [R = ] означает, что возвращается бригадное возвращаемое значение .
- [C] ->означает, что выполняется и возвращает возвращаемое значение бригадира .
- [F] size= означает, что функция вызывается.
Для большинства команд возвращаемое значение brigadier равно значению результата, с которым можно сохранить /execute store result .
Но /execute . с одним или несколько из следующих подкоманд , то возвращение бригадира значения является количеством раз , что последняя субкоманда успешно выполняются:
- . if . (не в конце)
- . unlesss . (не в конце)
- . as .
- . at .
- . positioned as .
- . totated as .
- . facing entity .
Результат профиля [ ]
В этом разделе описывается контент, который существует только в устаревших версиях Minecraft .
Раньше эта функция была в игре, но с тех пор была удалена.
При использовании /debug stop текстовый файл с названием profile-results-yyyy-MM-dd_HH.mm.ss.txt создается в .minecraft / отладка , который включает результат дампа профиля.
Сообщить [ ]
В этом разделе описывается контент, который существует только в устаревших версиях Minecraft .
Раньше эта функция была в игре, но с тех пор была удалена.
При использовании /debug report ZIP-файл создается с .minecraft / отладка следующая структура:
- debug-report-yyyy-MM-dd_HH.mm.ss.zip
- уровни
- minecraft или
- OverWorld или the_end или the_nether или
- block_entities.csv : содержит список блочных сущностей в мире в формате x,y,z,type .
- chunks.csv : содержит список информации о фрагментах в формате x,z,level,in_memory,status,full_status,accessible_ready,ticking_ready,entity_ticking_ready,ticket,spawning,entity_count,block_entity_count .
- entity.csv : содержит список сущностей мира в формате x,y,z,uuid,type,alive,custom_name .
- example_crash.txt : пример файла сбоя.
- stats.txt : содержит некоторую статистику.
История [ ]
Добавлен /debug . |
/debug теперь можно запускать в одиночной игре. |
Добавлен /debug . |
Удалено /debug . |
Добавлены команды в профилировщик. |
Добавлен /debug report , используется для получения более подробной информации при отладке производительности. |
Добавлен /debug function |
Удалено /debug report . Заменено на F3 + L и /perf . |
Источник: minecraftpages.wiki
[Guides] Debug mod — Новый мир!
И так, в последнем снапшоте [14w27b] добавился новый мир, под названием «Debug mod» что переводиться «Отладочный мод». В нём есть блоки всех типов, и находятся в разных состояниях. Этот мир пригодиться для создателей Ресурс паков, ну или кто ищет себе хороший текстур пак.
Ну как же получить этот Debug mod ?
► Заходим в последний снапшот [14w27b].
► Создаём новый мир.
► Жмём кнопку [More World Options. ] или [Дополнительные параметры мира . ]
► Далее, зажимаем кнопку [Shift] и жмём в игре на кнопку [World Type:] или же [Тип мира:], 5 раз!
► Дальше жмём [Create new world], либо [Создать новый мир]
► Готово!
P.S Если хотите видеть себя, просто введите [/gamemode 1]. Если упасть вниз [В /gamemode 1] и нажать на среднею кнопку мыши, то у вас в руках будет блок [Barrier]
Источник: ru-minecraft.ru