ru:tutorial:items_docs
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ru:tutorial:items_docs [2021/05/08 20:34] – created magicsweet | ru:tutorial:items_docs [2022/02/17 08:41] (current) – furnygo | ||
---|---|---|---|
Line 62: | Line 62: | ||
public Item.Settings recipeRemainder(Item recipeRemainder) | public Item.Settings recipeRemainder(Item recipeRemainder) | ||
</ | </ | ||
- | '' | + | '' |
- | When a recipe remainder is set on an Item, any recipe using that Item will return the remainder on craft. This is used for buckets | + | Когда для предмета задан остаток рецепта, любой рецепт, |
---- | ---- | ||
- | ==== Group ==== | + | ==== Группы |
<code java> | <code java> | ||
public Item.Settings group(ItemGroup group) | public Item.Settings group(ItemGroup group) | ||
Line 74: | Line 74: | ||
'' | '' | ||
- | Each ItemGroup appears as a tab in the creative inventory. Adding an Item to this group will add it to the tab. The order of the group is based on registry order. For more information on creating a group, see the [[tutorial: | + | Каждая группа предметов отображается в виде вкладки в инвентаре креатива. Добавление предмета в эту группу приведет к его добавлению на вкладку. Порядок группы основан на порядке регистрации. Для получения дополнительной информации о создании группы, смотрите |
---- | ---- | ||
- | ==== Rarity | + | ==== Редкость |
<code java> | <code java> | ||
public Item.Settings rarity(Rarity rarity) | public Item.Settings rarity(Rarity rarity) | ||
</ | </ | ||
- | '' | + | '' |
- | If Rarity | + | Если задан |
- | ^ Rarity | + | |
- | | Common | White | | + | ^ Редкость |
- | | Uncommon | Yellow | + | | Common(обычный) |
- | | Rare | Aqua | | + | | Uncommon(необычный) |
- | | Epic | Light Purple | + | | Rare(редкий) |
+ | | Epic(эпический) | ||
---- | ---- | ||
- | ==== Fireproof | + | ==== Огнеупорность |
<code java> | <code java> | ||
public Item.Settings fireproof() | public Item.Settings fireproof() | ||
</ | </ | ||
- | Marks the item as being fireproof, and protects the item entity that contains the item from fire and lava. | + | Помечает предмет как огнеупорный и защищает энтити предмета от огня и лавы. |
ru/tutorial/items_docs.1620506041.txt.gz · Last modified: 2021/05/08 20:34 by magicsweet