Skip to content

Commit

Permalink
#578 Added vehicle skins.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shynixn committed Jun 15, 2024
1 parent f1c2f37 commit fd2d1fd
Show file tree
Hide file tree
Showing 2 changed files with 402 additions and 42 deletions.
42 changes: 0 additions & 42 deletions src/main/resources/gui/petblocks_skins_petskins_menu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,48 +7,6 @@ title: "PetBlocks"
# How often should the GUI refresh its placeholder values and show up-to-date data. The value is in minecraft ticks. (20 ticks = 1 second)
updateIntervalTicks: 10

# All items which are rendered inside the inventory. You need to specify the item you want to display and the position.
# For more complex GUIs, you may want to show different items on the same position depending on a certain condition:
# e.g. pet is spawned, show despawn button
# e.g. pet is not spawned, show spawn button
# You can achieve that using the 'condition' property below.
# If multiple conditions are true for a single position, the last item in the list wins and is being displayed.
# You can use this to specify background items at the beginning of the list below and overwrite it with more important item by specifying them later in the list.
items:
# This is our background item which is the default item.
- row: 1 # Starting row.
col: 1 # Starting column.
rowSpan: 6 # Span all rows
colSpan: 9 # Span all columns.
item:
typeName: "minecraft:black_stained_glass_pane,160" # We add the material name and for legacy compatibility the version id 160. This id not neccessary if you are on a version >= 1.16.5.
durability: 15 # Durability for legacy version compatibility.
displayName: " " # Blank string to show nothing.
- row: 1
col: 5
item:
typeName: "%petblocks_pet_itemType_selected%"
displayName: "%petblocks_pet_displayName_selected%"
skinBase64: "%petblocks_pet_itemHeadBase64_selected%"
- row: 6
col: 5
item:
typeName: "minecraft:barrier,60"
displayName: "&cClose"
lore:
- "&7Closes the current window."
commands:
- type: "PER_PLAYER"
command: "/petblocksgui back"
# Unique identifier of a menu.
name: "petblocks_skins_petskins_menu"
# Type of inventory to show. Possible values: ONE_ROW, TWO_ROW, THREE_ROW, SIX_ROW
windowType: "SIX_ROW"
# Displayed title of the inventory.
title: "PetBlocks"
# How often should the GUI refresh its placeholder values and show up-to-date data. The value is in minecraft ticks. (20 ticks = 1 second)
updateIntervalTicks: 10

# All items which are rendered inside the inventory. You need to specify the item you want to display and the position.
# For more complex GUIs, you may want to show different items on the same position depending on a certain condition:
# e.g. pet is spawned, show despawn button
Expand Down
Loading

0 comments on commit fd2d1fd

Please sign in to comment.