Перейти к основному содержанию

Native

Module containing enums that can make user code more readable.

@remarks

Consider specified sub-enum to determine which version specific rellocation must be used.

Index

Enumerations

ArmorType

ArmorType:

Defines armor type and armor slot index in player's inventory.

@deprecated

Use EArmorType instead.

boots

boots: 3

chestplate

chestplate: 1

helmet

helmet: 0

leggings

leggings: 2

BlockRenderLayer

BlockRenderLayer:

Defines possible render layers (display methods) for blocks.

@deprecated

Use EBlockRenderLayer instead.

alpha

alpha: 4

alpha_seasons

alpha_seasons: 7

alpha_single_side

alpha_single_side: 8

blend

blend: 2

doubleside

doubleside: 0

far

far: 3

opaque

opaque: 3

opaque_seasons

opaque_seasons: 6

seasons_far

seasons_far: 6

seasons_far_alpha

seasons_far_alpha: 7

water

water: 1

BlockSide

BlockSide:

Defines numeric representation for each block side.

@deprecated

Use EBlockSide instead.

DOWN

DOWN: 0

EAST

EAST: 5

NORTH

NORTH: 2

SOUTH

SOUTH: 3

UP

UP: 1

WEST

WEST: 4

Color

Color:

Defines text colors and font styles for chat and tip messages.

AQUA

AQUA: §b

BEGIN

BEGIN: §

BLACK

BLACK: §0

BLUE

BLUE: §9

BOLD

BOLD: §l

DARK_AQUA

DARK_AQUA: §3

DARK_BLUE

DARK_BLUE: §1

DARK_GRAY

DARK_GRAY: §8

DARK_GREEN

DARK_GREEN: §2

DARK_PURPLE

DARK_PURPLE: §5

DARK_RED

DARK_RED: §4

GOLD

GOLD: §6

GRAY

GRAY: §7

GREEN

GREEN: §a

ITALIC

ITALIC: §o

LIGHT_PURPLE

LIGHT_PURPLE: §d

OBFUSCATED

OBFUSCATED: §k

RED

RED: §c

RESET

RESET: §r

STRIKETHROUGH

STRIKETHROUGH: §m

UNDERLINE

UNDERLINE: §n

WHITE

WHITE: §f

YELLOW

YELLOW: §e

Dimension

Dimension:

Defines the three dimensions currently available for player.

@deprecated

Use EDimension instead.

END

END: 2

NETHER

NETHER: 1

NORMAL

NORMAL: 0

OVERWORLD

OVERWORLD: 0
@since

2.3.0b112

EnchantType

EnchantType:

Defines what enchantments can or cannot be applied to every instrument type.

@deprecated

Use EEnchantType instead.

all

all: 16383

axe

axe: 512

book

book: 16383

boots

boots: 4

bow

bow: 32

chestplate

chestplate: 8

fishingRod

fishingRod: 4096

flintAndSteel

flintAndSteel: 256

helmet

helmet: 1

hoe

hoe: 64

leggings

leggings: 2

pickaxe

pickaxe: 1024

shears

shears: 128

shovel

shovel: 2048

weapon

weapon: 16

Enchantment

Enchantment:

Defines numeric IDs of all vanilla enchantments.

@deprecated

Use EEnchantment instead.

AQUA_AFFINITY

AQUA_AFFINITY: 7

BANE_OF_ARTHROPODS

BANE_OF_ARTHROPODS: 11

BINDING_CURSE

BINDING_CURSE: 27

BLAST_PROTECTION

BLAST_PROTECTION: 3

CHANNELING

CHANNELING: 32

DEPTH_STRIDER

DEPTH_STRIDER: 8

EFFICIENCY

EFFICIENCY: 15

FEATHER_FALLING

FEATHER_FALLING: 2

FIRE_ASPECT

FIRE_ASPECT: 13

FIRE_PROTECTION

FIRE_PROTECTION: 1

FLAME

FLAME: 21

FORTUNE

FORTUNE: 18

FROST_WALKER

FROST_WALKER: 25

IMPALING

IMPALING: 29

INFINITY

INFINITY: 22

KNOCKBACK

KNOCKBACK: 12

LOOTING

LOOTING: 14

LOYALTY

LOYALTY: 31

LUCK_OF_THE_SEA

LUCK_OF_THE_SEA: 23

LURE

LURE: 24

MENDING

MENDING: 26

POWER

POWER: 19

PROJECTILE_PROTECTION

PROJECTILE_PROTECTION: 4

PROTECTION

PROTECTION: 0

PUNCH

PUNCH: 20

RESPIRATION

RESPIRATION: 6

RIPTIDE

RIPTIDE: 30

SHARPNESS

