class Element
Element
An element object that represents an element of Infinite Craft.
Element(
name: str | None = None,
emoji: str | None = None,
is_first_discovery: bool | None = None
)
Arguments & Attributes
name
(str
| None
, optional): Name of the element
emoji
(str
| None
, optional): Emoji of the element.
is_first_discovery
(bool
| None
, optional): Whether the current element was a first discovery or not.
You can make your own Element
class by subclassing this one.
NOTE: The emoji is NOT fetched upon the creation of this class. You can fetch it by using .
get_discovery
()
.
Last updated