I took a long BlobTycoon dev vacation since it seems there were no bugs since the last update. I am so happy about this because this means we are in a stable state.
This release needs BlobLib-1.5.23.jar
In the past three days, I made this small but useful update which will introduce the following.
First off, CustomItems before were handled through Inventories and this is no longer the case. What if you for example would like to reuse the same CustomItem through different assets such as Inventories or maybe even CraftingInventories? Now you can handle these in a single file and just reference them as CUSTOMITEM-id through the rest of BlobTycoon objects . Here I will provide an example of a CustomItem file named 'microsmg.yml' which reference is "CUSTOMITEM-microsmg":
Code (YAML):
SellingCurrency
: USD
Price
: 399
ItemStack:
Material
: FEATHER
CustomModelData
: 1
DisplayName
: '&6Micro SMG'
Lore:
- '&a&l::&7&l:::::::
:
&7Damage'
- '&a&l:::::&7&l::::
:
&7Fire Rate'
- '&a&l:::&7&l::::::
:
&7Accuracy'
- '&a&l::::&7&l:::::
:
&7Range'
- ''
- '&fPrice
(
%sellingCurrency%):'
- '&7
%boughtFor%'
So I just told you we have CraftingInventories, I will explain to you what we are cooking with. Basically, if you remember we had an inventory whose ID is "builder". Now we are able to create multiple of them and even customize their size and buttons, customize their ingredients, and the result. First, inside the "Buttons" sections, remember that "Air"
IS REQUIRED! You can customize their slots but you cannot rename from "Air" to "AIR" or "air" or even "aIR",
IT NEEDS TO BE "Air"!
Here I will provide you with an example of a CraftingInventory file named 'end4recipe.yml':
Code (YAML):
Result
: ASICS-end4
Title
: '&8&lKENDERICK'
Size
: 36
Slot
: 12-14,21-23,30-32
Ingredients:
End3:
ObjectKey
: ASICS-end3
Amount
: 1
Brick:
ObjectKey
: TREASURES-Brick
Amount
: 256
Silicon:
ObjectKey
: TREASURES-Silicon
Amount
: 64
Buttons:
Background:
ItemStack:
Material
: BLACK_STAINED_GLASS_PANE
CustomModelData
: 0
DisplayName
: ' '
Lore
:
[
]
Slot
: 0-35
Air:
ItemStack:
Material
: AIR
CustomModelData
: 0
DisplayName
: ' '
Lore
:
[
]
Slot
: 12-14,21-23,30-32
Book:
ItemStack:
Material
: BOOK
CustomModelData
: 1
DisplayName
: '&eInfo'
Lore
:
- '&7Drag needed items to build'
Slot
: 4
Happy mining y'all ⛏