SHARPNESS: 9

SILK_TOUCH

SILK_TOUCH: 16

SMITE

SMITE: 10

THORNS

THORNS: 5

UNBREAKING

UNBREAKING: 17

VANISHING_CURSE

VANISHING_CURSE: 28

EntityType

EntityType:

Defines all vanilla entity type IDs.

@deprecated

Use EEntityType instead.

AREA_EFFECT_CLOUD

AREA_EFFECT_CLOUD: 95

ARMOR_STAND

ARMOR_STAND: 61

ARROW

ARROW: 80

BAT

BAT: 19

BLAZE

BLAZE: 43

BOAT

BOAT: 90

CAT

CAT: 75

CAVE_SPIDER

CAVE_SPIDER: 40

CHEST_MINECART

CHEST_MINECART: 98

CHICKEN

CHICKEN: 10

COD

COD: 112

COMMAND_BLOCK_MINECART

COMMAND_BLOCK_MINECART: 100

COW

COW: 11

CREEPER

CREEPER: 33

DOLPHIN

DOLPHIN: 31

DONKEY

DONKEY: 24

DRAGON_FIREBALL

DRAGON_FIREBALL: 79
@since

2.3.0b112

DRAGON_FIREBOLL

DRAGON_FIREBOLL: 79
@deprecated

Mistypo.

DROWNED

DROWNED: 110

EGG

EGG: 82

ELDER_GUARDIAN

ELDER_GUARDIAN: 50
@since

2.3.0b112

ELDER_GUARDIAN_GHOST

ELDER_GUARDIAN_GHOST: 120
@since

2.3.0b112

ENDERMAN

ENDERMAN: 38

ENDERMITE

ENDERMITE: 55

ENDER_CRYSTAL

ENDER_CRYSTAL: 71

ENDER_DRAGON

ENDER_DRAGON: 53

ENDER_GUARDIAN

ENDER_GUARDIAN: 50
@deprecated

Mistypo.

ENDER_GUARDIAN_GHOST

ENDER_GUARDIAN_GHOST: 120
@deprecated

Mistypo.

ENDER_PEARL

ENDER_PEARL: 87

EVOCATION_FANG

EVOCATION_FANG: 103

EVOCATION_ILLAGER

EVOCATION_ILLAGER: 104

EXPERIENCE_ORB

EXPERIENCE_ORB: 69

EXPERIENCE_POTION

EXPERIENCE_POTION: 68

EYE_OF_ENDER_SIGNAL

EYE_OF_ENDER_SIGNAL: 70

FALLING_BLOCK

FALLING_BLOCK: 66

FIREBALL

FIREBALL: 85

FIREWORKS_ROCKET

FIREWORKS_ROCKET: 72

FISHING_HOOK

FISHING_HOOK: 77

GHAST

GHAST: 41

GUARDIAN

GUARDIAN: 49

HOPPER_MINECART

HOPPER_MINECART: 96

HORSE

HORSE: 23

HUSK

HUSK: 47

IRON_GOLEM

IRON_GOLEM: 20

ITEM

ITEM: 64

LAVA_SLIME

LAVA_SLIME: 42

LEASH_KNOT

LEASH_KNOT: 88

LIGHTNING_BOLT

LIGHTNING_BOLT: 93

LINGERING_POTION

LINGERING_POTION: 101

LLAMA

LLAMA: 29

LLAMA_SPLIT

LLAMA_SPLIT: 102

MINECART

MINECART: 84

MOVING_BLOCK

MOVING_BLOCK: 67

MULE

MULE: 25

MUSHROOM_COW

MUSHROOM_COW: 16

OCELOT

OCELOT: 22

PAINTING

PAINTING: 83

PANDA

PANDA: 113

PARROT

PARROT: 30

PHANTOM

PHANTOM: 58

PIG

PIG: 12

PIG_ZOMBIE

PIG_ZOMBIE: 36

PILLAGER

PILLAGER: 114

PLAYER

PLAYER: 63

POLAR_BEAR

POLAR_BEAR: 28

PRIMED_TNT

PRIMED_TNT: 65

PUFFERFISH

PUFFERFISH: 108

RABBIT

RABBIT: 18

RAVAGER

RAVAGER: 59

SALMON

SALMON: 109

SHEEP

SHEEP: 13

SHIELD

SHIELD: 117

SHULKER

SHULKER: 54

SHULKER_BULLET

SHULKER_BULLET: 76

SILVERFISH

SILVERFISH: 39

SKELETON

SKELETON: 34

SKELETON_HORSE

SKELETON_HORSE: 26

SLIME

SLIME: 37

SMALL_FIREBALL

SMALL_FIREBALL: 94

SNOWBALL

