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

add comment to top of metadata.rs

This commit is contained in:
Ubuntu 2022-11-02 20:44:53 +00:00
parent 91fdb2185d
commit c9624b049b
2 changed files with 4 additions and 0 deletions

View file

@ -1,3 +1,5 @@
// This file is generated from codegen/lib/code/entity.py
use super::{EntityDataValue, Pose, Rotations, VillagerData};
use azalea_chat::Component;
use azalea_core::{BlockPos, Direction, Particle, Slot};

View file

@ -37,6 +37,8 @@ def generate_entity_metadata(burger_entity_data: dict, mappings: Mappings):
]
code = []
code.append('// This file is generated from codegen/lib/code/entity.py')
code.append('')
code.append('use super::{EntityDataValue, Rotations, VillagerData, Pose};')
code.append('use azalea_chat::Component;')
code.append('use azalea_core::{BlockPos, Direction, Particle, Slot};')