@serenityjs/core 0.8.17 → 0.8.18-beta-20260205000321
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/index.d.mts +692 -349
- package/dist/index.d.ts +692 -349
- package/dist/index.js +19 -17
- package/dist/index.mjs +19 -17
- package/package.json +9 -9
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Logger } from '@serenityjs/logger';
|
|
2
2
|
import { Connection, RaknetServerProperties, Server, Priority } from '@serenityjs/raknet';
|
|
3
3
|
import Emitter, { Emitter as Emitter$1 } from '@serenityjs/emitter';
|
|
4
|
-
import { Packet, DataPacket, ResourcePackDescriptor, LoginPacket, PlayStatusPacket, ServerToClientHandshakePacket, ClientToServerHandshakePacket, DisconnectPacket, ResourcePacksInfoPacket, ResourcePackStackPacket, ResourcePackClientResponsePacket, TextPacket, SetTimePacket, StartGamePacket, AddPlayerPacket, AddEntityPacket, RemoveEntityPacket, AddItemActorPacket, TakeItemActorPacket, MoveActorAbsolutePacket, MovePlayerPacket, RiderJumpPacket, UpdateBlockPacket, LevelEventPacket, BlockEventPacket, ActorEventPacket, UpdateAttributesPacket, InventoryTransactionPacket, SetActorLinkPacket, CompletedUsingItemPacket, MobEquipmentPacket, MobArmorEquipmentPacket, MobEffectPacket, InteractPacket, BlockPickRequestPacket, BookEditPacket, PlayerStartItemCooldownPacket, EntityPickRequestPacket, PlayerActionPacket, HurtArmorPacket, SetActorDataPacket, SetActorMotionPacket, AnimatePacket, RespawnPacket, ContainerOpenPacket, ContainerClosePacket, PlayerHotbarPacket, InventoryContentPacket, InventorySlotPacket, ContainerSetDataPacket, CraftingDataPacket, BlockActorDataPacket, LevelChunkPacket, SetCommandsEnabledPacket, ChangeDimensionPacket, SetPlayerGameTypePacket, PlayerListPacket, RequestChunkRadiusPacket, ChunkRadiusUpdatePacket, GameRulesChangedPacket, BossEventPacket, LegacyTelemetryEventPacket, AvailableCommandsPacket, CommandRequestPacket, CommandBlockUpdatePacket, CommandOutputPacket, ResourcePackDataInfoPacket, SetSpawnPositionPacket, StructureBlockUpdatePacket, SetHealthPacket, SetDifficultyPacket, DimensionDataPacket, CameraInstructionsPacket, ResourcePackChunkDataPacket, TrimDataPacket, ShowCreditsPacket, CameraPresetsPacket, ResourcePackChunkRequestPacket, UnlockedRecipesPacket, TransferPacket, PlaySoundPacket, SetTitlePacket, PlayerSkinPacket, NpcRequestPacket, OpenSignPacket, CameraShakePacket, PlayerFogPacket, ModalFormRequestPacket, ModalFormResponsePacket, ServerSettingsResponsePacket, ShowProfilePacket, RemoveObjectivePacket, SetDisplayObjectivePacket, SetScorePacket, MoveActorDeltaPacket, SetScoreboardIdentityPacket, NetworkStackLatencyPacket, AvailableActorIdentifiersPacket, SpawnParticleEffectPacket, SetLocalPlayerAsInitializedPacket, NetworkChunkPublisherUpdatePacket, BiomeDefinitionListPacket, LevelSoundEventPacket, LevelEventGenericPacket, OnScreenTextureAnimationPacket, StopSoundPacket, EmotePacket, NetworkSettingsPacket, PlayerAuthInputPacket, CreativeContentPacket, PlayerEnchantOptionsPacket, SyncActorPropertyPacket, ItemStackRequestPacket, ItemStackResponsePacket, EmoteListPacket, DebugInfoPacket, PacketViolationWarningPacket, AnimateEntityPacket, CorrectPlayerMovePredictionPacket, ClientBoundMapItemDataPacket, MapInfoRequestPacket, ItemRegistryPacket, ClientBoundDebugRendererPacket, UpdateTradePacket, NpcDialoguePacket, SubChunkPacket, SubChunkRequestPacket, ScriptMessagePacket, RequestPermissionsPacket, ToastRequestPacket, UpdateAbilitiesPacket, UpdateAdventureSettingsPacket, DeathInfoPacket, RequestNetworkSettingsPacket, SetPlayerInventoryOptionsPacket, SetHudPacket, AwardAchievementPacket, ClientboundCloseFormPacket, ServerboundLoadingScreenPacketPacket, UpdateClientInputLocksPacket, CurrectStructureFeaturePacket, ServerboundDiagnosticsPacket, MovementEffectPacket, UpdateSubchunkBlocksPacket, UpdateBlockSyncPacket, SetLastHurtByPacket, UpdatePlayerGameTypePacket, SetDefaultGamemodePacket, MotionPredictHintsPacket, ClientCacheStatusPacket, AddPaintingPacket, PlayerUpdateEntityOverridesPacket, ServerScriptDebugDrawerPacket, GraphicsOverrideParameterPacket, PurchaseReceiptPacket, AutomationClientConnectPacket, ShowStoreOfferPacket, SimpleEventPacket, SpawnExperienceOrbPacket, AddBehaviorTreePacket, PhotoTransferPacket, UpdateSoftEnumPacket, LabTablePacket, ServerSettingsRequestPacket, GuiDataPickItemPacket, UpdateEquipPacket, EduUriResourcePacket, CreatePhotoPacket, CodeBuilderSourcePacket, TickingAreasLoadStatusPacket, AgentActionEventPacket, ChangeMobPropertyPacket, LessonProgressPacket, PlayerToggleCrafterRequestPacket, MaterialRenderMethod, EntityPropertyType, WearableSlot, EffectType, ContainerType, ContainerId, CreativeItemCategory, CreativeItemGroup, ItemUseMethod,
|
|
4
|
+
import { Packet, DataPacket, ResourcePackDescriptor, LoginPacket, PlayStatusPacket, ServerToClientHandshakePacket, ClientToServerHandshakePacket, DisconnectPacket, ResourcePacksInfoPacket, ResourcePackStackPacket, ResourcePackClientResponsePacket, TextPacket, SetTimePacket, StartGamePacket, AddPlayerPacket, AddEntityPacket, RemoveEntityPacket, AddItemActorPacket, TakeItemActorPacket, MoveActorAbsolutePacket, MovePlayerPacket, RiderJumpPacket, UpdateBlockPacket, LevelEventPacket, BlockEventPacket, ActorEventPacket, UpdateAttributesPacket, InventoryTransactionPacket, SetActorLinkPacket, CompletedUsingItemPacket, MobEquipmentPacket, MobArmorEquipmentPacket, MobEffectPacket, InteractPacket, BlockPickRequestPacket, BookEditPacket, PlayerStartItemCooldownPacket, EntityPickRequestPacket, PlayerActionPacket, HurtArmorPacket, SetActorDataPacket, SetActorMotionPacket, AnimatePacket, RespawnPacket, ContainerOpenPacket, ContainerClosePacket, PlayerHotbarPacket, InventoryContentPacket, InventorySlotPacket, ContainerSetDataPacket, CraftingDataPacket, BlockActorDataPacket, LevelChunkPacket, SetCommandsEnabledPacket, ChangeDimensionPacket, SetPlayerGameTypePacket, PlayerListPacket, RequestChunkRadiusPacket, ChunkRadiusUpdatePacket, GameRulesChangedPacket, BossEventPacket, LegacyTelemetryEventPacket, AvailableCommandsPacket, CommandRequestPacket, CommandBlockUpdatePacket, CommandOutputPacket, ResourcePackDataInfoPacket, SetSpawnPositionPacket, StructureBlockUpdatePacket, SetHealthPacket, SetDifficultyPacket, DimensionDataPacket, CameraInstructionsPacket, ResourcePackChunkDataPacket, TrimDataPacket, ShowCreditsPacket, CameraPresetsPacket, ResourcePackChunkRequestPacket, UnlockedRecipesPacket, TransferPacket, PlaySoundPacket, SetTitlePacket, PlayerSkinPacket, NpcRequestPacket, OpenSignPacket, CameraShakePacket, PlayerFogPacket, ModalFormRequestPacket, ModalFormResponsePacket, ServerSettingsResponsePacket, ShowProfilePacket, RemoveObjectivePacket, SetDisplayObjectivePacket, SetScorePacket, MoveActorDeltaPacket, SetScoreboardIdentityPacket, NetworkStackLatencyPacket, AvailableActorIdentifiersPacket, SpawnParticleEffectPacket, SetLocalPlayerAsInitializedPacket, NetworkChunkPublisherUpdatePacket, BiomeDefinitionListPacket, LevelSoundEventPacket, LevelEventGenericPacket, OnScreenTextureAnimationPacket, StopSoundPacket, EmotePacket, NetworkSettingsPacket, PlayerAuthInputPacket, CreativeContentPacket, PlayerEnchantOptionsPacket, SyncActorPropertyPacket, ItemStackRequestPacket, ItemStackResponsePacket, EmoteListPacket, DebugInfoPacket, PacketViolationWarningPacket, AnimateEntityPacket, CorrectPlayerMovePredictionPacket, ClientBoundMapItemDataPacket, MapInfoRequestPacket, ItemRegistryPacket, ClientBoundDebugRendererPacket, UpdateTradePacket, NpcDialoguePacket, SubChunkPacket, SubChunkRequestPacket, ScriptMessagePacket, RequestPermissionsPacket, ToastRequestPacket, UpdateAbilitiesPacket, UpdateAdventureSettingsPacket, DeathInfoPacket, RequestNetworkSettingsPacket, SetPlayerInventoryOptionsPacket, SetHudPacket, AwardAchievementPacket, ClientboundCloseFormPacket, ServerboundLoadingScreenPacketPacket, UpdateClientInputLocksPacket, CurrectStructureFeaturePacket, ServerboundDiagnosticsPacket, MovementEffectPacket, UpdateSubchunkBlocksPacket, UpdateBlockSyncPacket, SetLastHurtByPacket, UpdatePlayerGameTypePacket, SetDefaultGamemodePacket, MotionPredictHintsPacket, ClientCacheStatusPacket, AddPaintingPacket, PlayerUpdateEntityOverridesPacket, ServerScriptDebugDrawerPacket, GraphicsOverrideParameterPacket, PurchaseReceiptPacket, AutomationClientConnectPacket, ShowStoreOfferPacket, SimpleEventPacket, SpawnExperienceOrbPacket, AddBehaviorTreePacket, PhotoTransferPacket, UpdateSoftEnumPacket, LabTablePacket, ServerSettingsRequestPacket, GuiDataPickItemPacket, UpdateEquipPacket, EduUriResourcePacket, CreatePhotoPacket, CodeBuilderSourcePacket, TickingAreasLoadStatusPacket, AgentActionEventPacket, ChangeMobPropertyPacket, LessonProgressPacket, PlayerToggleCrafterRequestPacket, MaterialRenderMethod, EntityPropertyType, DimensionType, Vector3f, Gamemode, Difficulty, GameRule, WearableSlot, EffectType, ContainerType, ContainerId, CreativeItemCategory, CreativeItemGroup, ItemUseMethod, BlockFace, NetworkItemInstanceDescriptor, NetworkItemStackDescriptor, Enchantment, EquipmentSlot, ShapelessRecipe, ShapedRecipe, Color, IPosition, UpdateBlockLayerType, ScoreboardIdentityType, ObjectiveSortOrder, DisplaySlotType, ModalFormType, BossEventColor, AbilityIndex, Rotation, SerializedSkin, HudElement, DeviceOS, MemoryTier, InputMode, InteractionMode, PlayMode, AbilityLayer, EasingType, ActorDataId, ActorDataType, BlockPosition, DataItem, DisconnectReason, FullContainerName, Vector2f, PropertySyncData, ActorFlag, Attribute, AttributeName, ActorDamageCause, ChunkCoords, NetworkBlockTypeDefinition, CompressionMethod, InventoryAction, ItemUseInventoryTransaction, ItemUseOnEntityInventoryTransaction, LoginTokens, LoginTokenData, InputData, PlayerBlockActionData, ItemStackRequestActionMineBlock, PlayerAuthItemStackRequest, ItemStackResponseContainerInfo, RequestedResourcePack } from '@serenityjs/protocol';
|
|
5
5
|
import { CompoundTag, TagType, BaseTag, ListTag, IntTag, StringTag, ByteTag, LongTag } from '@serenityjs/nbt';
|
|
6
6
|
import { BinaryStream } from '@serenityjs/binarystream';
|
|
7
7
|
import { Worker as Worker$1 } from 'node:worker_threads';
|
|
@@ -214,12 +214,14 @@ interface IPermissions<G = IPermissionGroup, M = IPermissionMember> {
|
|
|
214
214
|
interface SerenityProperties {
|
|
215
215
|
permissions: string | IPermissions | null;
|
|
216
216
|
resources: string | Partial<ResourcesProperties>;
|
|
217
|
+
spawnWorldIdentifier: "default";
|
|
217
218
|
movementValidation: boolean;
|
|
218
219
|
movementHorizontalThreshold: number;
|
|
219
220
|
movementVerticalThreshold: number;
|
|
220
221
|
shutdownMessage: string;
|
|
221
222
|
ticksPerSecond: number;
|
|
222
223
|
debugLogging: boolean;
|
|
224
|
+
offlineMode: boolean;
|
|
223
225
|
}
|
|
224
226
|
interface ServerProperties {
|
|
225
227
|
serenity: Partial<SerenityProperties>;
|
|
@@ -2814,7 +2816,7 @@ declare enum ItemIdentifier {
|
|
|
2814
2816
|
CodBucket = "minecraft:cod_bucket",
|
|
2815
2817
|
WitherSpawnEgg = "minecraft:wither_spawn_egg",
|
|
2816
2818
|
PufferfishBucket = "minecraft:pufferfish_bucket",
|
|
2817
|
-
|
|
2819
|
+
SkeletonSkull = "minecraft:skelenton_skull",
|
|
2818
2820
|
HeartPotterySherd = "minecraft:heart_pottery_sherd",
|
|
2819
2821
|
Bell = "minecraft:bell",
|
|
2820
2822
|
Anvil = "minecraft:anvil",
|
|
@@ -3075,34 +3077,35 @@ declare enum WorldEvent {
|
|
|
3075
3077
|
EntityHit = 11,
|
|
3076
3078
|
EntityHurt = 12,
|
|
3077
3079
|
EntityDropItem = 13,
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3080
|
+
EntityItemPickup = 14,
|
|
3081
|
+
EffectAdd = 15,
|
|
3082
|
+
EffectRemove = 16,
|
|
3083
|
+
PlayerInitialized = 17,
|
|
3084
|
+
PlayerJoin = 18,
|
|
3085
|
+
PlayerLeave = 19,
|
|
3086
|
+
PlayerChat = 20,
|
|
3087
|
+
PlayerPlaceBlock = 21,
|
|
3088
|
+
PlayerBreakBlock = 22,
|
|
3089
|
+
PlayerGamemodeChange = 23,
|
|
3090
|
+
PlayerAbilityUpdate = 24,
|
|
3091
|
+
PlayerStartUsingItem = 25,
|
|
3092
|
+
PlayerStopUsingItem = 26,
|
|
3093
|
+
PlayerUseItem = 27,
|
|
3094
|
+
PlayerUseItemOnBlock = 28,
|
|
3095
|
+
PlayerUseItemOnEntity = 29,
|
|
3096
|
+
PlayerStartEmoting = 30,
|
|
3097
|
+
PlayerStopEmoting = 31,
|
|
3098
|
+
PlayerInteractWithBlock = 32,
|
|
3099
|
+
PlayerInteractWithEntity = 33,
|
|
3100
|
+
PlayerOpenedContainer = 34,
|
|
3101
|
+
PlayerClosedContainer = 35,
|
|
3102
|
+
PlayerContainerInteraction = 36,
|
|
3103
|
+
PlayerDropExperience = 37,
|
|
3104
|
+
PlayerEditSign = 38,
|
|
3105
|
+
PlayerCraftRecipe = 39,
|
|
3106
|
+
BlockUpdate = 40,
|
|
3107
|
+
BlockPermutationUpdate = 41,
|
|
3108
|
+
ItemStackDamaged = 42
|
|
3106
3109
|
}
|
|
3107
3110
|
|
|
3108
3111
|
declare enum ServerEvent {
|
|
@@ -7298,6 +7301,128 @@ declare class Trait {
|
|
|
7298
7301
|
setRandomTickProbability(numerator: number, denominator: number): void;
|
|
7299
7302
|
}
|
|
7300
7303
|
|
|
7304
|
+
interface DimensionProperties {
|
|
7305
|
+
/**
|
|
7306
|
+
* The identifier of the dimension.
|
|
7307
|
+
*/
|
|
7308
|
+
identifier: string;
|
|
7309
|
+
/**
|
|
7310
|
+
* The type of the dimension.
|
|
7311
|
+
*/
|
|
7312
|
+
type: DimensionType;
|
|
7313
|
+
/**
|
|
7314
|
+
* The generator used for the dimension.
|
|
7315
|
+
*/
|
|
7316
|
+
generator: string;
|
|
7317
|
+
/**
|
|
7318
|
+
* The view distance of the dimension.
|
|
7319
|
+
*/
|
|
7320
|
+
viewDistance: number;
|
|
7321
|
+
/**
|
|
7322
|
+
* The simulation distance of the dimension.
|
|
7323
|
+
*/
|
|
7324
|
+
simulationDistance: number;
|
|
7325
|
+
/**
|
|
7326
|
+
* The spawn position of the dimension.
|
|
7327
|
+
*/
|
|
7328
|
+
spawnPosition: [number, number, number];
|
|
7329
|
+
/**
|
|
7330
|
+
* The pregeneration options for the dimension.
|
|
7331
|
+
*/
|
|
7332
|
+
chunkPregeneration?: Array<DimensionPregenerationOption>;
|
|
7333
|
+
}
|
|
7334
|
+
interface DimensionPregenerationOption {
|
|
7335
|
+
/**
|
|
7336
|
+
* The start coordinates of the pregeneration area.
|
|
7337
|
+
*/
|
|
7338
|
+
start: [number, number];
|
|
7339
|
+
/**
|
|
7340
|
+
* The end coordinates of the pregeneration area.
|
|
7341
|
+
*/
|
|
7342
|
+
end: [number, number];
|
|
7343
|
+
/**
|
|
7344
|
+
* Whether to lock the chunk data in memory after pregeneration.
|
|
7345
|
+
*/
|
|
7346
|
+
memoryLock?: boolean;
|
|
7347
|
+
}
|
|
7348
|
+
interface EntityQueryOptions {
|
|
7349
|
+
/**
|
|
7350
|
+
* Filter the entities by their identifier.
|
|
7351
|
+
*/
|
|
7352
|
+
filterEntityId?: EntityIdentifier;
|
|
7353
|
+
/**
|
|
7354
|
+
* Limit the number of entities to query.
|
|
7355
|
+
*/
|
|
7356
|
+
count?: number;
|
|
7357
|
+
/**
|
|
7358
|
+
* The seed position to query entities from.
|
|
7359
|
+
*/
|
|
7360
|
+
position?: Vector3f;
|
|
7361
|
+
/**
|
|
7362
|
+
* The maximum distance from the position to query entities from.
|
|
7363
|
+
* @Note A position is required to use this option.
|
|
7364
|
+
*/
|
|
7365
|
+
maxDistance?: number;
|
|
7366
|
+
/**
|
|
7367
|
+
* The minimum distance from the position to query entities from.
|
|
7368
|
+
* @Note A position is required to use this option.
|
|
7369
|
+
*/
|
|
7370
|
+
minDistance?: number;
|
|
7371
|
+
/**
|
|
7372
|
+
* The chunk to query entities from.
|
|
7373
|
+
*/
|
|
7374
|
+
chunk?: Chunk;
|
|
7375
|
+
}
|
|
7376
|
+
interface StructurePlaceOptions {
|
|
7377
|
+
/**
|
|
7378
|
+
* The amount of ticks to animate the structure placement over.
|
|
7379
|
+
*/
|
|
7380
|
+
animationTicks?: number;
|
|
7381
|
+
/**
|
|
7382
|
+
* The number of blocks to place per animation tick.
|
|
7383
|
+
*/
|
|
7384
|
+
blocksPerAnimationTick?: number;
|
|
7385
|
+
/**
|
|
7386
|
+
* Whether to mark the chunks as dirty after placing the structure.
|
|
7387
|
+
*/
|
|
7388
|
+
markAsDirty?: boolean;
|
|
7389
|
+
/**
|
|
7390
|
+
* If the structure should place air blocks.
|
|
7391
|
+
*/
|
|
7392
|
+
placeAirBlocks?: boolean;
|
|
7393
|
+
}
|
|
7394
|
+
|
|
7395
|
+
interface WorldProperties {
|
|
7396
|
+
/**
|
|
7397
|
+
* The identifier of the world.
|
|
7398
|
+
*/
|
|
7399
|
+
identifier: string;
|
|
7400
|
+
/**
|
|
7401
|
+
* The generation seed of the world.
|
|
7402
|
+
*/
|
|
7403
|
+
seed: number;
|
|
7404
|
+
/**
|
|
7405
|
+
* The gamemode of the world.
|
|
7406
|
+
*/
|
|
7407
|
+
gamemode: Gamemode | "survival" | "creative" | "adventure" | "spectator";
|
|
7408
|
+
/**
|
|
7409
|
+
* The difficulty of the world.
|
|
7410
|
+
*/
|
|
7411
|
+
difficulty: Difficulty | "peaceful" | "easy" | "normal" | "hard";
|
|
7412
|
+
/**
|
|
7413
|
+
* The amount of minutes between each save.
|
|
7414
|
+
*/
|
|
7415
|
+
saveInterval: number;
|
|
7416
|
+
/**
|
|
7417
|
+
* The dimension properties of the world.
|
|
7418
|
+
*/
|
|
7419
|
+
dimensions: Array<Partial<DimensionProperties>>;
|
|
7420
|
+
/**
|
|
7421
|
+
* The gamerules of the world.
|
|
7422
|
+
*/
|
|
7423
|
+
gamerules: Partial<Record<GameRule, boolean | number>>;
|
|
7424
|
+
}
|
|
7425
|
+
|
|
7301
7426
|
declare class ItemTypeComponent {
|
|
7302
7427
|
/**
|
|
7303
7428
|
* The component identifier of the item type.
|
|
@@ -8144,7 +8269,7 @@ declare class Container {
|
|
|
8144
8269
|
/**
|
|
8145
8270
|
* The occupants of the container.
|
|
8146
8271
|
*/
|
|
8147
|
-
readonly occupants
|
|
8272
|
+
private readonly occupants;
|
|
8148
8273
|
/**
|
|
8149
8274
|
* The type of the container.
|
|
8150
8275
|
*/
|
|
@@ -8154,14 +8279,6 @@ declare class Container {
|
|
|
8154
8279
|
* If null, the container will assign a incremental identifier for each player.
|
|
8155
8280
|
*/
|
|
8156
8281
|
identifier: ContainerId | null;
|
|
8157
|
-
/**
|
|
8158
|
-
* The size of the container.
|
|
8159
|
-
*/
|
|
8160
|
-
get size(): number;
|
|
8161
|
-
/**
|
|
8162
|
-
* The size of the container.
|
|
8163
|
-
*/
|
|
8164
|
-
set size(value: number);
|
|
8165
8282
|
/**
|
|
8166
8283
|
* The storage of the container.
|
|
8167
8284
|
*/
|
|
@@ -8185,6 +8302,21 @@ declare class Container {
|
|
|
8185
8302
|
* @returns Whether the container is an entity container.
|
|
8186
8303
|
*/
|
|
8187
8304
|
isEntityContainer(): this is EntityContainer;
|
|
8305
|
+
/**
|
|
8306
|
+
* Checks if the container is a block container.
|
|
8307
|
+
* @returns Whether the container is a block container.
|
|
8308
|
+
*/
|
|
8309
|
+
isBlockContainer(): this is BlockContainer;
|
|
8310
|
+
/**
|
|
8311
|
+
* Gets the size of the container.
|
|
8312
|
+
* @returns The size of the container.
|
|
8313
|
+
*/
|
|
8314
|
+
getSize(): number;
|
|
8315
|
+
/**
|
|
8316
|
+
* Sets the size of the container.
|
|
8317
|
+
* @param value The new size of the container.
|
|
8318
|
+
*/
|
|
8319
|
+
setSize(value: number): void;
|
|
8188
8320
|
/**
|
|
8189
8321
|
* Gets an item from the container.
|
|
8190
8322
|
* @param slot The slot to get the item from.
|
|
@@ -8253,6 +8385,11 @@ declare class Container {
|
|
|
8253
8385
|
* @param serverInitiated Whether the close was initiated by the server.
|
|
8254
8386
|
*/
|
|
8255
8387
|
close(player: Player, serverInitiated?: boolean): void;
|
|
8388
|
+
/**
|
|
8389
|
+
* Get all occupants of the container.
|
|
8390
|
+
* @returns An array of tuples containing the player and their container identifier.
|
|
8391
|
+
*/
|
|
8392
|
+
getAllOccupants(): Array<[Player, number]>;
|
|
8256
8393
|
/**
|
|
8257
8394
|
* The next container identifier.
|
|
8258
8395
|
*/
|
|
@@ -8306,6 +8443,91 @@ declare class ItemStackInstanceStorage extends CompoundTag {
|
|
|
8306
8443
|
clear(): void;
|
|
8307
8444
|
}
|
|
8308
8445
|
|
|
8446
|
+
declare class ItemStackLevelStorage extends CompoundTag {
|
|
8447
|
+
/**
|
|
8448
|
+
* The storage key for dynamic properties.
|
|
8449
|
+
*/
|
|
8450
|
+
protected static readonly DYNAMIC_PROPERTIES_KEY = "dynamic_properties";
|
|
8451
|
+
/**
|
|
8452
|
+
* The item stack associated with this level storage.
|
|
8453
|
+
*/
|
|
8454
|
+
private readonly itemStack;
|
|
8455
|
+
/**
|
|
8456
|
+
* The dynamic properties map holding property identifiers and their corresponding CompoundTag representations.
|
|
8457
|
+
*/
|
|
8458
|
+
protected readonly dynamicProperties: Map<string, CompoundTag>;
|
|
8459
|
+
constructor(itemStack: ItemStack, source?: CompoundTag);
|
|
8460
|
+
getIdentifier(): string | ItemIdentifier;
|
|
8461
|
+
setIdentifier(identifier: string | ItemIdentifier): void;
|
|
8462
|
+
getStackSize(): number;
|
|
8463
|
+
setStackSize(size: number): void;
|
|
8464
|
+
getAuxiliaryValue(): number;
|
|
8465
|
+
setAuxiliaryValue(metadata: number): void;
|
|
8466
|
+
getStackNbt(): CompoundTag;
|
|
8467
|
+
setStackNbt(stackNbt: CompoundTag): void;
|
|
8468
|
+
/**
|
|
8469
|
+
* Get all dynamic properties from the level storage.
|
|
8470
|
+
* @returns An array of tuples containing property identifier and its value.
|
|
8471
|
+
*/
|
|
8472
|
+
getAllDynamicProperties(): Array<[string, JSONLikeValue]>;
|
|
8473
|
+
/**
|
|
8474
|
+
* Check if a dynamic property exists in the level storage.
|
|
8475
|
+
* @param identifier The identifier of the dynamic property to check.
|
|
8476
|
+
* @returns True if the property exists, false otherwise.
|
|
8477
|
+
*/
|
|
8478
|
+
hasDynamicProperty(identifier: string): boolean;
|
|
8479
|
+
/**
|
|
8480
|
+
* Get a dynamic property by its identifier.
|
|
8481
|
+
* @param identifier The identifier of the dynamic property to retrieve.
|
|
8482
|
+
* @returns The value of the dynamic property, or null if not found.
|
|
8483
|
+
*/
|
|
8484
|
+
getDynamicProperty<T extends JSONLikeValue>(identifier: string): T | null;
|
|
8485
|
+
/**
|
|
8486
|
+
* Set a dynamic property in the level storage.
|
|
8487
|
+
* @param identifier The identifier of the dynamic property to set.
|
|
8488
|
+
* @param value The value of the dynamic property to set.
|
|
8489
|
+
*/
|
|
8490
|
+
setDynamicProperty<T extends JSONLikeValue>(identifier: string, value: T): void;
|
|
8491
|
+
/**
|
|
8492
|
+
* Remove a dynamic property from the level storage.
|
|
8493
|
+
* @param identifier The identifier of the dynamic property to remove.
|
|
8494
|
+
*/
|
|
8495
|
+
removeDynamicProperty(identifier: string): void;
|
|
8496
|
+
/**
|
|
8497
|
+
* Get the traits of the item from the level storage.
|
|
8498
|
+
* @returns An array of trait identifiers.
|
|
8499
|
+
*/
|
|
8500
|
+
getTraits(): Array<string>;
|
|
8501
|
+
/**
|
|
8502
|
+
* Set traits for the item in the level storage.
|
|
8503
|
+
* @param traits An array of trait identifiers to set.
|
|
8504
|
+
*/
|
|
8505
|
+
setTraits(traits: Array<string>): void;
|
|
8506
|
+
/**
|
|
8507
|
+
* Checks if the item stack has a specific trait.
|
|
8508
|
+
* @param identifier The identifier of the trait to check.
|
|
8509
|
+
* @returns Whether the item stack has the specified trait.
|
|
8510
|
+
*/
|
|
8511
|
+
hasTrait(identifier: string): boolean;
|
|
8512
|
+
/**
|
|
8513
|
+
* Adds a trait to the item stack.
|
|
8514
|
+
* @param identifier The identifier of the trait to add.
|
|
8515
|
+
* @returns void
|
|
8516
|
+
*/
|
|
8517
|
+
addTrait(identifier: string): void;
|
|
8518
|
+
/**
|
|
8519
|
+
* Removes a trait from the item stack.
|
|
8520
|
+
* @param identifier The identifier of the trait to remove.
|
|
8521
|
+
* @returns void
|
|
8522
|
+
*/
|
|
8523
|
+
removeTrait(identifier: string): void;
|
|
8524
|
+
/**
|
|
8525
|
+
* Refreshes the item stack in its container, updating or removing it as necessary.
|
|
8526
|
+
* @returns True if the item was refreshed; false otherwise.
|
|
8527
|
+
*/
|
|
8528
|
+
private refreshStackInContainer;
|
|
8529
|
+
}
|
|
8530
|
+
|
|
8309
8531
|
/**
|
|
8310
8532
|
* The default item stack options.
|
|
8311
8533
|
*/
|
|
@@ -8426,112 +8648,38 @@ interface CraftingRecipeIngredient {
|
|
|
8426
8648
|
metadata?: number;
|
|
8427
8649
|
}
|
|
8428
8650
|
|
|
8429
|
-
|
|
8651
|
+
interface ItemStackHotbarDetails {
|
|
8430
8652
|
/**
|
|
8431
|
-
* The
|
|
8653
|
+
* The player whose hotbar this item stack is in.
|
|
8432
8654
|
*/
|
|
8433
|
-
|
|
8655
|
+
player: Player;
|
|
8434
8656
|
/**
|
|
8435
|
-
* The item stack
|
|
8657
|
+
* The slot index of the item stack in the hotbar.
|
|
8436
8658
|
*/
|
|
8437
|
-
|
|
8659
|
+
slot: number;
|
|
8660
|
+
}
|
|
8661
|
+
|
|
8662
|
+
declare class ItemStack {
|
|
8438
8663
|
/**
|
|
8439
|
-
* The
|
|
8664
|
+
* The next network stack ID to assign to a new item stack.
|
|
8440
8665
|
*/
|
|
8441
|
-
|
|
8442
|
-
constructor(itemStack: ItemStack, source?: CompoundTag);
|
|
8443
|
-
getIdentifier(): string | ItemIdentifier;
|
|
8444
|
-
setIdentifier(identifier: string | ItemIdentifier): void;
|
|
8445
|
-
getStackSize(): number;
|
|
8446
|
-
setStackSize(size: number): void;
|
|
8447
|
-
getAuxiliaryValue(): number;
|
|
8448
|
-
setAuxiliaryValue(metadata: number): void;
|
|
8449
|
-
getStackNbt(): CompoundTag;
|
|
8450
|
-
setStackNbt(stackNbt: CompoundTag): void;
|
|
8666
|
+
private static nextNetworkStackId;
|
|
8451
8667
|
/**
|
|
8452
|
-
*
|
|
8453
|
-
* @returns An array of tuples containing property identifier and its value.
|
|
8668
|
+
* The type of the item stack.
|
|
8454
8669
|
*/
|
|
8455
|
-
|
|
8670
|
+
readonly type: ItemType;
|
|
8456
8671
|
/**
|
|
8457
|
-
*
|
|
8458
|
-
* @param identifier The identifier of the dynamic property to check.
|
|
8459
|
-
* @returns True if the property exists, false otherwise.
|
|
8672
|
+
* The identifier of the item stack.
|
|
8460
8673
|
*/
|
|
8461
|
-
|
|
8674
|
+
readonly identifier: ItemIdentifier | string;
|
|
8462
8675
|
/**
|
|
8463
|
-
*
|
|
8464
|
-
* @param identifier The identifier of the dynamic property to retrieve.
|
|
8465
|
-
* @returns The value of the dynamic property, or null if not found.
|
|
8676
|
+
* The nbt data of the item stack.
|
|
8466
8677
|
*/
|
|
8467
|
-
|
|
8678
|
+
readonly nbt: ItemStackInstanceStorage;
|
|
8468
8679
|
/**
|
|
8469
|
-
*
|
|
8470
|
-
* @param identifier The identifier of the dynamic property to set.
|
|
8471
|
-
* @param value The value of the dynamic property to set.
|
|
8680
|
+
* The traits of the item stack.
|
|
8472
8681
|
*/
|
|
8473
|
-
|
|
8474
|
-
/**
|
|
8475
|
-
* Remove a dynamic property from the level storage.
|
|
8476
|
-
* @param identifier The identifier of the dynamic property to remove.
|
|
8477
|
-
*/
|
|
8478
|
-
removeDynamicProperty(identifier: string): void;
|
|
8479
|
-
/**
|
|
8480
|
-
* Get the traits of the item from the level storage.
|
|
8481
|
-
* @returns An array of trait identifiers.
|
|
8482
|
-
*/
|
|
8483
|
-
getTraits(): Array<string>;
|
|
8484
|
-
/**
|
|
8485
|
-
* Set traits for the item in the level storage.
|
|
8486
|
-
* @param traits An array of trait identifiers to set.
|
|
8487
|
-
*/
|
|
8488
|
-
setTraits(traits: Array<string>): void;
|
|
8489
|
-
/**
|
|
8490
|
-
* Checks if the item stack has a specific trait.
|
|
8491
|
-
* @param identifier The identifier of the trait to check.
|
|
8492
|
-
* @returns Whether the item stack has the specified trait.
|
|
8493
|
-
*/
|
|
8494
|
-
hasTrait(identifier: string): boolean;
|
|
8495
|
-
/**
|
|
8496
|
-
* Adds a trait to the item stack.
|
|
8497
|
-
* @param identifier The identifier of the trait to add.
|
|
8498
|
-
* @returns void
|
|
8499
|
-
*/
|
|
8500
|
-
addTrait(identifier: string): void;
|
|
8501
|
-
/**
|
|
8502
|
-
* Removes a trait from the item stack.
|
|
8503
|
-
* @param identifier The identifier of the trait to remove.
|
|
8504
|
-
* @returns void
|
|
8505
|
-
*/
|
|
8506
|
-
removeTrait(identifier: string): void;
|
|
8507
|
-
/**
|
|
8508
|
-
* Refreshes the item stack in its container, updating or removing it as necessary.
|
|
8509
|
-
* @returns True if the item was refreshed; false otherwise.
|
|
8510
|
-
*/
|
|
8511
|
-
private refreshStackInContainer;
|
|
8512
|
-
}
|
|
8513
|
-
|
|
8514
|
-
declare class ItemStack {
|
|
8515
|
-
/**
|
|
8516
|
-
* The next network stack ID to assign to a new item stack.
|
|
8517
|
-
*/
|
|
8518
|
-
private static nextNetworkStackId;
|
|
8519
|
-
/**
|
|
8520
|
-
* The type of the item stack.
|
|
8521
|
-
*/
|
|
8522
|
-
readonly type: ItemType;
|
|
8523
|
-
/**
|
|
8524
|
-
* The identifier of the item stack.
|
|
8525
|
-
*/
|
|
8526
|
-
readonly identifier: ItemIdentifier | string;
|
|
8527
|
-
/**
|
|
8528
|
-
* The nbt data of the item stack.
|
|
8529
|
-
*/
|
|
8530
|
-
readonly nbt: ItemStackInstanceStorage;
|
|
8531
|
-
/**
|
|
8532
|
-
* The traits of the item stack.
|
|
8533
|
-
*/
|
|
8534
|
-
private readonly traits;
|
|
8682
|
+
private readonly traits;
|
|
8535
8683
|
/**
|
|
8536
8684
|
* The storage of the item stack.
|
|
8537
8685
|
*/
|
|
@@ -8727,7 +8875,7 @@ declare class ItemStack {
|
|
|
8727
8875
|
* Get the durability of the item stack.
|
|
8728
8876
|
* @returns The durability of the item stack.
|
|
8729
8877
|
*/
|
|
8730
|
-
|
|
8878
|
+
getDamageDurability(): number;
|
|
8731
8879
|
/**
|
|
8732
8880
|
* Get the level storage of the item stack.
|
|
8733
8881
|
* @returns The item stack level storage.
|
|
@@ -8751,9 +8899,10 @@ declare class ItemStack {
|
|
|
8751
8899
|
/**
|
|
8752
8900
|
* Creates a new item stack from another item stack.
|
|
8753
8901
|
* @param other The other item stack to copy from.
|
|
8902
|
+
* @param stackSize Optional stack size for the new item stack. If not provided, the stack size of the other item stack will be used.
|
|
8754
8903
|
* @returns A new item stack instance with the same properties as the other item stack.
|
|
8755
8904
|
*/
|
|
8756
|
-
static from(other: ItemStack): ItemStack;
|
|
8905
|
+
static from(other: ItemStack, stackSize?: number): ItemStack;
|
|
8757
8906
|
/**
|
|
8758
8907
|
* Converts a network item instance descriptor to an item stack.
|
|
8759
8908
|
* @param descriptor The network item instance descriptor.
|
|
@@ -8824,11 +8973,6 @@ declare class ItemStackTrait extends Trait {
|
|
|
8824
8973
|
* @param options The additional options for the item use.
|
|
8825
8974
|
*/
|
|
8826
8975
|
onUseOnEntity?(player: Player, options: ItemStackUseOnEntityOptions): boolean | ItemUseMethod | void;
|
|
8827
|
-
/**
|
|
8828
|
-
* Called when the release action is triggered by a player.
|
|
8829
|
-
* @param player The player that released the item.
|
|
8830
|
-
*/
|
|
8831
|
-
onRelease?(player: Player): void;
|
|
8832
8976
|
/**
|
|
8833
8977
|
* Called when the item has been signaled to cooldown.
|
|
8834
8978
|
* @param duration The duration of the cooldown in ticks.
|
|
@@ -8853,6 +8997,16 @@ declare class ItemStackTrait extends Trait {
|
|
|
8853
8997
|
* @param options The options for the item stack that was dropped.
|
|
8854
8998
|
*/
|
|
8855
8999
|
onDropped?(options: ItemStackDroppedOptions): void;
|
|
9000
|
+
/**
|
|
9001
|
+
* Called when the item is selected in the hotbar.
|
|
9002
|
+
* @param details The hotbar details.
|
|
9003
|
+
*/
|
|
9004
|
+
onHotbarSelect?(details: ItemStackHotbarDetails): void;
|
|
9005
|
+
/**
|
|
9006
|
+
* Called when the item is deselected in the hotbar.
|
|
9007
|
+
* @param details The hotbar details.
|
|
9008
|
+
*/
|
|
9009
|
+
onHotbarDeselect?(details: ItemStackHotbarDetails): void;
|
|
8856
9010
|
/**
|
|
8857
9011
|
* Compares another item trait to this one.
|
|
8858
9012
|
* @param other The other item trait to compare.
|
|
@@ -9136,26 +9290,8 @@ declare class ItemStackWearableTrait extends ItemStackTrait {
|
|
|
9136
9290
|
static readonly identifier = "wearable";
|
|
9137
9291
|
static readonly tag = "minecraft:is_armor";
|
|
9138
9292
|
static readonly component: typeof ItemTypeWearableComponent;
|
|
9139
|
-
|
|
9140
|
-
* The dynamic properties of the wearable trait.
|
|
9141
|
-
*/
|
|
9142
|
-
get properties(): ItemStackWearableTraitProperties;
|
|
9143
|
-
/**
|
|
9144
|
-
* The amount of protection the wearable item provides.
|
|
9145
|
-
*/
|
|
9293
|
+
readonly properties: ItemStackWearableTraitProperties;
|
|
9146
9294
|
get protection(): number;
|
|
9147
|
-
/**
|
|
9148
|
-
* The amount of protection the wearable item provides.
|
|
9149
|
-
*/
|
|
9150
|
-
set protection(value: number);
|
|
9151
|
-
/**
|
|
9152
|
-
* The slot the wearable item can be equipped to.
|
|
9153
|
-
*/
|
|
9154
|
-
get slot(): WearableSlot;
|
|
9155
|
-
/**
|
|
9156
|
-
* The slot the wearable item can be equipped to.
|
|
9157
|
-
*/
|
|
9158
|
-
set slot(value: WearableSlot);
|
|
9159
9295
|
/**
|
|
9160
9296
|
* Create a new wearable trait for the item stack.
|
|
9161
9297
|
* @param item The item stack to apply the wearable trait to.
|
|
@@ -10009,6 +10145,16 @@ declare class GamemodeEnum extends CustomEnum {
|
|
|
10009
10145
|
static readonly options: string[];
|
|
10010
10146
|
}
|
|
10011
10147
|
|
|
10148
|
+
declare class EffectEnum extends CustomEnum {
|
|
10149
|
+
static readonly identifier = "effects";
|
|
10150
|
+
static readonly options: string[];
|
|
10151
|
+
}
|
|
10152
|
+
|
|
10153
|
+
declare class ClearEnum extends CustomEnum {
|
|
10154
|
+
static readonly identifier = "clear";
|
|
10155
|
+
static readonly options: string[];
|
|
10156
|
+
}
|
|
10157
|
+
|
|
10012
10158
|
declare class AbilityEnum extends CustomEnum {
|
|
10013
10159
|
static readonly name = "ability";
|
|
10014
10160
|
static readonly options: string[];
|
|
@@ -10674,6 +10820,10 @@ declare class Chunk {
|
|
|
10674
10820
|
* If the chunk has been modified, and has not been saved.
|
|
10675
10821
|
*/
|
|
10676
10822
|
dirty: boolean;
|
|
10823
|
+
/**
|
|
10824
|
+
* If the chunk is memory locked (presists in memory and is not unloaded).
|
|
10825
|
+
*/
|
|
10826
|
+
memoryLock: boolean;
|
|
10677
10827
|
/**
|
|
10678
10828
|
* Creates a new chunk.
|
|
10679
10829
|
*
|
|
@@ -10726,6 +10876,12 @@ declare class Chunk {
|
|
|
10726
10876
|
* @param index The index.
|
|
10727
10877
|
*/
|
|
10728
10878
|
getSubChunk(index: number): SubChunk;
|
|
10879
|
+
/**
|
|
10880
|
+
* Set the sub chunk at the given index.
|
|
10881
|
+
* @param index The index.
|
|
10882
|
+
* @param subchunk The sub chunk.
|
|
10883
|
+
*/
|
|
10884
|
+
setSubChunk(index: number, subchunk: SubChunk): void;
|
|
10729
10885
|
/**
|
|
10730
10886
|
* Get the amount of sub chunks that need to be sent.
|
|
10731
10887
|
*/
|
|
@@ -10962,10 +11118,30 @@ declare class Dimension {
|
|
|
10962
11118
|
*/
|
|
10963
11119
|
protected readonly serenity: Serenity;
|
|
10964
11120
|
/**
|
|
10965
|
-
* The chunks that have been
|
|
11121
|
+
* The chunks that have been hydrated in the dimension.
|
|
10966
11122
|
* This is used to prevent the reinstantiation of blocks and entities when a chunk is being loaded multiple times.
|
|
10967
11123
|
*/
|
|
10968
|
-
private readonly
|
|
11124
|
+
private readonly hydratedChunks;
|
|
11125
|
+
/**
|
|
11126
|
+
* The loading chunks in the dimension.
|
|
11127
|
+
* This is used to prevent multiple simultaneous loads of the same chunk.
|
|
11128
|
+
*/
|
|
11129
|
+
private readonly loadingChunks;
|
|
11130
|
+
/**
|
|
11131
|
+
* The chunk watchers in the dimension.
|
|
11132
|
+
* @internal Used for chunk garbage collection.
|
|
11133
|
+
*/
|
|
11134
|
+
private readonly chunkWatchers;
|
|
11135
|
+
/**
|
|
11136
|
+
* The last unwatched at ticks for chunks in the dimension.
|
|
11137
|
+
* @internal Used for chunk garbage collection.
|
|
11138
|
+
*/
|
|
11139
|
+
private readonly chunkLastUnwatchedAt;
|
|
11140
|
+
/**
|
|
11141
|
+
* The last access ticks for chunks in the dimension.
|
|
11142
|
+
* @internal Used for chunk garbage collection.
|
|
11143
|
+
*/
|
|
11144
|
+
private readonly chunkLastAccessAt;
|
|
10969
11145
|
/**
|
|
10970
11146
|
* The properties of the dimension.
|
|
10971
11147
|
*/
|
|
@@ -11035,17 +11211,53 @@ declare class Dimension {
|
|
|
11035
11211
|
*/
|
|
11036
11212
|
onTick(deltaTick: number): void;
|
|
11037
11213
|
/**
|
|
11038
|
-
* Gets a chunk from the dimension.
|
|
11214
|
+
* Gets a chunk from the dimension synchronously.
|
|
11039
11215
|
* @param cx The chunk x coordinate.
|
|
11040
11216
|
* @param cz The chunk z coordinate.
|
|
11041
11217
|
* @returns The chunk at the specified coordinates.
|
|
11042
11218
|
*/
|
|
11043
11219
|
getChunk(cx: number, cz: number): Chunk;
|
|
11220
|
+
/**
|
|
11221
|
+
* Gets a chunk from the dimension asynchronously.
|
|
11222
|
+
* This method prevents multiple simultaneous loads of the same chunk, and is used for generating and rendering chunks.
|
|
11223
|
+
* @param cx The chunk x coordinate.
|
|
11224
|
+
* @param cz The chunk z coordinate.
|
|
11225
|
+
* @returns The chunk at the specified coordinates.
|
|
11226
|
+
*/
|
|
11227
|
+
getChunkAsync(cx: number, cz: number): Promise<Chunk>;
|
|
11228
|
+
/**
|
|
11229
|
+
* Hydrates a chunk by instantiating its blocks and entities into the dimension.
|
|
11230
|
+
* @param chunk The chunk to hydrate.
|
|
11231
|
+
*/
|
|
11232
|
+
private hydrateChunkOnce;
|
|
11044
11233
|
/**
|
|
11045
11234
|
* Sets a chunk in the dimension.
|
|
11046
11235
|
* @param chunk The chunk to set.
|
|
11047
11236
|
*/
|
|
11048
11237
|
setChunk(chunk: Chunk): void;
|
|
11238
|
+
/**
|
|
11239
|
+
* Touches a chunk in the dimension, updating its last access tick.
|
|
11240
|
+
* @param chunk The chunk to touch.
|
|
11241
|
+
* @internal Used for chunk garbage collection.
|
|
11242
|
+
*/
|
|
11243
|
+
touchChunk(chunk: Chunk | bigint): void;
|
|
11244
|
+
/**
|
|
11245
|
+
* Marks a chunk as being watched in the dimension.
|
|
11246
|
+
* @param chunk The chunk to mark as watched.
|
|
11247
|
+
* @internal Used for chunk garbage collection.
|
|
11248
|
+
*/
|
|
11249
|
+
onChunkWatched(chunk: Chunk | bigint): void;
|
|
11250
|
+
/**
|
|
11251
|
+
* Marks a chunk as being unwatched in the dimension.
|
|
11252
|
+
* @param chunk The chunk to mark as unwatched.
|
|
11253
|
+
* @internal Used for chunk garbage collection.
|
|
11254
|
+
*/
|
|
11255
|
+
onChunkUnwatched(chunk: Chunk | bigint): void;
|
|
11256
|
+
/**
|
|
11257
|
+
* Sweeps and unloads chunks that are no longer being watched.
|
|
11258
|
+
* @param unloadDelayTick The delay in ticks before unloading a chunk.
|
|
11259
|
+
*/
|
|
11260
|
+
cleanUpChunks(unloadDelayTick?: bigint): void;
|
|
11049
11261
|
/**
|
|
11050
11262
|
* Get a biome from the dimension at a given position.
|
|
11051
11263
|
* @param position The position to get the biome from.
|
|
@@ -11207,10 +11419,6 @@ declare class WorldProvider {
|
|
|
11207
11419
|
* The cached chunks for the provider.
|
|
11208
11420
|
*/
|
|
11209
11421
|
readonly chunks: WeakMap<Dimension, Map<bigint, Chunk>>;
|
|
11210
|
-
/**
|
|
11211
|
-
* The barrowers map for the provider.
|
|
11212
|
-
*/
|
|
11213
|
-
readonly barrowers: WeakMap<Dimension, Map<bigint, number>>;
|
|
11214
11422
|
/**
|
|
11215
11423
|
* The world that the provider belongs to.
|
|
11216
11424
|
*/
|
|
@@ -11223,21 +11431,21 @@ declare class WorldProvider {
|
|
|
11223
11431
|
/**
|
|
11224
11432
|
* Called when the provider is started.
|
|
11225
11433
|
*/
|
|
11226
|
-
onStartup(): void
|
|
11434
|
+
onStartup(): Promise<void>;
|
|
11227
11435
|
/**
|
|
11228
11436
|
* Called when the provider is shutdown.
|
|
11229
11437
|
*/
|
|
11230
|
-
onShutdown(): void
|
|
11438
|
+
onShutdown(): Promise<void>;
|
|
11231
11439
|
/**
|
|
11232
11440
|
* Called when the provider is saved.
|
|
11233
11441
|
*/
|
|
11234
|
-
onSave(): void
|
|
11442
|
+
onSave(): Promise<void>;
|
|
11235
11443
|
/**
|
|
11236
11444
|
* Reads a buffer from the provider.
|
|
11237
11445
|
* @param key The key to read the buffer from.
|
|
11238
11446
|
* @returns The buffer data entry.
|
|
11239
11447
|
*/
|
|
11240
|
-
readBuffer(_key: string): Buffer;
|
|
11448
|
+
readBuffer(_key: string): Buffer | null;
|
|
11241
11449
|
/**
|
|
11242
11450
|
* Writes a buffer to the provider.
|
|
11243
11451
|
* @param key The key to write the buffer to.
|
|
@@ -11272,18 +11480,6 @@ declare class WorldProvider {
|
|
|
11272
11480
|
* @param player The player data to write.
|
|
11273
11481
|
*/
|
|
11274
11482
|
writePlayer(_uuid: string, _player: CompoundTag): void;
|
|
11275
|
-
/**
|
|
11276
|
-
* Rents a chunk from the provider, this will increment the barrower count for the chunk.
|
|
11277
|
-
* @param hash The hash of the chunk to rent.
|
|
11278
|
-
* @param dimension The dimension to rent the chunk from.
|
|
11279
|
-
*/
|
|
11280
|
-
rentChunk(hash: bigint, dimension: Dimension): void;
|
|
11281
|
-
/**
|
|
11282
|
-
* Returns a chunk to the provider, this will decrement the barrower count for the chunk.
|
|
11283
|
-
* @param hash The hash of the chunk to return.
|
|
11284
|
-
* @param dimension The dimension to return the chunk to.
|
|
11285
|
-
*/
|
|
11286
|
-
returnChunk(hash: bigint, dimension: Dimension): void;
|
|
11287
11483
|
/**
|
|
11288
11484
|
* Initializes the provider with the specified properties.
|
|
11289
11485
|
* @param serenity The serenity instance to use.
|
|
@@ -11378,14 +11574,20 @@ declare class LevelDBProvider extends WorldProvider {
|
|
|
11378
11574
|
*/
|
|
11379
11575
|
readonly db: Leveldb;
|
|
11380
11576
|
/**
|
|
11381
|
-
* The
|
|
11577
|
+
* The in-flight chunk loading promises per dimension.
|
|
11382
11578
|
*/
|
|
11383
|
-
readonly
|
|
11579
|
+
private readonly loading;
|
|
11384
11580
|
constructor(path: string);
|
|
11385
|
-
|
|
11386
|
-
|
|
11387
|
-
|
|
11388
|
-
|
|
11581
|
+
/**
|
|
11582
|
+
* Get the loading map for a dimension.
|
|
11583
|
+
* @param dimension The dimension to get the loading map for.
|
|
11584
|
+
* @returns The loading map for the dimension.
|
|
11585
|
+
*/
|
|
11586
|
+
private getLoadingMap;
|
|
11587
|
+
onShutdown(): Promise<void>;
|
|
11588
|
+
onStartup(): Promise<void>;
|
|
11589
|
+
onSave(): Promise<void>;
|
|
11590
|
+
readBuffer(key: string): Buffer | null;
|
|
11389
11591
|
writeBuffer(key: string, value: Buffer): void;
|
|
11390
11592
|
readChunk(chunk: Chunk, dimension: Dimension): Promise<Chunk>;
|
|
11391
11593
|
writeChunk(chunk: Chunk, dimension: Dimension): Promise<void>;
|
|
@@ -11451,9 +11653,9 @@ declare class FileSystemProvider extends WorldProvider {
|
|
|
11451
11653
|
* @param path The path to the world directory.
|
|
11452
11654
|
*/
|
|
11453
11655
|
constructor(path: string);
|
|
11454
|
-
onStartup(): void
|
|
11455
|
-
onShutdown(): void
|
|
11456
|
-
onSave(): void
|
|
11656
|
+
onStartup(): Promise<void>;
|
|
11657
|
+
onShutdown(): Promise<void>;
|
|
11658
|
+
onSave(): Promise<void>;
|
|
11457
11659
|
readChunk(chunk: Chunk, dimension: Dimension): Promise<Chunk>;
|
|
11458
11660
|
writeChunk(chunk: Chunk, dimension: Dimension): Promise<void>;
|
|
11459
11661
|
readPlayer(uuid: string): CompoundTag | null;
|
|
@@ -12424,7 +12626,7 @@ declare class PlayerSkin {
|
|
|
12424
12626
|
/**
|
|
12425
12627
|
* The original source of the skin.
|
|
12426
12628
|
*/
|
|
12427
|
-
private
|
|
12629
|
+
private source;
|
|
12428
12630
|
/**
|
|
12429
12631
|
* The custom identifier for the skin.
|
|
12430
12632
|
*/
|
|
@@ -12461,6 +12663,15 @@ declare class PlayerSkin {
|
|
|
12461
12663
|
* @returns The serialized skin.
|
|
12462
12664
|
*/
|
|
12463
12665
|
getSerialized(): SerializedSkin;
|
|
12666
|
+
/**
|
|
12667
|
+
* Sets the serialized skin.
|
|
12668
|
+
* @param skin The serialized skin to set.
|
|
12669
|
+
*/
|
|
12670
|
+
setSerialized(skin: SerializedSkin): void;
|
|
12671
|
+
/**
|
|
12672
|
+
* Gets the identifier of the skin.
|
|
12673
|
+
*/
|
|
12674
|
+
get identifier(): string;
|
|
12464
12675
|
}
|
|
12465
12676
|
|
|
12466
12677
|
declare class ScreenDisplay {
|
|
@@ -12756,6 +12967,95 @@ interface PlayerCameraFovOptions {
|
|
|
12756
12967
|
fov?: number;
|
|
12757
12968
|
}
|
|
12758
12969
|
|
|
12970
|
+
interface EntityActorMetadataValue {
|
|
12971
|
+
[ActorDataType.Byte]: number;
|
|
12972
|
+
[ActorDataType.Short]: number;
|
|
12973
|
+
[ActorDataType.Int]: number;
|
|
12974
|
+
[ActorDataType.Float]: number;
|
|
12975
|
+
[ActorDataType.String]: string;
|
|
12976
|
+
[ActorDataType.CompoundTag]: CompoundTag;
|
|
12977
|
+
[ActorDataType.BlockPos]: BlockPosition;
|
|
12978
|
+
[ActorDataType.Long]: bigint;
|
|
12979
|
+
[ActorDataType.Vec3]: Vector3f;
|
|
12980
|
+
}
|
|
12981
|
+
type EntityActorMetadataValueUnion = EntityActorMetadataValue[keyof EntityActorMetadataValue];
|
|
12982
|
+
declare class EntityActorMetadata {
|
|
12983
|
+
/**
|
|
12984
|
+
* The entity that this metadata set is attached to.
|
|
12985
|
+
*/
|
|
12986
|
+
private readonly entity;
|
|
12987
|
+
/**
|
|
12988
|
+
* The map of actor metadata for this entity.
|
|
12989
|
+
*/
|
|
12990
|
+
private readonly metadata;
|
|
12991
|
+
/**
|
|
12992
|
+
* Whether to silently set metadata without sending updates.
|
|
12993
|
+
*/
|
|
12994
|
+
private silent;
|
|
12995
|
+
/**
|
|
12996
|
+
* Create a new EntityActorMetadata instance.
|
|
12997
|
+
* @param entity The entity that this metadata set is attached to.
|
|
12998
|
+
*/
|
|
12999
|
+
constructor(entity: Entity, silent?: boolean);
|
|
13000
|
+
/**
|
|
13001
|
+
* Get all actor metadata as an array of tuples.
|
|
13002
|
+
* @returns An array of tuples containing the actor metadata id, type, and value.
|
|
13003
|
+
*/
|
|
13004
|
+
getAllActorMetadata(): Array<[
|
|
13005
|
+
ActorDataId,
|
|
13006
|
+
ActorDataType,
|
|
13007
|
+
EntityActorMetadataValueUnion
|
|
13008
|
+
]>;
|
|
13009
|
+
/**
|
|
13010
|
+
* Check if the entity has a metadata value for the given identifier.
|
|
13011
|
+
* @param id The metadata identifier.
|
|
13012
|
+
* @returns True if the entity has a metadata value for the given identifier, false otherwise.
|
|
13013
|
+
*/
|
|
13014
|
+
hasActorMetadata(id: ActorDataId): boolean;
|
|
13015
|
+
/**
|
|
13016
|
+
* Get a metadata value for the entity.
|
|
13017
|
+
* @param id The metadata identifier.
|
|
13018
|
+
* @param type The metadata type.
|
|
13019
|
+
* @returns The metadata value, or null if it does not exist or the type does not match.
|
|
13020
|
+
*/
|
|
13021
|
+
getActorMetadata<T extends ActorDataType>(id: ActorDataId, type: T): EntityActorMetadataValue[T] | null;
|
|
13022
|
+
/**
|
|
13023
|
+
* Set a metadata value for the entity.
|
|
13024
|
+
* @param id The metadata identifier.
|
|
13025
|
+
* @param type The metadata type, or null to delete the metadata.
|
|
13026
|
+
* @param value The metadata value, corresponding to the type, or null to delete the metadata.
|
|
13027
|
+
*/
|
|
13028
|
+
setActorMetadata<T extends ActorDataType, V extends EntityActorMetadataValue[T]>(id: ActorDataId, type?: T | null, value?: V | null): void;
|
|
13029
|
+
/**
|
|
13030
|
+
* Get all actor metadata as an array of DataItems.
|
|
13031
|
+
* @returns An array of DataItems containing all actor metadata.
|
|
13032
|
+
*/
|
|
13033
|
+
getAllActorMetadataAsDataItems(): Array<DataItem>;
|
|
13034
|
+
/**
|
|
13035
|
+
* Clone the actor metadata from one entity to another.
|
|
13036
|
+
* @param source The source entity actor metadata.
|
|
13037
|
+
* @param target The target entity.
|
|
13038
|
+
* @returns The cloned entity actor metadata.
|
|
13039
|
+
*/
|
|
13040
|
+
static clone(source: EntityActorMetadata, target: Entity, silent?: boolean): EntityActorMetadata;
|
|
13041
|
+
}
|
|
13042
|
+
|
|
13043
|
+
interface EntityRenderedOptions {
|
|
13044
|
+
/**
|
|
13045
|
+
* Whether the rendering should be cancelled.
|
|
13046
|
+
*/
|
|
13047
|
+
cancel: boolean;
|
|
13048
|
+
/**
|
|
13049
|
+
* The player for whom the entity is being rendered.
|
|
13050
|
+
*/
|
|
13051
|
+
player: Player;
|
|
13052
|
+
/**
|
|
13053
|
+
* The actor metadata of the entity being rendered.
|
|
13054
|
+
* This can be modified to change how the entity is rendered per player.
|
|
13055
|
+
*/
|
|
13056
|
+
metadata: EntityActorMetadata;
|
|
13057
|
+
}
|
|
13058
|
+
|
|
12759
13059
|
declare class PlayerCamera {
|
|
12760
13060
|
/**
|
|
12761
13061
|
* The player the camera belongs to.
|
|
@@ -13154,68 +13454,6 @@ declare class EntityActorFlags {
|
|
|
13154
13454
|
setActorFlag(flag: ActorFlag, value?: boolean | null): void;
|
|
13155
13455
|
}
|
|
13156
13456
|
|
|
13157
|
-
interface EntityActorMetadataValue {
|
|
13158
|
-
[ActorDataType.Byte]: number;
|
|
13159
|
-
[ActorDataType.Short]: number;
|
|
13160
|
-
[ActorDataType.Int]: number;
|
|
13161
|
-
[ActorDataType.Float]: number;
|
|
13162
|
-
[ActorDataType.String]: string;
|
|
13163
|
-
[ActorDataType.CompoundTag]: CompoundTag;
|
|
13164
|
-
[ActorDataType.BlockPos]: BlockPosition;
|
|
13165
|
-
[ActorDataType.Long]: bigint;
|
|
13166
|
-
[ActorDataType.Vec3]: Vector3f;
|
|
13167
|
-
}
|
|
13168
|
-
type EntityActorMetadataValueUnion = EntityActorMetadataValue[keyof EntityActorMetadataValue];
|
|
13169
|
-
declare class EntityActorMetadata {
|
|
13170
|
-
/**
|
|
13171
|
-
* The entity that this metadata set is attached to.
|
|
13172
|
-
*/
|
|
13173
|
-
private readonly entity;
|
|
13174
|
-
/**
|
|
13175
|
-
* The map of actor metadata for this entity.
|
|
13176
|
-
*/
|
|
13177
|
-
private readonly metadata;
|
|
13178
|
-
/**
|
|
13179
|
-
* Create a new EntityActorMetadata instance.
|
|
13180
|
-
* @param entity The entity that this metadata set is attached to.
|
|
13181
|
-
*/
|
|
13182
|
-
constructor(entity: Entity);
|
|
13183
|
-
/**
|
|
13184
|
-
* Get all actor metadata as an array of tuples.
|
|
13185
|
-
* @returns An array of tuples containing the actor metadata id, type, and value.
|
|
13186
|
-
*/
|
|
13187
|
-
getAllActorMetadata(): Array<[
|
|
13188
|
-
ActorDataId,
|
|
13189
|
-
ActorDataType,
|
|
13190
|
-
EntityActorMetadataValueUnion
|
|
13191
|
-
]>;
|
|
13192
|
-
/**
|
|
13193
|
-
* Check if the entity has a metadata value for the given identifier.
|
|
13194
|
-
* @param id The metadata identifier.
|
|
13195
|
-
* @returns True if the entity has a metadata value for the given identifier, false otherwise.
|
|
13196
|
-
*/
|
|
13197
|
-
hasActorMetadata(id: ActorDataId): boolean;
|
|
13198
|
-
/**
|
|
13199
|
-
* Get a metadata value for the entity.
|
|
13200
|
-
* @param id The metadata identifier.
|
|
13201
|
-
* @param type The metadata type.
|
|
13202
|
-
* @returns The metadata value, or null if it does not exist or the type does not match.
|
|
13203
|
-
*/
|
|
13204
|
-
getActorMetadata<T extends ActorDataType>(id: ActorDataId, type: T): EntityActorMetadataValue[T] | null;
|
|
13205
|
-
/**
|
|
13206
|
-
* Set a metadata value for the entity.
|
|
13207
|
-
* @param id The metadata identifier.
|
|
13208
|
-
* @param type The metadata type, or null to delete the metadata.
|
|
13209
|
-
* @param value The metadata value, corresponding to the type, or null to delete the metadata.
|
|
13210
|
-
*/
|
|
13211
|
-
setActorMetadata<T extends ActorDataType, V extends EntityActorMetadataValue[T]>(id: ActorDataId, type?: T | null, value?: V | null): void;
|
|
13212
|
-
/**
|
|
13213
|
-
* Get all actor metadata as an array of DataItems.
|
|
13214
|
-
* @returns An array of DataItems containing all actor metadata.
|
|
13215
|
-
*/
|
|
13216
|
-
getAllActorMetadataAsDataItems(): Array<DataItem>;
|
|
13217
|
-
}
|
|
13218
|
-
|
|
13219
13457
|
declare class EntityAttributes {
|
|
13220
13458
|
/**
|
|
13221
13459
|
* The storage key for attributes.
|
|
@@ -13795,6 +14033,11 @@ declare class EntityTrait extends Trait {
|
|
|
13795
14033
|
* @note This event requires the entity to have `EntityGravityTrait` attached.
|
|
13796
14034
|
*/
|
|
13797
14035
|
onFallOnBlock?(event: EntityFallOnBlockTraitEvent): void;
|
|
14036
|
+
/**
|
|
14037
|
+
* Called when the entity that this trait is attached to is rendered for a player.
|
|
14038
|
+
* @param details The details of the entity rendering.
|
|
14039
|
+
*/
|
|
14040
|
+
onRendered?(details: EntityRenderedOptions): void;
|
|
13798
14041
|
/**
|
|
13799
14042
|
* Clones the entity trait.
|
|
13800
14043
|
* @param entity The entity to clone the trait to.
|
|
@@ -13954,9 +14197,30 @@ declare class PlayerChunkRenderingTrait extends PlayerTrait {
|
|
|
13954
14197
|
*/
|
|
13955
14198
|
private readonly offsetCache;
|
|
13956
14199
|
/**
|
|
13957
|
-
* The
|
|
14200
|
+
* The set of chunk hashes that are pending to be sent to the player.
|
|
14201
|
+
*/
|
|
14202
|
+
private readonly pending;
|
|
14203
|
+
/**
|
|
14204
|
+
* Increments to cancel any in-flight send() loops.
|
|
14205
|
+
*/
|
|
14206
|
+
private sendGeneration;
|
|
14207
|
+
/**
|
|
14208
|
+
* The last chunk position where we sent a NetworkChunkPublisherUpdatePacket.
|
|
14209
|
+
* Used to detect when the player has moved significantly.
|
|
14210
|
+
*/
|
|
14211
|
+
private lastUpdatePosition;
|
|
14212
|
+
/**
|
|
14213
|
+
* The tick counter for periodic updates.
|
|
14214
|
+
*/
|
|
14215
|
+
private updateTickCounter;
|
|
14216
|
+
/**
|
|
14217
|
+
* Flag to indicate if a tick is currently in progress.
|
|
13958
14218
|
*/
|
|
13959
|
-
private
|
|
14219
|
+
private tickInProgress;
|
|
14220
|
+
/**
|
|
14221
|
+
* The queue of chunks to be sent to the player.
|
|
14222
|
+
*/
|
|
14223
|
+
private chunkQueue;
|
|
13960
14224
|
/**
|
|
13961
14225
|
* Sends a chunk to the player.
|
|
13962
14226
|
* @param chunks The chunks to send to the player.
|
|
@@ -13977,21 +14241,47 @@ declare class PlayerChunkRenderingTrait extends PlayerTrait {
|
|
|
13977
14241
|
/**
|
|
13978
14242
|
* Gets the next set of chunk hashes to send to the player.
|
|
13979
14243
|
* @note This method obtains the chunks that are within the player's view distance.
|
|
14244
|
+
* @param out The output array to store the chunk hashes.
|
|
13980
14245
|
* @param distance The distance to calculate the chunks for.
|
|
13981
14246
|
* @returns An array of chunk hashes to send to the player.
|
|
13982
14247
|
*/
|
|
13983
|
-
next(distance?: number):
|
|
14248
|
+
next(out: Array<Chunk>, distance?: number): Promise<void>;
|
|
13984
14249
|
/**
|
|
13985
14250
|
* Clears the chunks from the player's view.
|
|
13986
14251
|
* @param position The position of the chunk to clear.
|
|
13987
14252
|
*/
|
|
13988
14253
|
clear(position?: ChunkCoords): void;
|
|
13989
14254
|
onTick(): Promise<void>;
|
|
14255
|
+
/**
|
|
14256
|
+
* Flushes the chunk queue by sending all queued chunks to the player.
|
|
14257
|
+
* @returns A promise that resolves when all queued chunks have been sent.
|
|
14258
|
+
*/
|
|
14259
|
+
private flushChunkQueue;
|
|
14260
|
+
/**
|
|
14261
|
+
* Gets all chunks within the player's view distance.
|
|
14262
|
+
* @returns An array of chunk coordinates that should be kept loaded.
|
|
14263
|
+
*/
|
|
14264
|
+
private getChunksWithinViewDistance;
|
|
14265
|
+
/**
|
|
14266
|
+
* Updates the NetworkChunkPublisherUpdatePacket with all chunks within view distance.
|
|
14267
|
+
* This tells the client which chunks to keep loaded and which to unload.
|
|
14268
|
+
*/
|
|
14269
|
+
private updateChunkPublisher;
|
|
13990
14270
|
private getRadialOffsets;
|
|
13991
14271
|
getTileFixPackets(position: IPosition): Array<DataPacket>;
|
|
13992
14272
|
onRemove(): void;
|
|
13993
14273
|
onDespawn(options: EntityDespawnOptions): void;
|
|
13994
14274
|
onTeleport(): void;
|
|
14275
|
+
/**
|
|
14276
|
+
* The number of chunks to send in each batch.
|
|
14277
|
+
* @returns The number of chunks to send in each batch.
|
|
14278
|
+
*/
|
|
14279
|
+
getviewDistance(): number;
|
|
14280
|
+
/**
|
|
14281
|
+
* Sets the number of chunks to send in each batch.
|
|
14282
|
+
* @param size The number of chunks to send in each batch.
|
|
14283
|
+
*/
|
|
14284
|
+
setviewDistance(size: number): void;
|
|
13995
14285
|
}
|
|
13996
14286
|
|
|
13997
14287
|
declare class PlayerEntityRenderingTrait extends PlayerTrait {
|
|
@@ -14032,13 +14322,32 @@ declare class PlayerListTrait extends PlayerTrait {
|
|
|
14032
14322
|
* The players that are being displayed in the player list.
|
|
14033
14323
|
*/
|
|
14034
14324
|
readonly players: Set<string>;
|
|
14325
|
+
/**
|
|
14326
|
+
* Whether the player list syncs across worlds.
|
|
14327
|
+
*/
|
|
14328
|
+
private listSyncsAcrossWorlds;
|
|
14329
|
+
/**
|
|
14330
|
+
* Gets whether the player list syncs across worlds.
|
|
14331
|
+
* @returns Whether the player list syncs across worlds.
|
|
14332
|
+
*/
|
|
14333
|
+
getListSyncsAcrossWorlds(): boolean;
|
|
14334
|
+
/**
|
|
14335
|
+
* Sets whether the player list syncs across worlds.
|
|
14336
|
+
* @param value Whether the player list syncs across worlds.
|
|
14337
|
+
*/
|
|
14338
|
+
setListSyncsAcrossWorlds(value: boolean): void;
|
|
14035
14339
|
/**
|
|
14036
14340
|
* Clears the player list.
|
|
14037
14341
|
*/
|
|
14038
14342
|
clear(player?: Player): void;
|
|
14039
|
-
|
|
14040
|
-
|
|
14041
|
-
|
|
14343
|
+
/**
|
|
14344
|
+
* Updates a player in the player list.
|
|
14345
|
+
* @param player The player being updated.
|
|
14346
|
+
* @param shouldRemove Whether the player should be removed from the list.
|
|
14347
|
+
*/
|
|
14348
|
+
update(player: Player, shouldRemove?: boolean): void;
|
|
14349
|
+
onSpawn(): void;
|
|
14350
|
+
onDespawn(): void;
|
|
14042
14351
|
onRemove(): void;
|
|
14043
14352
|
}
|
|
14044
14353
|
|
|
@@ -14537,6 +14846,7 @@ declare class EntityItemStackTrait extends EntityTrait {
|
|
|
14537
14846
|
decrement(amount?: number): void;
|
|
14538
14847
|
onAdd(): void;
|
|
14539
14848
|
onRemove(): void;
|
|
14849
|
+
private resetTarget;
|
|
14540
14850
|
onTick(details: TraitOnTickDetails): void;
|
|
14541
14851
|
}
|
|
14542
14852
|
|
|
@@ -14552,6 +14862,18 @@ declare class EntityEffectsTrait extends EntityTrait {
|
|
|
14552
14862
|
constructor(entity: Entity);
|
|
14553
14863
|
onTick(): void;
|
|
14554
14864
|
removeEffect(effectType: EffectType): void;
|
|
14865
|
+
/**
|
|
14866
|
+
* Checks if the entity has an active effect of the specified type.
|
|
14867
|
+
*
|
|
14868
|
+
* @param effectType - The type of the effect to check.
|
|
14869
|
+
* @returns `true` if the entity has an active effect of the specified type; otherwise, `false`.
|
|
14870
|
+
*/
|
|
14871
|
+
hasEffect(effectType: EffectType): boolean;
|
|
14872
|
+
/**
|
|
14873
|
+
* Retrieves all active effects on the entity.
|
|
14874
|
+
* @returns An array of active effects.
|
|
14875
|
+
*/
|
|
14876
|
+
getEffects(): Array<EffectType>;
|
|
14555
14877
|
addEffect(effectType: EffectType, duration: number, options?: EntityEffectOptions): void;
|
|
14556
14878
|
private sendPacket;
|
|
14557
14879
|
onSpawn(): void;
|
|
@@ -16002,6 +16324,23 @@ declare class BlockShulkerBoxTrait extends BlockInventoryTrait {
|
|
|
16002
16324
|
onClose(silent?: boolean): void;
|
|
16003
16325
|
}
|
|
16004
16326
|
|
|
16327
|
+
declare class BlockSupportTrait extends BlockTrait {
|
|
16328
|
+
static readonly identifier = "support";
|
|
16329
|
+
static tag: string;
|
|
16330
|
+
static types: string[];
|
|
16331
|
+
/**
|
|
16332
|
+
* The block type that provides support for this block.
|
|
16333
|
+
* If null, any block type can provide support.
|
|
16334
|
+
*/
|
|
16335
|
+
private supportBlockType;
|
|
16336
|
+
/**
|
|
16337
|
+
* The direction in which the block is supported.
|
|
16338
|
+
*/
|
|
16339
|
+
private supportDirections;
|
|
16340
|
+
constructor(block: Block);
|
|
16341
|
+
onUpdate(): void;
|
|
16342
|
+
}
|
|
16343
|
+
|
|
16005
16344
|
/**
|
|
16006
16345
|
* BlockType represents a block type in the game, which hold all possible permutations the block can have.
|
|
16007
16346
|
*
|
|
@@ -16437,88 +16776,6 @@ interface BlockDestroyOptions {
|
|
|
16437
16776
|
dropLoot?: boolean;
|
|
16438
16777
|
}
|
|
16439
16778
|
|
|
16440
|
-
interface DimensionProperties {
|
|
16441
|
-
identifier: string;
|
|
16442
|
-
type: DimensionType;
|
|
16443
|
-
generator: string;
|
|
16444
|
-
viewDistance: number;
|
|
16445
|
-
simulationDistance: number;
|
|
16446
|
-
spawnPosition: [number, number, number];
|
|
16447
|
-
}
|
|
16448
|
-
interface EntityQueryOptions {
|
|
16449
|
-
/**
|
|
16450
|
-
* Limit the number of entities to query.
|
|
16451
|
-
*/
|
|
16452
|
-
count?: number;
|
|
16453
|
-
/**
|
|
16454
|
-
* The seed position to query entities from.
|
|
16455
|
-
*/
|
|
16456
|
-
position?: Vector3f;
|
|
16457
|
-
/**
|
|
16458
|
-
* The maximum distance from the position to query entities from.
|
|
16459
|
-
* @Note A position is required to use this option.
|
|
16460
|
-
*/
|
|
16461
|
-
maxDistance?: number;
|
|
16462
|
-
/**
|
|
16463
|
-
* The minimum distance from the position to query entities from.
|
|
16464
|
-
* @Note A position is required to use this option.
|
|
16465
|
-
*/
|
|
16466
|
-
minDistance?: number;
|
|
16467
|
-
/**
|
|
16468
|
-
* The chunk to query entities from.
|
|
16469
|
-
*/
|
|
16470
|
-
chunk?: Chunk;
|
|
16471
|
-
}
|
|
16472
|
-
interface StructurePlaceOptions {
|
|
16473
|
-
/**
|
|
16474
|
-
* The amount of ticks to animate the structure placement over.
|
|
16475
|
-
*/
|
|
16476
|
-
animationTicks?: number;
|
|
16477
|
-
/**
|
|
16478
|
-
* The number of blocks to place per animation tick.
|
|
16479
|
-
*/
|
|
16480
|
-
blocksPerAnimationTick?: number;
|
|
16481
|
-
/**
|
|
16482
|
-
* Whether to mark the chunks as dirty after placing the structure.
|
|
16483
|
-
*/
|
|
16484
|
-
markAsDirty?: boolean;
|
|
16485
|
-
/**
|
|
16486
|
-
* If the structure should place air blocks.
|
|
16487
|
-
*/
|
|
16488
|
-
placeAirBlocks?: boolean;
|
|
16489
|
-
}
|
|
16490
|
-
|
|
16491
|
-
interface WorldProperties {
|
|
16492
|
-
/**
|
|
16493
|
-
* The identifier of the world.
|
|
16494
|
-
*/
|
|
16495
|
-
identifier: string;
|
|
16496
|
-
/**
|
|
16497
|
-
* The generation seed of the world.
|
|
16498
|
-
*/
|
|
16499
|
-
seed: number;
|
|
16500
|
-
/**
|
|
16501
|
-
* The gamemode of the world.
|
|
16502
|
-
*/
|
|
16503
|
-
gamemode: Gamemode | "survival" | "creative" | "adventure" | "spectator";
|
|
16504
|
-
/**
|
|
16505
|
-
* The difficulty of the world.
|
|
16506
|
-
*/
|
|
16507
|
-
difficulty: Difficulty | "peaceful" | "easy" | "normal" | "hard";
|
|
16508
|
-
/**
|
|
16509
|
-
* The amount of minutes between each save.
|
|
16510
|
-
*/
|
|
16511
|
-
saveInterval: number;
|
|
16512
|
-
/**
|
|
16513
|
-
* The dimension properties of the world.
|
|
16514
|
-
*/
|
|
16515
|
-
dimensions: Array<Partial<DimensionProperties>>;
|
|
16516
|
-
/**
|
|
16517
|
-
* The gamerules of the world.
|
|
16518
|
-
*/
|
|
16519
|
-
gamerules: Partial<Record<GameRule, boolean | number>>;
|
|
16520
|
-
}
|
|
16521
|
-
|
|
16522
16779
|
interface TerrainGeneratorProperties {
|
|
16523
16780
|
seed: number;
|
|
16524
16781
|
}
|
|
@@ -16554,6 +16811,11 @@ declare class EventSignal {
|
|
|
16554
16811
|
* @returns Whether the signal was emitted successfully; default is true.
|
|
16555
16812
|
*/
|
|
16556
16813
|
emit(): boolean;
|
|
16814
|
+
/**
|
|
16815
|
+
* Emits the signal instance asynchronously.
|
|
16816
|
+
* @returns Whether the signal was emitted successfully; default is true.
|
|
16817
|
+
*/
|
|
16818
|
+
emitAsync(): Promise<boolean>;
|
|
16557
16819
|
}
|
|
16558
16820
|
|
|
16559
16821
|
declare class WorldInitializeSignal extends EventSignal {
|
|
@@ -16897,6 +17159,24 @@ declare class EntityDropItemSignal extends EventSignal {
|
|
|
16897
17159
|
constructor(source: Entity, itemStack: ItemStack, amount: number);
|
|
16898
17160
|
}
|
|
16899
17161
|
|
|
17162
|
+
declare class EntityItemPickupSignal extends EventSignal {
|
|
17163
|
+
static readonly identifier = WorldEvent.EntityItemPickup;
|
|
17164
|
+
/**
|
|
17165
|
+
* The entity that picked up the item.
|
|
17166
|
+
*/
|
|
17167
|
+
readonly source: Entity;
|
|
17168
|
+
/**
|
|
17169
|
+
* The item stack that was picked up.
|
|
17170
|
+
*/
|
|
17171
|
+
readonly itemStack: ItemStack;
|
|
17172
|
+
/**
|
|
17173
|
+
* Creates a new entity item signal.
|
|
17174
|
+
* @param source The entity that picked up the item.
|
|
17175
|
+
* @param itemStack The item stack that was picked up.
|
|
17176
|
+
*/
|
|
17177
|
+
constructor(source: Entity, itemStack: ItemStack);
|
|
17178
|
+
}
|
|
17179
|
+
|
|
16900
17180
|
declare class PlayerAbilityUpdateSignal extends EventSignal {
|
|
16901
17181
|
static readonly identifier = WorldEvent.PlayerAbilityUpdate;
|
|
16902
17182
|
/**
|
|
@@ -17442,6 +17722,7 @@ interface WorldEventSignals {
|
|
|
17442
17722
|
[WorldEvent.EntityDied]: [EntityDiedSignal];
|
|
17443
17723
|
[WorldEvent.EntityHurt]: [EntityHurtSignal];
|
|
17444
17724
|
[WorldEvent.EntityDropItem]: [EntityDropItemSignal];
|
|
17725
|
+
[WorldEvent.EntityItemPickup]: [EntityItemPickupSignal];
|
|
17445
17726
|
[WorldEvent.HealthChanged]: [EntityHealthChangedSignal];
|
|
17446
17727
|
[WorldEvent.EffectAdd]: [EffectAddSignal];
|
|
17447
17728
|
[WorldEvent.EffectRemove]: [EffectRemoveSignal];
|
|
@@ -17643,12 +17924,6 @@ interface EntityEffectOptions {
|
|
|
17643
17924
|
amplifier?: number;
|
|
17644
17925
|
}
|
|
17645
17926
|
|
|
17646
|
-
interface LootEntry {
|
|
17647
|
-
itemStack: ItemStack;
|
|
17648
|
-
weight: number;
|
|
17649
|
-
function?: (itemStack: ItemStack) => ItemStack;
|
|
17650
|
-
}
|
|
17651
|
-
|
|
17652
17927
|
interface ResourceManifest {
|
|
17653
17928
|
format_version: number;
|
|
17654
17929
|
header: {
|
|
@@ -18191,6 +18466,24 @@ declare class LoginHandler extends NetworkHandler {
|
|
|
18191
18466
|
auth(packet: LoginPacket, connection: Connection): Promise<void>;
|
|
18192
18467
|
handle(packet: LoginPacket, connection: Connection): void;
|
|
18193
18468
|
static getUUIDFromXUID(xuid: string): string;
|
|
18469
|
+
static getUUIDFromUsername(username: string): string;
|
|
18470
|
+
/**
|
|
18471
|
+
* Generates a deterministic fake XUID for offline players
|
|
18472
|
+
* Uses a hash of the username to create a consistent 16-digit numeric string
|
|
18473
|
+
* @param username The player's username
|
|
18474
|
+
* @returns A fake XUID string
|
|
18475
|
+
*/
|
|
18476
|
+
static getOfflineXUID(username: string): string;
|
|
18477
|
+
/**
|
|
18478
|
+
* Parses an offline mode certificate to extract player identity
|
|
18479
|
+
* @param certificate The Certificate string containing the JWT chain
|
|
18480
|
+
* @returns The parsed offline player data
|
|
18481
|
+
*/
|
|
18482
|
+
static parseOfflineCertificate(certificate: string): {
|
|
18483
|
+
cpk: string;
|
|
18484
|
+
displayName: string;
|
|
18485
|
+
identity: string;
|
|
18486
|
+
};
|
|
18194
18487
|
/**
|
|
18195
18488
|
* Decodes the login tokens and returns the data
|
|
18196
18489
|
* @param tokens The login tokens
|
|
@@ -18247,6 +18540,16 @@ declare class PlayerAuthInputHandler extends NetworkHandler {
|
|
|
18247
18540
|
* @param actions The block actions performed by the player
|
|
18248
18541
|
*/
|
|
18249
18542
|
handleBlockActions(player: Player, actions: Array<PlayerBlockActionData>, request?: ItemStackRequestActionMineBlock): void;
|
|
18543
|
+
handleItemStackRequest(player: Player, request: PlayerAuthItemStackRequest): void;
|
|
18544
|
+
handleMineBlockAction(player: Player, action: ItemStackRequestActionMineBlock): Array<ItemStackResponseContainerInfo> | null;
|
|
18545
|
+
/**
|
|
18546
|
+
* Builds the container info for the given parameters.
|
|
18547
|
+
* @param containerName The full container name.
|
|
18548
|
+
* @param slot The slot number.
|
|
18549
|
+
* @param itemStack The item stack.
|
|
18550
|
+
* @returns The container info.
|
|
18551
|
+
*/
|
|
18552
|
+
private buildContainerInfo;
|
|
18250
18553
|
}
|
|
18251
18554
|
|
|
18252
18555
|
declare class RequestChunkRadiusHandler extends NetworkHandler {
|
|
@@ -18382,10 +18685,43 @@ declare class StructureBlockUpdateHander extends NetworkHandler {
|
|
|
18382
18685
|
|
|
18383
18686
|
declare const Handlers: (typeof AnimateHandler | typeof ContainerCloseHandler | typeof DisconnectHandler | typeof InventoryTransactionHandler | typeof ItemStackRequestHandler | typeof LoginHandler | typeof MobEquipmentHandler | typeof PlayerActionHandler | typeof PlayerAuthInputHandler | typeof RequestChunkRadiusHandler | typeof RequestNetworkSettingsHandler | typeof ResourcePackClientResponseHandler | typeof SetLocalPlayerAsInitializedHandler | typeof TextHandler | typeof CommandRequestHandler | typeof InteractHandler | typeof RespawnHandler | typeof ModalFormResponseHandler | typeof RequestPermissionsHandler | typeof BlockPickRequestHandler | typeof EmoteHandler | typeof ResourcePackChunkRequestHandler | typeof ActorEventHandler | typeof EntityPickRequestHandler | typeof NpcRequestHandler | typeof PacketViolationWarningHandler | typeof CommandBlockUpdateHandler | typeof SetDefaultGamemodeHander | typeof SetDifficultyHander | typeof SetPlayerGameTypeHander | typeof BlockActorDataHandler | typeof StructureBlockUpdateHander)[];
|
|
18384
18687
|
|
|
18688
|
+
interface LootEntry {
|
|
18689
|
+
/**
|
|
18690
|
+
* The item stack of the loot entry.
|
|
18691
|
+
*/
|
|
18692
|
+
itemStack: ItemStack;
|
|
18693
|
+
/**
|
|
18694
|
+
* The weight of the loot entry.
|
|
18695
|
+
*/
|
|
18696
|
+
weight: number;
|
|
18697
|
+
}
|
|
18698
|
+
|
|
18385
18699
|
declare class LootPool {
|
|
18386
|
-
|
|
18387
|
-
|
|
18700
|
+
/**
|
|
18701
|
+
* The loot entries contained in the pool.
|
|
18702
|
+
*/
|
|
18703
|
+
private readonly entries;
|
|
18704
|
+
/**
|
|
18705
|
+
* The number of rolls to perform when rolling the pool.
|
|
18706
|
+
*/
|
|
18707
|
+
private rolls;
|
|
18708
|
+
/**
|
|
18709
|
+
* Creates a new loot pool.
|
|
18710
|
+
* @param entries The loot entries that will be contained in the pool.
|
|
18711
|
+
* @param rolls The number of rolls to perform when rolling the pool.
|
|
18712
|
+
*/
|
|
18388
18713
|
constructor(entries: Array<LootEntry>, rolls: number);
|
|
18714
|
+
/**
|
|
18715
|
+
* Gets the number of rolls of the loot pool.
|
|
18716
|
+
* @returns The number of rolls of the loot pool.
|
|
18717
|
+
*/
|
|
18718
|
+
getRolls(): number;
|
|
18719
|
+
/**
|
|
18720
|
+
* Sets the number of rolls of the loot pool.
|
|
18721
|
+
* @param rolls The number of rolls to set.
|
|
18722
|
+
* @returns The loot pool instance.
|
|
18723
|
+
*/
|
|
18724
|
+
setRolls(rolls: number): this;
|
|
18389
18725
|
/**
|
|
18390
18726
|
* Rolls the pool to get the loot items.
|
|
18391
18727
|
* @returns The loot items from the pool roll.
|
|
@@ -18404,7 +18740,14 @@ declare class LootPool {
|
|
|
18404
18740
|
}
|
|
18405
18741
|
|
|
18406
18742
|
declare class LootTable {
|
|
18743
|
+
/**
|
|
18744
|
+
* The loot pools contained in the loot table.
|
|
18745
|
+
*/
|
|
18407
18746
|
private readonly pools;
|
|
18747
|
+
/**
|
|
18748
|
+
* Creates a new loot table.
|
|
18749
|
+
* @param pools The loot pools that will be contained in the loot table.
|
|
18750
|
+
*/
|
|
18408
18751
|
constructor(pools: Array<LootPool> | Set<LootPool>);
|
|
18409
18752
|
/**
|
|
18410
18753
|
* Adds a pool to the loot table.
|
|
@@ -18466,4 +18809,4 @@ declare class Astar {
|
|
|
18466
18809
|
private inSet;
|
|
18467
18810
|
}
|
|
18468
18811
|
|
|
18469
|
-
export { AbilityEnum, type AcaciaButtonBlock, type AcaciaDoorBlock, type AcaciaDoubleSlabBlock, type AcaciaFenceGateBlock, type AcaciaHangingSignBlock, type AcaciaLeavesBlock, type AcaciaLogBlock, type AcaciaPressurePlateBlock, type AcaciaSaplingBlock, type AcaciaSlabBlock, type AcaciaStairsBlock, type AcaciaStandingSignBlock, type AcaciaTrapdoorBlock, type AcaciaWallSignBlock, type AcaciaWoodBlock, ActionForm, type ActionFormElement, type ActionFormImage, type ActivatorRailBlock, type AlliumBlock, type AmethystClusterBlock, type AndesiteDoubleSlabBlock, type AndesiteSlabBlock, type AndesiteStairsBlock, type AnvilBlock, Astar, type Attachment, type AzaleaLeavesBlock, type AzaleaLeavesFloweredBlock, type AzureBluetBlock, type BambooBlock, type BambooBlockBlock, type BambooButtonBlock, type BambooDoorBlock, type BambooDoubleSlabBlock, type BambooFenceGateBlock, type BambooHangingSignBlock, type BambooLeafSize, type BambooMosaicDoubleSlabBlock, type BambooMosaicSlabBlock, type BambooMosaicStairsBlock, type BambooPressurePlateBlock, type BambooSaplingBlock, type BambooSlabBlock, type BambooStairsBlock, type BambooStalkThickness, type BambooStandingSignBlock, type BambooTrapdoorBlock, type BambooWallSignBlock, type BarrelBlock, type BasaltBlock, type BedBlock, type BedrockBlock, type BeeNestBlock, type BeehiveBlock, type BeetrootBlock, type BellBlock, type BigDripleafBlock, type BigDripleafTilt, BinaryHeap, type BinaryItem, BiomePalette, BiomeStorage, BiomeType, type BirchButtonBlock, type BirchDoorBlock, type BirchDoubleSlabBlock, type BirchFenceGateBlock, type BirchHangingSignBlock, type BirchLeavesBlock, type BirchLogBlock, type BirchPressurePlateBlock, type BirchSaplingBlock, type BirchSlabBlock, type BirchStairsBlock, type BirchStandingSignBlock, type BirchTrapdoorBlock, type BirchWallSignBlock, type BirchWoodBlock, type BlackCandleBlock, type BlackCandleCakeBlock, type BlackGlazedTerracottaBlock, type BlackstoneDoubleSlabBlock, type BlackstoneSlabBlock, type BlackstoneStairsBlock, type BlackstoneWallBlock, type BlastFurnaceBlock, Block, BlockBarrelTrait, BlockButtonTrait, BlockCardinalDirectionTrait, BlockChestTrait, BlockCommandBlockTrait, BlockContainer, BlockCraftingTableTrait, type BlockDestroyOptions, BlockDirectionTrait, BlockEnum, BlockFacingDirection, BlockIdentifier, type BlockInteractionOptions, BlockInventoryTrait, type BlockInventoryTraitOptions, BlockLevelStorage, BlockMaterialSound, BlockOpenBitTrait, BlockPalette, BlockPermutation, BlockPermutationUpdateSignal, BlockPillarAxisTrait, type BlockPlacementOptions, type BlockRaycastOptions, BlockShulkerBoxTrait, BlockSignTrait, type BlockState, BlockStorage, BlockStructureTrait, BlockToolType, BlockTorchDirectionTrait, BlockTrait, BlockTraits, BlockType, BlockTypeCollisionBoxComponent, type BlockTypeCollisionBoxComponentOptions, BlockTypeComponent, BlockTypeCraftingTableComponent, type BlockTypeCraftingTableComponentOptions, type BlockTypeDefinition, BlockTypeDestructableByMiningComponent, BlockTypeDisplayNameComponent, BlockTypeFrictionComponent, BlockTypeGeometryComponent, type BlockTypeGeometryComponentOptions, BlockTypeInteractableComponent, BlockTypeLightDampeningComponent, BlockTypeLightEmissionComponent, BlockTypeMaterialInstancesComponent, type BlockTypeMaterialInstancesComponentOptions, type BlockTypeNbtDefinition, type BlockTypeNbtPermutationDefinition, type BlockTypeNbtStateDefinition, type BlockTypeProperties, BlockTypeSelectionBoxComponent, type BlockTypeSelectionBoxComponentOptions, BlockTypeTransformationComponent, type BlockTypeTransformationComponentOptions, BlockUpdateSignal, BlockUpperTrait, BlockUpsideDownBitTrait, BlockWeirdoDirectionTrait, type BlueCandleBlock, type BlueCandleCakeBlock, type BlueGlazedTerracottaBlock, type BlueOrchidBlock, type BoneBlockBlock, BooleanEnum, type BorderBlockBlock, Bossbar, type BrainCoralBlock, type BrainCoralBlockBlock, type BrainCoralFanBlock, type BrainCoralWallFanBlock, type BrewingStandBlock, type BrickDoubleSlabBlock, type BrickSlabBlock, type BrickStairsBlock, type BrownCandleBlock, type BrownCandleCakeBlock, type BrownGlazedTerracottaBlock, type BrownMushroomBlockBlock, type BubbleColumnBlock, type BubbleCoralBlock, type BubbleCoralBlockBlock, type BubbleCoralFanBlock, type BubbleCoralWallFanBlock, type CactusBlock, type CakeBlock, type CalibratedSculkSensorBlock, type CampfireBlock, type CandleBlock, type CandleCakeBlock, CardinalDirection, type CarrotsBlock, type CarvedPumpkinBlock, type CauldronBlock, type CauldronLiquid, type CaveVinesBlock, type CaveVinesBodyWithBerriesBlock, type CaveVinesHeadWithBerriesBlock, type ChainBlock, type ChainCommandBlockBlock, type ChemistryTableBlock, type ChemistryTableType, type CherryButtonBlock, type CherryDoorBlock, type CherryDoubleSlabBlock, type CherryFenceGateBlock, type CherryHangingSignBlock, type CherryLeavesBlock, type CherryLogBlock, type CherryPressurePlateBlock, type CherrySaplingBlock, type CherrySlabBlock, type CherryStairsBlock, type CherryStandingSignBlock, type CherryTrapdoorBlock, type CherryWallSignBlock, type CherryWoodBlock, type ChestBlock, type ChippedAnvilBlock, type ChiselType, type ChiseledBookshelfBlock, type ChiseledQuartzBlockBlock, type ChiseledRedSandstoneBlock, type ChiseledSandstoneBlock, type ChiseledStoneBricksBlock, type ChorusFlowerBlock, Chunk, ChunkReadySignal, ClientSystemInfo, type CobbledDeepslateDoubleSlabBlock, type CobbledDeepslateSlabBlock, type CobbledDeepslateStairsBlock, type CobbledDeepslateWallBlock, type CobblestoneDoubleSlabBlock, type CobblestoneSlabBlock, type CobblestoneWallBlock, type CocoaBlock, type ColoredTorchBpBlock, type ColoredTorchRgBlock, Command, CommandArgumentPointer, type CommandArguments, type CommandBlockBlock, type CommandCallback, type CommandContext, CommandExecutionState, type CommandOverload, CommandPalette, CommandRegistry, type CommandRegistryCallback, type CommandResponse, CommonCommands, type ComposterBlock, ConsoleInterface, Container, type CopperBulbBlock, type CopperDoorBlock, type CopperTrapdoorBlock, type CoralColor, type CornflowerBlock, type CrackedState, type CrackedStoneBricksBlock, type CrafterBlock, type CraftingRecipeIngredient, CreateContentGroup, CreativeItemDescriptor, type CrimsonButtonBlock, type CrimsonDoorBlock, type CrimsonDoubleSlabBlock, type CrimsonFenceGateBlock, type CrimsonHangingSignBlock, type CrimsonHyphaeBlock, type CrimsonPressurePlateBlock, type CrimsonSlabBlock, type CrimsonStairsBlock, type CrimsonStandingSignBlock, type CrimsonStemBlock, type CrimsonTrapdoorBlock, type CrimsonWallSignBlock, CustomBiomeType, type CustomBlockProperties, CustomBlockType, CustomEntityType, CustomEnum, CustomItemType, type CutCopperSlabBlock, type CutCopperStairsBlock, type CutRedSandstoneBlock, type CutRedSandstoneDoubleSlabBlock, type CutRedSandstoneSlabBlock, type CutSandstoneBlock, type CutSandstoneDoubleSlabBlock, type CutSandstoneSlabBlock, type CyanCandleBlock, type CyanCandleCakeBlock, type CyanGlazedTerracottaBlock, type Damage, type DamagedAnvilBlock, type DarkOakButtonBlock, type DarkOakDoorBlock, type DarkOakDoubleSlabBlock, type DarkOakFenceGateBlock, type DarkOakHangingSignBlock, type DarkOakLeavesBlock, type DarkOakLogBlock, type DarkOakPressurePlateBlock, type DarkOakSaplingBlock, type DarkOakSlabBlock, type DarkOakStairsBlock, type DarkOakTrapdoorBlock, type DarkOakWoodBlock, type DarkPrismarineBlock, type DarkPrismarineDoubleSlabBlock, type DarkPrismarineSlabBlock, type DarkPrismarineStairsBlock, type DarkoakStandingSignBlock, type DarkoakWallSignBlock, type DaylightDetectorBlock, type DaylightDetectorInvertedBlock, type DeadBrainCoralBlock, type DeadBrainCoralBlockBlock, type DeadBrainCoralFanBlock, type DeadBrainCoralWallFanBlock, type DeadBubbleCoralBlock, type DeadBubbleCoralBlockBlock, type DeadBubbleCoralFanBlock, type DeadBubbleCoralWallFanBlock, type DeadFireCoralBlock, type DeadFireCoralBlockBlock, type DeadFireCoralFanBlock, type DeadFireCoralWallFanBlock, type DeadHornCoralBlock, type DeadHornCoralBlockBlock, type DeadHornCoralFanBlock, type DeadHornCoralWallFanBlock, type DeadTubeCoralBlock, type DeadTubeCoralBlockBlock, type DeadTubeCoralFanBlock, type DeadTubeCoralWallFanBlock, type DecoratedPotBlock, type DeepslateBlock, type DeepslateBrickDoubleSlabBlock, type DeepslateBrickSlabBlock, type DeepslateBrickStairsBlock, type DeepslateBrickWallBlock, type DeepslateTileDoubleSlabBlock, type DeepslateTileSlabBlock, type DeepslateTileStairsBlock, type DeepslateTileWallBlock, DefaultDimensionProperties, DefaultItemStackOptions, DefaultResourcesProperties, DefaultWorldProviderProperties, type DeprecatedAnvilBlock, type DetectorRailBlock, DialogueForm, type DialogueFormButton, type DialogueFormProperties, Dimension, type DimensionProperties, type DioriteDoubleSlabBlock, type DioriteSlabBlock, type DioriteStairsBlock, type DispenserBlock, type DoubleCutCopperSlabBlock, type DoublePlantType, type DripstoneThickness, type DropperBlock, EffectAddSignal, EffectRemoveSignal, EnchantmentsEnum, type EndBrickStairsBlock, type EndPortalFrameBlock, type EndRodBlock, type EndStoneBrickDoubleSlabBlock, type EndStoneBrickSlabBlock, type EnderChestBlock, Entity, EntityActorFlags, EntityAirSupplyTrait, EntityAttributeTrait, EntityAttributeUpdateSignal, EntityBooleanProperty, EntityCollisionTrait, EntityContainer, type EntityDeathOptions, type EntityDespawnOptions, EntityDespawnedSignal, EntityDiedSignal, EntityDimensionChangeSignal, EntityDropItemSignal, type EntityEffectOptions, EntityEffectsTrait, EntityEnum, EntityEnumProperty, EntityEquipmentTrait, type EntityFallOnBlockTraitEvent, EntityFlagUpdateSignal, EntityFloatProperty, EntityGravityTrait, EntityHealthChangedSignal, EntityHealthTrait, EntityHitSignal, EntityHurtSignal, EntityIdentifier, EntityIntProperty, EntityInteractMethod, EntityInventoryTrait, type EntityInventoryTraitOptions, EntityInvisibilityTrait, EntityItemStackTrait, type EntityItemStackTraitOptions, EntityLevelStorage, EntityLookAtPlayerTrait, EntityMetadataUpdateSignal, EntityMovementTrait, EntityNameableTrait, type EntityNpcDialogueProperty, EntityNpcTrait, EntityPalette, EntityPhysicsTrait, type EntityProperties, EntityProperty, type EntityQueryOptions, EntityRideableTrait, EntityRidingTrait, EntitySharedProperties, type EntitySpawnOptions, EntitySpawnedSignal, type EntityTeleportOptions, EntityTrait, EntityTraitEnum, EntityTraits, EntityType, EntityXpOrbTrait, Enum, EventSignal, type ExposedCopperBulbBlock, type ExposedCopperDoorBlock, type ExposedCopperTrapdoorBlock, type ExposedCutCopperSlabBlock, type ExposedCutCopperStairsBlock, type ExposedDoubleCutCopperSlabBlock, FacingDirection, type FarmlandBlock, type FenceGateBlock, type FernBlock, type FileMap, FileSystemProvider, type FireBlock, type FireCoralBlock, type FireCoralBlockBlock, type FireCoralFanBlock, type FireCoralWallFanBlock, type FlowerPotBlock, type FlowerType, type FlowingLavaBlock, type FlowingWaterBlock, Form, type FormParticipant, type FormResult, type FrameBlock, type FrostedIceBlock, type FurnaceBlock, GamemodeEnum, type GlowFrameBlock, type GlowLichenBlock, type GoldenRailBlock, type GraniteDoubleSlabBlock, type GraniteSlabBlock, type GraniteStairsBlock, type GrayCandleBlock, type GrayCandleCakeBlock, type GrayGlazedTerracottaBlock, type GreenCandleBlock, type GreenCandleCakeBlock, type GreenGlazedTerracottaBlock, type GrindstoneBlock, Handlers, type HayBlockBlock, type HeavyWeightedPressurePlateBlock, type HopperBlock, type HornCoralBlock, type HornCoralBlockBlock, type HornCoralFanBlock, type HornCoralWallFanBlock, type IPermissionDefinition, type IPermissionGroup, type IPermissionMember, type IPermissions, type InfestedChiseledStoneBricksBlock, type InfestedCobblestoneBlock, type InfestedCrackedStoneBricksBlock, type InfestedDeepslateBlock, type InfestedMossyStoneBricksBlock, type InfestedStoneBlock, type InfestedStoneBricksBlock, IntegerEnum, InternalProvider, type IronDoorBlock, type IronTrapdoorBlock, ItemCategory, ItemDrop, ItemEnum, ItemGroup, ItemIdentifier, ItemLockMode, ItemPalette, ItemStack, ItemStackBundleTrait, ItemStackDamagedSignal, ItemStackDisplayTrait, type ItemStackDisplayTraitOptions, type ItemStackDroppedOptions, ItemStackDurabilityTrait, ItemStackEnchantableTrait, ItemStackFoodTrait, ItemStackInstanceStorage, ItemStackKeepOnDieTrait, ItemStackLevelStorage, ItemStackLiquidContainerTrait, ItemStackLockTrait, type ItemStackOptions, ItemStackShooterTrait, ItemStackSignTrait, ItemStackSpawnEggTrait, ItemStackTrait, ItemStackTraits, type ItemStackUseOnBlockOptions, type ItemStackUseOnEntityOptions, type ItemStackUseOptions, ItemStackWeaponTrait, ItemStackWearableTrait, type ItemStackWearableTraitProperties, ItemToolType, ItemType, ItemTypeBlockPlacerComponent, type ItemTypeBlockPlacerComponentOptions, ItemTypeCanDestroyInCreativeComponent, ItemTypeComponent, ItemTypeComponentCollection, ItemTypeComponents, ItemTypeCooldownComponent, type ItemTypeCooldownComponentOptions, ItemTypeDamageComponent, ItemTypeDiggerComponent, type ItemTypeDiggerComponentOptions, ItemTypeDisplayNameComponent, ItemTypeDurabilityComponent, type ItemTypeDurabilityComponentOptions, type ItemTypeDurabilityDamageChance, ItemTypeFoodComponent, type ItemTypeFoodComponentOptions, type ItemTypeFoodEffectOptions, ItemTypeHandEquippedComponent, ItemTypeIconComponent, type ItemTypeIconComponentOptions, ItemTypeItemPropertiesComponent, ItemTypeMaxStackComponent, type ItemTypeOptions, ItemTypeToolTier, ItemTypeUseAnimationComponent, ItemTypeUseModifiersComponent, type ItemTypeUseModifiersComponentOptions, ItemTypeWearableComponent, type ItemTypeWearableComponentOptions, type ItemWeaponComponent, ItemWearableTier, type JSONLikeArray, type JSONLikeObject, type JSONLikeValue, type JigsawBlock, JsonObjectEnum, type JungleButtonBlock, type JungleDoorBlock, type JungleDoubleSlabBlock, type JungleFenceGateBlock, type JungleHangingSignBlock, type JungleLeavesBlock, type JungleLogBlock, type JunglePressurePlateBlock, type JungleSaplingBlock, type JungleSlabBlock, type JungleStairsBlock, type JungleStandingSignBlock, type JungleTrapdoorBlock, type JungleWallSignBlock, type JungleWoodBlock, type KelpBlock, type LadderBlock, type LanternBlock, type LargeAmethystBudBlock, type LargeFernBlock, type LavaBlock, type LecternBlock, LevelDBKeyBuilder, LevelDBProvider, type LeverBlock, type LeverDirection, type LightBlock0Block, type LightBlock10Block, type LightBlock11Block, type LightBlock12Block, type LightBlock13Block, type LightBlock14Block, type LightBlock15Block, type LightBlock1Block, type LightBlock2Block, type LightBlock3Block, type LightBlock4Block, type LightBlock5Block, type LightBlock6Block, type LightBlock7Block, type LightBlock8Block, type LightBlock9Block, type LightBlueCandleBlock, type LightBlueCandleCakeBlock, type LightBlueGlazedTerracottaBlock, type LightGrayCandleBlock, type LightGrayCandleCakeBlock, type LightWeightedPressurePlateBlock, type LightningRodBlock, type LilacBlock, type LilyOfTheValleyBlock, type LimeCandleBlock, type LimeCandleCakeBlock, type LimeGlazedTerracottaBlock, type LitBlastFurnaceBlock, type LitFurnaceBlock, type LitPumpkinBlock, type LitSmokerBlock, type LoomBlock, type LootEntry, LootPool, LootTable, type MagentaCandleBlock, type MagentaCandleCakeBlock, type MagentaGlazedTerracottaBlock, type MangroveButtonBlock, type MangroveDoorBlock, type MangroveDoubleSlabBlock, type MangroveFenceGateBlock, type MangroveHangingSignBlock, type MangroveLeavesBlock, type MangroveLogBlock, type MangrovePressurePlateBlock, type MangrovePropaguleBlock, type MangroveSlabBlock, type MangroveStairsBlock, type MangroveStandingSignBlock, type MangroveTrapdoorBlock, type MangroveWallSignBlock, type MangroveWoodBlock, type MaterialInstanceOptions, type MediumAmethystBudBlock, type MelonStemBlock, MessageForm, type MinecraftblockFace, type MinecraftcardinalDirection, type MinecraftfacingDirection, type MinecraftverticalHalf, ModalForm, type MonsterEggStoneType, type MossyCobblestoneDoubleSlabBlock, type MossyCobblestoneSlabBlock, type MossyCobblestoneStairsBlock, type MossyStoneBrickDoubleSlabBlock, type MossyStoneBrickSlabBlock, type MossyStoneBrickStairsBlock, type MossyStoneBricksBlock, type MudBrickDoubleSlabBlock, type MudBrickSlabBlock, type MudBrickStairsBlock, type MudBrickWallBlock, type MuddyMangroveRootsBlock, type NetherBrickDoubleSlabBlock, type NetherBrickSlabBlock, type NetherBrickStairsBlock, type NetherWartBlock, Network, NetworkBound, type NetworkEvents, NetworkHandler, type NetworkPacketEvent, type NetworkProperties, type NewLeafType, type NewLogType, Node, NodeEvaluator, type NormalStoneDoubleSlabBlock, type NormalStoneSlabBlock, type NormalStoneStairsBlock, type OakDoubleSlabBlock, type OakHangingSignBlock, type OakLeavesBlock, type OakLogBlock, type OakSaplingBlock, type OakSlabBlock, type OakStairsBlock, type OakWoodBlock, type ObserverBlock, type OchreFroglightBlock, OperatorCommands, type OrangeCandleBlock, type OrangeCandleCakeBlock, type OrangeGlazedTerracottaBlock, type OrangeTulipBlock, type Orientation, type OxeyeDaisyBlock, type OxidizedCopperBulbBlock, type OxidizedCopperDoorBlock, type OxidizedCopperTrapdoorBlock, type OxidizedCutCopperSlabBlock, type OxidizedCutCopperStairsBlock, type OxidizedDoubleCutCopperSlabBlock, type PearlescentFroglightBlock, type PeonyBlock, PermissionGroup, PermissionMember, PermissionsEnum, type PetrifiedOakDoubleSlabBlock, type PetrifiedOakSlabBlock, type PillarAxis, type PinkCandleBlock, type PinkCandleCakeBlock, type PinkGlazedTerracottaBlock, type PinkPetalsBlock, type PinkTulipBlock, type PistonArmCollisionBlock, type PistonBlock, type PitcherCropBlock, type PitcherPlantBlock, type PlaySoundOptions, Player, PlayerAbilities, PlayerAbilityUpdateSignal, type PlayerAnimationOptions, PlayerBreakBlockSignal, PlayerCamera, type PlayerCameraFadeOptions, type PlayerCameraFadeTimeOptions, type PlayerCameraFovOptions, PlayerChatSignal, PlayerChunkRenderingTrait, PlayerClosedContainerSignal, PlayerCombatTrait, PlayerCommandExecutorTrait, PlayerContainerInteractionSignal, PlayerCraftRecipeSignal, PlayerCraftingInputTrait, PlayerCraftingOutputTrait, PlayerCursorTrait, PlayerDropExperienceSignal, type PlayerEaseOptions, PlayerEditSignSignal, PlayerEntityRenderingTrait, PlayerGamemodeChangeSignal, PlayerHungerTrait, PlayerInitializedSignal, PlayerInteractWithBlockSignal, PlayerInteractWithEntitySignal, PlayerJoinSignal, PlayerLeaveSignal, PlayerLevelStorage, PlayerLevelingTrait, PlayerListTrait, PlayerOpenedContainerSignal, PlayerPlaceBlockSignal, type PlayerProperties, PlayerSkin, PlayerStartEmotingSignal, PlayerStartUsingItemSignal, PlayerStopEmotingSignal, PlayerStopUsingItemSignal, PlayerTrait, PlayerUseItemOnBlockSignal, PlayerUseItemOnEntitySignal, PlayerUseItemSignal, type PointedDripstoneBlock, type PolishedAndesiteDoubleSlabBlock, type PolishedAndesiteSlabBlock, type PolishedAndesiteStairsBlock, type PolishedBasaltBlock, type PolishedBlackstoneBrickDoubleSlabBlock, type PolishedBlackstoneBrickSlabBlock, type PolishedBlackstoneBrickStairsBlock, type PolishedBlackstoneBrickWallBlock, type PolishedBlackstoneButtonBlock, type PolishedBlackstoneDoubleSlabBlock, type PolishedBlackstonePressurePlateBlock, type PolishedBlackstoneSlabBlock, type PolishedBlackstoneStairsBlock, type PolishedBlackstoneWallBlock, type PolishedDeepslateDoubleSlabBlock, type PolishedDeepslateSlabBlock, type PolishedDeepslateStairsBlock, type PolishedDeepslateWallBlock, type PolishedDioriteDoubleSlabBlock, type PolishedDioriteSlabBlock, type PolishedDioriteStairsBlock, type PolishedGraniteDoubleSlabBlock, type PolishedGraniteSlabBlock, type PolishedGraniteStairsBlock, type PolishedTuffDoubleSlabBlock, type PolishedTuffSlabBlock, type PolishedTuffStairsBlock, type PolishedTuffWallBlock, type PoppyBlock, type PortalAxis, type PortalBlock, PositionEnum, type PotatoesBlock, type PoweredComparatorBlock, type PoweredRepeaterBlock, type PrismarineBlock, type PrismarineBlockType, type PrismarineBrickDoubleSlabBlock, type PrismarineBrickSlabBlock, type PrismarineBricksBlock, type PrismarineBricksStairsBlock, type PrismarineDoubleSlabBlock, type PrismarineSlabBlock, type PrismarineStairsBlock, type PumpkinBlock, type PumpkinStemBlock, type PurpleCandleBlock, type PurpleCandleCakeBlock, type PurpleGlazedTerracottaBlock, type PurpurBlockBlock, type PurpurDoubleSlabBlock, type PurpurSlabBlock, type PurpurStairsBlock, type QuartzBlockBlock, type QuartzDoubleSlabBlock, type QuartzPillarBlock, type QuartzSlabBlock, type QuartzStairsBlock, type RailBlock, type RawMessage, type RawMessageScore, type RawText, Recipe, type RedCandleBlock, type RedCandleCakeBlock, type RedGlazedTerracottaBlock, type RedMushroomBlockBlock, type RedNetherBrickDoubleSlabBlock, type RedNetherBrickSlabBlock, type RedNetherBrickStairsBlock, type RedSandBlock, type RedSandstoneBlock, type RedSandstoneDoubleSlabBlock, type RedSandstoneSlabBlock, type RedSandstoneStairsBlock, type RedTulipBlock, type RedstoneTorchBlock, type RedstoneWireBlock, type ReedsBlock, type RepeatingCommandBlockBlock, type ResourceManifest, ResourcePack, type ResourcePackEntry, type ResourcePacksProperties, Resources, type ResourcesProperties, type RespawnAnchorBlock, RideableSeat, type RideableSeatOptions, type RoseBushBlock, type SandBlock, type SandStoneType, type SandType, type SandstoneBlock, type SandstoneDoubleSlabBlock, type SandstoneSlabBlock, type SandstoneStairsBlock, type SaplingType, type ScaffoldingBlock, Scoreboard, ScoreboardIdentity, ScoreboardObjective, type ScoreboardObjectiveDisplayOptions, ScreenDisplay, type SculkCatalystBlock, type SculkSensorBlock, type SculkShriekerBlock, type SculkVeinBlock, type SeaGrassType, type SeaPickleBlock, type SeagrassBlock, Serenity, type SerenityProperties, ServerEvent, type ServerEvents, type ServerProperties, ServerState, type SessionPacketEvent, ShapedCraftingRecipe, ShapelessCraftingRecipe, type ShortGrassBlock, type SilverGlazedTerracottaBlock, type SkullBlock, type SmallAmethystBudBlock, type SmallDripleafBlockBlock, type SmokerBlock, type SmoothQuartzBlock, type SmoothQuartzDoubleSlabBlock, type SmoothQuartzSlabBlock, type SmoothQuartzStairsBlock, type SmoothRedSandstoneBlock, type SmoothRedSandstoneDoubleSlabBlock, type SmoothRedSandstoneSlabBlock, type SmoothRedSandstoneStairsBlock, type SmoothSandstoneBlock, type SmoothSandstoneDoubleSlabBlock, type SmoothSandstoneSlabBlock, type SmoothSandstoneStairsBlock, type SmoothStoneDoubleSlabBlock, type SmoothStoneSlabBlock, type SnifferEggBlock, type SnowLayerBlock, SoftEnum, type SoulCampfireBlock, type SoulFireBlock, type SoulLanternBlock, type SoulTorchBlock, type SpongeBlock, type SpongeType, type SpruceButtonBlock, type SpruceDoorBlock, type SpruceDoubleSlabBlock, type SpruceFenceGateBlock, type SpruceHangingSignBlock, type SpruceLeavesBlock, type SpruceLogBlock, type SprucePressurePlateBlock, type SpruceSaplingBlock, type SpruceSlabBlock, type SpruceStairsBlock, type SpruceStandingSignBlock, type SpruceTrapdoorBlock, type SpruceWallSignBlock, type SpruceWoodBlock, type StandingBannerBlock, type StandingSignBlock, type StickyPistonArmCollisionBlock, type StickyPistonBlock, type StoneBrickDoubleSlabBlock, type StoneBrickSlabBlock, type StoneBrickStairsBlock, type StoneBrickType, type StoneBricksBlock, type StoneButtonBlock, type StonePressurePlateBlock, type StoneSlabType, type StoneSlabType2, type StoneSlabType3, type StoneSlabType4, type StoneStairsBlock, type StonecutterBlockBlock, StringEnum, type StrippedAcaciaLogBlock, type StrippedAcaciaWoodBlock, type StrippedBambooBlockBlock, type StrippedBirchLogBlock, type StrippedBirchWoodBlock, type StrippedCherryLogBlock, type StrippedCherryWoodBlock, type StrippedCrimsonHyphaeBlock, type StrippedCrimsonStemBlock, type StrippedDarkOakLogBlock, type StrippedDarkOakWoodBlock, type StrippedJungleLogBlock, type StrippedJungleWoodBlock, type StrippedMangroveLogBlock, type StrippedMangroveWoodBlock, type StrippedOakLogBlock, type StrippedOakWoodBlock, type StrippedSpruceLogBlock, type StrippedSpruceWoodBlock, type StrippedWarpedHyphaeBlock, type StrippedWarpedStemBlock, Structure, type StructureBlockBlock, type StructureBlockType, type StructureData, StructureOperation, type StructurePlaceOptions, type StructureVoidBlock, type StructureVoidType, SubChunk, type SunflowerBlock, SuperflatGenerator, SuperflatWorker, type SuspiciousGravelBlock, type SuspiciousSandBlock, type SweetBerryBushBlock, TagEnum, type TallGrassBlock, type TallGrassType, TargetEnum, TerrainGenerator, type TerrainGeneratorProperties, TerrainWorker, TickSchedule, TimeOfDay, TimeOpertation, type TitleDisplayOptions, type TntBlock, type TorchBlock, TorchDirection, type TorchFacingDirection, type TorchflowerCropBlock, Trait, TraitActionEnum, type TraitOnTickDetails, type TrapdoorBlock, type TrappedChestBlock, type TrialSpawnerBlock, type TripWireBlock, type TripwireHookBlock, type TubeCoralBlock, type TubeCoralBlockBlock, type TubeCoralFanBlock, type TubeCoralWallFanBlock, type TuffBrickDoubleSlabBlock, type TuffBrickSlabBlock, type TuffBrickStairsBlock, type TuffBrickWallBlock, type TuffDoubleSlabBlock, type TuffSlabBlock, type TuffStairsBlock, type TuffWallBlock, type TurtleEggBlock, type TurtleEggCount, type TwistingVinesBlock, type UnderwaterTorchBlock, type UnlitRedstoneTorchBlock, type UnpoweredComparatorBlock, type UnpoweredRepeaterBlock, ValidEnum, type VaultBlock, type VaultState, type VerdantFroglightBlock, VerticalHalfTrait, type VineBlock, VoidGenerator, type WallBannerBlock, type WallBlockType, type WallConnectionTypeEast, type WallConnectionTypeNorth, type WallConnectionTypeSouth, type WallConnectionTypeWest, type WallSignBlock, type WarpedButtonBlock, type WarpedDoorBlock, type WarpedDoubleSlabBlock, type WarpedFenceGateBlock, type WarpedHangingSignBlock, type WarpedHyphaeBlock, type WarpedPressurePlateBlock, type WarpedSlabBlock, type WarpedStairsBlock, type WarpedStandingSignBlock, type WarpedStemBlock, type WarpedTrapdoorBlock, type WarpedWallSignBlock, type WaterBlock, type WaxedCopperBulbBlock, type WaxedCopperDoorBlock, type WaxedCopperTrapdoorBlock, type WaxedCutCopperSlabBlock, type WaxedCutCopperStairsBlock, type WaxedDoubleCutCopperSlabBlock, type WaxedExposedCopperBulbBlock, type WaxedExposedCopperDoorBlock, type WaxedExposedCopperTrapdoorBlock, type WaxedExposedCutCopperSlabBlock, type WaxedExposedCutCopperStairsBlock, type WaxedExposedDoubleCutCopperSlabBlock, type WaxedOxidizedCopperBulbBlock, type WaxedOxidizedCopperDoorBlock, type WaxedOxidizedCopperTrapdoorBlock, type WaxedOxidizedCutCopperSlabBlock, type WaxedOxidizedCutCopperStairsBlock, type WaxedOxidizedDoubleCutCopperSlabBlock, type WaxedWeatheredCopperBulbBlock, type WaxedWeatheredCopperDoorBlock, type WaxedWeatheredCopperTrapdoorBlock, type WaxedWeatheredCutCopperSlabBlock, type WaxedWeatheredCutCopperStairsBlock, type WaxedWeatheredDoubleCutCopperSlabBlock, type WeatheredCopperBulbBlock, type WeatheredCopperDoorBlock, type WeatheredCopperTrapdoorBlock, type WeatheredCutCopperSlabBlock, type WeatheredCutCopperStairsBlock, type WeatheredDoubleCutCopperSlabBlock, type WeepingVinesBlock, type WheatBlock, type WhiteCandleBlock, type WhiteCandleCakeBlock, type WhiteGlazedTerracottaBlock, type WhiteTulipBlock, type WoodenButtonBlock, type WoodenDoorBlock, type WoodenPressurePlateBlock, Worker, World, WorldEnum, WorldEvent, type WorldEventSignals, WorldInitializeSignal, type WorldProperties, WorldProvider, type WorldProviderProperties, WorldTickSignal, type YellowCandleBlock, type YellowCandleCakeBlock, type YellowGlazedTerracottaBlock };
|
|
18812
|
+
export { AbilityEnum, type AcaciaButtonBlock, type AcaciaDoorBlock, type AcaciaDoubleSlabBlock, type AcaciaFenceGateBlock, type AcaciaHangingSignBlock, type AcaciaLeavesBlock, type AcaciaLogBlock, type AcaciaPressurePlateBlock, type AcaciaSaplingBlock, type AcaciaSlabBlock, type AcaciaStairsBlock, type AcaciaStandingSignBlock, type AcaciaTrapdoorBlock, type AcaciaWallSignBlock, type AcaciaWoodBlock, ActionForm, type ActionFormElement, type ActionFormImage, type ActivatorRailBlock, type AlliumBlock, type AmethystClusterBlock, type AndesiteDoubleSlabBlock, type AndesiteSlabBlock, type AndesiteStairsBlock, type AnvilBlock, Astar, type Attachment, type AzaleaLeavesBlock, type AzaleaLeavesFloweredBlock, type AzureBluetBlock, type BambooBlock, type BambooBlockBlock, type BambooButtonBlock, type BambooDoorBlock, type BambooDoubleSlabBlock, type BambooFenceGateBlock, type BambooHangingSignBlock, type BambooLeafSize, type BambooMosaicDoubleSlabBlock, type BambooMosaicSlabBlock, type BambooMosaicStairsBlock, type BambooPressurePlateBlock, type BambooSaplingBlock, type BambooSlabBlock, type BambooStairsBlock, type BambooStalkThickness, type BambooStandingSignBlock, type BambooTrapdoorBlock, type BambooWallSignBlock, type BarrelBlock, type BasaltBlock, type BedBlock, type BedrockBlock, type BeeNestBlock, type BeehiveBlock, type BeetrootBlock, type BellBlock, type BigDripleafBlock, type BigDripleafTilt, BinaryHeap, type BinaryItem, BiomePalette, BiomeStorage, BiomeType, type BirchButtonBlock, type BirchDoorBlock, type BirchDoubleSlabBlock, type BirchFenceGateBlock, type BirchHangingSignBlock, type BirchLeavesBlock, type BirchLogBlock, type BirchPressurePlateBlock, type BirchSaplingBlock, type BirchSlabBlock, type BirchStairsBlock, type BirchStandingSignBlock, type BirchTrapdoorBlock, type BirchWallSignBlock, type BirchWoodBlock, type BlackCandleBlock, type BlackCandleCakeBlock, type BlackGlazedTerracottaBlock, type BlackstoneDoubleSlabBlock, type BlackstoneSlabBlock, type BlackstoneStairsBlock, type BlackstoneWallBlock, type BlastFurnaceBlock, Block, BlockBarrelTrait, BlockButtonTrait, BlockCardinalDirectionTrait, BlockChestTrait, BlockCommandBlockTrait, BlockContainer, BlockCraftingTableTrait, type BlockDestroyOptions, BlockDirectionTrait, BlockEnum, BlockFacingDirection, BlockIdentifier, type BlockInteractionOptions, BlockInventoryTrait, type BlockInventoryTraitOptions, BlockLevelStorage, BlockMaterialSound, BlockOpenBitTrait, BlockPalette, BlockPermutation, BlockPermutationUpdateSignal, BlockPillarAxisTrait, type BlockPlacementOptions, type BlockRaycastOptions, BlockShulkerBoxTrait, BlockSignTrait, type BlockState, BlockStorage, BlockStructureTrait, BlockSupportTrait, BlockToolType, BlockTorchDirectionTrait, BlockTrait, BlockTraits, BlockType, BlockTypeCollisionBoxComponent, type BlockTypeCollisionBoxComponentOptions, BlockTypeComponent, BlockTypeCraftingTableComponent, type BlockTypeCraftingTableComponentOptions, type BlockTypeDefinition, BlockTypeDestructableByMiningComponent, BlockTypeDisplayNameComponent, BlockTypeFrictionComponent, BlockTypeGeometryComponent, type BlockTypeGeometryComponentOptions, BlockTypeInteractableComponent, BlockTypeLightDampeningComponent, BlockTypeLightEmissionComponent, BlockTypeMaterialInstancesComponent, type BlockTypeMaterialInstancesComponentOptions, type BlockTypeNbtDefinition, type BlockTypeNbtPermutationDefinition, type BlockTypeNbtStateDefinition, type BlockTypeProperties, BlockTypeSelectionBoxComponent, type BlockTypeSelectionBoxComponentOptions, BlockTypeTransformationComponent, type BlockTypeTransformationComponentOptions, BlockUpdateSignal, BlockUpperTrait, BlockUpsideDownBitTrait, BlockWeirdoDirectionTrait, type BlueCandleBlock, type BlueCandleCakeBlock, type BlueGlazedTerracottaBlock, type BlueOrchidBlock, type BoneBlockBlock, BooleanEnum, type BorderBlockBlock, Bossbar, type BrainCoralBlock, type BrainCoralBlockBlock, type BrainCoralFanBlock, type BrainCoralWallFanBlock, type BrewingStandBlock, type BrickDoubleSlabBlock, type BrickSlabBlock, type BrickStairsBlock, type BrownCandleBlock, type BrownCandleCakeBlock, type BrownGlazedTerracottaBlock, type BrownMushroomBlockBlock, type BubbleColumnBlock, type BubbleCoralBlock, type BubbleCoralBlockBlock, type BubbleCoralFanBlock, type BubbleCoralWallFanBlock, type CactusBlock, type CakeBlock, type CalibratedSculkSensorBlock, type CampfireBlock, type CandleBlock, type CandleCakeBlock, CardinalDirection, type CarrotsBlock, type CarvedPumpkinBlock, type CauldronBlock, type CauldronLiquid, type CaveVinesBlock, type CaveVinesBodyWithBerriesBlock, type CaveVinesHeadWithBerriesBlock, type ChainBlock, type ChainCommandBlockBlock, type ChemistryTableBlock, type ChemistryTableType, type CherryButtonBlock, type CherryDoorBlock, type CherryDoubleSlabBlock, type CherryFenceGateBlock, type CherryHangingSignBlock, type CherryLeavesBlock, type CherryLogBlock, type CherryPressurePlateBlock, type CherrySaplingBlock, type CherrySlabBlock, type CherryStairsBlock, type CherryStandingSignBlock, type CherryTrapdoorBlock, type CherryWallSignBlock, type CherryWoodBlock, type ChestBlock, type ChippedAnvilBlock, type ChiselType, type ChiseledBookshelfBlock, type ChiseledQuartzBlockBlock, type ChiseledRedSandstoneBlock, type ChiseledSandstoneBlock, type ChiseledStoneBricksBlock, type ChorusFlowerBlock, Chunk, ChunkReadySignal, ClearEnum, ClientSystemInfo, type CobbledDeepslateDoubleSlabBlock, type CobbledDeepslateSlabBlock, type CobbledDeepslateStairsBlock, type CobbledDeepslateWallBlock, type CobblestoneDoubleSlabBlock, type CobblestoneSlabBlock, type CobblestoneWallBlock, type CocoaBlock, type ColoredTorchBpBlock, type ColoredTorchRgBlock, Command, CommandArgumentPointer, type CommandArguments, type CommandBlockBlock, type CommandCallback, type CommandContext, CommandExecutionState, type CommandOverload, CommandPalette, CommandRegistry, type CommandRegistryCallback, type CommandResponse, CommonCommands, type ComposterBlock, ConsoleInterface, Container, type CopperBulbBlock, type CopperDoorBlock, type CopperTrapdoorBlock, type CoralColor, type CornflowerBlock, type CrackedState, type CrackedStoneBricksBlock, type CrafterBlock, type CraftingRecipeIngredient, CreateContentGroup, CreativeItemDescriptor, type CrimsonButtonBlock, type CrimsonDoorBlock, type CrimsonDoubleSlabBlock, type CrimsonFenceGateBlock, type CrimsonHangingSignBlock, type CrimsonHyphaeBlock, type CrimsonPressurePlateBlock, type CrimsonSlabBlock, type CrimsonStairsBlock, type CrimsonStandingSignBlock, type CrimsonStemBlock, type CrimsonTrapdoorBlock, type CrimsonWallSignBlock, CustomBiomeType, type CustomBlockProperties, CustomBlockType, CustomEntityType, CustomEnum, CustomItemType, type CutCopperSlabBlock, type CutCopperStairsBlock, type CutRedSandstoneBlock, type CutRedSandstoneDoubleSlabBlock, type CutRedSandstoneSlabBlock, type CutSandstoneBlock, type CutSandstoneDoubleSlabBlock, type CutSandstoneSlabBlock, type CyanCandleBlock, type CyanCandleCakeBlock, type CyanGlazedTerracottaBlock, type Damage, type DamagedAnvilBlock, type DarkOakButtonBlock, type DarkOakDoorBlock, type DarkOakDoubleSlabBlock, type DarkOakFenceGateBlock, type DarkOakHangingSignBlock, type DarkOakLeavesBlock, type DarkOakLogBlock, type DarkOakPressurePlateBlock, type DarkOakSaplingBlock, type DarkOakSlabBlock, type DarkOakStairsBlock, type DarkOakTrapdoorBlock, type DarkOakWoodBlock, type DarkPrismarineBlock, type DarkPrismarineDoubleSlabBlock, type DarkPrismarineSlabBlock, type DarkPrismarineStairsBlock, type DarkoakStandingSignBlock, type DarkoakWallSignBlock, type DaylightDetectorBlock, type DaylightDetectorInvertedBlock, type DeadBrainCoralBlock, type DeadBrainCoralBlockBlock, type DeadBrainCoralFanBlock, type DeadBrainCoralWallFanBlock, type DeadBubbleCoralBlock, type DeadBubbleCoralBlockBlock, type DeadBubbleCoralFanBlock, type DeadBubbleCoralWallFanBlock, type DeadFireCoralBlock, type DeadFireCoralBlockBlock, type DeadFireCoralFanBlock, type DeadFireCoralWallFanBlock, type DeadHornCoralBlock, type DeadHornCoralBlockBlock, type DeadHornCoralFanBlock, type DeadHornCoralWallFanBlock, type DeadTubeCoralBlock, type DeadTubeCoralBlockBlock, type DeadTubeCoralFanBlock, type DeadTubeCoralWallFanBlock, type DecoratedPotBlock, type DeepslateBlock, type DeepslateBrickDoubleSlabBlock, type DeepslateBrickSlabBlock, type DeepslateBrickStairsBlock, type DeepslateBrickWallBlock, type DeepslateTileDoubleSlabBlock, type DeepslateTileSlabBlock, type DeepslateTileStairsBlock, type DeepslateTileWallBlock, DefaultDimensionProperties, DefaultItemStackOptions, DefaultResourcesProperties, DefaultWorldProviderProperties, type DeprecatedAnvilBlock, type DetectorRailBlock, DialogueForm, type DialogueFormButton, type DialogueFormProperties, Dimension, type DimensionProperties, type DioriteDoubleSlabBlock, type DioriteSlabBlock, type DioriteStairsBlock, type DispenserBlock, type DoubleCutCopperSlabBlock, type DoublePlantType, type DripstoneThickness, type DropperBlock, EffectAddSignal, EffectEnum, EffectRemoveSignal, EnchantmentsEnum, type EndBrickStairsBlock, type EndPortalFrameBlock, type EndRodBlock, type EndStoneBrickDoubleSlabBlock, type EndStoneBrickSlabBlock, type EnderChestBlock, Entity, EntityActorFlags, EntityAirSupplyTrait, EntityAttributeTrait, EntityAttributeUpdateSignal, EntityBooleanProperty, EntityCollisionTrait, EntityContainer, type EntityDeathOptions, type EntityDespawnOptions, EntityDespawnedSignal, EntityDiedSignal, EntityDimensionChangeSignal, EntityDropItemSignal, type EntityEffectOptions, EntityEffectsTrait, EntityEnum, EntityEnumProperty, EntityEquipmentTrait, type EntityFallOnBlockTraitEvent, EntityFlagUpdateSignal, EntityFloatProperty, EntityGravityTrait, EntityHealthChangedSignal, EntityHealthTrait, EntityHitSignal, EntityHurtSignal, EntityIdentifier, EntityIntProperty, EntityInteractMethod, EntityInventoryTrait, type EntityInventoryTraitOptions, EntityInvisibilityTrait, EntityItemPickupSignal, EntityItemStackTrait, type EntityItemStackTraitOptions, EntityLevelStorage, EntityLookAtPlayerTrait, EntityMetadataUpdateSignal, EntityMovementTrait, EntityNameableTrait, type EntityNpcDialogueProperty, EntityNpcTrait, EntityPalette, EntityPhysicsTrait, type EntityProperties, EntityProperty, type EntityQueryOptions, type EntityRenderedOptions, EntityRideableTrait, EntityRidingTrait, EntitySharedProperties, type EntitySpawnOptions, EntitySpawnedSignal, type EntityTeleportOptions, EntityTrait, EntityTraitEnum, EntityTraits, EntityType, EntityXpOrbTrait, Enum, EventSignal, type ExposedCopperBulbBlock, type ExposedCopperDoorBlock, type ExposedCopperTrapdoorBlock, type ExposedCutCopperSlabBlock, type ExposedCutCopperStairsBlock, type ExposedDoubleCutCopperSlabBlock, FacingDirection, type FarmlandBlock, type FenceGateBlock, type FernBlock, type FileMap, FileSystemProvider, type FireBlock, type FireCoralBlock, type FireCoralBlockBlock, type FireCoralFanBlock, type FireCoralWallFanBlock, type FlowerPotBlock, type FlowerType, type FlowingLavaBlock, type FlowingWaterBlock, Form, type FormParticipant, type FormResult, type FrameBlock, type FrostedIceBlock, type FurnaceBlock, GamemodeEnum, type GlowFrameBlock, type GlowLichenBlock, type GoldenRailBlock, type GraniteDoubleSlabBlock, type GraniteSlabBlock, type GraniteStairsBlock, type GrayCandleBlock, type GrayCandleCakeBlock, type GrayGlazedTerracottaBlock, type GreenCandleBlock, type GreenCandleCakeBlock, type GreenGlazedTerracottaBlock, type GrindstoneBlock, Handlers, type HayBlockBlock, type HeavyWeightedPressurePlateBlock, type HopperBlock, type HornCoralBlock, type HornCoralBlockBlock, type HornCoralFanBlock, type HornCoralWallFanBlock, type IPermissionDefinition, type IPermissionGroup, type IPermissionMember, type IPermissions, type InfestedChiseledStoneBricksBlock, type InfestedCobblestoneBlock, type InfestedCrackedStoneBricksBlock, type InfestedDeepslateBlock, type InfestedMossyStoneBricksBlock, type InfestedStoneBlock, type InfestedStoneBricksBlock, IntegerEnum, InternalProvider, type IronDoorBlock, type IronTrapdoorBlock, ItemCategory, ItemDrop, ItemEnum, ItemGroup, ItemIdentifier, ItemLockMode, ItemPalette, ItemStack, ItemStackBundleTrait, ItemStackDamagedSignal, ItemStackDisplayTrait, type ItemStackDisplayTraitOptions, type ItemStackDroppedOptions, ItemStackDurabilityTrait, ItemStackEnchantableTrait, ItemStackFoodTrait, type ItemStackHotbarDetails, ItemStackInstanceStorage, ItemStackKeepOnDieTrait, ItemStackLevelStorage, ItemStackLiquidContainerTrait, ItemStackLockTrait, type ItemStackOptions, ItemStackShooterTrait, ItemStackSignTrait, ItemStackSpawnEggTrait, ItemStackTrait, ItemStackTraits, type ItemStackUseOnBlockOptions, type ItemStackUseOnEntityOptions, type ItemStackUseOptions, ItemStackWeaponTrait, ItemStackWearableTrait, type ItemStackWearableTraitProperties, ItemToolType, ItemType, ItemTypeBlockPlacerComponent, type ItemTypeBlockPlacerComponentOptions, ItemTypeCanDestroyInCreativeComponent, ItemTypeComponent, ItemTypeComponentCollection, ItemTypeComponents, ItemTypeCooldownComponent, type ItemTypeCooldownComponentOptions, ItemTypeDamageComponent, ItemTypeDiggerComponent, type ItemTypeDiggerComponentOptions, ItemTypeDisplayNameComponent, ItemTypeDurabilityComponent, type ItemTypeDurabilityComponentOptions, type ItemTypeDurabilityDamageChance, ItemTypeFoodComponent, type ItemTypeFoodComponentOptions, type ItemTypeFoodEffectOptions, ItemTypeHandEquippedComponent, ItemTypeIconComponent, type ItemTypeIconComponentOptions, ItemTypeItemPropertiesComponent, ItemTypeMaxStackComponent, type ItemTypeOptions, ItemTypeToolTier, ItemTypeUseAnimationComponent, ItemTypeUseModifiersComponent, type ItemTypeUseModifiersComponentOptions, ItemTypeWearableComponent, type ItemTypeWearableComponentOptions, type ItemWeaponComponent, ItemWearableTier, type JSONLikeArray, type JSONLikeObject, type JSONLikeValue, type JigsawBlock, JsonObjectEnum, type JungleButtonBlock, type JungleDoorBlock, type JungleDoubleSlabBlock, type JungleFenceGateBlock, type JungleHangingSignBlock, type JungleLeavesBlock, type JungleLogBlock, type JunglePressurePlateBlock, type JungleSaplingBlock, type JungleSlabBlock, type JungleStairsBlock, type JungleStandingSignBlock, type JungleTrapdoorBlock, type JungleWallSignBlock, type JungleWoodBlock, type KelpBlock, type LadderBlock, type LanternBlock, type LargeAmethystBudBlock, type LargeFernBlock, type LavaBlock, type LecternBlock, LevelDBKeyBuilder, LevelDBProvider, type LeverBlock, type LeverDirection, type LightBlock0Block, type LightBlock10Block, type LightBlock11Block, type LightBlock12Block, type LightBlock13Block, type LightBlock14Block, type LightBlock15Block, type LightBlock1Block, type LightBlock2Block, type LightBlock3Block, type LightBlock4Block, type LightBlock5Block, type LightBlock6Block, type LightBlock7Block, type LightBlock8Block, type LightBlock9Block, type LightBlueCandleBlock, type LightBlueCandleCakeBlock, type LightBlueGlazedTerracottaBlock, type LightGrayCandleBlock, type LightGrayCandleCakeBlock, type LightWeightedPressurePlateBlock, type LightningRodBlock, type LilacBlock, type LilyOfTheValleyBlock, type LimeCandleBlock, type LimeCandleCakeBlock, type LimeGlazedTerracottaBlock, type LitBlastFurnaceBlock, type LitFurnaceBlock, type LitPumpkinBlock, type LitSmokerBlock, type LoomBlock, type LootEntry, LootPool, LootTable, type MagentaCandleBlock, type MagentaCandleCakeBlock, type MagentaGlazedTerracottaBlock, type MangroveButtonBlock, type MangroveDoorBlock, type MangroveDoubleSlabBlock, type MangroveFenceGateBlock, type MangroveHangingSignBlock, type MangroveLeavesBlock, type MangroveLogBlock, type MangrovePressurePlateBlock, type MangrovePropaguleBlock, type MangroveSlabBlock, type MangroveStairsBlock, type MangroveStandingSignBlock, type MangroveTrapdoorBlock, type MangroveWallSignBlock, type MangroveWoodBlock, type MaterialInstanceOptions, type MediumAmethystBudBlock, type MelonStemBlock, MessageForm, type MinecraftblockFace, type MinecraftcardinalDirection, type MinecraftfacingDirection, type MinecraftverticalHalf, ModalForm, type MonsterEggStoneType, type MossyCobblestoneDoubleSlabBlock, type MossyCobblestoneSlabBlock, type MossyCobblestoneStairsBlock, type MossyStoneBrickDoubleSlabBlock, type MossyStoneBrickSlabBlock, type MossyStoneBrickStairsBlock, type MossyStoneBricksBlock, type MudBrickDoubleSlabBlock, type MudBrickSlabBlock, type MudBrickStairsBlock, type MudBrickWallBlock, type MuddyMangroveRootsBlock, type NetherBrickDoubleSlabBlock, type NetherBrickSlabBlock, type NetherBrickStairsBlock, type NetherWartBlock, Network, NetworkBound, type NetworkEvents, NetworkHandler, type NetworkPacketEvent, type NetworkProperties, type NewLeafType, type NewLogType, Node, NodeEvaluator, type NormalStoneDoubleSlabBlock, type NormalStoneSlabBlock, type NormalStoneStairsBlock, type OakDoubleSlabBlock, type OakHangingSignBlock, type OakLeavesBlock, type OakLogBlock, type OakSaplingBlock, type OakSlabBlock, type OakStairsBlock, type OakWoodBlock, type ObserverBlock, type OchreFroglightBlock, OperatorCommands, type OrangeCandleBlock, type OrangeCandleCakeBlock, type OrangeGlazedTerracottaBlock, type OrangeTulipBlock, type Orientation, type OxeyeDaisyBlock, type OxidizedCopperBulbBlock, type OxidizedCopperDoorBlock, type OxidizedCopperTrapdoorBlock, type OxidizedCutCopperSlabBlock, type OxidizedCutCopperStairsBlock, type OxidizedDoubleCutCopperSlabBlock, type PearlescentFroglightBlock, type PeonyBlock, PermissionGroup, PermissionMember, PermissionsEnum, type PetrifiedOakDoubleSlabBlock, type PetrifiedOakSlabBlock, type PillarAxis, type PinkCandleBlock, type PinkCandleCakeBlock, type PinkGlazedTerracottaBlock, type PinkPetalsBlock, type PinkTulipBlock, type PistonArmCollisionBlock, type PistonBlock, type PitcherCropBlock, type PitcherPlantBlock, type PlaySoundOptions, Player, PlayerAbilities, PlayerAbilityUpdateSignal, type PlayerAnimationOptions, PlayerBreakBlockSignal, PlayerCamera, type PlayerCameraFadeOptions, type PlayerCameraFadeTimeOptions, type PlayerCameraFovOptions, PlayerChatSignal, PlayerChunkRenderingTrait, PlayerClosedContainerSignal, PlayerCombatTrait, PlayerCommandExecutorTrait, PlayerContainerInteractionSignal, PlayerCraftRecipeSignal, PlayerCraftingInputTrait, PlayerCraftingOutputTrait, PlayerCursorTrait, PlayerDropExperienceSignal, type PlayerEaseOptions, PlayerEditSignSignal, PlayerEntityRenderingTrait, PlayerGamemodeChangeSignal, PlayerHungerTrait, PlayerInitializedSignal, PlayerInteractWithBlockSignal, PlayerInteractWithEntitySignal, PlayerJoinSignal, PlayerLeaveSignal, PlayerLevelStorage, PlayerLevelingTrait, PlayerListTrait, PlayerOpenedContainerSignal, PlayerPlaceBlockSignal, type PlayerProperties, PlayerSkin, PlayerStartEmotingSignal, PlayerStartUsingItemSignal, PlayerStopEmotingSignal, PlayerStopUsingItemSignal, PlayerTrait, PlayerUseItemOnBlockSignal, PlayerUseItemOnEntitySignal, PlayerUseItemSignal, type PointedDripstoneBlock, type PolishedAndesiteDoubleSlabBlock, type PolishedAndesiteSlabBlock, type PolishedAndesiteStairsBlock, type PolishedBasaltBlock, type PolishedBlackstoneBrickDoubleSlabBlock, type PolishedBlackstoneBrickSlabBlock, type PolishedBlackstoneBrickStairsBlock, type PolishedBlackstoneBrickWallBlock, type PolishedBlackstoneButtonBlock, type PolishedBlackstoneDoubleSlabBlock, type PolishedBlackstonePressurePlateBlock, type PolishedBlackstoneSlabBlock, type PolishedBlackstoneStairsBlock, type PolishedBlackstoneWallBlock, type PolishedDeepslateDoubleSlabBlock, type PolishedDeepslateSlabBlock, type PolishedDeepslateStairsBlock, type PolishedDeepslateWallBlock, type PolishedDioriteDoubleSlabBlock, type PolishedDioriteSlabBlock, type PolishedDioriteStairsBlock, type PolishedGraniteDoubleSlabBlock, type PolishedGraniteSlabBlock, type PolishedGraniteStairsBlock, type PolishedTuffDoubleSlabBlock, type PolishedTuffSlabBlock, type PolishedTuffStairsBlock, type PolishedTuffWallBlock, type PoppyBlock, type PortalAxis, type PortalBlock, PositionEnum, type PotatoesBlock, type PoweredComparatorBlock, type PoweredRepeaterBlock, type PrismarineBlock, type PrismarineBlockType, type PrismarineBrickDoubleSlabBlock, type PrismarineBrickSlabBlock, type PrismarineBricksBlock, type PrismarineBricksStairsBlock, type PrismarineDoubleSlabBlock, type PrismarineSlabBlock, type PrismarineStairsBlock, type PumpkinBlock, type PumpkinStemBlock, type PurpleCandleBlock, type PurpleCandleCakeBlock, type PurpleGlazedTerracottaBlock, type PurpurBlockBlock, type PurpurDoubleSlabBlock, type PurpurSlabBlock, type PurpurStairsBlock, type QuartzBlockBlock, type QuartzDoubleSlabBlock, type QuartzPillarBlock, type QuartzSlabBlock, type QuartzStairsBlock, type RailBlock, type RawMessage, type RawMessageScore, type RawText, Recipe, type RedCandleBlock, type RedCandleCakeBlock, type RedGlazedTerracottaBlock, type RedMushroomBlockBlock, type RedNetherBrickDoubleSlabBlock, type RedNetherBrickSlabBlock, type RedNetherBrickStairsBlock, type RedSandBlock, type RedSandstoneBlock, type RedSandstoneDoubleSlabBlock, type RedSandstoneSlabBlock, type RedSandstoneStairsBlock, type RedTulipBlock, type RedstoneTorchBlock, type RedstoneWireBlock, type ReedsBlock, type RepeatingCommandBlockBlock, type ResourceManifest, ResourcePack, type ResourcePackEntry, type ResourcePacksProperties, Resources, type ResourcesProperties, type RespawnAnchorBlock, RideableSeat, type RideableSeatOptions, type RoseBushBlock, type SandBlock, type SandStoneType, type SandType, type SandstoneBlock, type SandstoneDoubleSlabBlock, type SandstoneSlabBlock, type SandstoneStairsBlock, type SaplingType, type ScaffoldingBlock, Scoreboard, ScoreboardIdentity, ScoreboardObjective, type ScoreboardObjectiveDisplayOptions, ScreenDisplay, type SculkCatalystBlock, type SculkSensorBlock, type SculkShriekerBlock, type SculkVeinBlock, type SeaGrassType, type SeaPickleBlock, type SeagrassBlock, Serenity, type SerenityProperties, ServerEvent, type ServerEvents, type ServerProperties, ServerState, type SessionPacketEvent, ShapedCraftingRecipe, ShapelessCraftingRecipe, type ShortGrassBlock, type SilverGlazedTerracottaBlock, type SkullBlock, type SmallAmethystBudBlock, type SmallDripleafBlockBlock, type SmokerBlock, type SmoothQuartzBlock, type SmoothQuartzDoubleSlabBlock, type SmoothQuartzSlabBlock, type SmoothQuartzStairsBlock, type SmoothRedSandstoneBlock, type SmoothRedSandstoneDoubleSlabBlock, type SmoothRedSandstoneSlabBlock, type SmoothRedSandstoneStairsBlock, type SmoothSandstoneBlock, type SmoothSandstoneDoubleSlabBlock, type SmoothSandstoneSlabBlock, type SmoothSandstoneStairsBlock, type SmoothStoneDoubleSlabBlock, type SmoothStoneSlabBlock, type SnifferEggBlock, type SnowLayerBlock, SoftEnum, type SoulCampfireBlock, type SoulFireBlock, type SoulLanternBlock, type SoulTorchBlock, type SpongeBlock, type SpongeType, type SpruceButtonBlock, type SpruceDoorBlock, type SpruceDoubleSlabBlock, type SpruceFenceGateBlock, type SpruceHangingSignBlock, type SpruceLeavesBlock, type SpruceLogBlock, type SprucePressurePlateBlock, type SpruceSaplingBlock, type SpruceSlabBlock, type SpruceStairsBlock, type SpruceStandingSignBlock, type SpruceTrapdoorBlock, type SpruceWallSignBlock, type SpruceWoodBlock, type StandingBannerBlock, type StandingSignBlock, type StickyPistonArmCollisionBlock, type StickyPistonBlock, type StoneBrickDoubleSlabBlock, type StoneBrickSlabBlock, type StoneBrickStairsBlock, type StoneBrickType, type StoneBricksBlock, type StoneButtonBlock, type StonePressurePlateBlock, type StoneSlabType, type StoneSlabType2, type StoneSlabType3, type StoneSlabType4, type StoneStairsBlock, type StonecutterBlockBlock, StringEnum, type StrippedAcaciaLogBlock, type StrippedAcaciaWoodBlock, type StrippedBambooBlockBlock, type StrippedBirchLogBlock, type StrippedBirchWoodBlock, type StrippedCherryLogBlock, type StrippedCherryWoodBlock, type StrippedCrimsonHyphaeBlock, type StrippedCrimsonStemBlock, type StrippedDarkOakLogBlock, type StrippedDarkOakWoodBlock, type StrippedJungleLogBlock, type StrippedJungleWoodBlock, type StrippedMangroveLogBlock, type StrippedMangroveWoodBlock, type StrippedOakLogBlock, type StrippedOakWoodBlock, type StrippedSpruceLogBlock, type StrippedSpruceWoodBlock, type StrippedWarpedHyphaeBlock, type StrippedWarpedStemBlock, Structure, type StructureBlockBlock, type StructureBlockType, type StructureData, StructureOperation, type StructurePlaceOptions, type StructureVoidBlock, type StructureVoidType, SubChunk, type SunflowerBlock, SuperflatGenerator, SuperflatWorker, type SuspiciousGravelBlock, type SuspiciousSandBlock, type SweetBerryBushBlock, TagEnum, type TallGrassBlock, type TallGrassType, TargetEnum, TerrainGenerator, type TerrainGeneratorProperties, TerrainWorker, TickSchedule, TimeOfDay, TimeOpertation, type TitleDisplayOptions, type TntBlock, type TorchBlock, TorchDirection, type TorchFacingDirection, type TorchflowerCropBlock, Trait, TraitActionEnum, type TraitOnTickDetails, type TrapdoorBlock, type TrappedChestBlock, type TrialSpawnerBlock, type TripWireBlock, type TripwireHookBlock, type TubeCoralBlock, type TubeCoralBlockBlock, type TubeCoralFanBlock, type TubeCoralWallFanBlock, type TuffBrickDoubleSlabBlock, type TuffBrickSlabBlock, type TuffBrickStairsBlock, type TuffBrickWallBlock, type TuffDoubleSlabBlock, type TuffSlabBlock, type TuffStairsBlock, type TuffWallBlock, type TurtleEggBlock, type TurtleEggCount, type TwistingVinesBlock, type UnderwaterTorchBlock, type UnlitRedstoneTorchBlock, type UnpoweredComparatorBlock, type UnpoweredRepeaterBlock, ValidEnum, type VaultBlock, type VaultState, type VerdantFroglightBlock, VerticalHalfTrait, type VineBlock, VoidGenerator, type WallBannerBlock, type WallBlockType, type WallConnectionTypeEast, type WallConnectionTypeNorth, type WallConnectionTypeSouth, type WallConnectionTypeWest, type WallSignBlock, type WarpedButtonBlock, type WarpedDoorBlock, type WarpedDoubleSlabBlock, type WarpedFenceGateBlock, type WarpedHangingSignBlock, type WarpedHyphaeBlock, type WarpedPressurePlateBlock, type WarpedSlabBlock, type WarpedStairsBlock, type WarpedStandingSignBlock, type WarpedStemBlock, type WarpedTrapdoorBlock, type WarpedWallSignBlock, type WaterBlock, type WaxedCopperBulbBlock, type WaxedCopperDoorBlock, type WaxedCopperTrapdoorBlock, type WaxedCutCopperSlabBlock, type WaxedCutCopperStairsBlock, type WaxedDoubleCutCopperSlabBlock, type WaxedExposedCopperBulbBlock, type WaxedExposedCopperDoorBlock, type WaxedExposedCopperTrapdoorBlock, type WaxedExposedCutCopperSlabBlock, type WaxedExposedCutCopperStairsBlock, type WaxedExposedDoubleCutCopperSlabBlock, type WaxedOxidizedCopperBulbBlock, type WaxedOxidizedCopperDoorBlock, type WaxedOxidizedCopperTrapdoorBlock, type WaxedOxidizedCutCopperSlabBlock, type WaxedOxidizedCutCopperStairsBlock, type WaxedOxidizedDoubleCutCopperSlabBlock, type WaxedWeatheredCopperBulbBlock, type WaxedWeatheredCopperDoorBlock, type WaxedWeatheredCopperTrapdoorBlock, type WaxedWeatheredCutCopperSlabBlock, type WaxedWeatheredCutCopperStairsBlock, type WaxedWeatheredDoubleCutCopperSlabBlock, type WeatheredCopperBulbBlock, type WeatheredCopperDoorBlock, type WeatheredCopperTrapdoorBlock, type WeatheredCutCopperSlabBlock, type WeatheredCutCopperStairsBlock, type WeatheredDoubleCutCopperSlabBlock, type WeepingVinesBlock, type WheatBlock, type WhiteCandleBlock, type WhiteCandleCakeBlock, type WhiteGlazedTerracottaBlock, type WhiteTulipBlock, type WoodenButtonBlock, type WoodenDoorBlock, type WoodenPressurePlateBlock, Worker, World, WorldEnum, WorldEvent, type WorldEventSignals, WorldInitializeSignal, type WorldProperties, WorldProvider, type WorldProviderProperties, WorldTickSignal, type YellowCandleBlock, type YellowCandleCakeBlock, type YellowGlazedTerracottaBlock };
|