SNOWBALL: 81

SNOW_GOLEM

SNOW_GOLEM: 21

SPIDER

SPIDER: 35

SQUID

SQUID: 17

STRAY

STRAY: 46

THROWN_POTION

THROWN_POTION: 86

THROWN_TRIDENT

THROWN_TRIDENT: 73

TNT_COMMAND

TNT_COMMAND: 97

TROPICALFISH

TROPICALFISH: 111

TURTLE

TURTLE: 74

VEX

VEX: 105

VILLAGER

VILLAGER: 15

VILLAGER_V2

VILLAGER_V2: 115

VINDICATOR

VINDICATOR: 57

WANDERING_TRADER

WANDERING_TRADER: 118

WHITCH

WHITCH: 45
@deprecated

Mistypo.

WHITHER

WHITHER: 52
@deprecated

Mistypo.

WHITHER_SKELETON

WHITHER_SKELETON: 48
@deprecated

Mistypo.

WHITHER_SKULL

WHITHER_SKULL: 89
@deprecated

Mistypo.

WHITHER_SKULL_DANGEROUS

WHITHER_SKULL_DANGEROUS: 91
@deprecated

Mistypo.

WITCH

WITCH: 45
@since

2.3.0b112

WITHER

WITHER: 52
@since

2.3.0b112

WITHER_SKELETON

WITHER_SKELETON: 48
@since

2.3.0b112

WITHER_SKULL

WITHER_SKULL: 89
@since

2.3.0b112

WITHER_SKULL_DANGEROUS

WITHER_SKULL_DANGEROUS: 91
@since

2.3.0b112

WOLF

WOLF: 14

ZOMBIE

ZOMBIE: 32

ZOMBIE_HORSE

ZOMBIE_HORSE: 27

ZOMBIE_VILLAGER

ZOMBIE_VILLAGER: 44

ZOMBIE_VILLAGER_V2

ZOMBIE_VILLAGER_V2: 116
@since

2.3.0b112

ZOMBIE_VILLAGE_V2

ZOMBIE_VILLAGE_V2: 116
@deprecated

Mistypo.

GameDifficulty

GameDifficulty:

Defines possible game difficulty.

@deprecated

Use EGameDifficulty instead.

EASY

EASY: 1

HARD

HARD: 3

NORMAL

NORMAL: 2

PEACEFUL

PEACEFUL: 0

GameMode

GameMode:

Defines possible game modes.

@deprecated

Use EGameMode instead.

ADVENTURE

ADVENTURE: 2

CREATIVE

CREATIVE: 1

SPECTATOR

SPECTATOR: 3

SURVIVAL

SURVIVAL: 0

ItemAnimation

ItemAnimation:

Defines item animation types.

@deprecated

Use EItemAnimation instead.

bow

bow: 4

normal

normal: 0

ItemCategory

ItemCategory:

Defines item category in creative inventory.

@deprecated

Use EItemCategory instead.

COMMAND_ONLY

COMMAND_ONLY: 5
@since

2.3.0b112

CONSTRUCTION

CONSTRUCTION: 1
@since

2.3.0b112

DECORATION

DECORATION: 2

EQUIPMENT

EQUIPMENT: 3
@since

2.3.0b112

FOOD

FOOD: 4

INTERNAL

INTERNAL: 5

ITEMS

ITEMS: 4
@since

2.3.0b112

MATERIAL

MATERIAL: 4

NATURE

NATURE: 2
@since

2.3.0b112

TOOL

TOOL: 3

MobRenderType

MobRenderType:

Defines vanilla mob render types.

@deprecated

Use EMobRenderType instead.

arrow

arrow: 25

bat

bat: 10

blaze

blaze: 18

boat

boat: 35

camera

camera: 48

chicken

chicken: 5

cow

cow: 6

creeper

creeper: 22

egg

egg: 28

enderman

enderman: 24

expPotion

expPotion: 45

experienceOrb

experienceOrb: 40

fallingTile

fallingTile: 33

fireball

fireball: 37

fishHook

fishHook: 26

ghast

ghast: 17

human

human: 3

ironGolem

ironGolem: 42

item

item: 4

lavaSlime

lavaSlime: 16

lightningBolt

lightningBolt: 41

map

map: 50

minecart

minecart: 34

mushroomCow

mushroomCow: 7

ocelot

ocelot: 43

painting

painting: 32

pig

pig: 8

player

player: 27

rabbit

rabbit: 46

sheep

sheep: 9

silverfish

silverfish: 21

skeleton

skeleton: 19

slime

slime: 23

smallFireball

smallFireball: 38

snowGolem

snowGolem: 44

snowball

snowball: 29

spider

spider: 20

squid

