1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 06:16:04 +00:00

fix warning in example and bench and update changelog

This commit is contained in:
mat 2025-06-17 17:48:38 -01:00
parent e1d9c729d3
commit 44e4481a4b
3 changed files with 4 additions and 3 deletions

View file

@ -10,6 +10,7 @@ is breaking anyways, semantic versioning is not followed.
### Added
- Update to Minecraft 1.21.6.
- `HitResult` now contains the entity that's being looked at.
### Changed
@ -20,7 +21,7 @@ is breaking anyways, semantic versioning is not followed.
### Fixed
## [0.13.0] - 2025-06-15
## [0.13.0+mc1.21.5] - 2025-06-15
### Added

View file

@ -47,7 +47,7 @@ fn generate_bedrock_world(
azalea_registry::Block::Bedrock.into(),
chunks.min_y,
);
if rng.gen_bool(0.5) {
if rng.random_bool(0.5) {
chunk.set_block_state(
&ChunkBlockPos::new(x, 2, z),
azalea_registry::Block::Bedrock.into(),

View file

@ -2,7 +2,7 @@ use azalea::{
ecs::prelude::*,
entity::{Dead, LocalEntity, Position, metadata::AbstractMonster},
prelude::*,
world::{InstanceName, MinecraftEntityId},
world::InstanceName,
};
use crate::State;