mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
18 KiB
18 KiB
0.32 - 2026.10.03
Documentation for 0.32
Table of contents:
New Features
- animation
- semi-transparent entities
- client-side --script, --test support
- environments (in-development)
- translators
- VCA format
Added
- events:
- main.lua script:
- on_scripts_loading
- on_content_loaded
- world.lua script:
- on_entity_spawned
- on_entity_despawned
- entity component:
- on_player_set
- main.lua script:
- libraries:
- animation
- crypto
- ctypes
- test
- vc
- xml
- new classes:
- debug.Logger
- I8view
- I64view
- U64view
- FLTview
- DBLview
- private PlayingTrack
- private Hash
- 3d text 'font' property
- documented:
- block
materialproperty
- block
- defaults:
- block-material
- permissions:
- sub-instances
--logcommand line argumentladderrotation profile- new ui properties:
selectelementbuttonmodeonrightclickonmiddleclick
- verbose parsing error messages
- content menu: pack version display
- Heightmap.normalNoise field
- content menu: filtering by pack id
hot-reloadVC-DBG signalnormalattribute fortriandrectVCM primitiveslighting-modeentity property- vca syntax highlighting
cull-faceproperty fortriandrectVCM primitivesgraphics.enable-fogsetting
New Functions
- animation.action
- animation.play
- app.get_content
- app.is_instance_alive
- app.start_background_instance
- app.terminate_instance
- assets.parse_animation
- Bytearray:copy
- Bytearray:fill
- Bytearray:move
- crypto.aes_gcm_decrypt
- crypto.aes_gcm_encrypt
- crypto.chacha20_poly1305_decrypt
- crypto.chacha20_poly1305_encrypt
- crypto.constant_time_equal
- crypto.ecdsa_keypair
- crypto.ecdsa_public
- crypto.ecdsa_sign
- crypto.ecdsa_verify
- crypto.ed25519_keypair
- crypto.ed25519_public
- crypto.ed25519_sign
- crypto.ed25519_verify
- crypto.features
- crypto.hash
- crypto.hkdf_expand
- crypto.hkdf_extract
- crypto.hmac
- crypto.md5
- crypto.p256_keypair
- crypto.p256_public
- crypto.p256_shared
- crypto.pbkdf2
- crypto.random_bytes
- crypto.rsa_pkcs1_verify
- crypto.rsa_pss_verify
- crypto.scrypt
- crypto.sha256
- crypto.sha384
- crypto.sha512
- crypto.x25519
- crypto.x25519_keypair
- crypto.x25519_public
- crypto.x25519_shared
- ctypes.int16
- ctypes.int32
- ctypes.int64
- ctypes.int8
- ctypes.uint16
- ctypes.uint32
- ctypes.uint64
- ctypes.uint8
- entities.def_solid
- events.remove
- file.remove_ext
- gfx.text3d.get_entity
- gfx.text3d.set_entity
- gui.screenshot
- Hash:final
- Hash:update
- Heightmap:ceil
- Heightmap:cos
- Heightmap:floor
- Heightmap:round
- Heightmap:sin
- Heightmap:tan
- input.get_mouse_scroll
- inventory.set_all_data
- io_stream:available
- io_stream:tell
- io_stream:wrap_bytearray
- math.noise
- math.noise2d
- math.sign
- network.request
- PlayingTrack:pause
- PlayingTrack:stop
- quat.mul
- quat.mul_vec3
- rigidbody:set_selectable
- socket:as_stream
- socket:peek
- socket:peek_async
- string.url_decode
- string.url_encode
- table.keys
- test.click
- test.fill
- test.find_by_attr
- test.find_by_attr_presence
- test.find_by_text
- test.press
- time.precise_time
- time.precise_utc_time
- Tview:typesize
- vc.get_setting
- vc.get_setting_info
- vc.get_version
- vc.is_client
- vc.is_headless
- vc.str_setting
- world.raycast
- xml.parse
- xml.parse_vcd
- xml.tostring
New overloads:
- asserts.equals(Canvas)
- skeleton:set_color(int, ...)
Changes
- inventory interaction enchancements #897
- breaking: document events removed from 'events' library temporary
Fixes
- fix exception safety in util::stack_vector::push_back
- fix recursive iframe
- fix infinite recursion on moveInto used to move to descendant node
- fix camera exponentially shaking
- fix slow xml/vcm loading in Windows
- fix file.ext
- fix stack_vector
- fix audio.input.request_open
- fix: block/item.properties not inheriting parent content unit properties
- fix: player name 3d text not updating by Decorator
- fix lua::toquat
- fix: destroyed skeleton config access on skeleton reload
- fix entity bounding box check on block place
- fix: cursor is not hidden in wayland if previously changed by glfwSetCursor
- fix process_properties
- fix stringutil locale-related functions
- fix teleports loop on low obstacles
- fix entity spawn/despawn
- fix 3d text scaling in projected display mode
- fix audio.play type checks
- fix app.reconfig_packs
- fix skeletons behaviour in preload.json
- fix LevelScreen::saveWorldPreview
- fix core:player component mob.set_flight call
- fix components parent environment
- fix utf8.sub behaviour
- fix multiline textbox wrappping
- fix: manually changing textbox.caret does not reset selection
- fix tick intervals in headless mode
- fix player ticks
- fix selection reset on end reached with shift pressed
- fix textbox scrolling
- fix lua syntax highlighting
- fix controls settings panel height
- fix lua::bytearray_as_string
- particles fix
- blocks.fill fix
- lighting fix
- fix gui.load_document environment extension
- fix serialization error for specific types
- fix vcm texture sides
- fix post-runnable context in content-related functions
- fix: app.reconfig_packs attempts to remove indices in generator test mode
- fix: duplicating core:chat event handlers in in-game chat
- fix document events & breaking: document events removed from 'events' library temporary
- fix uinode.parent property
- fix ui elements related things
- fix segfault on world.get_chunk_data if no world open
- fix ceiling collision
- fix of io_stream:read_fully for binary and yield mode
- fix of io_stream:available for non-buffered streams when "length" arg defined
- fix dead skeleton model references
- fix maths_inline version of mat4.rotate
- fix BasicParser power function
- fix exponential notation parsing (#857)
- fix graphics settings & reduce extra GL calls
- fix integer raycast filters & add simple raycast test
- fix canvas:encode produces flipped images for png
- fix canvas:line lines clipping
- fix newly created raycast bug
- fix Skeleton::setConfig
- fix audio input device settings
- fix: missing font usage produces fatal error
- fix texture-faces reading
- fix the margin
- fix components order & add skeleton:get_matrix overload & add skeleton:reset_pose
- fix user component initialization exception handling & fix fatal error on uninitialized component access
- fix projected 3d text for non-monospace fonts
- fix custom model blocks render (with some conditions)
- fix 3d texts antialiasing render issue
- fixing errors in rules.lua
- fix block.index() calls in grass_block.lua and export base:util.calc_loot()
- fix fix lua version comparision
- fix lua version compare
- fix zIndex type in docs
- fix double click behaviour
- fix horizontal panel behaviour
- fix: stdcomp calling non-component global functions
- fix missing keys support
- fix: temporary focus fix
- fix rivers in base:demo
- fix gui.ask
- fix 3d text render
- fix skeleton:get_model
- fix iframe.src = ""
- fix blank texture overwritten by screen frame output
- fix stairs model
- fix custom models solidity detection
- fix default vcm aabb uv generation
- fix panel extra interval at end
- fix xml escapes in attribute values
- fix Texture::reload
- fix side collision
- fix WorldConverter::createBlockFieldsConvertTasks
- fix heightmap noise multiplier argument
- fix blocks render at the top of the world
- fix containers scroll
- fix typos in comments and log messages
- fix models load functions
- fix rig:set_matrix for nil index
- fix maths_inline mat4.idt(dst)
- fixed packages for arch distro
- fix weather effects render
- fix missing textures load request for vcm
- fix: block fields not inherited
- fix: validate content pack dependency versions
- fix custom model blocks with disabled ambient-occlusion