Constant Field Values
Contents
net.minestom.*
-
net.minestom.server.MinecraftServer Modifier and Type Constant Field Value public static final int
PROTOCOL_VERSION
754
public static final int
THREAD_COUNT_BLOCK_BATCH
2
public static final int
THREAD_COUNT_PARALLEL_CHUNK_SAVING
4
public static final int
THREAD_COUNT_SCHEDULER
1
public static final java.lang.String
THREAD_NAME_BENCHMARK
"Ms-Benchmark"
public static final java.lang.String
THREAD_NAME_BLOCK_BATCH
"Ms-BlockBatchPool"
public static final java.lang.String
THREAD_NAME_MAIN_UPDATE
"Ms-MainUpdate"
public static final java.lang.String
THREAD_NAME_PARALLEL_CHUNK_SAVING
"Ms-ParallelChunkSaving"
public static final java.lang.String
THREAD_NAME_SCHEDULER
"Ms-SchedulerPool"
public static final java.lang.String
THREAD_NAME_TICK
"Ms-Tick"
public static final int
TICK_MS
50
public static final int
TICK_PER_SECOND
20
public static final java.lang.String
VERSION_NAME
"1.16.4"
-
net.minestom.server.chat.ChatParser Modifier and Type Constant Field Value public static final char
COLOR_CHAR
167
-
net.minestom.server.command.CommandManager Modifier and Type Constant Field Value public static final java.lang.String
COMMAND_PREFIX
"/"
-
net.minestom.server.command.builder.arguments.Argument<T> Modifier and Type Constant Field Value public static final int
SUCCESS
0
public static final int
UNDEFINED_ERROR
-1
-
net.minestom.server.command.builder.arguments.ArgumentBoolean Modifier and Type Constant Field Value public static final int
NOT_BOOLEAN_ERROR
1
-
net.minestom.server.command.builder.arguments.ArgumentDynamicStringArray Modifier and Type Constant Field Value public static final int
RESTRICTION_ERROR
1
-
net.minestom.server.command.builder.arguments.ArgumentDynamicWord Modifier and Type Constant Field Value public static final int
RESTRICTION_ERROR
2
public static final int
SPACE_ERROR
1
-
net.minestom.server.command.builder.arguments.ArgumentString Modifier and Type Constant Field Value public static final int
QUOTE_ERROR
1
-
net.minestom.server.command.builder.arguments.ArgumentWord Modifier and Type Constant Field Value public static final int
RESTRICTION_ERROR
2
public static final int
SPACE_ERROR
1
-
net.minestom.server.command.builder.arguments.minecraft.ArgumentColor Modifier and Type Constant Field Value public static final int
UNDEFINED_COLOR
-2
-
net.minestom.server.command.builder.arguments.minecraft.ArgumentEntities Modifier and Type Constant Field Value public static final int
INVALID_SYNTAX
-2
public static final int
ONLY_PLAYERS_ERROR
-4
public static final int
ONLY_SINGLE_ENTITY_ERROR
-3
-
net.minestom.server.command.builder.arguments.minecraft.ArgumentItemStack Modifier and Type Constant Field Value public static final int
INVALID_NBT
2
public static final int
NO_MATERIAL
1
-
net.minestom.server.command.builder.arguments.minecraft.ArgumentNbtCompoundTag Modifier and Type Constant Field Value public static final int
INVALID_NBT
1
-
net.minestom.server.command.builder.arguments.minecraft.ArgumentNbtTag Modifier and Type Constant Field Value public static final int
INVALID_NBT
1
-
net.minestom.server.command.builder.arguments.minecraft.ArgumentRange<T> Modifier and Type Constant Field Value public static final int
FORMAT_ERROR
-1
-
net.minestom.server.command.builder.arguments.minecraft.ArgumentTime Modifier and Type Constant Field Value public static final int
INVALID_TIME_FORMAT
-2
public static final int
NO_NUMBER
-3
-
net.minestom.server.command.builder.arguments.minecraft.registry.ArgumentRegistry<T> Modifier and Type Constant Field Value public static final int
INVALID_NAME
-2
-
net.minestom.server.command.builder.arguments.number.ArgumentNumber<T extends java.lang.Number> Modifier and Type Constant Field Value public static final int
NOT_NUMBER_ERROR
1
public static final int
RANGE_ERROR
2
-
net.minestom.server.command.builder.arguments.relative.ArgumentRelative<T> Modifier and Type Constant Field Value public static final int
INVALID_NUMBER_COUNT_ERROR
1
public static final int
INVALID_NUMBER_ERROR
2
public static final java.lang.String
RELATIVE_CHAR
"~"
-
net.minestom.server.data.NbtDataImpl Modifier and Type Constant Field Value public static final java.lang.String
KEY_PREFIX
"nbtdata_"
-
net.minestom.server.entity.Entity Modifier and Type Constant Field Value protected static final byte
METADATA_BOOLEAN
7
protected static final byte
METADATA_BYTE
0
protected static final byte
METADATA_CHAT
4
protected static final byte
METADATA_FLOAT
2
protected static final byte
METADATA_OPTCHAT
5
protected static final byte
METADATA_PARTICLE
15
protected static final byte
METADATA_POSE
18
protected static final byte
METADATA_POSITION
9
protected static final byte
METADATA_ROTATION
8
protected static final byte
METADATA_SLOT
6
protected static final byte
METADATA_STRING
3
protected static final byte
METADATA_VARINT
1
-
net.minestom.server.extras.velocity.VelocityProxy Modifier and Type Constant Field Value public static final java.lang.String
PLAYER_INFO_CHANNEL
"velocity:player_info"
-
net.minestom.server.gamedata.loottables.entries.DynamicEntry Modifier and Type Constant Field Value public static final java.lang.String
DROP_LIST_KEY
"minestom:loot_table_drop_list"
-
net.minestom.server.instance.Chunk Modifier and Type Constant Field Value public static final int
BIOME_COUNT
1024
public static final int
CHUNK_SECTION_COUNT
16
public static final int
CHUNK_SECTION_SIZE
16
public static final int
CHUNK_SIZE_X
16
public static final int
CHUNK_SIZE_Y
256
public static final int
CHUNK_SIZE_Z
16
-
net.minestom.server.instance.block.CustomBlock Modifier and Type Constant Field Value public static final byte
MAX_STAGE
10
-
net.minestom.server.inventory.PlayerInventory Modifier and Type Constant Field Value public static final int
INVENTORY_SIZE
46
-
net.minestom.server.map.Framebuffer Modifier and Type Constant Field Value public static final int
HEIGHT
128
public static final int
WIDTH
128
-
net.minestom.server.network.packet.server.ServerPacketIdentifier Modifier and Type Constant Field Value public static final int
ACKNOWLEDGE_PLAYER_DIGGING
7
public static final int
ADVANCEMENTS
87
public static final int
ATTACH_ENTITY
69
public static final int
BLOCK_ACTION
10
public static final int
BLOCK_BREAK_ANIMATION
8
public static final int
BLOCK_CHANGE
11
public static final int
BLOCK_ENTITY_DATA
9
public static final int
BOSS_BAR
12
public static final int
CAMERA
62
public static final int
CHANGE_GAME_STATE
29
public static final int
CHAT_MESSAGE
14
public static final int
CHUNK_DATA
32
public static final int
CLOSE_WINDOW
18
public static final int
COLLECT_ITEM
85
public static final int
COMBAT_EVENT
49
public static final int
CRAFT_RECIPE_RESPONSE
47
public static final int
DECLARE_COMMANDS
16
public static final int
DECLARE_RECIPES
90
public static final int
DESTROY_ENTITIES
54
public static final int
DISCONNECT
25
public static final int
DISPLAY_SCOREBOARD
67
public static final int
EFFECT
33
public static final int
ENTITY_ANIMATION
5
public static final int
ENTITY_EFFECT
89
public static final int
ENTITY_EQUIPMENT
71
public static final int
ENTITY_HEAD_LOOK
58
public static final int
ENTITY_METADATA
68
public static final int
ENTITY_MOVEMENT
42
public static final int
ENTITY_POSITION
39
public static final int
ENTITY_POSITION_AND_ROTATION
40
public static final int
ENTITY_PROPERTIES
88
public static final int
ENTITY_ROTATION
41
public static final int
ENTITY_SOUND_EFFECT
80
public static final int
ENTITY_STATUS
26
public static final int
ENTITY_TELEPORT
86
public static final int
ENTITY_VELOCITY
70
public static final int
EXPLOSION
27
public static final int
FACE_PLAYER
51
public static final int
HELD_ITEM_CHANGE
63
public static final int
JOIN_GAME
36
public static final int
KEEP_ALIVE
31
public static final int
LOGIN_DISCONNECT
0
public static final int
LOGIN_ENCRYPTION_REQUEST
1
public static final int
LOGIN_PLUGIN_REQUEST
4
public static final int
LOGIN_SET_COMPRESSION
3
public static final int
LOGIN_SUCCESS
2
public static final int
MAP_DATA
37
public static final int
MULTI_BLOCK_CHANGE
59
public static final int
NAMED_SOUND_EFFECT
24
public static final int
NBT_QUERY_RESPONSE
84
public static final int
OPEN_BOOK
44
public static final int
OPEN_HORSE_WINDOW
30
public static final int
OPEN_SIGN_EDITOR
46
public static final int
OPEN_WINDOW
45
public static final int
PARTICLE
34
public static final int
PLAYER_ABILITIES
48
public static final int
PLAYER_INFO
50
public static final int
PLAYER_LIST_HEADER_AND_FOOTER
83
public static final int
PLAYER_POSITION_AND_LOOK
52
public static final int
PLUGIN_MESSAGE
23
public static final int
REMOVE_ENTITY_EFFECT
55
public static final int
RESOURCE_PACK_SEND
56
public static final int
RESPAWN
57
public static final int
SCOREBOARD_OBJECTIVE
74
public static final int
SELECT_ADVANCEMENT_TAB
60
public static final int
SERVER_DIFFICULTY
13
public static final int
SET_COOLDOWN
22
public static final int
SET_EXPERIENCE
72
public static final int
SET_PASSENGERS
75
public static final int
SET_SLOT
21
public static final int
SOUND_EFFECT
81
public static final int
SPAWN_ENTITY
0
public static final int
SPAWN_EXPERIENCE_ORB
1
public static final int
SPAWN_LIVING_ENTITY
2
public static final int
SPAWN_PAINTING
3
public static final int
SPAWN_PLAYER
4
public static final int
SPAWN_POSITION
66
public static final int
STATISTICS
6
public static final int
STOP_SOUND
82
public static final int
TAB_COMPLETE
15
public static final int
TAGS
91
public static final int
TEAMS
76
public static final int
TIME_UPDATE
78
public static final int
TITLE
79
public static final int
TRADE_LIST
38
public static final int
UNLOAD_CHUNK
28
public static final int
UNLOCK_RECIPES
53
public static final int
UPDATE_HEALTH
73
public static final int
UPDATE_LIGHT
35
public static final int
UPDATE_SCORE
77
public static final int
UPDATE_VIEW_DISTANCE
65
public static final int
UPDATE_VIEW_POSITION
64
public static final int
VEHICLE_MOVE
43
public static final int
WINDOW_CONFIRMATION
17
public static final int
WINDOW_ITEMS
19
public static final int
WINDOW_PROPERTY
20
public static final int
WORLD_BORDER
61
-
net.minestom.server.scoreboard.BelowNameTag Modifier and Type Constant Field Value public static final java.lang.String
BELOW_NAME_TAG_PREFIX
"bnt-"
-
net.minestom.server.utils.inventory.PlayerInventoryUtils Modifier and Type Constant Field Value public static final int
BOOTS_SLOT
44
public static final int
CHESTPLATE_SLOT
42
public static final int
CRAFT_RESULT
36
public static final int
CRAFT_SLOT_1
37
public static final int
CRAFT_SLOT_2
38
public static final int
CRAFT_SLOT_3
39
public static final int
CRAFT_SLOT_4
40
public static final int
HELMET_SLOT
41
public static final int
LEGGINGS_SLOT
43
public static final int
OFFHAND_SLOT
45
public static final int
OFFSET
9