squid: 36

thrownPotion

thrownPotion: 31

tnt

tnt: 2

unknownItem

unknownItem: 30

villager

villager: 12

villagerZombie

villagerZombie: 39

witch

witch: 47

wolf

wolf: 11

zombie

zombie: 14

zombiePigman

zombiePigman: 15

NbtDataType

NbtDataType:
@deprecated

Use ENbtDataType instead.

BYTE

BYTE: 1

BYTE_ARRAY

BYTE_ARRAY: 7

COMPOUND

COMPOUND: 10

DOUBLE

DOUBLE: 6

END_TAG

END_TAG: 0

FLOAT

FLOAT: 5

INT

INT: 3

INT64

INT64: 4

INT_ARRAY

INT_ARRAY: 11

LIST

LIST: 9

SHORT

SHORT: 2

STRING

STRING: 8

ParticleType

ParticleType:

Defines all existing vanilla particles.

@deprecated

Use EParticleType instead.

angryVillager

angryVillager: 36

bubble

bubble: 1

cloud

cloud: 5

crit

crit: 41

dripLava

dripLava: 27

dripWater

dripWater: 24

enchantmenttable

enchantmenttable: 38

fallingDust

fallingDust: 29

flame

flame: 8

happyVillager

happyVillager: 37

heart

heart: 18

hugeexplosion

hugeexplosion: 15

hugeexplosionSeed

hugeexplosionSeed: 16

ink

ink: 28

itemBreak

itemBreak: 42

largeexplode

largeexplode: 61

lava

lava: 9

mobFlame

mobFlame: 17

note

note: 40

portal

portal: 21

rainSplash

rainSplash: 23

redstone

redstone: 11

slime

slime: 34

smoke

smoke: 6

smoke2

smoke2: 10

snowballpoof

snowballpoof: 14

spell

spell: 32

spell2

spell2: 31

spell3

spell3: 30

splash

splash: 25

suspendedTown

suspendedTown: 20

terrain

terrain: 19

waterWake

waterWake: 35

PlayerAbility

PlayerAbility:

Defines player's abilities.

@deprecated

Use EPlayerAbility instead.

ATTACK_MOBS

ATTACK_MOBS: attackmobs

ATTACK_PLAYERS

ATTACK_PLAYERS: attackplayers

BUILD

BUILD: build

DOORS_AND_SWITCHES

DOORS_AND_SWITCHES: doorsandswitches

FLYING

FLYING: flying

FLYSPEED

FLYSPEED: flySpeed

INSTABUILD

INSTABUILD: instabuild

INVULNERABLE

INVULNERABLE: invulnerable

LIGHTNING

LIGHTNING: lightning

MAYFLY

MAYFLY: mayfly

MINE

MINE: mine

MUTED

MUTED: mute

NOCLIP

NOCLIP: noclip

OPEN_CONTAINERS

OPEN_CONTAINERS: opencontainers

OPERATOR_COMMANDS

OPERATOR_COMMANDS: op

TELEPORT

TELEPORT: teleport

WALKSPEED

WALKSPEED: walkSpeed

WORLDBUILDER

WORLDBUILDER: worldbuilder

PotionEffect

PotionEffect:

Defines vanilla potion effects.

@deprecated

Use EPotionEffect instead.

absorption

absorption: 22

bad_omen

bad_omen: 28

blindness

blindness: 15

conduit_power

conduit_power: 26

confusion

confusion: 9

damageBoost

damageBoost: 5

damageResistance

damageResistance: 11

digSlowdown

digSlowdown: 4

digSpeed

digSpeed: 3

fatal_poison

fatal_poison: 25

fireResistance

fireResistance: 12

harm

harm: 7

heal

heal: 6

healthBoost

healthBoost: 21

hunger

hunger: 17

invisibility

invisibility: 14

jump

jump: 8

levitation

levitation: 24

movementSlowdown

movementSlowdown: 2

movementSpeed

movementSpeed: 1

nightVision

nightVision: 16

poison

poison: 19

regeneration

regeneration: 10

saturation

saturation: 23

slow_falling

slow_falling: 27

village_hero

village_hero: 29

waterBreathing

waterBreathing: 13

weakness

weakness: 18

wither

wither: 20

TileEntityType

TileEntityType:
@deprecated

Use ETileEntityType instead.

BEACON

BEACON: 21

BREWING_STAND

BREWING_STAND: 8

CAULDRON

CAULDRON: 16

CHEST

CHEST: 0

DISPENSER

DISPENSER: 13

FURNACE

FURNACE: 1

HOPPER

HOPPER: 2

JUKEBOX

JUKEBOX: 33

LECTERN

LECTERN: 37

NONE

NONE: -1