User Tools

Site Tools


ru:tutorial:items_docs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ru:tutorial:items_docs [2021/05/08 20:34] – created magicsweetru: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)
 </code> </code>
-''recipeRemainder''Item to return as a remainder when the base Item is used in a crafting recipe.+''recipeRemainder''Предмет, возвращаемый в качестве остатка, когда базовый предмет используется в рецепте крафта.
  
-When a recipe remainder is set on an Itemany recipe using that Item will return the remainder on craftThis is used for buckets (WaterLavaMilkand bottles (Dragon BreathHoneyreturning their respective empty items when used in recipes.+Когда для предмета задан остаток рецепталюбой рецепт, использующий этот предмет, вернет остаток при крафтеЭто используется для ведер (ВодаЛаваМолокои бутылок (Дыхание ДраконаМед), возвращающих соответствующие пустые предметы при использовании в рецептах.
  
 ---- ----
  
-==== Group ====+==== Группы ====
 <code java> <code java>
 public Item.Settings group(ItemGroup group) public Item.Settings group(ItemGroup group)
Line 74: Line 74:
 ''group'' - ItemGroup to add Item in. ''group'' - ItemGroup to add Item in.
  
-Each ItemGroup appears as a tab in the creative inventoryAdding an Item to this group will add it to the tabThe order of the group is based on registry orderFor more information on creating a groupsee the [[tutorial:itemgroup|ItemGroups page]].+Каждая группа предметов отображается в виде вкладки в инвентаре креативаДобавление предмета в эту группу приведет к его добавлению на вкладкуПорядок группы основан на порядке регистрацииДля получения дополнительной информации о создании группысмотрите [[ru:tutorial:itemgroup|страницу создания групп предметов]].
  
 ---- ----
  
-==== Rarity ====+==== Редкость ====
 <code java> <code java>
 public Item.Settings rarity(Rarity rarity) public Item.Settings rarity(Rarity rarity)
 </code> </code>
-''rarity''Rarity of the given Item.+''rarity''Редкость предмета
  
-If Rarity is setthe given Item will have a custom name colorAn Item's Rarity defaults to common+Если задан Rarity, данный элемент будет иметь пользовательский цвет имениРедкость предмета по умолчанию равна обычной. 
-Rarity Color + 
-| 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()
 </code> </code>
  
-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