pub(crate) fn create_minecart(
world: &Arc<World>,
position: DVec3,
entity_type: EntityTypeRef,
item_stack: &ItemStack,
player: Option<&Player>,
) -> Result<SharedEntity, CreateMinecartError>Expand description
Creates and configures a minecart without adding it to the world.