22
33-- #region Information
44-- GENERATED AUTODOC
5- -- Generated: 2026-01-29T15:36:57.191277400
5+ -- Generated: 2026-01-29T20:35:30.443182800
66-- Luafy Version: 2.0.0
77-- Format: Lua LS library file
88-- #endregion
@@ -148,6 +148,10 @@ function Entity.get_name() end
148148--- @return string
149149function Entity .get_type_id () end
150150
151+ --- Gets the the entity type that this entity is.
152+ --- @return EntityType
153+ function Entity .get_type () end
154+
151155--- Returns true if this entity is a LivingEntity.
152156--- @return boolean
153157function Entity .is_living () end
@@ -157,11 +161,11 @@ function Entity.is_living() end
157161function Entity .as_living () end
158162
159163--- Returns true if this entity is a PlayerEntity.
160- --- @return LivingEntity
164+ --- @return boolean
161165function Entity .is_player () end
162166
163167--- Return this entity as a PlayerEntity.
164- --- @return LivingEntity
168+ --- @return Player
165169function Entity .as_player () end
166170
167171--- Execute a commmand as this entity.
@@ -218,7 +222,7 @@ function Player.tell(msg) end
218222--- Prints a text component to this player's chat.
219223--- @param msg TextComponent Component to display.
220224--- @return nil
221- function Player .tell (msg ) end
225+ function Player .tell_component (msg ) end
222226
223227--- Gives this player this stack.
224228--- @param stack ItemStack Stack to give.
@@ -255,10 +259,14 @@ function EntityType.is_fire_immune() end
255259
256260--- Spawns a new instance of this entity.
257261--- @param pos Vec3d Position to spawn at.
258- --- @param dimension string Id of dimension to spawn in.
262+ --- @param dimension string | nil Id of dimension to spawn in.
259263--- @return Entity
260264function EntityType .spawn (pos , dimension ) end
261265
266+ --- Returns the id of this entity type.
267+ --- @return string
268+ function EntityType .get_id () end
269+
262270
263271--- An item stack.
264272--- @class ItemStack
@@ -352,15 +360,15 @@ minecraft = {}
352360--- @return string
353361function minecraft .get_version () end
354362
355- --- Prints an unformatted line to the server chat, visible to all players. (similar to /tellraw). Also prints to the console .
363+ --- Prints an unformatted line to the command source .
356364--- @param message string Message to be printed.
357365--- @return nil
358- function minecraft .print (message ) end
366+ function minecraft .feedback (message ) end
359367
360- --- Prints a text component to the server chat, visible to all players. (similar to /tellraw). Also prints the raw string to the console .
368+ --- Prints a text component to the command source .
361369--- @param message string Message to be printed.
362370--- @return nil
363- function minecraft .print_component (message ) end
371+ function minecraft .feedback_component (message ) end
364372
365373--- Executes the given command from the server command source. Returns the result of the command.
366374--- @param command string Command to be executed.
@@ -511,6 +519,19 @@ function text.atlas_sprite(atlas, sprite) end
511519--- @return TextComponent
512520function text .compound (elements ) end
513521
522+ nbtstorage = {}
523+
524+ --- Reads abstract NBT data from storage.
525+ --- @param id string Storage id to read.
526+ --- @return table
527+ function nbtstorage .read (id ) end
528+
529+ --- Writes abstract NBT data to storage.
530+ --- @param id string Storage id to write to.
531+ --- @param table table Data to write.
532+ --- @return nil
533+ function nbtstorage .write (id , table ) end
534+
514535-- #endregion
515536
516537-- #region Script Event
0 commit comments