搬运一批Bedrock wiki内容,完善翻译
This commit is contained in:
289
docs/wiki/concepts/emojis.md
Normal file
289
docs/wiki/concepts/emojis.md
Normal file
@@ -0,0 +1,289 @@
|
||||
---
|
||||
title: Emojis & Symbols
|
||||
mentions:
|
||||
- SirLich
|
||||
- Joelant05
|
||||
- sovledDev
|
||||
- stirante
|
||||
- Dreamedc2015
|
||||
- MedicalJewel105
|
||||
- JaylyDev
|
||||
- RealBashy21
|
||||
- ColinTimBarndt
|
||||
- Citicx
|
||||
- TheItsNameless
|
||||
- ThomasOrs
|
||||
---
|
||||
|
||||
:::warning
|
||||
Modifying texture of vanilla emojis and symbols on this page are incompatible with Nintendo Switch platform!
|
||||
:::
|
||||
|
||||
Minecraft has a bunch of hard-coded [Private Use Unicode symbols](https://en.wikipedia.org/wiki/Private_Use_Areas) that it automatically converts to Emoji-like symbols.
|
||||
These can be used anywhere where normal letters can - signs, books, item names, chat, etc.
|
||||
|
||||
Below you can find platform specific Emoji's, as well as general symbols. Copy/paste the "box" character under the Letter colum directly into Minecraft.
|
||||
|
||||
There will be instructions for creating custom emoji at the bottom.
|
||||
|
||||
### HUD
|
||||
|
||||
| Name | Letter (Copy/Paste This) | Unicode | Image |
|
||||
| ----------------- | ------------------------ | ------- | ------------------------------------------------- |
|
||||
| Food | | U+E100 |  |
|
||||
| Armor | | U+E101 |  |
|
||||
| Heart | | U+E10C |  |
|
||||
|
||||
|
||||
### Items & Blocks
|
||||
|
||||
| Name | Letter (Copy/Paste This) | Unicode | Image |
|
||||
| -------------- | ------------------------ | ------- | ------------------------------------------------------------ |
|
||||
| Wooden Pickaxe | | U+E108 |  |
|
||||
| Wooden Sword | | U+E109 |  |
|
||||
| Crafting Table | | U+E10A |  |
|
||||
| Furnace | | U+E10B |  |
|
||||
|
||||
|
||||
### Marketplace
|
||||
|
||||
| Name | Letter (Copy/Paste This) | Unicode | Image |
|
||||
| ---------------- | ------------------------ | ------- | ------------------------------------------------------------ |
|
||||
| Minecoin | | U+E102 |  |
|
||||
| Token | | U+E105 |  |
|
||||
|
||||
|
||||
### Inventory
|
||||
|
||||
| Name | Letter (Copy/Paste This) | Unicode | Image |
|
||||
| ---------------- | ------------------------ | ------- | ------------------------------------------------------------------ |
|
||||
| Craft Toggle On | | U+E0A0 |  |
|
||||
| Craft Toggle Off | | U+E0A1 |  |
|
||||
|
||||
|
||||
### New Touch
|
||||
|
||||
| Name | Letter (Copy/Paste This) | Unicode | Image |
|
||||
| ----------------- | ------------------------ | ------- | ---------------------------------------------------------- |
|
||||
| Jump | | U+E014 |  |
|
||||
| Attack | | U+E015 |  |
|
||||
| Joy Stick | | U+E016 |  |
|
||||
| Place | | U+E018 |  |
|
||||
| Sneak | | U+E019 |  |
|
||||
| Sprint | | U+E01A |  |
|
||||
| Fly Up | | U+E01B |  |
|
||||
| Fly Down | | U+E01C |  |
|
||||
| Dismount | | U+E01D |  |
|
||||
|
||||
|
||||
### Touch
|
||||
|
||||
| Name | Letter (Copy/Paste This) | Unicode | Image |
|
||||
| ----------------- | ------------------------ | ------- | ------------------------------------------------------------- |
|
||||
| Jump | | U+E084 |  |
|
||||
| Crouch | | U+E085 |  |
|
||||
| Fly Up | | U+E086 |  |
|
||||
| Fly Down | | U+E087 |  |
|
||||
| Stop Flying | | U+E088 |  |
|
||||
| Left Arrow | | U+E081 |  |
|
||||
| Right Arrow | | U+E083 |  |
|
||||
| Up Arrow | | U+E080 |  |
|
||||
| Down Arrow | | U+E082 |  |
|
||||
| Small Jump | | U+E059 |  |
|
||||
| Small Crouch | | U+E05A |  |
|
||||
| Small Fly Up | | U+E05C |  |
|
||||
| Small Fly Down | | U+E05D |  |
|
||||
| Small Left Arrow | | U+E056 |  |
|
||||
| Small Right Arrow | | U+E058 |  |
|
||||
| Small Up Arrow | | U+E055 |  |
|
||||
| Small Down Arrow | | U+E057 |  |
|
||||
| Small Inventory | | U+E05B |  |
|
||||
|
||||
|
||||
### Keyboard & Mouse
|
||||
|
||||
| Name | Letter (Copy/Paste This) | Unicode | Image |
|
||||
| ------------------ | ------------------------ | ------- | ------------------------------------------------------------------- |
|
||||
| Left Click | | U+E060 |  |
|
||||
| Right Click | | U+E061 |  |
|
||||
| Middle Click | | U+E062 |  |
|
||||
| Small Left Click | | U+E070 |  |
|
||||
| Small Right Click | | U+E071 |  |
|
||||
| Small Middle Click | | U+E072 |  |
|
||||
| Small Mouse | | U+E073 |  |
|
||||
|
||||
|
||||
### Xbox
|
||||
|
||||
| Name | Letter (Copy/Paste This) | Unicode | Image |
|
||||
| ------------------ | ------------------------ | ------- | ---------------------------------------------------------- |
|
||||
| Y | | U+E003 |  |
|
||||
| B | | U+E001 |  |
|
||||
| A | | U+E000 |  |
|
||||
| X | | U+E002 |  |
|
||||
| Back | | U+E008 |  |
|
||||
| Start | | U+E009 |  |
|
||||
| LB (Left Bumper) | | U+E004 |  |
|
||||
| RB (Right Bumper) | | U+E005 |  |
|
||||
| LT (Left Trigger) | | U+E006 |  |
|
||||
| RT (Right Trigger) | | U+E007 |  |
|
||||
| LS (Left Stick) | | U+E00A |  |
|
||||
| RS (Right Stick) | | U+E00B |  |
|
||||
| D-pad Up | | U+E00C |  |
|
||||
| D-pad Right | | U+E00F |  |
|
||||
| D-pad Down | | U+E00E |  |
|
||||
| D-pad Left | | U+E00D |  |
|
||||
|
||||
|
||||
### Nintendo Switch
|
||||
|
||||
| Name | Letter (Copy/Paste This) | Unicode | Image |
|
||||
| ------------------ | ------------------------ | ------- | ------------------------------------------------------------ |
|
||||
| X | | U+E042 |  |
|
||||
| A | | U+E040 |  |
|
||||
| B | | U+E041 |  |
|
||||
| Y | | U+E043 |  |
|
||||
| + | | U+E049 |  |
|
||||
| - | | U+E048 |  |
|
||||
| L (Left Bumper) | | U+E044 |  |
|
||||
| R (Right Bumper) | | U+E045 |  |
|
||||
| ZL (Left Trigger) | | U+E046 |  |
|
||||
| RL (Right Trigger) | | U+E047 |  |
|
||||
| L (Left Stick) | | U+E04A |  |
|
||||
| R (Right Stick) | | U+E04B |  |
|
||||
| D-pad Up | | U+E04C |  |
|
||||
| D-pad Right | | U+E04F |  |
|
||||
| D-pad Down | | U+E04E |  |
|
||||
| D-pad Left | | U+E04D |  |
|
||||
|
||||
|
||||
### PlayStation (4/5)
|
||||
|
||||
| Name | Letter (Copy/Paste This) | Unicode | Image |
|
||||
| ------------------ | ------------------------ | ------- | ----------------------------------------------------------------- |
|
||||
| Triangle | | U+E023 |  |
|
||||
| Circle | | U+E021 |  |
|
||||
| Cross | | U+E020 |  |
|
||||
| Square | | U+E022 |  |
|
||||
| Options/Share | | U+E029 |  |
|
||||
| Touch Pad | | U+E028 |  |
|
||||
| L1 (Left Bumper) | | U+E024 |  |
|
||||
| R1 (Right Bumper) | | U+E025 |  |
|
||||
| L2 (Left Trigger) | | U+E026 |  |
|
||||
| R2 (Right Trigger) | | U+E027 |  |
|
||||
| L3 (Left Stick) | | U+E02A |  |
|
||||
| R3 (Right Stick) | | U+E02B |  |
|
||||
| D-pad Up | | U+E02C |  |
|
||||
| D-pad Right | | U+E02F |  |
|
||||
| D-pad Down | | U+E02E |  |
|
||||
| D-pad Left | | U+E02D |  |
|
||||
|
||||
|
||||
### Oculus (Rift/Rift S)
|
||||
|
||||
| Name | Letter (Copy/Paste This) | Unicode | Image |
|
||||
| ------------------ | ------------------------ | ------- | ------------------------------------------------------------ |
|
||||
| 0 | | U+E0E0 |  |
|
||||
| B | | U+E0E2 |  |
|
||||
| A | | U+E0E1 |  |
|
||||
| Y | | U+E0EA |  |
|
||||
| X | | U+E0E9 |  |
|
||||
| LG (Left Grip) | | U+E0E3 |  |
|
||||
| RG (Right Grip) | | U+E0E4 |  |
|
||||
| LT (Left Trigger) | | U+E0E7 |  |
|
||||
| RT (Right Trigger) | | U+E0E8 |  |
|
||||
| LS (Left Stick) | | U+E0E5 |  |
|
||||
| RS (Right Stick) | | U+E0E6 |  |
|
||||
|
||||
|
||||
### Windows MR (Mixed Reality)
|
||||
|
||||
| Name | Letter (Copy/Paste This) | Unicode | Image |
|
||||
| ------------------------- | ------------------------ | ------- | --------------------------------------------------------------------------- |
|
||||
| Menu | | U+E0C2 |  |
|
||||
| Windows | | U+E0CD |  |
|
||||
| Left Touchpad | | U+E0C5 |  |
|
||||
| Left Horizontal Touchpad | | U+E0C6 |  |
|
||||
| Left Vertical Touchpad | | U+E0C7 |  |
|
||||
| Right Touchpad | | U+E0C8 |  |
|
||||
| Right Horizontal Touchpad | | U+E0C9 |  |
|
||||
| Right Vertical Touchpad | | U+E0CA |  |
|
||||
| LT (Left Trigger) | | U+E0CB |  |
|
||||
| RT (Right Trigger) | | U+E0CC |  |
|
||||
| LG (Left Grab) | | U+E0C0 |  |
|
||||
| RG (Right Grab) | | U+E0C1 |  |
|
||||
| LS (Left Stick) | | U+E0C3 |  |
|
||||
| RS (Right Stick) | | U+E0C4 |  |
|
||||
|
||||
|
||||
### Other
|
||||
|
||||
| Name | Letter (Copy/Paste This) | Unicode | Image |
|
||||
| ---------------- | ------------------------ | ------- | -------------------------------------------------------------- |
|
||||
| Crosshair | | U+E017 |  |
|
||||
| Agent | | U+E103 |  |
|
||||
| Immersive Reader | | U+E104 |  |
|
||||
| Hollow Star | | U+E106 |  |
|
||||
| Solid Star | | U+E107 |  |
|
||||
|
||||
|
||||
## Custom Emoji
|
||||
|
||||
::: warning
|
||||
This method is not officially supported. Use with caution on the Marketplace!
|
||||
:::
|
||||
|
||||
To make a custom emoji, we use a very similar method to the pre-built emoji, except instead of using the Microsoft sprite-sheets, we overwrite them with our own! Some _character-slots_ are already used up with the emoji above, but there are blank slots we can use.
|
||||
|
||||
Please note that the following files have been annotated with slot information: If you use them directly, existing Emoji will have numbers added on top of them. If you need the original sprite-sheets, you can get them from the Vanilla Resources on your system (not included in the Vanilla Resource Pack downloads).
|
||||
|
||||
To get started, you should download the sprite-sheets, and move them into the fonts folder.
|
||||
|
||||
Two sprite-sheets are provided for each glyph-target: One that accurately reflects vanilla, and a second version which has been annotated with hex information, for easily finding the correct character.
|
||||
|
||||
### RP/font/glyph_E0.png
|
||||
|
||||

|
||||

|
||||
|
||||
### RP/font/glyph_E1.png
|
||||
|
||||

|
||||

|
||||
|
||||
Your filepath should look like this:
|
||||
|
||||
<FolderView
|
||||
:paths="[
|
||||
'RP',
|
||||
'RP/font',
|
||||
'RP/font/glyph_E0.png',
|
||||
'RP/font/glyph_E1.png'
|
||||
]"
|
||||
></FolderView>
|
||||
|
||||
### Finding the correct hex.
|
||||
|
||||
Once you have emojis inside the `glyph_E0.png` or `glyph_E1.png` you need to find your character "code" so it can be converted.
|
||||
|
||||
The first two characters are always `0x`.
|
||||
|
||||
The next two characters are either `E0` or `E1`, depending on which file you added emojis to.
|
||||
|
||||
The next two characters are the position inside the image like `<row><column>`, where each character is a number in hexadecimal numeral system. You can find this number by referencing the images above. For example, the top-right square in `E0` is `0F`, and the bottom right is `FF`.
|
||||
|
||||
So after you are done, it might look like `0xE102` (`0x` + `E1` + `02`).
|
||||
|
||||
Copy this code into the following field, and press <kbd>Convert</kbd>. The symbol on the right-hand side can be copy/pasted into MC.
|
||||
|
||||
<div markdown="0">
|
||||
<form>
|
||||
<input id="hexValue" placeholder="Hex value" style="padding: 1em;margin: 0.5em;border-radius: 0.4rem; border: solid 1px rgb(38, 38, 38); outline: none;color: blue;"/>
|
||||
<input id="result" placeholder="Result" readonly style="padding: 1em;margin: 0.5em;border-radius: 0.4rem; border: solid 1px rgb(38, 38, 38); outline: none;color: blue;"/>
|
||||
<a onclick="document.getElementById('result').value = String.fromCodePoint(parseInt(document.getElementById('hexValue').value, 16))" style="text-decoration: none; color: white; background: rgb(91, 33, 182); padding: 0.5em; border-radius: 0.4em; cursor: pointer;">Convert</a>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
### Glyph Separation Space
|
||||
|
||||
Sometimes, it appears that if you put 2 glyphs near to each other, there will be a couple of empty pixels between them. The only fix for it is to scale the glyph itself.
|
||||
Reference in New Issue
Block a user