BannerPatternType
in package
Uses
EnumTrait
This doc-block is generated automatically, do not modify it manually.
This must be regenerated whenever registry members are added, removed or changed.
Tags
Table of Contents
- $enumName : string
- $nextId : int|null
- $runtimeId : int
- BORDER() : BannerPatternType
- BRICKS() : BannerPatternType
- CIRCLE() : BannerPatternType
- CREEPER() : BannerPatternType
- CROSS() : BannerPatternType
- CURLY_BORDER() : BannerPatternType
- DIAGONAL_LEFT() : BannerPatternType
- DIAGONAL_RIGHT() : BannerPatternType
- DIAGONAL_UP_LEFT() : BannerPatternType
- DIAGONAL_UP_RIGHT() : BannerPatternType
- equals() : bool
- Returns whether the two objects are equivalent.
- FLOWER() : BannerPatternType
- getAll() : array<string|int, self>
- Returns all members of the enum.
- GRADIENT() : BannerPatternType
- GRADIENT_UP() : BannerPatternType
- HALF_HORIZONTAL() : BannerPatternType
- HALF_HORIZONTAL_BOTTOM() : BannerPatternType
- HALF_VERTICAL() : BannerPatternType
- HALF_VERTICAL_RIGHT() : BannerPatternType
- id() : int
- Returns a runtime-only identifier for this enum member. This will be different with each run, so don't try to hardcode it.
- MOJANG() : BannerPatternType
- name() : string
- RHOMBUS() : BannerPatternType
- SKULL() : BannerPatternType
- SMALL_STRIPES() : BannerPatternType
- SQUARE_BOTTOM_LEFT() : BannerPatternType
- SQUARE_BOTTOM_RIGHT() : BannerPatternType
- SQUARE_TOP_LEFT() : BannerPatternType
- SQUARE_TOP_RIGHT() : BannerPatternType
- STRAIGHT_CROSS() : BannerPatternType
- STRIPE_BOTTOM() : BannerPatternType
- STRIPE_CENTER() : BannerPatternType
- STRIPE_DOWNLEFT() : BannerPatternType
- STRIPE_DOWNRIGHT() : BannerPatternType
- STRIPE_LEFT() : BannerPatternType
- STRIPE_MIDDLE() : BannerPatternType
- STRIPE_RIGHT() : BannerPatternType
- STRIPE_TOP() : BannerPatternType
- TRIANGLE_BOTTOM() : BannerPatternType
- TRIANGLE_TOP() : BannerPatternType
- TRIANGLES_BOTTOM() : BannerPatternType
- TRIANGLES_TOP() : BannerPatternType
- register() : void
- Registers the given object as an enum member.
- registerAll() : void
- setup() : void
- __construct() : mixed
Properties
$enumName
private
string
$enumName
$nextId
private
static int|null
$nextId
= null
$runtimeId
private
int
$runtimeId
Methods
BORDER()
public
static BORDER() : BannerPatternType
Return values
BannerPatternType —BRICKS()
public
static BRICKS() : BannerPatternType
Return values
BannerPatternType —CIRCLE()
public
static CIRCLE() : BannerPatternType
Return values
BannerPatternType —CREEPER()
public
static CREEPER() : BannerPatternType
Return values
BannerPatternType —CROSS()
public
static CROSS() : BannerPatternType
Return values
BannerPatternType —CURLY_BORDER()
public
static CURLY_BORDER() : BannerPatternType
Return values
BannerPatternType —DIAGONAL_LEFT()
public
static DIAGONAL_LEFT() : BannerPatternType
Return values
BannerPatternType —DIAGONAL_RIGHT()
public
static DIAGONAL_RIGHT() : BannerPatternType
Return values
BannerPatternType —DIAGONAL_UP_LEFT()
public
static DIAGONAL_UP_LEFT() : BannerPatternType
Return values
BannerPatternType —DIAGONAL_UP_RIGHT()
public
static DIAGONAL_UP_RIGHT() : BannerPatternType
Return values
BannerPatternType —equals()
Returns whether the two objects are equivalent.
public
equals(self $other) : bool
Parameters
- $other : self
Return values
bool —FLOWER()
public
static FLOWER() : BannerPatternType
Return values
BannerPatternType —getAll()
Returns all members of the enum.
public
static getAll() : array<string|int, self>
This is overridden to change the return typehint.
Return values
array<string|int, self> —GRADIENT()
public
static GRADIENT() : BannerPatternType
Return values
BannerPatternType —GRADIENT_UP()
public
static GRADIENT_UP() : BannerPatternType
Return values
BannerPatternType —HALF_HORIZONTAL()
public
static HALF_HORIZONTAL() : BannerPatternType
Return values
BannerPatternType —HALF_HORIZONTAL_BOTTOM()
public
static HALF_HORIZONTAL_BOTTOM() : BannerPatternType
Return values
BannerPatternType —HALF_VERTICAL()
public
static HALF_VERTICAL() : BannerPatternType
Return values
BannerPatternType —HALF_VERTICAL_RIGHT()
public
static HALF_VERTICAL_RIGHT() : BannerPatternType
Return values
BannerPatternType —id()
Returns a runtime-only identifier for this enum member. This will be different with each run, so don't try to hardcode it.
public
id() : int
This can be useful for switches or array indexing.
Return values
int —MOJANG()
public
static MOJANG() : BannerPatternType
Return values
BannerPatternType —name()
public
name() : string
Return values
string —RHOMBUS()
public
static RHOMBUS() : BannerPatternType
Return values
BannerPatternType —SKULL()
public
static SKULL() : BannerPatternType
Return values
BannerPatternType —SMALL_STRIPES()
public
static SMALL_STRIPES() : BannerPatternType
Return values
BannerPatternType —SQUARE_BOTTOM_LEFT()
public
static SQUARE_BOTTOM_LEFT() : BannerPatternType
Return values
BannerPatternType —SQUARE_BOTTOM_RIGHT()
public
static SQUARE_BOTTOM_RIGHT() : BannerPatternType
Return values
BannerPatternType —SQUARE_TOP_LEFT()
public
static SQUARE_TOP_LEFT() : BannerPatternType
Return values
BannerPatternType —SQUARE_TOP_RIGHT()
public
static SQUARE_TOP_RIGHT() : BannerPatternType
Return values
BannerPatternType —STRAIGHT_CROSS()
public
static STRAIGHT_CROSS() : BannerPatternType
Return values
BannerPatternType —STRIPE_BOTTOM()
public
static STRIPE_BOTTOM() : BannerPatternType
Return values
BannerPatternType —STRIPE_CENTER()
public
static STRIPE_CENTER() : BannerPatternType
Return values
BannerPatternType —STRIPE_DOWNLEFT()
public
static STRIPE_DOWNLEFT() : BannerPatternType
Return values
BannerPatternType —STRIPE_DOWNRIGHT()
public
static STRIPE_DOWNRIGHT() : BannerPatternType
Return values
BannerPatternType —STRIPE_LEFT()
public
static STRIPE_LEFT() : BannerPatternType
Return values
BannerPatternType —STRIPE_MIDDLE()
public
static STRIPE_MIDDLE() : BannerPatternType
Return values
BannerPatternType —STRIPE_RIGHT()
public
static STRIPE_RIGHT() : BannerPatternType
Return values
BannerPatternType —STRIPE_TOP()
public
static STRIPE_TOP() : BannerPatternType
Return values
BannerPatternType —TRIANGLE_BOTTOM()
public
static TRIANGLE_BOTTOM() : BannerPatternType
Return values
BannerPatternType —TRIANGLE_TOP()
public
static TRIANGLE_TOP() : BannerPatternType
Return values
BannerPatternType —TRIANGLES_BOTTOM()
public
static TRIANGLES_BOTTOM() : BannerPatternType
Return values
BannerPatternType —TRIANGLES_TOP()
public
static TRIANGLES_TOP() : BannerPatternType
Return values
BannerPatternType —register()
Registers the given object as an enum member.
protected
static register(self $member) : void
Parameters
- $member : self
Tags
Return values
void —registerAll()
protected
static registerAll(self ...$members) : void
Parameters
- $members : self
Return values
void —setup()
protected
static setup() : void
Return values
void —__construct()
private
__construct(string $enumName) : mixed
Parameters
- $enumName : string